Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4093215B2 - Memory management system and network system - Google Patents
[go: Go Back, main page]

JP4093215B2 - Memory management system and network system - Google Patents

Memory management system and network system Download PDF

Info

Publication number
JP4093215B2
JP4093215B2 JP2004235121A JP2004235121A JP4093215B2 JP 4093215 B2 JP4093215 B2 JP 4093215B2 JP 2004235121 A JP2004235121 A JP 2004235121A JP 2004235121 A JP2004235121 A JP 2004235121A JP 4093215 B2 JP4093215 B2 JP 4093215B2
Authority
JP
Japan
Prior art keywords
data
applet
terminal
memory area
acquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004235121A
Other languages
Japanese (ja)
Other versions
JP2004348766A (en
JP2004348766A5 (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004235121A priority Critical patent/JP4093215B2/en
Publication of JP2004348766A publication Critical patent/JP2004348766A/en
Publication of JP2004348766A5 publication Critical patent/JP2004348766A5/ja
Application granted granted Critical
Publication of JP4093215B2 publication Critical patent/JP4093215B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Description

本発明は、一のネットワークリソースと他のネットワークリソースとの間でデータの取得を仲介する装置、サーバおよびプログラム、並びに方法に係り、特に、スタティックメモリ管理方式を採用したブラウザ端末において、メモリリソースの不足により操作不能な状態に陥るという不具合を解決するのに好適なメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法に関する。   The present invention relates to an apparatus, a server, a program, and a method that mediate data acquisition between one network resource and another network resource, and in particular, in a browser terminal that employs a static memory management method, The present invention relates to a memory management device, a proxy server, a memory management program, a server program, and a memory management method suitable for solving the problem of being inoperable due to a shortage.

Webベースの技術の浸透に伴い、ユーザインターフェースとしてWebブラウザを用い、アプリケーション本体はWWW(World Wide Web)サーバで稼働させるような、いわゆるシンクライアント型のシステムが利用されるようになってきている。このとき、WWWサーバからクライアントに送られる情報は、フォームを含むHTML(HyperText Markup Language)データであり、クライアントの端末では、Webブラウザさえ動けば、実行に先立って特にアプリケーションの配布・インストール等の作業を行うことなく、アプリケーションを実行させることができるようになる。また、一般的には、クライアント側でアプリケーションを実行するのに比して、クライアント側はより処理能力の低いハードウエアで運用することができる。   With the spread of Web-based technology, a so-called thin client system has been used in which a Web browser is used as a user interface and an application main body is operated on a WWW (World Wide Web) server. At this time, the information sent from the WWW server to the client is HTML (HyperText Markup Language) data including a form. If the Web browser runs on the client terminal, the application distribution / installation work is particularly important prior to execution. The application can be executed without performing the above. Also, in general, the client side can be operated with hardware having a lower processing capacity than executing an application on the client side.

従来、このようなクライアント端末には、ローエンドのPCが用いられてきた。しかし、最近では、店舗等に設置して顧客に気軽に使用してもらうことを目的としたものとして、液晶ディスプレイ上にタッチパネルを設け、タッチパネル上の操作だけで利用することができるブラウザ端末も開発され、そのようなブラウザ端末上でもWebブラウザが動作するようになってきている。   Conventionally, low-end PCs have been used for such client terminals. Recently, however, a browser terminal has been developed that can be used just by operating the touch panel on a liquid crystal display, with the aim of being installed in stores and other facilities for easy use by customers. As a result, Web browsers are operating on such browser terminals.

このようなブラウザ端末は、ローエンドのPCと異なり、省電力化、低コスト化および省スペース化等を図るために、CPUの処理能力が低く、メモリリソースも少なく設計されているのが通常である。そのため、ブラウザ端末に組み込むWebブラウザでは、JAVA(登録商標)アプレット(以下、単にアプレットという。)を実行するにあたり、アプレットに割り当てるメモリ領域を管理する方法として、CPU負荷が少なくかつメモリ効率に優れたスタティックメモリ管理方式が採用されている。   Unlike low-end PCs, such browser terminals are usually designed with low CPU processing power and low memory resources in order to save power, reduce costs, and save space. . Therefore, a Web browser incorporated in a browser terminal has a low CPU load and excellent memory efficiency as a method for managing a memory area allocated to an applet when executing a JAVA applet (hereinafter simply referred to as an applet). A static memory management method is adopted.

スタティックメモリ管理方式は、1つのWebページをテーブルにより管理し、テーブルがリセットされるまでは、Webページに付属するアプレットを読み込むたびに未使用のメモリ領域を順次割り当てていく方式である。テーブルのリセットタイミングは、そのWebページをリロードすべき更新命令が与えられたときである。   The static memory management method is a method in which one Web page is managed by a table, and unused memory areas are sequentially allocated every time an applet attached to the Web page is read until the table is reset. The table reset timing is when an update instruction to reload the Web page is given.

しかしながら、スタティックメモリ管理方式にあっては、複数のフレームにより構成されたWebページを表示する場合は、ユーザの操作によっては更新命令が与えられないまま、そのWebページに付属するアプレットが次々と読み込まれ、メモリリソースが不足し操作不能な状態に陥る可能性があった。例えば、メニュー項目の一覧を表示するメニューフレームと、メニューフレームのメニュー項目に対応する内容を表示するコンテンツフレームにより構成されたWebページを、ユーザが各メニュー項目を選択しながら一つ一つのメニュー内容を表示する場合、メニュー項目を選択するごとにコンテンツフレームのWebページは更新されるが、コンテンツフレームの更新だけでは全体のWebページについて更新命令が与えられないため、メニュー項目を選択するごとにそのWebページに付属するアプレットがメモリに読み込まれ蓄積される。ローエンドのPCのように個人ユーザ向けに使用される端末では、同一のWebページを何度も表示することはないので、アプレットの過剰読込によりメモリリソース不足が生じる可能性は少ない。しかし、これに対し、店舗等に設置するブラウザ端末では、アプレットを利用してWebページを構成し、そのWebページによりプリントサービス等の店舗専用のサービスを提供することがあるため、複数の顧客により同一のWebページを繰り返し表示されると、アプレットの過剰読込によりメモリリソース不足が生じる可能性が大きい。   However, in the static memory management method, when a Web page composed of a plurality of frames is displayed, an applet attached to the Web page is read one after another without being given an update command depending on a user operation. As a result, memory resources may be insufficient and operation may become impossible. For example, a menu page displaying a list of menu items and a web page configured by a content frame displaying contents corresponding to the menu items of the menu frame, each menu item while the user selects each menu item. When the menu item is displayed, the web page of the content frame is updated every time a menu item is selected. However, an update command is not given to the entire web page only by updating the content frame. The applet attached to the Web page is read and stored in the memory. A terminal used for an individual user, such as a low-end PC, does not display the same Web page over and over, so there is little possibility of insufficient memory resources due to excessive reading of applets. However, in browser terminals installed in stores, etc., a web page is configured using an applet, and a store-specific service such as a print service may be provided by the web page. If the same Web page is repeatedly displayed, there is a high possibility that memory resources will be insufficient due to excessive reading of applets.

ところで、ローエンドのPC上で動作するWebブラウザには、「戻る」というコントロールボタンが設けられており、ユーザは、戻るボタンをクリックするだけで、1つまたはいくつか前に閲覧したWebページを、再アクセスを行うことなく閲覧することができる。これに対して、ブラウザ端末上で動作するWebブラウザには、戻るボタンが設けられていない場合が多い。これは、アプレットを利用してWebページを構成し、そのWebページによりプリントサービス等の店舗専用のサービスを提供する場合、ブラウザ端末においてアプレットの実行中に戻るボタンがクリックされてしまうと、Webページによるサービスを確実に提供できなくなってしまうからである。例えば、プリントの実行が完了する前に戻るボタンをクリックされてしまうと、プリントが完全に行われず印刷ミスとなる可能性がある。すなわち、店舗にとっては、戻るボタンが利用できない不便よりも、サービス提供の確実性が低下してしまう方が不都合であるため、ブラウザ端末には、あえて戻るボタンが設けられていないのである。   By the way, a web browser that operates on a low-end PC is provided with a control button called “return”, and the user simply clicks on the back button to browse one or several web pages previously viewed. You can browse without re-accessing. In contrast, Web browsers that operate on browser terminals often do not have a return button. This is because, when an applet is used to construct a web page and a store-specific service such as a print service is provided by the web page, if the return button is clicked during execution of the applet on the browser terminal, the web page This is because it becomes impossible to reliably provide the service. For example, if the return button is clicked before the execution of printing is completed, there is a possibility that printing will not be performed completely and a printing error will occur. That is, since it is inconvenient for the store that the certainty of service provision is lowered rather than the inconvenience that the return button cannot be used, the browser terminal is not provided with a return button.

しかしながら、ブラウザ端末上で動作するWebブラウザにあっては、戻るボタンが設けられていないことから、WWWサーバの更新の不手際等何らかの原因により、サービス提供に必要なアプレットがWWWサーバ上に存在しない場合、ブラウザ端末が特定の画面を表示したまま停止してしまい、操作不能な状態に陥ることがあった。従業員がこの状態を直ちに見つけて対処できればよいが、多くの場合困難であるし、またできても大変な手間がかかる。この場合、戻るボタンを設ければ、戻るボタンの操作により操作不能な状態に陥ることをとりあえず回避することはできるが、戻るボタンを設けては、上記要因によりサービス提供の確実性が低下してしまう。   However, since a return button is not provided in a Web browser that operates on a browser terminal, an applet necessary for providing a service does not exist on the WWW server due to some reason such as a failure to update the WWW server. In some cases, the browser terminal stops while displaying a specific screen, resulting in an inoperable state. It would be nice if employees could find and deal with this situation immediately, but in many cases it would be difficult, and if possible, it would take a lot of work. In this case, if a return button is provided, it can be avoided for the time being that the operation becomes impossible due to the operation of the return button. However, if the return button is provided, the certainty of service provision decreases due to the above factors. End up.

そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされたものであって、スタティックメモリ管理方式を採用したブラウザ端末において、メモリリソースの不足により操作不能な状態に陥るという不具合を解決するのに好適なメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法を提供することを第1の目的としている。さらに、サービス提供の確実性を低下させることなく、アプレットの取得待ち等により操作不能な状態に陥るという不具合を解決するのに好適なメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法を提供することを第2の目的としている。   Therefore, the present invention has been made paying attention to such an unsolved problem of the conventional technology, and in a browser terminal adopting a static memory management method, it becomes inoperable due to a shortage of memory resources. A first object is to provide a memory management device, a proxy server, a memory management program, a server program, and a memory management method suitable for solving the problem of falling. Furthermore, a memory management device, a proxy server, a memory management program, a server program, and a server program suitable for solving the problem of falling into an inoperable state due to waiting for acquisition of an applet or the like without reducing the reliability of service provision, and A second object is to provide a memory management method.

上記目的を達成するために、本発明に記載のメモリ管理装置は、
データを取得するデータ取得手段と、前記データ取得手段で取得したデータのうち特定形式のものにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、更新命令に応じて前記特定形式データに割り当てたメモリ領域を解放するメモリ領域解放手段とを有するメモリ管理システムに適用する装置であって、
前記データ取得手段で取得した特定形式データの取得回数を計数する回数計数手段と、前記回数計数手段の計数結果に基づいて前記メモリ管理システムに前記更新命令を出力する更新命令出力手段とを備えることを特徴とする。
In order to achieve the above object, a memory management device according to the present invention provides:
Data acquisition means for acquiring data, memory area allocation means for allocating a memory area to the data in a specific format among the data acquired by the data acquisition means, and allocation to the specific format data according to an update command An apparatus applied to a memory management system having a memory area releasing means for releasing a memory area,
A number counting unit that counts the number of acquisition times of the specific format data acquired by the data acquisition unit; and an update command output unit that outputs the update command to the memory management system based on a counting result of the number counting unit. It is characterized by.

このような構成であれば、メモリ管理システムでは、データ取得手段によりデータが取得されると、メモリ領域割当手段により、取得されたデータのうち特定形式データにスタティックメモリ管理方式によりメモリ領域が割り当てられる。   With this configuration, in the memory management system, when data is acquired by the data acquisition unit, the memory area allocation unit allocates a memory area to the specific format data among the acquired data by the static memory management method. .

一方、本発明に記載のメモリ管理装置では、回数計数手段により、データ取得手段で取得された特定形式データの取得回数が計数され、更新命令出力手段により、その計数結果に基づいてメモリ管理システムに更新命令が出力される。   On the other hand, in the memory management device according to the present invention, the number of acquisition times of the specific format data acquired by the data acquisition means is counted by the number counting means, and the update instruction output means counts the memory management system based on the counting result. An update instruction is output.

メモリ管理システムでは、更新命令が入力されると、メモリ解放手段により、更新命令に応じて特定形式データに割り当てられたメモリ領域が解放される。   In the memory management system, when an update command is input, the memory area allocated to the specific format data is released by the memory release unit in accordance with the update command.

ここで、本発明に記載のメモリ管理装置は、メモリ管理システムと一体に構成されていてもよいし、メモリ管理システムとは別体に構成されていてもよい。前者の場合、例えば、メモリ管理システムに組み込まれるソフトウェアとして構成することができ、後者の場合、例えば、メモリ管理システムが組み込まれたコンピュータがネットワークアクセスに利用するプロキシサーバとして構成することができる。   Here, the memory management device according to the present invention may be configured integrally with the memory management system, or may be configured separately from the memory management system. In the former case, for example, it can be configured as software incorporated in the memory management system, and in the latter case, for example, it can be configured as a proxy server used for network access by a computer in which the memory management system is incorporated.

また、特定形式のデータとしては、実行型のプログラムデータ(例えば、JAVA(登録商標)アプレット)のほか、例えば、画像データ、音声データその他のマルチメディアデータ、またはテキストデータその他の文書データが含まれる。以下、本発明に記載のプロキシサーバ、メモリ管理プログラム、サーバ用プログラム、並びにメモリ管理方法において同じである。   In addition to executable program data (for example, JAVA (registered trademark) applet), the specific format data includes, for example, image data, audio data and other multimedia data, or text data and other document data. . Hereinafter, the same applies to the proxy server, the memory management program, the server program, and the memory management method described in the present invention.

また、回数計数手段は、データ取得手段で取得した特定形式データの取得回数を計数するようになっていればどのような構成であってもよく、より具体的には、特定形式データの取得回数を推定または実測により計数することができる。例えば、メモリ管理システムと一体に構成する場合は、実測により計数すればよいし、メモリ管理システムと別体に構成する場合は、実測が困難なので推定により計数すればよい。以下、本発明に記載のメモリ管理プログラムにおいて同じである。   Further, the number counting means may have any configuration as long as the number of acquisition times of the specific format data acquired by the data acquisition means is counted, more specifically, the number of acquisition times of the specific format data. Can be counted by estimation or actual measurement. For example, when configured integrally with the memory management system, it may be counted by actual measurement, and when configured separately from the memory management system, it may be counted by estimation because actual measurement is difficult. Hereinafter, the same applies to the memory management program described in the present invention.

さらに、本発明に記載のメモリ管理装置は、上記のメモリ管理装置において、
前記特定形式データは、実行型のプログラムデータであることを特徴とする。
Furthermore, the memory management device according to the present invention is the above memory management device,
The specific format data is executable program data.

このような構成であれば、メモリ管理システムでは、データを受信すると、メモリ領域割当手段により、受信したデータのうちプログラムデータにスタティックメモリ管理方式によりメモリ領域が割り当てられる。
With such a configuration, in the memory management system, when data is received, the memory area is assigned to the program data among the received data by the static memory management method when the data is received.

一方、メモリ管理装置では、回数計数手段により、データ取得手段で取得されたデータに基づいてメモリ管理システムへのプログラムデータの送信回数が計数され、更新命令出力手段により、その計数結果に基づいてメモリ管理システムに更新命令が出力される。
On the other hand, in the memory management device, the number of times of program data transmission to the memory management system is counted by the number of times counting means based on the data acquired by the data acquiring means, and the update instruction output means counts the memory based on the count result. An update command is output to the management system.

メモリ管理システムでは、更新命令を受信すると、メモリ解放手段により、更新命令に応じてプログラムデータに割り当てられたメモリ領域が解放される。
In the memory management system, when an update command is received, the memory area allocated to the program data is released by the memory release unit in accordance with the update command.

さらに、本発明に記載のメモリ管理装置は、上記のメモリ管理装置において、
前記更新命令出力手段は、前記回数計数手段で計数した送信回数が所定値以上となったときは、前記メモリ管理システムに前記更新命令を出力するようになっていることを特徴とする。
Furthermore, the memory management device according to the present invention is the above memory management device,
The update command output means outputs the update command to the memory management system when the number of transmissions counted by the frequency count means exceeds a predetermined value.

このような構成であれば、メモリ管理装置では、回数計数手段で計数された送信回数が所定値以上となると、更新命令出力手段により、メモリ管理システムに更新命令が出力される。
With such a configuration, in the memory management device, when the number of transmissions counted by the number counting means exceeds a predetermined value, the update instruction output means outputs an update command to the memory management system.

さらに、本発明に記載のメモリ管理装置は、上記のメモリ管理装置において、
前記データ取得手段で取得したデータに前記特定形式データの取得要求である特定取得要求が含まれていることを検出する特定取得要求検出手段を備え、
前記回数計数手段は、前記特定取得要求検出手段で検出した特定取得要求の個数を計数することにより前記メモリ管理システムへの前記特定形式データの送信回数を計数するようになっていることを特徴とする。
Furthermore, the memory management device according to the present invention is the above memory management device,
Specific acquisition request detection means for detecting that the data acquired by the data acquisition means includes a specific acquisition request that is an acquisition request for the specific format data;
The number counting means counts the number of transmissions of the specific format data to the memory management system by counting the number of specific acquisition requests detected by the specific acquisition request detection means. To do.

このような構成であれば、メモリ管理装置では、データ取得手段で取得されたデータに特定取得要求が含まれていると、特定取得要求検出手段により、特定取得要求が含まれていることが検出され、回数計数手段により、検出された特定取得要求の個数が計数され、これによりメモリ管理システムへの特定形式データの送信回数が計数される。
With this configuration, in the memory management device, when the specific acquisition request is included in the data acquired by the data acquisition unit, the specific acquisition request detection unit detects that the specific acquisition request is included. Then, the number of specific acquisition requests detected is counted by the number counting means, and the number of transmissions of the specific format data to the memory management system is thereby counted.

さらに、本発明に記載のメモリ管理装置は、上記のメモリ管理装置において、
前記特定取得要求を含むデータには、前記特定取得要求であることを示す要求識別情報をあらかじめ付加しておき、
前記特定取得要求検出手段は、前記データ取得手段で取得したデータから前記要求識別情報を検出することにより当該データに前記特定取得要求が含まれていることを検出するようになっていることを特徴とする。
Furthermore, the memory management device according to the present invention is the above memory management device,
Request identification information indicating that the specific acquisition request is added in advance to the data including the specific acquisition request,
The specific acquisition request detection unit detects that the specific acquisition request is included in the data by detecting the request identification information from the data acquired by the data acquisition unit. And

このような構成であれば、メモリ管理装置では、取得されたデータに要求識別情報が含まれていると、特定取得要求検出手段により、取得されたデータに特定取得要求が含まれていることが検出される。
With such a configuration, in the memory management device, if the acquired identification data is included in the acquired data, the specific acquisition request may be included in the acquired data by the specific acquisition request detecting unit. Detected.

一方、上記目的を達成するために、本発明に記載のメモリ管理プログラムは、
データを取得するデータ取得手段と、前記データ取得手段で取得したデータのうち特定形式のものにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、更新命令に応じて前記特定形式データに割り当てたメモリ領域を解放するメモリ領域解放手段とを有するコンピュータに実行させるためのプログラムであって、
前記データ取得手段で取得した特定形式データの取得回数を計数する回数計数手段、および前記回数計数手段の計数結果に基づいて前記更新命令を出力する更新命令出力手段として実現される処理を実行させるためのプログラムであることを特徴とする。
On the other hand, in order to achieve the above object, the memory management program according to the present invention provides:
Data acquisition means for acquiring data, memory area allocation means for allocating a memory area to the data in a specific format among the data acquired by the data acquisition means, and allocation to the specific format data according to an update command A program for causing a computer to have a memory area releasing means for releasing a memory area,
In order to execute processing realized as a count counting unit that counts the number of acquisition times of specific format data acquired by the data acquisition unit, and an update command output unit that outputs the update command based on a count result of the count counting unit It is the program of this.

このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、本発明に記載のメモリ管理装置と同等の作用が得られる。
さらに、本発明に記載のメモリ管理プログラムは、上記のメモリ管理プログラムにおいて、
前記特定形式データは、実行型のプログラムデータであることを特徴とする。
さらに、本発明に記載のメモリ管理プログラムは、上記のメモリ管理プログラムにおいて、
前記更新命令出力手段は、前記回数計数手段で計数した送信回数が所定値以上となったときは、前記更新命令を出力するようになっていることを特徴とする。
With such a configuration, when the program is read by the computer and the computer executes processing in accordance with the read program, an operation equivalent to that of the memory management device according to the present invention is obtained.
Furthermore, the memory management program according to the present invention is the above memory management program,
The specific format data is executable program data.
Furthermore, the memory management program according to the present invention is the above memory management program,
The update command output means outputs the update command when the number of transmissions counted by the number counting means exceeds a predetermined value.

一方、上記目的を達成するために、本発明に記載のメモリ管理方法は、
データを取得するデータ取得手段と、前記データ取得手段で取得したデータのうち特定形式のものにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、更新命令に応じて前記特定形式データに割り当てたメモリ領域を解放するメモリ領域解放手段とを有するメモリ管理システムに適用する方法であって、
前記データ取得手段で取得した特定形式データの取得回数を計数する回数計数ステップと、前記回数計数ステップの計数結果に基づいて前記メモリ管理システムに前記更新命令を出力する更新命令出力ステップとを含むことを特徴とする。
On the other hand, in order to achieve the above object, the memory management method according to the present invention includes:
Data acquisition means for acquiring data, memory area allocation means for allocating a memory area to the data in a specific format among the data acquired by the data acquisition means, and allocation to the specific format data according to an update command A method for applying to a memory management system having a memory area release means for releasing a memory area,
A number counting step of counting the number of acquisition times of the specific format data acquired by the data acquisition means, and an update command output step of outputting the update command to the memory management system based on a counting result of the number counting step. It is characterized by.

ここで、回数計数ステップは、データ取得手段で取得した特定形式データの取得回数を計数できればどのような方法であってもよく、より具体的には、特定形式データの取得回数を推定または実測により計数することができる。例えば、メモリ管理システムと一体に構成する場合は、実測により計数すればよいし、メモリ管理システムと別体に構成する場合は、実測が困難なので推定により計数すればよい。
さらに、本発明に記載のメモリ管理方法は、上記のメモリ管理方法において、
前記特定形式データは、実行型のプログラムデータであることを特徴とする。
さらに、本発明に記載のメモリ管理方法は、上記のメモリ管理方法において、
前記更新命令出力ステップは、前記回数計数ステップで計数した送信回数が所定値以上となったときは、前記メモリ管理システムに前記更新命令を出力するようになっていることを特徴とする。
Here, the number counting step may be any method as long as the number of acquisition times of the specific format data acquired by the data acquisition means can be counted. More specifically, the number of acquisition times of the specific format data is estimated or actually measured. Can be counted. For example, when configured integrally with the memory management system, it may be counted by actual measurement, and when configured separately from the memory management system, it may be counted by estimation because actual measurement is difficult.
Furthermore, the memory management method according to the present invention is the memory management method described above,
The specific format data is executable program data.
Furthermore, the memory management method according to the present invention is the memory management method described above,
In the update command output step, the update command is output to the memory management system when the number of transmissions counted in the number counting step exceeds a predetermined value.

以下、本発明の実施の形態を図面を参照しながら説明する。図1ないし図9は、本発明に記載のメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法の実施の形態を示す図である。   Embodiments of the present invention will be described below with reference to the drawings. 1 to 9 are diagrams showing embodiments of a memory management device, a proxy server, a memory management program, a server program, and a memory management method according to the present invention.

本実施の形態は、本発明に記載のメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法を、図1に示すように、インターネット198とプライベートネットワーク199との間に設けられたプロキシサーバ200に適用したものである。   In this embodiment, the memory management device, proxy server, memory management program, server program, and memory management method described in the present invention are provided between the Internet 198 and the private network 199 as shown in FIG. The proxy server 200 is applied.

まず、本発明を適用するネットワークシステムの構成を図1を参照しながら説明する。図1は、本発明を適用するネットワークシステムの構成を示すブロック図である。   First, the configuration of a network system to which the present invention is applied will be described with reference to FIG. FIG. 1 is a block diagram showing a configuration of a network system to which the present invention is applied.

図1において、インターネット198には、HTMLデータにより構成したWebページを蓄積する複数のWWWサーバ100が接続されており、プライベートネットワーク199には、特殊用途に特化した複数のブラウザ端末300と、特殊用途以外の用途にも用いられる複数の通常端末310とが接続されている。また、インターネット198およびプライベートネットワーク199には、ブラウザ端末300および通常端末310とWWWサーバ100との間でHTTP(HyperText Transfer Protocol)その他のプロトコルによりデータ取得を仲介するプロキシサーバ200が接続されている。   In FIG. 1, a plurality of WWW servers 100 that store Web pages composed of HTML data are connected to the Internet 198, and a private network 199 includes a plurality of browser terminals 300 specialized for special purposes, and a special browser. A plurality of normal terminals 310 used for purposes other than the usage are connected. Further, connected to the Internet 198 and the private network 199 is a proxy server 200 that mediates data acquisition by the HTTP (HyperText Transfer Protocol) or other protocols between the browser terminal 300 and the normal terminal 310 and the WWW server 100.

ブラウザ端末300は、図示しないが、液晶ディスプレイ上にタッチパネルを設けて構成されており、Webブラウザを起動し、タッチパネル上の操作だけでWebブラウザを利用可能となっている。なお、ブラウザ端末300上で動作するWebブラウザは、スタティックメモリ管理方式によりアプレットに対してメモリ領域の割当および解放を行う。また、同Webブラウザには、Webページによるサービスを確実に提供するために、戻るボタンが設けられていない。   Although not shown, the browser terminal 300 is configured by providing a touch panel on a liquid crystal display, and the web browser can be used only by operating the web browser and operating on the touch panel. Note that a Web browser operating on the browser terminal 300 allocates and releases a memory area for an applet using a static memory management method. In addition, the Web browser is not provided with a return button in order to reliably provide a service using a Web page.

ブラウザ端末300は、組み込まれているWebブラウザによって「ND-2000」および「ND-3000」の2種類に分類される。「ND-2000」のブラウザ端末300は、アプレット識別符号、アプレットのバージョン、アプレット名およびアプレットに与えるパラメータ等をすべて1つのタグとして記述した形式(以下、ND-2000形式という。)のHTMLデータが与えられたときは、そのタグを解読して適切に処理するが、アプレット識別符号、アプレットのバージョン、アプレット名およびアプレットに与えるパラメータ等をそれぞれ1つのタグとして記述した形式(以下、ND-3000形式という。)のHTMLデータが与えられたときは、それらタグを無視するようになっている。「ND-3000」のブラウザ端末300は、ND-3000形式のHTMLデータが与えられたときは、それらタグを解読して適切に処理するが、ND-2000形式のHTMLデータが与えられたときは、そのタグを無視するようになっている。   The browser terminal 300 is classified into two types “ND-2000” and “ND-3000” depending on the built-in Web browser. The browser terminal 300 of “ND-2000” has HTML data in a format (hereinafter referred to as ND-2000 format) in which an applet identification code, an applet version, an applet name, parameters to be given to the applet, etc. are all described as one tag. When given, the tag is decoded and processed appropriately, but the applet identification code, applet version, applet name, and parameters to be given to the applet are each described as one tag (hereinafter referred to as ND-3000 format) When the HTML data is given, these tags are ignored. When ND-3000 format HTML data is given, the browser terminal 300 of “ND-3000” decodes these tags and processes them appropriately, but when ND-2000 format HTML data is given, , So that the tag is ignored.

次に、プロキシサーバ200の構成を図2を参照しながら詳細に説明する。図2は、プロキシサーバ200の構成を示すブロック図である。   Next, the configuration of the proxy server 200 will be described in detail with reference to FIG. FIG. 2 is a block diagram showing the configuration of the proxy server 200.

プロキシサーバ200は、図2に示すように、制御プログラムに基づいて演算およびシステム全体を制御するCPU30と、所定領域にあらかじめCPU30の制御プログラム等を格納しているROM32と、ROM32等から読み出したデータやCPU30の演算過程で必要な演算結果を格納するためのRAM34と、外部装置に対してデータの入出力を媒介するI/F38とで構成されており、これらは、データを転送するための信号線であるバス39で相互にかつデータ授受可能に接続されている。   As shown in FIG. 2, the proxy server 200 includes a CPU 30 that controls operations and the entire system based on a control program, a ROM 32 that stores a control program for the CPU 30 in a predetermined area, and data read from the ROM 32 and the like. And a RAM 34 for storing calculation results required in the calculation process of the CPU 30 and an I / F 38 for mediating input / output of data to / from an external device, which are signals for transferring data The buses 39 are connected to each other so as to be able to exchange data.

I/F38には、外部装置として、ヒューマンインターフェースとしてデータの入力が可能なキーボードやマウス等からなる入力装置40と、データやテーブル等をファイルとして格納する記憶装置42と、画像信号に基づいて画面を表示する表示装置44と、インターネット198に接続するための信号線と、プライベートネットワーク199に接続するための信号線とが接続されている。   The I / F 38 includes, as external devices, an input device 40 such as a keyboard and a mouse that can input data as a human interface, a storage device 42 that stores data, tables, and the like as files, and a screen based on image signals. , A signal line for connecting to the Internet 198, and a signal line for connecting to the private network 199 are connected.

記憶装置42には、図3に示すように、プライベートネットワーク199に接続する各端末がアクセスすることのあるWebページのURL(Universal Resource Locater)を登録したアクセス登録テーブル400が格納されている。図3は、アクセス登録テーブル400のデータ構造を示す図である。   As shown in FIG. 3, the storage device 42 stores an access registration table 400 in which URLs (Universal Resource Locaters) of Web pages that may be accessed by terminals connected to the private network 199 are registered. FIG. 3 is a diagram showing the data structure of the access registration table 400.

アクセス登録テーブル400には、図3に示すように、各URLごとに1つのレコードが登録されている。各レコードは、URLを登録したフィールド402を含んで構成されている。アクセス登録テーブル400は、プライベートネットワーク199に接続する端末からの取得要求を受信する前に、プロキシサーバ200が参照して登録URLのWebページを取得し、取得したWebページが利用するアプレットの存在の有無を登録するために使用される。これにより、プライベートネットワーク199に接続する端末に対する応答速度を向上することができる。   In the access registration table 400, as shown in FIG. 3, one record is registered for each URL. Each record includes a field 402 in which a URL is registered. Before receiving an acquisition request from a terminal connected to the private network 199, the access registration table 400 refers to the proxy server 200 to acquire a Web page with a registration URL, and the presence of an applet used by the acquired Web page. Used to register presence / absence. Thereby, the response speed with respect to the terminal connected to the private network 199 can be improved.

また、記憶装置42には、図4に示すように、プライベートネットワーク199に接続する各端末についてIPアドレス、端末識別情報およびアプレットの送信回数を対応付けて登録した端末管理テーブル420が格納されている。図4は、端末管理テーブル420のデータ構造を示す図である。   Further, as shown in FIG. 4, the storage device 42 stores a terminal management table 420 in which IP addresses, terminal identification information, and applet transmission counts are registered in association with each terminal connected to the private network 199. . FIG. 4 is a diagram illustrating a data structure of the terminal management table 420.

端末管理テーブル420には、図4に示すように、プライベートネットワーク199に接続する各端末ごとに1つのレコードが登録されている。各レコードは、端末に設定されたIPアドレスを登録したフィールド422と、端末を識別するための端末識別情報を登録したフィールド424と、アプレットを端末に送信した回数を登録したフィールド426とを含んで構成されている。   In the terminal management table 420, one record is registered for each terminal connected to the private network 199 as shown in FIG. Each record includes a field 422 in which the IP address set for the terminal is registered, a field 424 in which terminal identification information for identifying the terminal is registered, and a field 426 in which the number of times the applet is transmitted to the terminal is registered. It is configured.

図4の例では、第1段目のレコードには、IPアドレスとして「192.168.100.10」が、端末識別情報として「通常端末」が、送信回数として「0」がそれぞれ登録されており、これは、IPアドレス「192.168.100.10」が設定された端末が通常端末310であることを意味し、また、その通常端末310に対するアプレットの送信回数が「0」回であることを意味している。また、第4段目のレコードには、IPアドレスとして「192.168.101.10」が、端末識別情報として「ブラウザ端末」がそれぞれ登録されており、これは、IPアドレス「192.168.101.10」が設定された端末がブラウザ端末300であることを意味し、また、そのブラウザ端末300に対するアプレットの送信回数が「0」回であることを意味している。   In the example of FIG. 4, “192.168.100.10” is registered as the IP address, “normal terminal” is registered as the terminal identification information, and “0” is transmitted as the number of transmissions. This means that the terminal to which the IP address “192.168.100.10” is set is the normal terminal 310, and that the number of applets transmitted to the normal terminal 310 is “0”. In the fourth row record, “192.168.101.10” is registered as the IP address, and “browser terminal” is registered as the terminal identification information, which is set with the IP address “192.168.101.10”. This means that the terminal is the browser terminal 300, and that the number of applets sent to the browser terminal 300 is “0”.

また、記憶装置42には、図5に示すように、Webページのアプレットを管理するアプレット管理テーブル440が格納されている。図5は、アプレット管理テーブル440のデータ構造を示す図である。   Further, as shown in FIG. 5, the storage device 42 stores an applet management table 440 for managing applets of Web pages. FIG. 5 is a diagram showing the data structure of the applet management table 440.

アプレット管理テーブル440は、図5に示すように、取得要求に応じてプロキシサーバ200がWebページを取得するごとに、1つのレコードが作成されるものである。各レコードは、WebページのURLを登録したフィールド442と、そのWebページが利用するアプレットの個数を登録したフィールド444,450と、そのWebページが利用するすべてのアプレットの存在の有無を登録したフィールド446,452と、そのWebページが利用する各アプレットについてアプレットが存在するか否かを管理するアプレット存在管理テーブルへのポインタを登録したフィールド448,454とを含んで構成されている。なお、フィールド444〜448は、Webページを構成するHTMLデータの形式がND-2000形式の場合に、アプレット数、アプレットの存在の有無およびテーブル名を登録するフィールドであり、フィールド450〜454は、Webページを構成するHTMLデータの形式がND-3000形式の場合に、アプレット数、アプレットの存在の有無およびテーブル名を登録するフィールドである。   As shown in FIG. 5, the applet management table 440 creates one record each time the proxy server 200 acquires a Web page in response to an acquisition request. Each record includes a field 442 for registering the URL of the Web page, fields 444 and 450 for registering the number of applets used by the Web page, and a field for registering the presence or absence of all applets used by the Web page. 446 and 452 and fields 448 and 454 in which pointers to an applet presence management table for managing whether or not an applet exists for each applet used by the Web page are registered. The fields 444 to 448 are fields for registering the number of applets, the presence / absence of applets, and the table name when the format of the HTML data constituting the Web page is ND-2000 format, and the fields 450 to 454 are registered. This is a field for registering the number of applets, the presence / absence of applets, and the table name when the format of HTML data constituting the Web page is the ND-3000 format.

図5の例では、第1段目のレコードには、URLとして「http://www.aaa.com/index.htm」が、アプレット数、アプレット存在の有無およびアプレット存在管理テーブルへのポインタのうちND-2000形式に係るものとして、「3」、「0」および「テーブルA1」が、アプレット数、アプレット存在の有無およびアプレット存在管理テーブルへのポインタのうちND-3000形式に係るものとして、「4」、「0」および「テーブルA2」がそれぞれ登録されている。これは、URL「http://www.aaa.com/index.htm」により特定されるWebページに、アプレットを取得する要求である特定取得要求が7つ含まれており、アプレットが存在するか否かを、ND-2000形式に係るものについてはテーブルA1により、ND-3000形式に係るものについてはテーブルA2により管理することを意味している。さらに、ND-2000形式に係るアプレットの一部または全部が存在せず、ND-3000形式に係るアプレットの一部または全部が存在しないことを意味している。なお、各Webページには、特定取得要求を確実に検出するため、特定取得要求とともにアプレット識別符号があらかじめ付加されている。   In the example of FIG. 5, “http://www.aaa.com/index.htm” is included as the URL in the first row record, the number of applets, the presence / absence of applets, and the pointer to the applet presence management table. Among them, “3”, “0” and “table A1” are related to the ND-2000 format, and the number of applets, the presence / absence of applets and the pointer to the applet presence management table are related to the ND-3000 format. “4”, “0”, and “table A2” are registered respectively. This is because the web page specified by the URL “http://www.aaa.com/index.htm” includes seven specific acquisition requests that are requests for acquiring applets, and whether an applet exists. This means that whether or not the ND-2000 format is used is managed by the table A1, and the ND-3000 format is managed by the table A2. Further, it means that some or all of the applets according to the ND-2000 format do not exist, and some or all of the applets according to the ND-3000 format do not exist. Note that an applet identification code is added in advance to each Web page together with the specific acquisition request in order to reliably detect the specific acquisition request.

アプレット存在管理テーブル460は、図6に示すように、各アプレットごとに1つのレコードが登録されている。各レコードは、アプレット名を登録したフィールド462と、アプレットの存在の有無を登録したフィールド464とを含んで構成されている。図6は、アプレット存在管理テーブル460のデータ構造を示す図である。   In the applet presence management table 460, as shown in FIG. 6, one record is registered for each applet. Each record includes a field 462 in which an applet name is registered, and a field 464 in which presence / absence of an applet is registered. FIG. 6 is a diagram showing the data structure of the applet presence management table 460.

図6の例では、第1段目のレコードには、アプレット名として「exe_001」が、アプレット存在の有無として「1」がそれぞれ登録されており、これは、アプレット名「exe_001」により特定されるアプレットが規定のWWWサーバ100に存在することを意味している。また、第3段目のレコードには、アプレット名として「exe_003」が、アプレット存在の有無として「0」がそれぞれ登録されており、これは、アプレット名「exe_003」により特定されるアプレットが規定のWWWサーバ100に存在しないことを意味している。   In the example of FIG. 6, “exe_001” is registered as the applet name and “1” is registered as the presence / absence of the applet in the first row record, and this is specified by the applet name “exe_001”. This means that the applet exists in the specified WWW server 100. In the third record, “exe_003” is registered as the applet name and “0” is registered as the presence / absence of the applet. The applet specified by the applet name “exe_003” is specified. This means that it does not exist in the WWW server 100.

CPU30は、マイクロプロセッシングユニットMPU等からなり、ROM32の所定領域に格納されている所定のプログラムを起動させ、そのプログラムに従って、図7および図8のフローチャートに示すアプレット存在登録処理およびデータ取得仲介処理を実行するようになっている。   The CPU 30 includes a microprocessing unit MPU and the like, starts a predetermined program stored in a predetermined area of the ROM 32, and performs applet presence registration processing and data acquisition mediation processing shown in the flowcharts of FIGS. 7 and 8 according to the program. It is supposed to run.

初めに、アプレット存在登録処理を図7を参照しながら詳細に説明する。図7は、アプレット存在登録処理を示すフローチャートである。   First, the applet presence registration process will be described in detail with reference to FIG. FIG. 7 is a flowchart showing applet presence registration processing.

アプレット存在登録処理は、プライベートネットワーク199に接続する端末からの取得要求を受信する前に、アクセス登録テーブル400を参照して登録URLのWebページを取得し、取得したWebページが利用するアプレットの存在の有無を登録する処理であって、CPU30において実行されると、図7に示すように、まず、ステップS100に移行するようになっている。   In the applet presence registration process, before receiving an acquisition request from a terminal connected to the private network 199, the Web page of the registration URL is acquired with reference to the access registration table 400, and the existence of the applet used by the acquired Web page is present. When the CPU 30 executes the process, the process first proceeds to step S100 as shown in FIG.

ステップS100では、アクセス登録テーブル400の先頭レコードからURLを読み出し、ステップS102に移行して、読み出したURLをもとにWWWサーバ100にアクセスし、ステップS104に移行して、アクセスしたWWWサーバ100からWebページを取得し、ステップS106に移行する。   In step S100, the URL is read from the top record of the access registration table 400, the process proceeds to step S102, the WWW server 100 is accessed based on the read URL, the process proceeds to step S104, and the accessed WWW server 100 A web page is acquired, and the process proceeds to step S106.

ステップS106では、取得したWebページを解析し、ステップS108に移行して、解析結果に基づいて、取得したWebページからアプレット識別符号を検出したか否かを判定し、アプレット識別符号を検出したと判定したとき(Yes)は、ステップS110に移行する。   In step S106, the acquired web page is analyzed, and the process proceeds to step S108, where it is determined whether an applet identification code is detected from the acquired web page based on the analysis result, and the applet identification code is detected. When it determines (Yes), it transfers to step S110.

ステップS110では、検出したアプレット識別符号に対応する特定取得要求に係るWWWサーバ100にアクセスし、ステップS112に移行して、特定取得要求に係るアプレットがそのWWWサーバ100に存在するか否かを判定し、アプレットが存在すると判定したとき(Yes)は、ステップS114に移行して、検出したアプレット識別符号に対応するアプレットがWWWサーバ100に存在することをアプレット管理テーブル440およびアプレット存在管理テーブル460に登録する。なお、この登録は、取得したWebページを構成するHTMLデータの形式に応じてそれぞれ行う。以下、ステップS120,S220,S232において同じである。   In step S110, the WWW server 100 related to the specific acquisition request corresponding to the detected applet identification code is accessed, and the process proceeds to step S112 to determine whether or not the applet related to the specific acquisition request exists in the WWW server 100. If it is determined that the applet exists (Yes), the process proceeds to step S114, and the applet management table 440 and the applet presence management table 460 indicate that the applet corresponding to the detected applet identification code exists in the WWW server 100. sign up. This registration is performed in accordance with the format of HTML data constituting the acquired Web page. The same applies to steps S120, S220, and S232 below.

次いで、ステップS108に移行する。なお、ステップS108に移行した際には、解析結果に基づいて、取得したWebページから次のアプレット識別符号を検出したか否かを判定する。ステップS108の2回目以降の実行は、一つのWebページに複数のアプレット識別符号が含まれている場合に対応するためである。   Next, the process proceeds to step S108. When the process proceeds to step S108, it is determined based on the analysis result whether or not the next applet identification code is detected from the acquired Web page. This is because the second and subsequent executions of step S108 correspond to the case where a plurality of applet identification codes are included in one Web page.

一方、ステップS112で、特定取得要求に係るアプレットがWWWサーバ100に存在しないと判定したとき(No)は、ステップS120に移行して、検出したアプレット識別符号に対応するアプレットがWWWサーバ100に存在しないことをアプレット管理テーブル440およびアプレット存在管理テーブル460に登録し、ステップS108に移行する。なお、ステップS108に移行した際には、解析結果に基づいて、取得したWebページから次のアプレット識別符号を検出したか否かを判定する。ステップS108の2回目以降の実行は、一つのWebページに複数のアプレット識別符号が含まれている場合に対応するためである。   On the other hand, when it is determined in step S112 that the applet related to the specific acquisition request does not exist in the WWW server 100 (No), the process proceeds to step S120, and the applet corresponding to the detected applet identification code exists in the WWW server 100. No is registered in the applet management table 440 and the applet presence management table 460, and the process proceeds to step S108. When the process proceeds to step S108, it is determined based on the analysis result whether or not the next applet identification code is detected from the acquired Web page. This is because the second and subsequent executions of step S108 correspond to the case where a plurality of applet identification codes are included in one Web page.

一方、ステップS108で、アプレット識別符号を検出しないと判定したとき(No)は、ステップS116に移行して、アクセス登録テーブル400に登録されているすべてのURLについてステップS102〜S114,S120の処理が終了したか否かを判定し、すべてのURLについて処理が終了したと判定したとき(Yes)は、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S108 that the applet identification code is not detected (No), the process proceeds to step S116, and the processes in steps S102 to S114 and S120 are performed for all URLs registered in the access registration table 400. It is determined whether or not the processing has been completed, and when it is determined that the processing has been completed for all URLs (Yes), the series of processing is terminated and the original processing is restored.

一方、ステップS116で、アクセス登録テーブル400に登録されているすべてのURLについてステップS102〜S114,S120の処理が終了しないと判定したとき(No)は、ステップS118に移行して、アクセス登録テーブル400の次のレコードからURLを読み出し、ステップS102に移行する。   On the other hand, when it is determined in step S116 that the processes in steps S102 to S114 and S120 are not completed for all URLs registered in the access registration table 400 (No), the process proceeds to step S118 and the access registration table 400 is processed. Next, the URL is read from the next record, and the process proceeds to step S102.

次に、データ取得仲介処理を図8を参照しながら詳細に説明する。図8は、データ仲介処理を示すフローチャートである。   Next, the data acquisition mediation process will be described in detail with reference to FIG. FIG. 8 is a flowchart showing the data mediation process.

データ取得仲介処理は、CPU30において実行されると、図8に示すように、まず、ステップS200に移行するようになっている。   When the data acquisition mediation process is executed by the CPU 30, as shown in FIG. 8, first, the process proceeds to step S200.

ステップS200では、HTTPによりページの取得要求を受信したか否かを判定し、取得要求を受信したと判定したとき(Yes)は、ステップS201に移行するが、そうでないと判定したとき(No)は、取得要求を受信するまでステップS200で待機する。   In step S200, it is determined whether or not a page acquisition request is received by HTTP. When it is determined that the acquisition request has been received (Yes), the process proceeds to step S201, but when it is determined that it is not (No). Waits in step S200 until an acquisition request is received.

ステップS201では、取得要求に含まれるIPアドレスが端末管理テーブル400に登録されているか否かを判定し、端末管理テーブル400に登録されていないと判定したとき(No)は、ステップS202に移行して、取得要求のHTTPヘッダを解析し、ステップS204に移行して、解析結果に基づいて要求元の端末がブラウザ端末300であるか否かを判定し、要求元の端末がブラウザ端末300であると判定したとき(Yes)は、ステップS205に移行する。   In step S201, it is determined whether or not the IP address included in the acquisition request is registered in the terminal management table 400. When it is determined that the IP address is not registered in the terminal management table 400 (No), the process proceeds to step S202. Then, the HTTP header of the acquisition request is analyzed, and the process proceeds to step S204, where it is determined whether the request source terminal is the browser terminal 300 based on the analysis result, and the request source terminal is the browser terminal 300. (Yes), the process proceeds to step S205.

ステップS205では、取得要求に含まれるIPアドレスおよびブラウザ端末300であることを示す端末識別情報を端末管理テーブル400に登録し、ステップS206に移行して、取得要求に係るWWWサーバ100にアクセスし、ステップS208に移行して、取得要求に係るWebページをそのWWWサーバ100から取得し、ステップS210に移行する。   In step S205, the IP address included in the acquisition request and terminal identification information indicating the browser terminal 300 are registered in the terminal management table 400, the process proceeds to step S206, and the WWW server 100 related to the acquisition request is accessed. The process proceeds to step S208, the Web page related to the acquisition request is acquired from the WWW server 100, and the process proceeds to step S210.

ステップS210では、取得したWebページを解析し、ステップS212に移行して、解析結果に基づいて、取得したWebページからアプレット識別符号を検出したか否かを判定し、アプレット識別符号を検出したと判定したとき(Yes)は、ステップS214に移行して、検出したアプレット識別符号に対応するアプレットがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録されているか否かを判定し、アプレット管理テーブル440およびアプレット存在管理テーブル460に登録されていないと判定したとき(No)は、ステップS216に移行する。   In step S210, the acquired web page is analyzed, and the process proceeds to step S212. Based on the analysis result, it is determined whether the applet identification code is detected from the acquired web page, and the applet identification code is detected. When the determination is made (Yes), the process proceeds to step S214, where it is determined whether an applet corresponding to the detected applet identification code is registered in the applet management table 440 and the applet presence management table 460, and the applet management table 440 is determined. If it is determined that it is not registered in the applet presence management table 460 (No), the process proceeds to step S216.

ステップS216では、検出したアプレット識別符号に対応する特定取得要求に係るWWWサーバ100にアクセスし、ステップS218に移行して、特定取得要求に係るアプレットがそのWWWサーバ100に存在するか否かを判定し、アプレットが存在すると判定したとき(Yes)は、ステップS220に移行する。   In step S216, the WWW server 100 related to the specific acquisition request corresponding to the detected applet identification code is accessed, and the process proceeds to step S218 to determine whether or not the applet related to the specific acquisition request exists in the WWW server 100. If it is determined that the applet exists (Yes), the process proceeds to step S220.

ステップS220では、検出したアプレット識別符号に対応するアプレットがWWWサーバ100に存在することをアプレット管理テーブル440およびアプレット存在管理テーブル460に登録し、ステップS222に移行して、要求元のブラウザ端末300についてアプレットの送信回数を加算し、ステップS224に移行する。   In step S220, the fact that an applet corresponding to the detected applet identification code exists in the WWW server 100 is registered in the applet management table 440 and the applet presence management table 460, the process proceeds to step S222, and the requesting browser terminal 300 is registered. The number of applet transmissions is added, and the process proceeds to step S224.

ステップS224では、アプレットの送信回数が所定値(例えば、100回)以上であるか否かを判定し、送信回数が所定値以上であると判定したとき(Yes)は、全画面更新命令を要求元のブラウザ端末300に送信し、ステップS228に移行して、要求元のブラウザ端末300についてアプレットの送信回数を「0」に設定し、ステップS212に移行する。なお、ステップS212に移行した際には、解析結果に基づいて、取得したWebページから次のアプレット識別符号を検出したか否かを判定する。ステップS212の2回目以降の実行は、一つのWebページに複数のアプレット識別符号が含まれている場合に対応するためである。   In step S224, it is determined whether or not the number of times the applet has been transmitted is greater than or equal to a predetermined value (for example, 100 times). If it is determined that the number of times of transmission is greater than or equal to the predetermined value (Yes), a full screen update command is requested. Transmission is made to the original browser terminal 300, the process proceeds to step S228, the number of applets transmitted for the request source browser terminal 300 is set to “0”, and the process proceeds to step S212. When the process proceeds to step S212, it is determined whether or not the next applet identification code is detected from the acquired Web page based on the analysis result. This is because the second and subsequent executions of step S212 correspond to the case where a plurality of applet identification codes are included in one Web page.

一方、ステップS224で、アプレットの送信回数が所定値未満であると判定したとき(No)は、ステップS212に移行する。なお、ステップS212に移行した際には、解析結果に基づいて、取得したWebページから次のアプレット識別符号を検出したか否かを判定する。ステップS212の2回目以降の実行は、一つのWebページに複数のアプレット識別符号が含まれている場合に対応するためである。   On the other hand, when it is determined in step S224 that the number of applet transmissions is less than the predetermined value (No), the process proceeds to step S212. When the process proceeds to step S212, it is determined whether or not the next applet identification code is detected from the acquired Web page based on the analysis result. This is because the second and subsequent executions of step S212 correspond to the case where a plurality of applet identification codes are included in one Web page.

一方、ステップS218で、特定要求に係るアプレットがWWWサーバ100に存在しないと判定したとき(No)は、ステップS232に移行して、検出したアプレット識別符号に対応するアプレットがWWWサーバ100に存在しないことをアプレット管理テーブル440およびアプレット存在管理テーブル460に登録し、ステップS234に移行して、アプレットが存在しないことを通知するための差換ページを、取得したWebページに代えて要求元のブラウザ端末300に送信し、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S218 that the applet related to the specific request does not exist in the WWW server 100 (No), the process proceeds to step S232, and the applet corresponding to the detected applet identification code does not exist in the WWW server 100. This is registered in the applet management table 440 and the applet presence management table 460, and the process proceeds to step S234, where the replacement page for notifying that no applet exists is replaced with the acquired web page and the requesting browser terminal 300, and a series of processing ends and the original processing is restored.

一方、ステップS214で、検出したアプレット識別符号に対応するアプレットがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録されていると判定したとき(Yes)は、ステップS236に移行して、アプレット管理テーブル440およびアプレット存在管理テーブル460を参照して、特定取得要求に係るアプレットがWWWサーバ100に存在するか否かを判定し、アプレットが存在しないと判定したとき(No)は、ステップS234に移行する。   On the other hand, when it is determined in step S214 that the applet corresponding to the detected applet identification code is registered in the applet management table 440 and the applet presence management table 460 (Yes), the process proceeds to step S236, and the applet management table is entered. 440 and applet presence management table 460 are referenced to determine whether or not the applet related to the specific acquisition request exists in WWW server 100. When it is determined that no applet exists (No), the process proceeds to step S234. .

一方、ステップS236で、特定取得要求に係るアプレットがWWWサーバ100に存在すると判定したとき(Yes)は、ステップS222に移行する。   On the other hand, when it is determined in step S236 that the applet related to the specific acquisition request exists in the WWW server 100 (Yes), the process proceeds to step S222.

一方、ステップS212で、取得したWebページからアプレット識別符号を検出しないと判定したとき(No)は、ステップS230に移行して、取得したWebページを要求元の端末に送信し、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S212 that the applet identification code is not detected from the acquired web page (No), the process proceeds to step S230, the acquired web page is transmitted to the requesting terminal, and a series of processing is performed. End and return to the original process.

一方、ステップS204で、要求元の端末がブラウザ端末300でないと判定したとき(No)は、ステップS238に移行して、取得要求に含まれるIPアドレスおよび通常端末310であることを示す端末識別情報を端末管理テーブル400に登録し、ステップS240に移行して、取得要求に係るWWWサーバ100にアクセスし、ステップS242に移行して、取得要求に係るWebページをそのWWWサーバ100から取得し、ステップS230に移行する。   On the other hand, when it is determined in step S204 that the requesting terminal is not the browser terminal 300 (No), the process proceeds to step S238, and the terminal identification information indicating the IP address included in the acquisition request and the normal terminal 310 Is registered in the terminal management table 400, the process proceeds to step S240, the WWW server 100 related to the acquisition request is accessed, the process proceeds to step S242, and the Web page related to the acquisition request is acquired from the WWW server 100. The process proceeds to S230.

一方、ステップS201で、取得要求に含まれるIPアドレスが端末管理テーブル400に登録されていると判定したとき(Yes)は、ステップS244に移行して、端末管理テーブル400を参照して要求元の端末がブラウザ端末300であるか否かを判定し、要求元の端末がブラウザ端末300であると判定したとき(Yes)は、ステップS206に移行する。   On the other hand, when it is determined in step S201 that the IP address included in the acquisition request is registered in the terminal management table 400 (Yes), the process proceeds to step S244 and the request source is referred to by referring to the terminal management table 400. If it is determined whether the terminal is the browser terminal 300 and it is determined that the request source terminal is the browser terminal 300 (Yes), the process proceeds to step S206.

一方、ステップS244で、要求元の端末がブラウザ端末300でないと判定したとき(No)は、ステップS240に移行する。   On the other hand, when it is determined in step S244 that the requesting terminal is not the browser terminal 300 (No), the process proceeds to step S240.

次に、本実施の形態の動作を図9を参照しながら説明する。図9は、ブラウザ端末300の表示画面である。   Next, the operation of the present embodiment will be described with reference to FIG. FIG. 9 is a display screen of the browser terminal 300.

まず、プライベートネットワーク199に接続する端末がアクセスすることのあるWebページが利用するアプレットが存在するか否かを登録する場合を説明する。   First, a case will be described in which whether or not there is an applet used by a Web page that a terminal connected to the private network 199 may access will be described.

プロキシサーバ200では、電源が投入されると、アプレット存在登録処理が実行される。アプレット存在登録処理が実行されると、ステップS100〜S104を経て、アクセス登録テーブル400の先頭レコードからURLが読み出され、読み出されたURLをもとにWWWサーバ100にアクセスされ、そのWWWサーバ100から該当のWebページが取得される。   The proxy server 200 executes applet presence registration processing when the power is turned on. When the applet presence registration process is executed, the URL is read from the top record of the access registration table 400 through steps S100 to S104, and the WWW server 100 is accessed based on the read URL. A corresponding Web page is acquired from 100.

次いで、ステップS106〜S108を経て、取得されたWebページが解析され、そのWebページにアプレット識別符号が含まれていると、取得されたWebページからアプレット識別符号が検出され、検出されたアプレット識別符号に対応する特定取得要求に係るWWWサーバ100にアクセスされる。その結果、特定取得要求に係るアプレットがそのWWWサーバ100に存在する場合は、ステップS114を経て、検出されたアプレット識別符号に対応するアプレットがWWWサーバ100に存在することがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録される。これに対し、特定取得要求に係るアプレットがそのWWWサーバ100に存在しない場合は、ステップS120を経て、検出されたアプレット識別符号に対応するアプレットがWWWサーバ100に存在しないことがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録される。   Next, through steps S106 to S108, the acquired web page is analyzed, and if the applet identification code is included in the web page, the applet identification code is detected from the obtained web page, and the detected applet identification is detected. The WWW server 100 related to the specific acquisition request corresponding to the code is accessed. As a result, if the applet related to the specific acquisition request exists in the WWW server 100, the applet management table 440 and the applet indicate that the applet corresponding to the detected applet identification code exists in the WWW server 100 through step S114. Registered in the presence management table 460. On the other hand, if the applet related to the specific acquisition request does not exist in the WWW server 100, the applet management table 440 and the fact that the applet corresponding to the detected applet identification code does not exist in the WWW server 100 through step S120. It is registered in the applet presence management table 460.

そして、このような処理がアクセス登録テーブル400に登録されているすべてのURLについて行われることにより、プライベートネットワーク199に接続する端末がアクセスすることのあるWebページが利用するアプレットの存在の有無がプロキシサーバ200に登録される。   By performing such processing for all URLs registered in the access registration table 400, the presence or absence of an applet used by a Web page that may be accessed by a terminal connected to the private network 199 is determined as a proxy. Registered in the server 200.

次に、プロキシサーバ200がデータ取得の仲介を行う場合を説明する。   Next, a case where the proxy server 200 mediates data acquisition will be described.

ブラウザ端末300では、ユーザがWebブラウザを操作すると、閲覧の目的となるWebページの取得要求がプロキシサーバ200に送信される。この取得要求は、HTTPパケットとして送信される。   In the browser terminal 300, when the user operates the Web browser, a request for acquiring a Web page to be browsed is transmitted to the proxy server 200. This acquisition request is transmitted as an HTTP packet.

プロキシサーバ200では、取得要求を受信すると、取得要求に含まれるIPアドレスが端末管理テーブル400に登録されていない場合は、ステップS201〜S204を経て、取得要求のHTTPヘッダが解析され、解析結果に基づいて要求元の端末がブラウザ端末300であるか否かが判定される。ここで、要求元の端末がブラウザ端末300であると判定されると、ステップS205〜S208を経て、取得要求に含まれるIPアドレスおよびブラウザ端末300であることを示す端末識別情報が端末管理テーブル400に登録され、取得要求に係るWWWサーバ100にアクセスされ、取得要求に係るWebページがそのWWWサーバ100から取得される。   When the proxy server 200 receives the acquisition request, if the IP address included in the acquisition request is not registered in the terminal management table 400, the HTTP header of the acquisition request is analyzed through steps S201 to S204, and the analysis result is displayed. Based on this, it is determined whether or not the request source terminal is the browser terminal 300. If it is determined that the request source terminal is the browser terminal 300, the terminal management table 400 shows the IP address included in the acquisition request and the terminal identification information indicating the browser terminal 300 through steps S205 to S208. The WWW server 100 related to the acquisition request is accessed, and the Web page related to the acquisition request is acquired from the WWW server 100.

そして、ステップS210,S212を経て、取得されたWebページが解析され、そのWebページにアプレット識別符号が含まれていると、取得されたWebページからアプレット識別符号が検出される。ここで、取得要求がアプレット管理テーブル440に登録されていないと、ステップS216を経て、検出されたアプレット識別符号に対応する特定取得要求に係るWWWサーバ100にアクセスされる。その結果、特定取得要求に係るアプレットがそのWWWサーバ100に存在する場合は、ステップS220,S222を経て、検出されたアプレット識別符号に対応するアプレットがWWWサーバ100に存在することがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録され、要求元のブラウザ端末300についてアプレットの送信回数が加算される。この加算により、アプレットの送信回数が所定値以上となると、ステップS226,S228,S212,S230を経て、全画面更新命令が要求元のブラウザ端末300に送信され、アプレットの送信回数が「0」に設定され、取得されたWebページが要求元のブラウザ端末300に送信される。   The acquired web page is analyzed through steps S210 and S212. If the applet identification code is included in the web page, the applet identification code is detected from the obtained web page. If the acquisition request is not registered in the applet management table 440, the WWW server 100 related to the specific acquisition request corresponding to the detected applet identification code is accessed through step S216. As a result, if the applet related to the specific acquisition request exists in the WWW server 100, the applet management table 440 indicates that the applet corresponding to the detected applet identification code exists in the WWW server 100 through steps S220 and S222. And the number of applets transmitted to the requesting browser terminal 300 is added. As a result of this addition, when the number of applet transmissions exceeds a predetermined value, the full screen update command is transmitted to the requesting browser terminal 300 through steps S226, S228, S212, and S230, and the applet transmission number is set to “0”. The set and acquired web page is transmitted to the requesting browser terminal 300.

ブラウザ端末300では、スタティックメモリ管理方式によりアプレットに対してメモリ領域の割当および解放が行われているので、全画面更新命令を受信すると、アプレットに割り当てたメモリ領域がすべて解放される。したがって、複数のフレームにより構成されたWebページを表示していても、アプレットに割り当てられていたメモリ領域が一旦解放されるので、メモリリソースが不足し操作不能な状態に陥る可能性を低減することができる。   In the browser terminal 300, since the memory area is allocated to and released from the applet by the static memory management method, when the full screen update command is received, all the memory areas allocated to the applet are released. Therefore, even when a Web page composed of a plurality of frames is displayed, the memory area allocated to the applet is once released, so that the possibility of falling into an inoperable state due to insufficient memory resources is reduced. Can do.

なお、上記加算の結果により、アプレットの送信回数が所定値以上とならなければ、取得されたWebページが要求元のブラウザ端末300に送信される。この点については、従来のプロキシサーバと同様の動作である。   If, as a result of the addition, the number of applet transmissions does not exceed a predetermined value, the acquired Web page is transmitted to the browser terminal 300 that made the request. This is the same operation as a conventional proxy server.

一方、上記判定の結果、特定取得要求に係るアプレットがそのWWWサーバ100に存在しない場合は、ステップS232,S234を経て、検出されたアプレット識別符号に対応するアプレットがWWWサーバ100に存在しないことがアプレット管理テーブル440およびアプレット存在管理テーブル460に登録され、アプレットが存在しないことを通知するための差換ページが、取得されたWebページに代えて要求元のブラウザ端末300に送信される。   On the other hand, as a result of the determination, if the applet related to the specific acquisition request does not exist in the WWW server 100, the applet corresponding to the detected applet identification code does not exist in the WWW server 100 through steps S232 and S234. A replacement page registered in the applet management table 440 and the applet presence management table 460 for notifying that an applet does not exist is transmitted to the browser terminal 300 as a request source instead of the acquired Web page.

ブラウザ端末300では、差換ページを受信すると、図9(a)または同図(b)に示すような差換ページが表示される。例えば、ブラウザ端末300が店舗等に設置して顧客の利用に供するものであれば、顧客は、その表示を見たときに不具合が発生したことが分かるので、従業員を呼ぶ等して適切な対処を行うことができる。したがって、アプレットの実行前に対処することができるので、操作不能な状態に陥る可能性を低減することができる。   In the browser terminal 300, when the replacement page is received, the replacement page as shown in FIG. 9A or FIG. 9B is displayed. For example, if the browser terminal 300 is installed in a store or the like for use by a customer, the customer knows that a problem has occurred when viewing the display. You can take action. Therefore, since it is possible to cope with the applet before execution, the possibility of falling into an inoperable state can be reduced.

次に、他のブラウザ端末300において上記と同一のWebページを閲覧する場合、ブラウザ端末300では、ユーザがWebブラウザを操作すると、閲覧の目的となるWebページの取得要求がプロキシサーバ200に送信される。   Next, when browsing the same web page as described above in another browser terminal 300, when the user operates the web browser in the browser terminal 300, an acquisition request for the web page to be browsed is transmitted to the proxy server 200. The

プロキシサーバ200では、取得要求を受信すると、取得要求のHTTPヘッダが解析され、解析結果に基づいて要求元の端末がブラウザ端末300であるか否かが判定される。ここで、要求元の端末がブラウザ端末300であると判定されると、取得要求に係るWWWサーバ100にアクセスされ、取得要求に係るWebページがそのWWWサーバ100から取得される。   When receiving the acquisition request, the proxy server 200 analyzes the HTTP header of the acquisition request, and determines whether the request source terminal is the browser terminal 300 based on the analysis result. Here, when it is determined that the request source terminal is the browser terminal 300, the WWW server 100 related to the acquisition request is accessed, and the Web page related to the acquisition request is acquired from the WWW server 100.

そして、取得されたWebページが解析され、そのWebページにアプレット識別符号が含まれていると、取得されたWebページからアプレット識別符号が検出される。ここで、アプレット存在管理テーブル460には、検出されたアプレット識別符号に対応するアプレットが上記処理において登録されているので、ステップS236,S234を経て、アプレット管理テーブル440およびアプレット存在管理テーブル460を参照して特定取得要求に係るアプレットがWWWサーバ100に存在しないと判定され、アプレットが存在しないことを通知するための差換ページが、取得されたWebページに代えて要求元のブラウザ端末300に送信される。   Then, the acquired web page is analyzed, and if the applet identification code is included in the web page, the applet identification code is detected from the obtained web page. Here, since the applet corresponding to the detected applet identification code is registered in the applet presence management table 460 in the above process, the applet management table 440 and the applet presence management table 460 are referred to through steps S236 and S234. Then, it is determined that the applet related to the specific acquisition request does not exist in the WWW server 100, and a replacement page for notifying that the applet does not exist is transmitted to the requesting browser terminal 300 instead of the acquired Web page. Is done.

なお、HTTPヘッダの解析の結果、要求元の端末が通常端末310であると判定された場合、または取得したWebページにアプレット識別符号が含まれていない場合はいずれも、取得されたWebページがそのまま要求元の端末に送信される。   As a result of the analysis of the HTTP header, if the request source terminal is determined to be the normal terminal 310, or if the acquired Web page does not include an applet identification code, the acquired Web page is It is sent to the requesting terminal as it is.

このようにして、本実施の形態では、プロキシサーバ200は、スタティックメモリ管理方式によりアプレットに対してメモリ領域の割当および解放を行うブラウザ端末300と、複数のWWWサーバ100とに通信可能に接続し、ブラウザ端末300からの取得要求に応じてWWWサーバ100からWebページを取得し、取得したWebページを要求元のブラウザ端末300に送信する一方、取得したWebページに基づいてブラウザ端末300へのアプレットの送信回数を計数し、その計数結果に基づいて要求元のブラウザ端末300に全画面更新命令を送信するようになっている。   In this way, in this embodiment, the proxy server 200 is communicably connected to the browser terminal 300 that allocates and releases the memory area for the applet by the static memory management method and the plurality of WWW servers 100. In response to an acquisition request from the browser terminal 300, a Web page is acquired from the WWW server 100, and the acquired Web page is transmitted to the requesting browser terminal 300, while an applet to the browser terminal 300 is acquired based on the acquired Web page. The full-screen update command is transmitted to the requesting browser terminal 300 based on the count result.

これにより、アプレットの送信回数に応じてメモリ領域が解放されるので、スタティックメモリ管理方式を採用したブラウザ端末300において、従来に比して、メモリリソースの不足により操作不能な状態に陥る可能性を低減することができる。   As a result, the memory area is released according to the number of times the applet has been transmitted. Therefore, in the browser terminal 300 adopting the static memory management method, there is a possibility that the browser terminal 300 may become inoperable due to a shortage of memory resources. Can be reduced.

さらに、本実施の形態では、プロキシサーバ200は、取得要求に応じてWWWサーバ100からWebページを取得し、取得したWebページに特定取得要求が含まれているときは、そのWebページから特定取得要求を検出し、検出した特定取得要求に係るアプレットがWWWサーバ100に存在するか否かを判定し、取得したWebページについて、そのWebページに含まれる特定取得要求に係るアプレットが存在しないと判定したときは、そのWebページに代えて、アプレットが存在しない旨の差換ページを要求元の端末に送信するようになっている。   Furthermore, in this embodiment, the proxy server 200 acquires a Web page from the WWW server 100 in response to the acquisition request, and when the acquired Web page includes a specific acquisition request, the proxy server 200 acquires the specific acquisition from the Web page. The request is detected, it is determined whether an applet related to the detected specific acquisition request exists in the WWW server 100, and it is determined that there is no applet related to the specific acquisition request included in the Web page for the acquired Web page. In this case, instead of the Web page, a replacement page indicating that no applet exists is transmitted to the requesting terminal.

これにより、特定取得要求に係るアプレットがWWWサーバ100に存在しない場合は、要求元の端末が特定取得要求を送信する前に、アプレットが存在しないことを要求元の端末に通知することができるので、ブラウザ端末300において、従来に比して、操作不能な状態に陥る可能性を低減することができる。また、これを戻るボタンを設けずに実現することができるので、サービス提供の確実性を低下させることもさほどない。   Thereby, when the applet related to the specific acquisition request does not exist in the WWW server 100, the requesting terminal can be notified that the applet does not exist before the requesting terminal transmits the specific acquisition request. In the browser terminal 300, the possibility of falling into an inoperable state can be reduced as compared with the conventional case. In addition, since this can be realized without providing a return button, the certainty of service provision is not significantly reduced.

さらに、本実施の形態では、プロキシサーバ200は、取得したWebページからアプレット識別符号を検出することによりそのWebページに特定取得要求が含まれていることを検出するようになっている。   Further, in the present embodiment, the proxy server 200 detects that the specific acquisition request is included in the Web page by detecting the applet identification code from the acquired Web page.

これにより、特定取得要求が含まれていることを比較的確実に検出することができる。   Thereby, it can be detected relatively reliably that the specific acquisition request is included.

さらに、本実施の形態では、プロキシサーバ200は、取得したWebページに特定取得要求が含まれていることを検出したときは、その特定取得要求が含まれているWebページを解析し、解析結果に基づいてアプレット管理テーブル440およびアプレット存在管理テーブル460にアプレットが登録されていないと判定した場合に限り、WWWサーバ100にアクセスして特定取得要求に係るアプレットが存在するか否かを判定するようになっている。   Further, in the present embodiment, when the proxy server 200 detects that the acquired web page includes the specific acquisition request, the proxy server 200 analyzes the Web page including the specific acquisition request, and the analysis result Only when it is determined that the applet is not registered in the applet management table 440 and the applet presence management table 460, the WWW server 100 is accessed to determine whether the applet related to the specific acquisition request exists. It has become.

これにより、存在するか否かを一度も判定したことのないアプレットについてのみ、WWWサーバ100に対してアクセスが行われるので、WWWサーバ100にアクセスする回数を低減することができる。   Thereby, since only the applet that has never been determined whether or not it exists is accessed to the WWW server 100, the number of accesses to the WWW server 100 can be reduced.

さらに、本実施の形態では、プロキシサーバ200は、取得要求を受信したときは、受信した取得要求の解析結果に基づいて要求元の端末がブラウザ端末300であるか否かを判定し、ブラウザ端末300であると判定したときは、特定取得要求の検出およびアプレットの存在確認を行うようになっている。   Furthermore, in this embodiment, when the proxy server 200 receives the acquisition request, the proxy server 200 determines whether the request source terminal is the browser terminal 300 based on the analysis result of the received acquisition request, and the browser terminal When it is determined that the number is 300, the specific acquisition request is detected and the existence of the applet is confirmed.

これにより、ブラウザ端末300に送信すべきWebページについてのみ、特定取得要求の検出およびアプレットの存在確認が行われるので、処理負荷を低減することができる。   As a result, the specific acquisition request is detected and the existence of the applet is confirmed only for the Web page to be transmitted to the browser terminal 300, so that the processing load can be reduced.

さらに、本実施の形態では、プロキシサーバ200は、ブラウザ端末300からの取得要求を受信する前に、アクセス登録テーブル400のURLをもとにWWWサーバ100にアクセスして該当のアプレットが存在するか否かを判定し、該当のアプレットの存在確認結果を、アプレット管理テーブル440およびアプレット存在管理テーブル460に登録するようになっている。   Furthermore, in the present embodiment, before receiving the acquisition request from the browser terminal 300, the proxy server 200 accesses the WWW server 100 based on the URL of the access registration table 400 to determine whether the corresponding applet exists. Whether or not the corresponding applet is present is registered in the applet management table 440 and the applet presence management table 460.

これにより、アプレット管理テーブル440およびアプレット存在管理テーブル460への登録が取得要求の受信前に行われるので、ブラウザ端末300に対する応答速度を向上することができる。   As a result, registration in the applet management table 440 and the applet presence management table 460 is performed before receiving the acquisition request, so that the response speed to the browser terminal 300 can be improved.

さらに、本実施の形態では、プロキシサーバ200は、取得要求を受信したときは、取得要求のHTTPヘッダを解析し、解析結果に基づいて要求元の端末がブラウザ端末300であるか否かを判定し、判定結果に基づいて端末管理テーブル400への登録を行う一方、取得要求に含まれるIPアドレスが端末管理テーブル400に登録されているときは、端末管理テーブル400を参照して要求元の端末がブラウザ端末300であるか否かを判定するようになっている。   Further, in the present embodiment, when the proxy server 200 receives the acquisition request, the proxy server 200 analyzes the HTTP header of the acquisition request and determines whether or not the requesting terminal is the browser terminal 300 based on the analysis result. When the IP address included in the acquisition request is registered in the terminal management table 400 while registering in the terminal management table 400 based on the determination result, the request source terminal is referred to the terminal management table 400 Whether or not is the browser terminal 300 is determined.

これにより、端末管理テーブル400に一旦登録されると、要求元の端末についてHTTPヘッダの解析を行わなくてすむので、プロキシサーバ200の処理負荷を低減するとともに要求元の端末に対する応答速度を向上することができる。   As a result, once registered in the terminal management table 400, it is not necessary to analyze the HTTP header for the requesting terminal, thereby reducing the processing load on the proxy server 200 and improving the response speed to the requesting terminal. be able to.

上記実施の形態において、インターネット198およびプライベートネットワーク199は、ネットワークに対応し、WWWサーバ100、ブラウザ端末300および通常端末310は、ネットワークリソースに対応している。また、記憶装置42は、記憶手段に対応し、ステップS206,S208は、サーバ側データ取得手段、またはサーバ側データ取得ステップに対応し、ステップS210,S212は、特定取得要求検出手段に対応している。   In the above embodiment, the Internet 198 and the private network 199 correspond to networks, and the WWW server 100, the browser terminal 300, and the normal terminal 310 correspond to network resources. The storage device 42 corresponds to storage means, steps S206 and S208 correspond to server-side data acquisition means or server-side data acquisition step, and steps S210 and S212 correspond to specific acquisition request detection means. Yes.

また、上記実施の形態において、ステップS216,S218は、データ存在判定手段に対応し、ステップS222は、回数計数手段、または回数計数ステップに対応している。また、ステップS226は、更新命令出力手段、更新命令送信手段、更新命令出力ステップ、または更新命令送信ステップに対応し、ステップS230,S234は、データ送信手段、またはデータ送信ステップに対応している。   Moreover, in the said embodiment, step S216, S218 respond | corresponds to a data presence determination means, and step S222 respond | corresponds to a frequency | count count means or a frequency | count count step. Step S226 corresponds to an update command output unit, an update command transmission unit, an update command output step, or an update command transmission step, and steps S230 and S234 correspond to a data transmission unit or a data transmission step.

また、上記実施の形態において、差換ページは、通知データに対応し、全画面更新命令は、更新命令に対応し、アプレットは、特定形式データ、または実行型のプログラムデータに対応している。また、アプレット識別符号は、要求識別情報に対応し、URLは、データ識別情報、または取得先アドレスに対応し、IPアドレスは、ネットワークリソース識別情報に対応している。   In the above embodiment, the replacement page corresponds to the notification data, the full screen update instruction corresponds to the update instruction, and the applet corresponds to the specific format data or the execution type program data. The applet identification code corresponds to request identification information, the URL corresponds to data identification information or an acquisition destination address, and the IP address corresponds to network resource identification information.

なお、上記実施の形態において、プロキシサーバ200は、ステップS106,S210で、取得したWebページを常に解析するように構成したが、これに限らず、取得したWebページのURLがアプレット管理テーブル440に登録されているか否かを判定し、アプレット管理テーブル440に登録されていると判定したときは、Webページの解析を省略するように構成してもよい。   In the above embodiment, the proxy server 200 is configured to always analyze the acquired Web page in steps S106 and S210. However, the URL is not limited to this, and the URL of the acquired Web page is stored in the applet management table 440. When it is determined whether or not it is registered and it is determined that it is registered in the applet management table 440, the analysis of the Web page may be omitted.

これにより、アプレット管理テーブル440に一旦登録されると、Webページの解析を行わなくてすむので、プロキシサーバ200の処理負荷を低減するとともに要求元の端末に対する応答速度を向上することができる。   Thereby, once registered in the applet management table 440, it is not necessary to analyze the Web page, so that the processing load of the proxy server 200 can be reduced and the response speed to the requesting terminal can be improved.

また、上記実施の形態においては、図6に示すアプレット存在管理テーブル460をWebページごと複数設けて構成したが、これに限らず、それら複数のアプレット存在管理テーブル460を一つのテーブルとして構成してもよい。これにより、検索の高速化を図ることができる。   In the above embodiment, a plurality of applet presence management tables 460 shown in FIG. 6 are provided for each Web page. However, the present invention is not limited to this, and the plurality of applet presence management tables 460 are configured as one table. Also good. Thereby, it is possible to speed up the search.

また、上記実施の形態においては、取得要求に含まれるIPアドレスにより要求元の端末を識別するように構成したが、これに限らず、クッキー(Cookie)によって送受信されるユーザ情報等により要求元の端末を識別するように構成することもできる。   In the above embodiment, the request source terminal is identified by the IP address included in the acquisition request. However, the present invention is not limited to this, and the request source terminal is determined based on user information transmitted and received by a cookie. It can also be configured to identify the terminal.

また、上記実施の形態において、図7および図8のフローチャートに示す処理を実行するにあたってはいずれも、ROM32にあらかじめ格納されている制御プログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAM34に読み込んで実行するようにしてもよい。   Further, in the above-described embodiment, the case where the control program stored in advance in the ROM 32 is executed has been described in executing the processing shown in the flowcharts of FIGS. 7 and 8. However, the present invention is not limited to this. Alternatively, the program may be read from the storage medium storing the program indicating the above procedure into the RAM 34 and executed.

ここで、記憶媒体とは、RAM、ROM等の半導体記憶媒体、FD、HD等の磁気記憶型記憶媒体、CD、CDV、LD、DVD等の光学的読取方式記憶媒体、MO等の磁気記憶型/光学的読取方式記憶媒体であって、電子的、磁気的、光学的等の読み取り方法のいかんにかかわらず、コンピュータで読み取り可能な記憶媒体であれば、あらゆる記憶媒体を含むものである。   Here, the storage medium is a semiconductor storage medium such as RAM or ROM, a magnetic storage type storage medium such as FD or HD, an optical reading type storage medium such as CD, CDV, LD, or DVD, or a magnetic storage type such as MO. / Optical reading type storage media, including any storage media that can be read by a computer regardless of electronic, magnetic, optical, or other reading methods.

また、上記実施の形態においては、本発明に記載のメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法を、インターネット198からなるネットワークシステムに適用した場合について説明したが、これに限らず、例えば、インターネット198と同一方式により通信を行ういわゆるイントラネットに適用してもよい。もちろん、インターネット198と同一方式により通信を行うネットワークに限らず、通常のネットワークに適用することもできる。   In the above embodiment, the case where the memory management device, the proxy server, the memory management program and the server program, and the memory management method described in the present invention are applied to a network system including the Internet 198 has been described. For example, the present invention may be applied to a so-called intranet that performs communication in the same manner as the Internet 198. Of course, the present invention is not limited to a network that performs communication in the same manner as the Internet 198, but can be applied to a normal network.

また、上記実施の形態においては、本発明に記載のメモリ管理装置、プロキシサーバ、メモリ管理プログラムおよびサーバ用プログラム、並びにメモリ管理方法を、図1に示すように、インターネット198とプライベートネットワーク199との間に設けられたプロキシサーバ200に適用したが、これに限らず、本発明の主旨を逸脱しない範囲で他の場合にも適用可能である。例えば、プロキシサーバ200が実現する処理をブラウザ端末300に組み込むソフトウェアとして構成することもできる。   In the above embodiment, the memory management device, the proxy server, the memory management program, the server program, and the memory management method described in the present invention are connected between the Internet 198 and the private network 199 as shown in FIG. Although the present invention is applied to the proxy server 200 provided therebetween, the present invention is not limited to this, and can be applied to other cases without departing from the gist of the present invention. For example, the processing realized by the proxy server 200 can be configured as software that is incorporated into the browser terminal 300.

本発明を適用するネットワークシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the network system to which this invention is applied. プロキシサーバ200の構成を示すブロック図である。2 is a block diagram showing a configuration of a proxy server 200. FIG. アクセス登録テーブル400のデータ構造を示す図である。4 is a diagram showing a data structure of an access registration table 400. FIG. 端末管理テーブル420のデータ構造を示す図である。It is a figure which shows the data structure of the terminal management table. アプレット管理テーブル440のデータ構造を示す図である。It is a figure which shows the data structure of the applet management table. アプレット存在管理テーブル460のデータ構造を示す図である。6 is a diagram illustrating a data structure of an applet presence management table 460. FIG. アプレット存在登録処理を示すフローチャートである。It is a flowchart which shows an applet presence registration process. データ仲介処理を示すフローチャートである。It is a flowchart which shows a data mediation process. ブラウザ端末300の表示画面である。It is a display screen of the browser terminal 300.

符号の説明Explanation of symbols

100 WWWサーバ
198 インターネット
300 ブラウザ端末
310 通常端末
199 プライベートネットワーク
200 プロキシサーバ
30 CPU
32 ROM
34 RAM
38 I/F
40 入力装置
42 記憶装置
44 表示装置
400 アクセス登録テーブル
420 端末管理テーブル
440 アプレット管理テーブル
460 アプレット存在管理テーブル
100 WWW server 198 Internet 300 Browser terminal 310 Normal terminal 199 Private network 200 Proxy server 30 CPU
32 ROM
34 RAM
38 I / F
40 input device 42 storage device 44 display device 400 access registration table 420 terminal management table 440 applet management table 460 applet presence management table

Claims (3)

データを取得するデータ取得手段と、
前記データ取得手段で取得したデータのうち特定形式のデータにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、
更新命令に応じて前記特定形式データに割り当てたメモリ領域を解放するメモリ領域解放手段と
前記データ取得手段で取得した特定形式データの取得回数を計数する回数計数手段と、
前記回数計数手段の計数結果に基づいて前記更新命令を出力する更新命令出力手段と、を有し、
前記データ取得手段と、前記メモリ領域割当手段と、前記メモリ領域開放手段と、前記回数係数手段と、前記更新命令出力手段とが、一体に構成されていることを特徴とするメモリ管理システム
Data acquisition means for acquiring data;
A memory area allocation means for allocating a memory area by a static memory management scheme data in a particular format of the data acquired by the data acquisition means,
Memory area releasing means for releasing a memory area allocated to the data of the specific format in response to an update instruction ;
Number counting means for counting the number of acquisitions of data in a specific format acquired by the data acquisition means;
Anda update instruction output means for outputting the pre-Symbol updating command based on the counting result of the number counting means,
The memory management system , wherein the data acquisition means, the memory area allocation means, the memory area release means, the frequency coefficient means, and the update command output means are integrally configured .
ネットワークを介して接続される端末とサーバとを有するネットワークシステムであって、
前記ネットワークを介してデータを取得するデータ取得手段と、
前記データ取得手段で取得したデータのうち特定形式のデータにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、
前記ネットワークを介して受信する更新命令に応じて前記特定形式のデータに割り当てたメモリ領域を解放するメモリ領域解放手段と、
を有する端末と、
前記データ取得手段で取得した特定形式のデータの取得回数を計数する回数計数手段と、
前記回数計数手段の計数結果に基づいて前記ネットワークを介して前記端末に前記更新命令を出力する更新命令出力手段と、
を有するサーバと、
を有することを特徴とするネットワークシステム
A network system having a terminal and a server connected via a network,
Data acquisition means for acquiring data via the network;
A memory area allocating means for allocating a memory area to the data in a specific format among the data acquired by the data acquiring means by a static memory management method;
Memory area releasing means for releasing a memory area allocated to the data of the specific format in response to an update command received via the network;
A terminal having
Number counting means for counting the number of acquisitions of data in a specific format acquired by the data acquisition means;
An update command output means for outputting the update command to the terminal via the network based on a counting result of the number counting means;
A server having
A network system comprising:
ブラウザ端末とプロキシサーバとを有するネットワークシステムであって、A network system having a browser terminal and a proxy server,
前記プロキシサーバからデータを取得する端末側データ取得手段と、  Terminal-side data acquisition means for acquiring data from the proxy server;
前記端末側データ取得手段で取得したデータのうち特定形式のデータにスタティックメモリ管理方式によりメモリ領域を割り当てるメモリ領域割当手段と、  A memory area allocating means for allocating a memory area to the data in a specific format among the data acquired by the terminal side data acquiring means by a static memory management method;
更新命令に応じて前記特定形式のデータに割り当てたメモリ領域を解放するメモリ領域解放手段と、  Memory area releasing means for releasing a memory area allocated to the data of the specific format in response to an update instruction;
前記データの取得要求を前記プロキシサーバに送信する送信手段と、  Transmitting means for transmitting the data acquisition request to the proxy server;
を有するブラウザ端末と、A browser terminal having
前記取得要求に応じて前記ブラウザ端末とは異なる他のネットワークリソースから前記データを取得するサーバ側データ取得手段と、  Server-side data acquisition means for acquiring the data from another network resource different from the browser terminal in response to the acquisition request;
前記サーバ側データ取得手段で取得したデータを前記ブラウザ端末に送信するデータ送信手段と、  Data transmission means for transmitting data acquired by the server-side data acquisition means to the browser terminal;
前記サーバ側データ取得手段で取得したデータに基づいて前記ブラウザ端末への前記特定形式のデータの送信回数を計数する回数計数手段と、Count counting means for counting the number of transmissions of the data in the specific format to the browser terminal based on the data acquired by the server-side data acquisition means;
前記回数計数手段の計数結果に基づいて前記ブラウザ端末に前記更新命令を送信する更新命令送信手段と、  Update command transmission means for transmitting the update command to the browser terminal based on the counting result of the number counting means;
を有するプロキシサーバと、A proxy server having
を有することを特徴とするネットワークシステム。  A network system comprising:
JP2004235121A 2004-08-12 2004-08-12 Memory management system and network system Expired - Fee Related JP4093215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004235121A JP4093215B2 (en) 2004-08-12 2004-08-12 Memory management system and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004235121A JP4093215B2 (en) 2004-08-12 2004-08-12 Memory management system and network system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002034713A Division JP3613247B2 (en) 2002-02-12 2002-02-12 Proxy server, server program, and memory management method

Publications (3)

Publication Number Publication Date
JP2004348766A JP2004348766A (en) 2004-12-09
JP2004348766A5 JP2004348766A5 (en) 2005-07-28
JP4093215B2 true JP4093215B2 (en) 2008-06-04

Family

ID=33536003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004235121A Expired - Fee Related JP4093215B2 (en) 2004-08-12 2004-08-12 Memory management system and network system

Country Status (1)

Country Link
JP (1) JP4093215B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100530140C (en) * 2007-11-08 2009-08-19 Ut斯达康通讯有限公司 Memory management method for application program
RU2415467C1 (en) * 2009-08-20 2011-03-27 Корпорация "САМСУНГ ЭЛЕКТРОНИКС Ко., Лтд." System and method for preallocating memory

Also Published As

Publication number Publication date
JP2004348766A (en) 2004-12-09

Similar Documents

Publication Publication Date Title
US8893043B2 (en) Method and system for predictive browsing
US6594697B1 (en) Client system having error page analysis and replacement capabilities
US9530099B1 (en) Access to network content
CA2391783C (en) Communication between client and server computers via http, method, computer program product and system
US9641413B2 (en) Methods and computer program products for collecting storage resource performance data using file system hooks
US9928223B1 (en) Methods for prerendering and methods for managing and configuring prerendering operations
US9444711B1 (en) System and method of determining latency
US20080313545A1 (en) Systems and methods for providing desktop or application remoting to a web browser
US8589537B2 (en) Methods and computer program products for aggregating network application performance metrics by process pool
US20110055389A1 (en) Methods and Computer Program Products for Generating a Model of Network Application Health
US20100017486A1 (en) System analyzing program, system analyzing apparatus, and system analyzing method
US9769285B2 (en) Access to network content
US20080059978A1 (en) Communication system and communication apparatus and control method thereof
KR101586587B1 (en) Method and apparatus for system monitoring
US20130091201A1 (en) Methods, systems, and computer program products for processing an attached command response
JP2004192346A (en) Memory management device, proxy server, browser terminal, memory management program, server program, terminal program and monitoring program, and memory management method
JP4093215B2 (en) Memory management system and network system
JP2006260522A (en) Information processing apparatus, information management apparatus, information management system, information processing method, information management method, information processing program, information management program, and recording medium
JP3613247B2 (en) Proxy server, server program, and memory management method
US8326977B2 (en) Recording medium storing system analyzing program, system analyzing apparatus, and system analyzing method
JP2006260343A (en) Program for checking link cut
JP4102570B2 (en) Data acquisition mediation device, proxy server, data acquisition mediation program, data acquisition mediation method, storage medium, and data acquisition mediation system
JP6221395B2 (en) Information processing system, client device, server device, and program
JP5441167B2 (en) Router device, transfer control method, and transfer control program
JP2011138202A (en) Server device, server load distribution device, server load distribution method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050210

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20071127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080122

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080225

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4093215

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140314

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees