JP2004013479A - Communication network and remote file access method - Google Patents

Communication network and remote file access method Download PDF

Info

Publication number
JP2004013479A
JP2004013479A JP2002165304A JP2002165304A JP2004013479A JP 2004013479 A JP2004013479 A JP 2004013479A JP 2002165304 A JP2002165304 A JP 2002165304A JP 2002165304 A JP2002165304 A JP 2002165304A JP 2004013479 A JP2004013479 A JP 2004013479A
Authority
JP
Japan
Prior art keywords
file
terminal
function
application
file server
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.)
Pending
Application number
JP2002165304A
Other languages
Japanese (ja)
Inventor
Hiroki Takato
多賀戸 裕樹
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2002165304A priority Critical patent/JP2004013479A/en
Publication of JP2004013479A publication Critical patent/JP2004013479A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a simple communication network and a file access method for obtaining a favorable application response time and requiring no explicit synchronization of file update contents from a user at the terminal when the application function of the terminal connected to a LAN accesses a file stored in a file server inside the other LAN connected via an external network. <P>SOLUTION: When the application function on the terminal accesses the file stored in the file server, a local copy is stored in the terminal for various operations such as editing. At the same time, a session is established between the terminal and the file server, and when an application agent function matching the application function in the terminal carries out transmission with the application function via the session, an operation carried out on the file by the application function in the terminal is reflected on the file in the file server, and file contents are synchronized. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、複数の通信装置が通信ネットワークで結合された分散システムにおいて要求元通信装置から要求先通信装置のファイル(リモートファイル)に対してリモートアクセスする際のファイルアクセス方法およびこの方法を適用した通信ネットワークに関する。
【0002】
【従来の技術】
〔発明の背景〕近年、インターネット(the Internet)に代表される通信ネットワークが急速に発展している。これに伴い、我々がパーソナルコンピュータ(Personal Computer, PC)や携帯電話などの各種端末を用いて、ネットワークサービス提供者(Network Service Provider: NSP)が運用する通信ネットワークに接続し、電子メールの交換やワールドワイドウェブ(World Wide Web, WWW)の閲覧を行なうことが一般的になっている。
【0003】
また、非対称ディジタル加入者線(Asymmetric Digital Subscriber Line, ADSL)やケーブルテレビ網等の各種アクセス技術を用いた前記通信ネットワークへの常時接続サービスが提供されるようになってきている。
【0004】
常時接続サービスがさらに普及してゆくであろうことを考慮すると、例えば宅内等に構内網(Local Area Network, LAN)を構築し、ルータ等を介して前記構内網をNSP網に常時接続することが一般的になってゆくと予想される。LANには、PCやパーソナルディジタルアシスタント(Personal Digital Assistant, PDA)などの端末とともに、複数の端末から共通にアクセスされるリモートファイル(共通ファイル)等を格納するファイルサーバ等が接続されている。
【0005】
ファイルサーバ等に格納されている各種のファイルに関して、従来はファイルサーバ等と同一のLAN内に接続される端末のみからのアクセスが一般的であった。然しながら、上述したような状況の下では、外出時などにおいても端末を携行し、ホットスポット等に代表される公衆の無線LAN等、前記ファイルサーバが接続されるLANへの外部ネットワークからのファイルアクセスに対する需要が高まってゆくものと考えられる。
【0006】
NSP網によって、前記した宅内LANや無線LANなど複数のLANが相互に接続されたネットワークの構成の一例を図9のブロック図に示す。図9に例示する通信ネットワーク600は、主にネットワーク接続サービスの提供を行なうNSP網500、および前記NSP網500にルータ801を介して有線あるいは無線で接続される複数のLAN(図9中ではHome LAN:300とVisited LAN:400)、および前記NSP網500とゲートウェイ802を介して接続されている、他のNSP網や固定電話網や移動電話網などに代表される他のネットワーク700から構成されている。
【0007】
図9において、Home LAN:300とはある端末が通常接続されているLANである。例えば、ある人が自宅に宅内LANを構築しており、所有するPC等の端末を通常は宅内LANに接続して使用している場合、当該端末のHome LANは前記宅内LANである。また、Visited LAN:400は前記Home LAN以外のすべてのLANである。例えば、前記宅内LANに接続されているPCを携行して外出し、カフェや空港等でサービスが提供されている公衆無線LANに接続した場合、前記公衆無線LANはVisited LANである。
【0008】
Home LAN:300には、ファイルサーバ機能101を実装し共通ファイル等を蓄積するストレージ102を具備したファイルサーバ100が接続されている。また、HomeLAN:300には、少なくとも1つの端末200が接続されている。この端末200では、搭載したアプリケーション機能201を実行して、ファイルサーバ100のファイルサーバ機能101によりファイルサーバ100内のストレージ102に保存されている共通ファイル(リモートファイル)にアクセスして当該共通ファイルを操作することができる。
【0009】
図9に示すネットワークにおいて、端末200がHome LAN:300に接続されている場合であれば、当該端末上のアプリケーション機能がファイルサーバに格納されているファイルをアクセスする場合には、ファイルサーバ内の当該ファイルを直接アクセスし、読み込み、変更および書き込みなどを行なえばよい。一方、端末が移動した結果、Visited LAN:400に接続されていて、ファイルサーバ100内の共通ファイルをリモートファイルとしてアクセスする場合に関しては以下に示す二通りの方法が考えられる。
【0010】
第一の方法は、端末200がHome LAN:300に接続されていた場合と同様に、ファイルサーバ100内に格納されているアクセス対象のファイルを直接アクセスするものである。同方法では、端末上のアプリケーション機能201は、当該端末がHome LANに接続されている場合と同様の方法でファイルアクセスを行なうことができるという利点がある。しかしながら他方で、一般にはLANとNSP網を接続するアクセス回線は低速であるという状況の下で、NSP網500を介してファイルサーバ100に接続しなければならないために、ファイルアクセスのレスポンス時間が増大し、快適なファイル操作が妨げられる恐れがあるという問題がある。また、NSP網500上で頻繁にデータの送受信が行われるため、NSP網500のトラヒック増加に繋がり、場合によっては通信費用の増大となるという難点もある。
【0011】
第二の方法は、端末がVisited LAN:400に接続されている場合には、アプリケーション機能がファイルアクセスを行なうのに先立って、ファイルサーバ内に格納されているアクセス対象のファイルを取得して、端末内のローカルな記憶領域(ハードディスクドライブなど)にローカルコピーとして保存しておき、アプリケーション機能からは当該コピーをアクセスするものである。
【0012】
上記第二の方法では、アクセス対象のファイルがコピーとして端末内に格納されているため、第一の方法におけるレスポンス時間が増大するという問題を解決することができる。しかしながら、アプリケーション機能は端末内のコピーに対するアクセス(読み込み、編集および書き込みなど)を行なうのであるから、適宜の時点においてファイルサーバ100上のマスターファイルと端末内のコピーファイルについて、両者の内容の同期を行なう必要があり煩雑であるという問題がある。
【0013】
なお、本発明に関連する従来技術としては、本発明とは用途が異なるが特開2000−29766号公報(インターネットWWWによる情報サービス装置)には、リモートファイルアクセスについての技術が開示されている。また、特開平8−106412号公報(ファイル編集システム及び共有ファイル編集システム)には、計算機の共有ファイルシステムやデータベース・システムにおける共有ファイルの操作に関する技術について記載されている。
【0014】
【発明が解決しようとする課題】
本発明の目的は、上述した従来技術における問題を解決し、LANに接続された端末内のアプリケーション機能が外部ネットワークを介して接続された他のLAN内のファイルサーバ内に格納されているファイルに対するアクセスを行なう際に、ローカルコピーファイルを用いることでアプリケーションの良好なレスポンス時間を実現し、かつ、端末の使用者がファイル更新内容の同期を明示的に行なう必要がなく煩雑さを解消した通信ネットワークおよびファイルアクセス方法を提供することである。
【0015】
【課題を解決するための手段】
課題解決のため、請求項1に記載の発明では、複数の端末から共通にアクセスされるリモートファイルを格納するファイルサーバと、このファイルサーバにネットワークを介して接続されて前記リモートファイルを操作するアプリケーション機能を実装した複数の端末とを含むネットワークにおいて、前記ファイルサーバが、前記端末のアプリケーション機能と対応して前記リモートファイルを操作するためのアプリケーションエージェント機能を備え、前記端末の前記アプリケーション機能が前記ファイルサーバ内の前記リモートファイルにアクセスする際には、前記ファイルサーバからこの前記リモートファイルを取得していったん自端末内のローカルの記憶領域にローカルファイルとして保存してこのローカルファイルを前記アプリケーション機能が処理し、当該処理に対応した操作履歴内容を上りメッセージとして前記ファイルサーバのアプリケーションエージェント機能に送信し、受信した当該メッセージに対応して前記ファイルサーバのアプリケーションエージェント機能が操作履歴に基づく処理を前記リモートファイルに対して実行し、実行完了した処理過程を下りメッセージとして端末に送信するようにする。
【0016】
請求項2に記載の発明では、請求項1に記載の通信ネットワークにおいて、前記ファイルサーバが、前記アプリケーションエージェント機能と端末間の通信を制御するセッション管理機能を更に備え、前記各端末が、前記アプリケーション機能とファイルサーバ間の通信を制御するセッション機能を更に備えるようにする。
【0017】
請求項3に記載の発明では、請求項1または2のいずれかに記載の通信ネットワークにおいて、端末内のアプリケーション機能がローカルファイルの操作を行なう際に、当該ローカルファイルに対する各操作の操作履歴を記録しておき、アプリケーション機能が予め定められた特定のイベントを契機として、ファイルサーバに対して前記操作履歴に従った共通ファイルの操作要求を行なうようにする。
【0018】
請求項4に記載の発明では、請求項1または2のいずれかに記載の通信ネットワークにおいて、端末内のアプリケーション機能がローカルファイルの操作を行なう際に、当該ローカルファイルに対する各操作の操作履歴を記録しておき、アプリケーション機能が予め定められた時間間隔で、ファイルサーバに対して前記操作履歴に従ったリモートファイルの操作要求を行なうようにする。
【0019】
請求項5に記載の発明では、請求項1〜4のいずれか1項に記載の通信ネットワークにおいて、前記端末が複数のアプリケーション機能を実装し、前記ファイルサーバが対応する複数のアプリケーションエージェント機能を実装する。
【0020】
上記各通信ネットワークでは、端末からリモートファイルにアクセスする際に、当該リモートファイルを端末内にローカルファイルとしてコピーし、このローカルファイルを操作することでアプリケーションのレスポンスを向上させるとともに、操作履歴を記憶して適宜ファイルサーバ側に送信し、ファイルサーバ側でリモートファイルに端末での操作を反映させてファイルの同期をとる。これにより、端末とファイルサーバ間のトラヒックを少なくでき、またユーザの使い勝手を向上できる。
【0021】
請求項6に記載の本発明方法は、複数の端末から共通にアクセスされるリモートファイルを格納するファイルサーバと、このファイルサーバにネットワークを介して接続されて前記リモートファイルを操作するアプリケーション機能を実装した複数の端末とを含むネットワークシステムにおけるリモートファイルのアクセス方法であって、アプリケーション実行端末の前記アプリケーション機能が前記ファイルサーバ内の前記リモートファイルにアクセスする際に、前記端末が、ファイルサーバから所定のリモートファイルを取得していったん自端末内のローカルの記憶領域にローカルファイルとして保存し、前記アプリケーション機能が行った前記ローカルファイルに対する処理の操作履歴を記憶しておき、適宜の時点で前記操作履歴内容を前記ファイルサーバに送信し、前記ファイルサーバでは、受信した前記操作履歴内容に従った処理を前記リモートファイルに対して行い、実行した処理を前記端末に送信する。請求項7に記載のように、前記操作履歴内容のファイルサーバへの送信は、アプリケーション機能が予め定められた特定のイベントを契機として、あるいは、予め定められた時間間隔で行うようにしても良い。
【0022】
【発明の実施の形態】
本発明では、端末上のアプリケーション機能が、ファイルサーバ内に格納されているファイルに対するアクセスを行なう場合には、当該ファイルを取得して、アクセス元である端末内のローカルな記憶領域にローカルコピーとして保存し、当該コピーに対して編集などの各種操作を行なう。これと同時に、端末内のセッション管理機能とファイルサーバ内のセッション管理機能との間においてセッションを確立し、端末内のアプリケーション機能に対応するアプリケーションエージェント機能をファイルサーバ内において起動する。その後、端末上のアプリケーション機能が当該ファイルコピーに対して行なう各種操作に関する情報を、セッション管理機能間に確立されたセッションを介して、アプリケーション機能−アプリケーションエージェント機能間で送受信することによって、端末内のアプリケーション機能がファイルに対して行なった操作をファイルサーバ内のファイルに反映し、ファイル内容の同期を行なう。
【0023】
アプリケーション機能およびアプリケーションエージェント機能間で情報を送受信するセッションを管理するために、端末およびファイルサーバ内にはセッション管理機能が具備される。セッション管理機能は、当該セッションの発呼側利用者(主に端末内のアプリケーション機能)からの要求に従って、セッションの着呼側利用者(主にファイルサーバ内のアプリケーションエージェント機能)によって使用されるセッション管理機能との間でセッションの確立および切断を行なう。
【0024】
また、セッション管理機能は、当該セッションの発呼側利用者(主に端末内のアプリケーション機能)からの要求に従って、セッションの着呼側利用者(前記発呼側利用者に対応するアプリケーションエージェント機能)の起動および終了を行なうことができるとともに、複数の発呼側および着呼側利用者による同一セッションの使用をサポートすることができる。さらに、セッション管理機能は、発呼側利用者からの要求に従って、着呼側利用者に対して、ファイルの操作内容を含むメッセージを送信し、また、受信したメッセージから着呼側利用者に渡されるべきファイルの操作内容を取り出す処理を行なう。
【0025】
セッション管理機能に加えて、ファイルサーバ内にはアプリケーションエージェント機能が具備される。アプリケーションエージェント機能は、端末内のアプリケーション機能と対になり、セッションを通じて送信されてくるファイル操作内容に従ってファイルサーバ内に格納されている対応するファイルの操作を行なうものである。
【0026】
このアプリケーションエージェント機能は、ファイルの編集作業を行ないたい利用者から直接に使われることがないので、アプリケーション機能からファイルの操作とは無関係なユーザインタフェース等に関する処理を取り除いたものとなっている。もちろん、前記ユーザインタフェース処理等を含むアプリケーション機能そのものを、ファイルサーバ内に具備し、アプリケーションエージェント機能の役割を果たさせることも可能である。
【0027】
上記のように、本発明の特徴として、端末およびファイルサーバ上にアプリケーション機能、アプリケーションエージェント機能およびセッション管理機能を具備し、端末内のアプリケーション機能がファイルサーバ内のファイルにアクセスする際には、ファイルサーバからいったんローカルの記憶領域にコピーしたファイルをアプリケーション機能が編集し、ファイルサーバ上で起動された対応するアプリケーションエージェント機能との間でファイルに対する各種操作を示すメッセージを送受信することによって、ファイルアクセスに関する良好なレスポンス時間、および端末とファイルサーバ間でのファイル内容の同期を同時に実現することが可能となる。
【0028】
〔実施例〕以下、実施例を挙げ図面を用いて本発明を詳細について説明する。図1は、本発明を適用した通信ネットワークの一実施例の概略構成を示すブロック図である。図1に例示する通信ネットワークは、ファイルサーバおよび端末の細部構成を除き、概ね先の図9の通信ネットワーク同様の構成である。すなわち、通信ネットワーク600Aは、主にネットワーク接続サービスの提供を行なうNSP網500、および前記NSP網500にルータ801を介して有線あるいは無線で接続される複数のLAN(図1中ではHome LAN:300AとVisited LAN:400A)、および前記NSP網500とゲートウェイ802を介して接続されている他のNSP網や固定電話網や移動電話網などに代表される他の外部ネットワーク700から構成されている。
【0029】
それぞれのLAN(300A,400A,…)内には複数の端末が接続されており(図では、一つの端末200Aのみが明示されている)、同一のLANに接続された端末同士や接続されていればファイルサーバ(例えば100A)との間で通信を行なうことが可能である。また、NSP網500との接点であるルータ801を介してNSP網にアクセスすることによって、NSP網内のルータ801および他のLAN内に接続されている端末との間で通信を行なうことが可能である。
【0030】
おのおのの端末200Aの内部には、アプリケーション機能202(202a,202b,…)およびセッション管理機能203が具備されている。アプリケーション機能202は、例えばワードプロセッサ、スプレッドシートなどに代表されるものであり、おのおののアプリケーション機能が取り扱う固有のファイルの新規作成、編集および削除など各種の操作を行なうことができる。前記アプリケーション機能202が取り扱うファイルの格納場所は、端末200A内のローカルな記憶領域(図示なし)やファイルサーバ100A内のストレージ102となる。なお、単一の端末内に複数のアプリケーション機能が含まれることが可能である。
【0031】
セッション管理機能203は、アプリケーション機能202からの要求に従って、ファイルサーバ側のセッション管理機能104との間においてセッションの確立および切断を管理する。当該セッションの発呼側利用者となるのは、主に端末200A内のアプリケーション機能202であり、着呼側利用者となるのは主にファイルサーバ100A内のアプリケーションエージェント機能103もしくはアプリケーション機能である。また、セッション管理機能203はアプリケーション機能からの要求に従って、前記セッション上で、ファイル操作に関するメッセージの送受信を行なう。
【0032】
前記ファイルサーバ100A内には、ファイルサーバ機能101とストレージ102および前記アプリケーション機能に対応するアプリケーションエージェント機能103(103a,103b,…)、そして前記端末側のセッション管理機能と類似のセッション管理機能104が備わっている。セッション管理機能104は、端末側のセッション管理機能203との間にセッションを確立し、またアプリケーションエージェント機能103からの要求に従って、前記セッション上で、ファイル操作に関するメッセージの送受信を行なう。
【0033】
アプリケーションエージェント機能103は、端末内の前記アプリケーション機能202がファイルに行なった操作履歴をセッション管理機能104を介して受信し、ファイルサーバ内のストレージ102に格納されているファイル(共通ファイル)に対して前記操作履歴が示す操作(処理)を反映させる。このアプリケーションエージェント機能103は、端末側におけるアプリケーション機能202から、ファイル操作に無関係なユーザインタフェースの処理などを取り除いたものを主要部としている。
【0034】
図2は、本実施例における端末200A内のアプリケーション機能(202a,202b,…)とセッション管理機能203、およびファイルサーバ100A内のアプリケーションエージェント機能(103a,103b,…)とセッション管理機能104の関連を示すブロック図である。
【0035】
図2に示すように、端末内の各アプリケーション機能は、アプリケーション機能とセッション管理機能203の間に規定された所定インタフェースを介して、ファイルサーバ側のセッション管理機能104にアプリケーションエージェント機能の起動/終了要求やファイル内容の同期要求を渡す。このセッション管理機能203は、複数のアプリケーション機能からの要求をセッション上に多重化する機能を持つ。
【0036】
一方、ファイルサーバ内の各アプリケーションエージェント機能は、アプリケーションエージェント機能とセッション管理機能の間に規定されたインタフェース(アプリケーション機能とセッション管理機能間のインタフェースと同等)を介して、端末側からの前記アプリケーションエージェント機能の起動/終了要求やファイル内容の同期要求を受け取る。このセッション管理機能104は、多重化された要求を複数のアプリケーションエージェント機能に振り分ける機能を持つ。
【0037】
続いて、図1の通信ネットワークにおいて、Visited LANに接続された端末がHome LANに接続されているファイルサーバ内に格納されているファイルにアクセスし、当該ファイルに対して編集を行ない、その後ファイルを閉じる処理が行なわれる場合の手順の一例を図3〜図8を参照して説明する。
【0038】
図3は、実施例の通信ネットワークにおいて、Visited LAN:400Aに接続された端末200Aが、Home LAN:300Aに接続されているファイルサーバ100A内に格納されているファイルをオープンし、編集作業を行なえるようになるまでの処理の流れを示すシーケンス図である。
【0039】
Visited LAN:400Aに接続された端末200A内のアプリケーション機能(例えば202a)は、Home LAN:300Aに接続されたファイルサーバ100A内のファイルサーバ機能101に対して、アクセスしたいファイルを示す識別子を含めたファイルの取得要求を送信する。このような識別子の例としては、ユニフォームリソースロケータ(Uniform Resource Locator, URL)が挙げられる。ファイルサーバ側では、上記要求を受信したファイルサーバ機能101が、要求元アプリケーション機能202aに対して要求されたファイルを送信する。
【0040】
所望のファイルを受信した端末内のアプリケーション機能202aは、先ず受信したファイルをローカルな記憶領域(例えばメモリあるいはハードディスク等)にローカルファイルとして格納し、当該ローカルファイルをオープンする。続いて、アプリケーション機能202aは、当該端末内のセッション管理機能203に対して、当該アプリケーション機能202aに対応するアプリケーションエージェント機能103aの起動要求を渡す。当該起動要求には、アプリケーションエージェント機能の名前およびファイルサーバ100A内に格納されているファイルの識別子(URL)が含まれている。
【0041】
端末内のセッション管理機能203は、同セッション管理機能とファイルサーバ内のセッション管理機能104との間でのセッションが未確立である場合のみ、ファイルサーバ内のセッション管理機能104との間のセッションを確立するため、セッション確立要求メッセージを生成して、ファイルサーバ100Aに対して送信する。ファイルサーバ内のセッション管理機能104は、前記セッション確立要求メッセージを受信、解析し、これに対する応答メッセージを生成して端末200Aに送信する。
【0042】
その後、端末内のセッション管理機能203は、上記応答メッセージを受信、解析し、これに対する確認メッセージを生成してファイルサーバ100Aに送信する。この時点で、両セッション管理機能間でのセッションが確立したことになる。ただし、これらのセッション確立のためのステップは、既に両セッション管理機能間でのセッションが確立されている場合には実行されない。
【0043】
セッション管理機能間で送受信されるメッセージの形式を規定するとともに、メッセージの送受信について規定するプロトコルの例としては、セッションイニシエーションプロトコル(Session Initiation Protocol, SIP)を挙げることができる。
【0044】
セッション管理機能間でのセッション確立が成功すると、端末内のセッション管理機能203は、受信した起動要求に含まれるアプリケーションエージェント機能名およびファイル識別子を使用して、アプリケーションエージェント機能103の起動を要求するインスタントメッセージを生成し、ファイルサーバ100A内のセッション管理機能104に対して送信する。本ステップで生成されるインスタントメッセージの例を図4(a)に示す。
【0045】
前記インスタントメッセージを受信したファイルサーバ内のセッション管理機能104は、この受信メッセージを解析して、端末が指定したアプリケーションエージェント機能ならびに当該アプリケーションエージェント機能に渡される要求に関する記述を取り出す。本インスタントメッセージには、アプリケーションエージェントの起動要求およびファイルの識別子が含まれているので、セッション管理機能104は、指定されたアプリケーションエージェント103を起動し、ファイルの識別子を渡す。
【0046】
アプリケーションエージェント機能103が起動すると、ファイルサーバ機能101に対して指定されたファイルの取得を要求する。要求したファイルが得られれば、ファイルサーバ内のアプリケーションエージェント機能103は、当該ファイルをオープンする。そしてセッション管理機能104に対してアプリケーションエージェント機能の起動および指定されたファイルのオープンが完了した旨の応答を送信する。
【0047】
前記応答を受け取ったセッション管理機能104は、先のインスタントメッセージに対する応答メッセージを生成し、端末内のセッション管理機能203に対して送信する。この応答メッセージの例を図4(b)に示す。端末内のセッション管理機能203では、前記応答メッセージを解析し、アプリケーション機能202に対して、アプリケーションエージェント機能の起動が完了した旨を通知する。この時点で、端末内のアプリケーション機能202において、ファイルを操作する準備が整ったことになる。
【0048】
図5は、本実施例通信ネットワークにおいて、Visited LAN:400Aに接続された端末がファイルの操作を行ない、その操作内容がHome LAN:300Aに接続されているファイルサーバ内のファイルに反映される過程の処理の流れを示すシーケンス図である。
【0049】
端末内のアプリケーション機能202が自端末のローカルファイルの操作を行なう際には、当該ローカルファイルに対する各操作の操作履歴を記録しておく。このような状況下において、予め定められたある特定のイベント(例えば、当該ローカルファイルのセーブ処理など)を契機として、アプリケーション機能202はセッション管理機能203に対してファイル内容の同期要求を行なう。本同期要求には、アプリケーション機能202において記録しておいたファイルに対する操作履歴情報が含まれている。
【0050】
同期要求を受信したセッション管理機能203は、前記操作履歴を含むインスタントメッセージを生成し、ファイルサーバ100A上のセッション管理機能104に対して送信する。本ステップで生成されるインスタントメッセージの例を図6(a)に示す。図6(a)に例示のメッセージにおいて、アプリケーションエージェント機能202に渡される部分は、指定されたテキストファイル(ローカルファイル)のオフセット80の位置に、文字列”foo”を挿入し、オフセット90の位置からオフセット95の位置までを削除することを意味している。
【0051】
前記インスタントメッセージを受信したセッション管理機能104は、受信したインスタントメッセージから端末内のアプリケーション機能202がローカルファイルに対して行なった操作履歴を取り出し、ファイルサーバ内のアプリケーションエージェント機能103に通知する。アプリケーションエージェント機能103は、通知された操作履歴に従ってファイルサーバ上のファイルを操作・更新し、ファイルサーバに対して更新ファイルの書き戻しを行なう。その後、ファイル内容の同期要求に対する応答をセッション管理機能104に送信する。
【0052】
前記応答を受け取ったセッション管理機能104は、インスタントメッセージに対する応答メッセージを生成し、NSP網500を介して端末内のセッション管理機能203に対して送信する。本応答メッセージの例を図6(b)に示す。端末内のセッション管理機能203が、前記応答メッセージを受信した結果、ファイルサーバ内のファイルが正常に更新された旨を検知するとアプリケーション機能203に対して通知がなされ、操作履歴の既送信部分が削除されて同期処理を終了する。一方、内容同期に失敗したことを検知すると、アプリケーション機能203に対して、その旨を通知して処理を終了する。
【0053】
以上説明した手順を用いることで、アプリケーション機能によるファイル操作の最中にも、特定のイベントを契機とするファイル同期を行なうことによって、端末内アプリケーション機能が操作するファイルとファイルサーバ上のファイルとの同期を取ることができる。また、同期作業は端末アプリケーション動作のバックグラウンドで行なわれるから、ファイル内容の同期処理によってアプリケーションの良好なレスポンスが損なわれることもない。
【0054】
次に、実施例の通信ネットワーク600Aにおいて、Visited LAN:400Aに接続された端末200Aが、Home LAN:300Aに接続されているファイルサーバ100A内に格納されているリモートファイルに対応するローカルファイルをクローズする場合の処理について説明する。図7はこの場合の処理の流れを示すシーケンス図である。
【0055】
端末200A内のアプリケーション機能202がローカルファイルをクローズすると、アプリケーション機能202は当該端末内のセッション管理機能203に対して、当該アプリケーション機能に対応するファイルサーバ側のアプリケーションエージェント機能103の終了要求を渡す。本終了要求には、アプリケーションエージェント機能の名前およびファイルサーバ内に格納されているファイルの識別子(URL)が含まれる。
【0056】
終了要求を受信したセッション管理機能203は、受信した終了要求に含まれるアプリケーションエージェント機能名およびファイル識別子を使用して、アプリケーションエージェント機能の終了を要求するインスタントメッセージを生成し、ファイルサーバ内のセッション管理機能104に対して送信する。本ステップで生成されるインスタントメッセージの例を図8(a)に示す。
【0057】
前記インスタントメッセージをNSP網500を介して受信したファイルサーバ内のセッション管理機能104は、受信メッセージを解析して、端末が指定したアプリケーションエージェント機能の記述とともに、当該アプリケーションエージェント機能に渡される要求に関する記述を取り出す。本インスタントメッセージには、アプリケーションエージェントの終了要求およびファイルの識別子が含まれているので、セッション管理機能104は、これらのデータを所定のアプリケーションエージェント機能103に渡す。
【0058】
前記データを渡されたアプリケーションエージェント機能103は、ファイル識別子で指定されたファイルをクローズした後、セッション管理機能104に対してアプリケーションエージェント機能の終了が完了した旨の応答を送信してアプリケーションエージェント機能の実行を終了する。
【0059】
前記応答を受け取ったセッション管理機能104は、先のインスタントメッセージに対する応答メッセージを生成して、端末内のセッション管理機能203に対して送信する。本応答メッセージの例を図8(b)に示す。端末内のセッション管理機能203は、前記応答メッセージを解析し、アプリケーション機能202に対して、アプリケーションエージェント機能103の終了が完了した旨を通知する。この通知を待ってアプリケーション機能202が停止する。
【0060】
上述説明のように、本実施例の通信ネットワークにおけるリモートファイルのアクセス方法では、アプリケーション実行端末の前記アプリケーション機能が前記ファイルサーバ内の前記リモートファイルにアクセスする際に、前記端末が、ファイルサーバから所定のリモートファイルを取得していったん自端末内のローカルの記憶領域にローカルファイルとして保存し、前記アプリケーション機能が行った前記ローカルファイルに対する処理の操作履歴を記憶しておき、適宜の時点で前記操作履歴内容を前記ファイルサーバに送信するようにし、前記ファイルサーバでは、受信した前記操作履歴内容に従った処理を前記リモートファイルに対して行い、実行した処理を前記端末に送信する。なお、前記操作履歴内容のファイルサーバへの送信は、アプリケーション機能が予め定められた特定のイベントを契機として、あるいは、予め定められた時間間隔で行うようにする。実施例では、上述各過程は、前記端末およびファイルサーバそれぞれが具備したセッション管理機能により制御される。
【0061】
以上に説明した本実施例の通信ネットワークによれば、端末およびファイルサーバ内にセッション管理機能を設け、セッション管理機能間においてセッションを確立し、本セッションの利用者であるアプリケーション機能およびアプリケーションエージェント機能の間において、本セッションを用いてファイルの操作履歴をインスタントメッセージとして送受信することにより、端末内のアプリケーション機能はローカルファイルを直接編集することによる良好なレスポンスが得られる。また、編集中の特定のイベントを契機としてファイルサーバ上のファイルとの内容同期を行なうことによって、別途ファイル内容の同期を明示的に行なわなくとも、端末およびファイルサーバ上ファイルの内容同期を行なうことが可能となる。また、本同期処理はアプリケーション機能のバックグラウンドで行なわれるため、レスポンスの良好性を損なうことがない。
【0062】
なお、実施例において、端末がHome LANに接続されている場合にも、上述したファイルアクセス方法を適用しても良く、Home LAN内のトラヒックを削減する等の効果が同様に得られる。
【0063】
なお、本発明は、上記実施例に限定されることなく変形して実施が可能である。例えば、端末側からのファイルの同期要求は所定時間間隔で行うようにしても良く、またこれを実施例で説明した特定イベントを契機とするファイルの同期要求と併用しても良い。
【0064】
実施例では、Home LANにファイルサーバがあり、同一の端末が一時的にVisited LANに接続されて、外部ネットワークとしてのNSP網を介してファイルサーバ内の共有ファイルを利用する場合を挙げたが、本発明はこれに限らず一般に、ファイルサーバ内の共有ファイルを、当該ファイルサーバが接続されているネットワークあるいは外部ネットワークを経由してアクセスする通信ネットワークシステム一般に広く適用できる。すなわち、ファイルサーバに既述したようなアプリケーションエージェント機能およびセッション管理機能を実装し、また端末側に既述したようなアプリケーション機能およびセッション管理機能を実装することで前述したような効果を同様に得ることができる。
【0065】
共有ファイルを複数のユーザが同時に編集するシステムにも応用することができる。このような場合には、適宜のファイル管理機能が共有ファイルのアクセスおよび更新の管理を行うものとする。
【0066】
【発明の効果】
以上説明したように、本発明によれば、通信ネットワークを介して接続された端末およびファイルサーバ内にそれぞれセッション管理機能を設け、セッション管理機能間においてセッションを確立し、本セッションの利用者である端末側のアプリケーション機能およびファイルサーバ側のアプリケーションエージェント機能の間において、当該セッションを用いてファイルの操作履歴をインスタントメッセージとして送受信することにより、端末内のアプリケーション機能ではローカルファイルを直接編集することによる良好なレスポンスが得られる。また、編集過程中の特定のイベントを契機とする等によって、ローカルファイルとファイルサーバ上の共有ファイルとの内容同期を行なうことによって、ユーザが別途ファイル内容の同期を明示的に行なわなくとも、端末およびファイルサーバ上ファイルの内容同期を行なうことが可能となりユーザの使い勝手も良好である。なお、この同期処理はアプリケーション機能のバックグラウンドで行なわれるため、良好なレスポンスの妨げになることがない。
【図面の簡単な説明】
【図1】本発明に係る通信ネットワークの一実施例の概略構成を示すブロック図である。
【図2】実施例における端末内のアプリケーション機能とセッション管理機能、およびファイルサーバ内のアプリケーションエージェント機能とセッション管理機能の関連を示すブロック図である。
【図3】実施例の通信ネットワークにおいて、端末がファイルサーバ内に格納されているファイルをオープンし、編集作業を行なうまでの処理の流れを示すシーケンス図である。
【図4】(a)は端末内のセッション管理機能が生成するインスタントメッセージの例を示す図、(b)はファイルサーバ内のセッション管理機能が生成する応答メッセージの例を示す図である。
【図5】実施例の通信ネットワークにおいて、端末がファイルの操作を行ない、その操作内容がファイルサーバ内のファイルに反映される処理の流れを示すシーケンス図である。
【図6】(a)は端末内のセッション管理機能が生成するインスタントメッセージの例を示す図、(b)はファイルサーバ内のセッション管理機能が生成する応答メッセージの例を示す図である。
【図7】実施例の通信ネットワークにおいて、端末がローカルファイルをクローズする場合の処理の流れを示すシーケンス図である。
【図8】(a)は端末内のセッション管理機能が生成するインスタントメッセージの例を示す図、(b)はファイルサーバ内のセッション管理機能が生成する応答メッセージの例を示す図である。
【図9】複数のLANが相互に接続されたネットワークの構成の一例を示すブロック図である。
【符号の説明】
100A…ファイルサーバ
101…ファイルサーバ機能
102…ストレージ
103(103a,103b,…)…アプリケーションエージェント機能
104…(サーバ内)セッション管理機能
200A…端末
202(202a,202b,…)…アプリケーション機能
203…セッション管理機能
300A…Home LAN
400A…Visited LAN
500…NSP網((Network Service Provider網)
600A…通信ネットワーク
700…外部ネットワーク
801…ルータ
802…ゲートウェイ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention employs a file access method for remotely accessing a file (remote file) of a request destination communication device from a request source communication device in a distributed system in which a plurality of communication devices are connected by a communication network, and applied this method. Related to communication networks.
[0002]
[Prior art]
BACKGROUND OF THE INVENTION In recent years, communication networks represented by the Internet have been rapidly developing. Along with this, we use various terminals such as personal computers (PCs) and mobile phones to connect to a communication network operated by a network service provider (NSP), exchange emails, It is common to browse the World Wide Web (WWW).
[0003]
Also, a constant connection service to the communication network using various access technologies such as an asymmetric digital subscriber line (ADSL) and a cable television network has been provided.
[0004]
Considering that the always-on service will be further spread, it is necessary to construct a local area network (Local Area Network, LAN) in a house or the like and to constantly connect the local area network to the NSP network via a router or the like. Is expected to become more common. A terminal such as a PC or a personal digital assistant (PDA) is connected to the LAN, as well as a file server or the like that stores a remote file (common file) commonly accessed by a plurality of terminals.
[0005]
Conventionally, various types of files stored in a file server or the like are generally accessed only from terminals connected to the same LAN as the file server or the like. However, under the above-described circumstances, the user carries the terminal even when going out, and file access from an external network to a LAN to which the file server is connected, such as a public wireless LAN represented by a hot spot or the like. It is thought that the demand for will increase.
[0006]
FIG. 9 is a block diagram showing an example of a configuration of a network in which a plurality of LANs such as the above-mentioned home LAN and wireless LAN are interconnected by the NSP network. The communication network 600 illustrated in FIG. 9 mainly includes an NSP network 500 that mainly provides a network connection service, and a plurality of LANs (Home in FIG. 9) connected to the NSP network 500 via a router 801 by wire or wirelessly. LAN: 300 and Visited LAN: 400) and another network 700 typified by another NSP network, a fixed telephone network, a mobile telephone network, etc., connected to the NSP network 500 via a gateway 802. ing.
[0007]
In FIG. 9, Home LAN: 300 is a LAN to which a certain terminal is normally connected. For example, when a certain person has built a home LAN at home and uses a terminal such as a personal computer that is normally connected to the home LAN, the Home LAN of the terminal is the home LAN. Visited LAN: 400 is all LANs other than the Home LAN. For example, when the user carries a PC connected to the in-home LAN and goes out, and connects to a public wireless LAN provided with a service at a cafe or an airport, the public wireless LAN is a Visited LAN.
[0008]
The home LAN: 300 is connected to a file server 100 having a file server function 101 and a storage 102 for storing common files and the like. At least one terminal 200 is connected to the HomeLAN: 300. The terminal 200 executes the installed application function 201, accesses the common file (remote file) stored in the storage 102 in the file server 100 by the file server function 101 of the file server 100, and Can be operated.
[0009]
In the network shown in FIG. 9, when the terminal 200 is connected to the Home LAN: 300, when the application function on the terminal accesses a file stored in the file server, The file may be directly accessed to read, change, and write. On the other hand, as a result of moving the terminal and being connected to the Visited LAN: 400 and accessing a common file in the file server 100 as a remote file, the following two methods can be considered.
[0010]
The first method is to directly access an access target file stored in the file server 100 as in the case where the terminal 200 is connected to the Home LAN: 300. This method has an advantage that the application function 201 on the terminal can perform file access in the same manner as when the terminal is connected to the Home LAN. However, on the other hand, in general, the access line connecting the LAN and the NSP network must be connected to the file server 100 via the NSP network 500 under the condition that the speed is low, so that the response time of the file access increases. However, there is a problem that comfortable file operations may be hindered. Further, since data is frequently transmitted and received on the NSP network 500, it leads to an increase in traffic of the NSP network 500, and in some cases, increases communication costs.
[0011]
The second method is that, when the terminal is connected to the Visited LAN: 400, the file to be accessed stored in the file server is acquired before the application function accesses the file, A local copy is stored in a local storage area (such as a hard disk drive) in the terminal, and the copy is accessed from an application function.
[0012]
According to the second method, since the file to be accessed is stored in the terminal as a copy, the problem that the response time in the first method increases can be solved. However, since the application function accesses (reads, edits, writes, etc.) the copy in the terminal, it synchronizes the contents of the master file on the file server 100 with the copy file in the terminal at an appropriate time. There is a problem that it is necessary to perform it and it is complicated.
[0013]
As a related art related to the present invention, although its use is different from that of the present invention, Japanese Patent Application Laid-Open No. 2000-29766 (information service device based on the Internet WWW) discloses a technology relating to remote file access. Japanese Patent Application Laid-Open No. 8-106412 (File Editing System and Shared File Editing System) describes a technique relating to the operation of a shared file in a shared file system of a computer or a database system.
[0014]
[Problems to be solved by the invention]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems in the conventional technology, and to solve a problem in which an application function in a terminal connected to a LAN is used for a file stored in a file server in another LAN connected via an external network. Communication network that achieves good application response time by using a local copy file when accessing, and eliminates the need for the user of the terminal to explicitly synchronize file update contents. And to provide a file access method.
[0015]
[Means for Solving the Problems]
In order to solve the problem, in the invention according to claim 1, a file server that stores a remote file commonly accessed from a plurality of terminals, and an application that is connected to the file server via a network and operates the remote file In a network including a plurality of terminals equipped with functions, the file server has an application agent function for operating the remote file in correspondence with the application function of the terminal, and the application function of the terminal is the file function. When accessing the remote file in the server, the remote file is obtained from the file server, temporarily stored as a local file in a local storage area in the terminal, and the local file is stored in the application. Processing, the operation history corresponding to the processing is transmitted as an up message to the application agent function of the file server, and the application agent function of the file server is processed based on the operation history in response to the received message. Is executed on the remote file, and the completed process is transmitted to the terminal as a downlink message.
[0016]
According to a second aspect of the present invention, in the communication network according to the first aspect, the file server further includes a session management function for controlling communication between the application agent function and a terminal, and each of the terminals includes the application application function. A session function for controlling communication between the function and the file server is further provided.
[0017]
According to a third aspect of the present invention, in the communication network according to any one of the first and second aspects, when an application function in a terminal operates a local file, an operation history of each operation on the local file is recorded. In advance, the application function makes an operation request of a common file to the file server according to the operation history, triggered by a predetermined specific event.
[0018]
According to the invention described in claim 4, in the communication network according to any one of claims 1 and 2, when an application function in the terminal operates a local file, an operation history of each operation on the local file is recorded. In this case, the application function issues a remote file operation request to the file server in accordance with the operation history at a predetermined time interval.
[0019]
According to a fifth aspect of the present invention, in the communication network according to any one of the first to fourth aspects, the terminal implements a plurality of application functions, and the file server implements a corresponding plurality of application agent functions. I do.
[0020]
In each of the above communication networks, when a remote file is accessed from a terminal, the remote file is copied as a local file in the terminal, and by operating this local file, the response of the application is improved, and the operation history is stored. Then, the file is transmitted to the file server as appropriate, and the file server synchronizes the file by reflecting the operation of the terminal on the remote file. As a result, traffic between the terminal and the file server can be reduced, and the usability of the user can be improved.
[0021]
The method according to the present invention includes a file server for storing a remote file commonly accessed from a plurality of terminals, and an application function connected to the file server via a network to operate the remote file. A method for accessing a remote file in a network system including a plurality of terminals, wherein when the application function of the application execution terminal accesses the remote file in the file server, the terminal executes a predetermined process from the file server. Obtain a remote file, save it once as a local file in a local storage area in its own terminal, store an operation history of processing on the local file performed by the application function, and, at an appropriate time, The transmitted to the file server, in the file server performs the processing according to the operation history content received for the remote file, and transmits the executed processing to the terminal. As described in claim 7, the transmission of the operation history content to the file server may be performed at a predetermined specific event of the application function or at a predetermined time interval. .
[0022]
BEST MODE FOR CARRYING OUT THE INVENTION
According to the present invention, when an application function on a terminal accesses a file stored in a file server, the file function acquires the file and stores it as a local copy in a local storage area in the access source terminal. Save and perform various operations such as editing on the copy. At the same time, a session is established between the session management function in the terminal and the session management function in the file server, and an application agent function corresponding to the application function in the terminal is activated in the file server. Thereafter, information about various operations performed by the application function on the terminal on the file copy is transmitted / received between the application function and the application agent function via the session established between the session management functions, so that the information in the terminal is transmitted to the terminal. The operation performed on the file by the application function is reflected on the file in the file server, and the file contents are synchronized.
[0023]
In order to manage a session for transmitting and receiving information between the application function and the application agent function, a session management function is provided in the terminal and the file server. The session management function is a session used by the called user of the session (mainly the application agent function in the file server) in response to a request from the calling user of the session (mainly the application function in the terminal). Establishes and disconnects sessions with management functions.
[0024]
In addition, the session management function includes a call receiving user of the session (an application agent function corresponding to the calling user) according to a request from a calling user of the session (mainly, an application function in the terminal). Can be activated and terminated, and the use of the same session by multiple calling and called users can be supported. Further, the session management function transmits a message including the content of the file operation to the called user in response to a request from the calling user, and transfers the message from the received message to the called user. A process for extracting the operation content of the file to be performed is performed.
[0025]
An application agent function is provided in the file server in addition to the session management function. The application agent function is paired with the application function in the terminal, and operates the corresponding file stored in the file server according to the file operation content transmitted through the session.
[0026]
Since this application agent function is not used directly by a user who wants to edit a file, processing related to a user interface or the like irrelevant to file operation is removed from the application function. Of course, it is also possible to provide the application function itself including the above-mentioned user interface processing in the file server and to fulfill the role of the application agent function.
[0027]
As described above, as a feature of the present invention, an application function, an application agent function, and a session management function are provided on a terminal and a file server. When the application function in the terminal accesses a file in the file server, The application function edits the file once copied from the server to the local storage area, and sends and receives messages indicating various operations on the file to and from the corresponding application agent function started on the file server, thereby enabling file access. Good response time and synchronization of file contents between the terminal and the file server can be realized at the same time.
[0028]
[Embodiments] The present invention will be described in detail below with reference to the drawings and embodiments. FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a communication network to which the present invention is applied. The communication network illustrated in FIG. 1 has substantially the same configuration as the communication network in FIG. 9 except for the detailed configuration of the file server and the terminal. That is, the communication network 600A is mainly composed of an NSP network 500 for mainly providing a network connection service, and a plurality of LANs (Home LAN: 300A in FIG. 1) connected to the NSP network 500 via a router 801 by wire or wirelessly. And a Visited LAN: 400A), and another external network 700 typified by another NSP network, a fixed telephone network, a mobile telephone network, or the like connected to the NSP network 500 via a gateway 802.
[0029]
In each LAN (300A, 400A,...), A plurality of terminals are connected (only one terminal 200A is shown in the figure), and terminals connected to the same LAN are connected to each other. Then, communication with a file server (for example, 100A) can be performed. Further, by accessing the NSP network via the router 801 which is a contact point with the NSP network 500, it is possible to communicate with the router 801 in the NSP network and terminals connected to other LANs. It is.
[0030]
Each terminal 200A has an application function 202 (202a, 202b,...) And a session management function 203. The application function 202 is represented by, for example, a word processor or a spreadsheet, and can perform various operations such as new creation, editing, and deletion of a unique file handled by each application function. The storage location of the file handled by the application function 202 is a local storage area (not shown) in the terminal 200A or the storage 102 in the file server 100A. It should be noted that a plurality of application functions can be included in a single terminal.
[0031]
The session management function 203 manages establishment and disconnection of a session with the session management function 104 on the file server side according to a request from the application function 202. The calling user of the session is mainly the application function 202 in the terminal 200A, and the called user is mainly the application agent function 103 or the application function in the file server 100A. . Further, the session management function 203 transmits and receives a message related to a file operation in the session according to a request from the application function.
[0032]
In the file server 100A, a file server function 101, a storage 102, an application agent function 103 (103a, 103b,...) Corresponding to the application function, and a session management function 104 similar to the terminal-side session management function are provided. Equipped. The session management function 104 establishes a session with the session management function 203 on the terminal side, and transmits and receives messages related to file operations on the session in accordance with a request from the application agent function 103.
[0033]
The application agent function 103 receives, via the session management function 104, a history of operations performed on the file by the application function 202 in the terminal, and performs an operation on the file (common file) stored in the storage 102 in the file server. The operation (process) indicated by the operation history is reflected. The main part of the application agent function 103 is a function obtained by removing user interface processing unrelated to file operations from the application function 202 on the terminal side.
[0034]
FIG. 2 shows the relationship between the application functions (202a, 202b,...) And the session management function 203 in the terminal 200A and the application agent functions (103a, 103b,...) And the session management function 104 in the file server 100A in the present embodiment. FIG.
[0035]
As shown in FIG. 2, each application function in the terminal sends an activation / termination of an application agent function to the session management function 104 on the file server side via a predetermined interface defined between the application function and the session management function 203. Pass requests and file content synchronization requests. The session management function 203 has a function of multiplexing requests from a plurality of application functions on a session.
[0036]
On the other hand, each application agent function in the file server communicates with the application agent from the terminal via an interface defined between the application agent function and the session management function (equivalent to an interface between the application function and the session management function). Receives a function start / end request and a file content synchronization request. The session management function 104 has a function of distributing a multiplexed request to a plurality of application agent functions.
[0037]
Subsequently, in the communication network of FIG. 1, a terminal connected to the Visited LAN accesses a file stored in a file server connected to the Home LAN, edits the file, and then edits the file. An example of the procedure when the closing process is performed will be described with reference to FIGS.
[0038]
FIG. 3 shows that in the communication network of the embodiment, the terminal 200A connected to the Visited LAN: 400A can open a file stored in the file server 100A connected to the Home LAN: 300A and perform editing work. FIG. 9 is a sequence diagram showing a flow of processing until it becomes possible.
[0039]
The application function (for example, 202a) in the terminal 200A connected to the Visited LAN: 400A includes an identifier indicating a file to be accessed to the file server function 101 in the file server 100A connected to the Home LAN: 300A. Send a file acquisition request. An example of such an identifier is a uniform resource locator (Uniform Resource Locator, URL). On the file server side, the file server function 101 that has received the request transmits the requested file to the request source application function 202a.
[0040]
The application function 202a in the terminal that has received the desired file first stores the received file as a local file in a local storage area (for example, a memory or a hard disk) and opens the local file. Subsequently, the application function 202a passes a start request of the application agent function 103a corresponding to the application function 202a to the session management function 203 in the terminal. The start request includes the name of the application agent function and the identifier (URL) of the file stored in the file server 100A.
[0041]
The session management function 203 in the terminal establishes a session with the session management function 104 in the file server only when the session between the session management function and the session management function 104 in the file server is not established. In order to establish, a session establishment request message is generated and transmitted to the file server 100A. The session management function 104 in the file server receives and analyzes the session establishment request message, generates a response message in response to the message, and transmits the response message to the terminal 200A.
[0042]
After that, the session management function 203 in the terminal receives and analyzes the response message, generates a confirmation message for the response message, and transmits it to the file server 100A. At this point, a session has been established between the two session management functions. However, these steps for establishing a session are not executed when a session between both session management functions has already been established.
[0043]
An example of a protocol that defines the format of a message transmitted and received between the session management functions and the transmission and reception of the message is a session initiation protocol (SIP).
[0044]
When the session establishment between the session management functions is successful, the session management function 203 in the terminal uses the application agent function name and the file identifier included in the received activation request to request the activation of the application agent function 103. A message is generated and transmitted to the session management function 104 in the file server 100A. FIG. 4A shows an example of the instant message generated in this step.
[0045]
The session management function 104 in the file server that has received the instant message analyzes the received message and extracts the application agent function specified by the terminal and the description related to the request passed to the application agent function. Since the instant message includes an application agent activation request and a file identifier, the session management function 104 activates the designated application agent 103 and passes the file identifier.
[0046]
When the application agent function 103 is activated, it requests the file server function 101 to acquire the specified file. When the requested file is obtained, the application agent function 103 in the file server opens the file. Then, a response to the effect that the activation of the application agent function and the opening of the specified file have been completed is transmitted to the session management function 104.
[0047]
Upon receiving the response, the session management function 104 generates a response message to the previous instant message, and transmits the response message to the session management function 203 in the terminal. FIG. 4B shows an example of this response message. The session management function 203 in the terminal analyzes the response message and notifies the application function 202 that the activation of the application agent function has been completed. At this point, the application function 202 in the terminal is ready to operate the file.
[0048]
FIG. 5 shows a process in which a terminal connected to Visited LAN 400A performs a file operation in the communication network of the present embodiment, and the contents of the operation are reflected in a file in a file server connected to Home LAN 300A. FIG. 6 is a sequence diagram showing a flow of the processing of FIG.
[0049]
When the application function 202 in the terminal operates a local file of the terminal itself, an operation history of each operation on the local file is recorded. In such a situation, the application function 202 issues a file content synchronization request to the session management function 203, triggered by a predetermined specific event (for example, the save processing of the local file). This synchronization request includes operation history information for the file recorded in the application function 202.
[0050]
Upon receiving the synchronization request, the session management function 203 generates an instant message including the operation history and transmits the instant message to the session management function 104 on the file server 100A. FIG. 6A shows an example of the instant message generated in this step. In the message illustrated in FIG. 6A, the part passed to the application agent function 202 inserts the character string “foo” at the position of offset 80 of the specified text file (local file), To the position of offset 95.
[0051]
The session management function 104 that has received the instant message extracts the history of operations performed on the local file by the application function 202 in the terminal from the received instant message, and notifies the application agent function 103 in the file server. The application agent function 103 operates / updates a file on the file server according to the notified operation history, and writes back the updated file to the file server. After that, a response to the file content synchronization request is transmitted to the session management function 104.
[0052]
Upon receiving the response, the session management function 104 generates a response message to the instant message, and transmits the message to the session management function 203 in the terminal via the NSP network 500. FIG. 6B shows an example of this response message. When the session management function 203 in the terminal detects that the file in the file server has been updated normally as a result of receiving the response message, a notification is sent to the application function 203 and the transmitted portion of the operation history is deleted. Then, the synchronization processing ends. On the other hand, when it is detected that the content synchronization has failed, the application function 203 is notified of the fact and the processing is terminated.
[0053]
By using the procedure described above, even during the file operation by the application function, the file operated by the application function in the terminal and the file on the file server can be synchronized by performing file synchronization triggered by a specific event. Can be synchronized. Further, since the synchronization work is performed in the background of the operation of the terminal application, the good response of the application is not impaired by the synchronization processing of the file contents.
[0054]
Next, in the communication network 600A of the embodiment, the terminal 200A connected to the Visited LAN: 400A closes the local file corresponding to the remote file stored in the file server 100A connected to the Home LAN: 300A. The following describes the processing when this is done. FIG. 7 is a sequence diagram showing the flow of processing in this case.
[0055]
When the application function 202 in the terminal 200A closes the local file, the application function 202 passes a termination request of the application agent function 103 on the file server side corresponding to the application function to the session management function 203 in the terminal. This termination request includes the name of the application agent function and the identifier (URL) of the file stored in the file server.
[0056]
The session management function 203 that has received the termination request generates an instant message requesting termination of the application agent function using the application agent function name and the file identifier included in the received termination request, and performs session management in the file server. Send to function 104. FIG. 8A shows an example of the instant message generated in this step.
[0057]
The session management function 104 in the file server that has received the instant message via the NSP network 500 analyzes the received message, and describes the application agent function specified by the terminal and the description of the request passed to the application agent function. Take out. Since the instant message includes the end request of the application agent and the file identifier, the session management function 104 passes these data to the predetermined application agent function 103.
[0058]
After closing the file specified by the file identifier, the application agent function 103 to which the data has been passed transmits a response to the effect that the application agent function has been terminated to the session management function 104, and Terminate execution.
[0059]
Upon receiving the response, the session management function 104 generates a response message to the previous instant message and transmits it to the session management function 203 in the terminal. FIG. 8B shows an example of this response message. The session management function 203 in the terminal analyzes the response message and notifies the application function 202 that the termination of the application agent function 103 has been completed. Waiting for this notification, the application function 202 stops.
[0060]
As described above, in the method of accessing a remote file in the communication network of the present embodiment, when the application function of the application execution terminal accesses the remote file in the file server, the terminal executes a predetermined process from the file server. The remote file is acquired and stored as a local file in a local storage area in the terminal once, and the operation history of the processing on the local file performed by the application function is stored, and the operation history is stored at an appropriate time. The content is transmitted to the file server. The file server performs a process on the remote file according to the received operation history content, and transmits the executed process to the terminal. The transmission of the operation history content to the file server is performed at a predetermined specific event of the application function or at a predetermined time interval. In the embodiment, each of the above-described steps is controlled by a session management function provided in each of the terminal and the file server.
[0061]
According to the communication network of the present embodiment described above, a session management function is provided in the terminal and the file server, a session is established between the session management functions, and the application function and the application agent function that are users of the session are provided. By transmitting and receiving the operation history of the file as an instant message using this session, the application function in the terminal can obtain a good response by directly editing the local file. Also, by synchronizing the content with the file on the file server in response to a specific event being edited, the content of the file on the terminal and the file server can be synchronized without explicitly synchronizing the file content separately. Becomes possible. In addition, since this synchronization processing is performed in the background of the application function, good response is not impaired.
[0062]
In the embodiment, even when the terminal is connected to the Home LAN, the above-described file access method may be applied, and the effect of reducing traffic in the Home LAN can be similarly obtained.
[0063]
The present invention can be implemented without being limited to the above-described embodiment. For example, a file synchronization request from the terminal may be made at a predetermined time interval, or may be used together with a file synchronization request triggered by a specific event described in the embodiment.
[0064]
In the embodiment, the case where the home LAN has a file server, the same terminal is temporarily connected to the Visited LAN, and the shared file in the file server is used via the NSP network as an external network has been described. The present invention is not limited to this, and can be widely applied generally to communication network systems that access shared files in a file server via a network to which the file server is connected or via an external network. That is, the effects described above can be similarly obtained by implementing the application agent function and the session management function as described above on the file server, and implementing the application function and the session management function as described above on the terminal side. be able to.
[0065]
The present invention can also be applied to a system in which a plurality of users simultaneously edit a shared file. In such a case, an appropriate file management function manages access and update of the shared file.
[0066]
【The invention's effect】
As described above, according to the present invention, a session management function is provided in each of a terminal and a file server connected via a communication network, a session is established between the session management functions, and a user of the session is provided. By transmitting and receiving the file operation history as an instant message using the session between the application function on the terminal side and the application agent function on the file server side, the application function in the terminal can be improved by directly editing the local file. Response is obtained. Also, by synchronizing the contents of the local file and the shared file on the file server, for example, triggered by a specific event during the editing process, the terminal can be synchronized even if the user does not explicitly synchronize the file contents separately. In addition, it is possible to synchronize the contents of the file on the file server, and the usability of the user is good. Since this synchronization processing is performed in the background of the application function, it does not hinder a favorable response.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of a communication network according to the present invention.
FIG. 2 is a block diagram showing a relation between an application function and a session management function in a terminal and an application agent function and a session management function in a file server in the embodiment.
FIG. 3 is a sequence diagram showing a flow of processing from when a terminal opens a file stored in a file server to when an editing operation is performed in the communication network of the embodiment.
FIG. 4A is a diagram illustrating an example of an instant message generated by a session management function in a terminal, and FIG. 4B is a diagram illustrating an example of a response message generated by a session management function in a file server;
FIG. 5 is a sequence diagram illustrating a flow of a process in which a terminal operates a file in the communication network according to the embodiment, and the content of the operation is reflected in a file in a file server.
6A is a diagram illustrating an example of an instant message generated by a session management function in a terminal, and FIG. 6B is a diagram illustrating an example of a response message generated by a session management function in a file server;
FIG. 7 is a sequence diagram illustrating a flow of processing when a terminal closes a local file in the communication network according to the embodiment.
8A is a diagram illustrating an example of an instant message generated by a session management function in a terminal, and FIG. 8B is a diagram illustrating an example of a response message generated by a session management function in a file server;
FIG. 9 is a block diagram illustrating an example of a configuration of a network in which a plurality of LANs are connected to each other.
[Explanation of symbols]
100A… File server
101: File server function
102 ... Storage
103 (103a, 103b, ...) ... application agent function
104: (in server) session management function
200A… Terminal
202 (202a, 202b, ...) application function
203: Session management function
300A… Home LAN
400A… Visited LAN
500 ... NSP network ((Network Service Provider network)
600A… Communication network
700: External network
801 router
802 ... Gateway

Claims (7)

複数の端末から共通にアクセスされるリモートファイルを格納するファイルサーバと、このファイルサーバにネットワークを介して接続されて前記リモートファイルを操作するアプリケーション機能を実装した複数の端末とを含むネットワークにおいて、
前記ファイルサーバが、前記端末のアプリケーション機能と対応して前記リモートファイルを操作するためのアプリケーションエージェント機能を備え、
前記端末の前記アプリケーション機能が前記ファイルサーバ内の前記リモートファイルにアクセスする際には、前記ファイルサーバからこの前記リモートファイルを取得していったん自端末内のローカルの記憶領域にローカルファイルとして保存してこのローカルファイルを前記アプリケーション機能が処理し、当該処理に対応した操作履歴内容を上りメッセージとして前記ファイルサーバのアプリケーションエージェント機能に送信し、受信した当該メッセージに対応して前記ファイルサーバのアプリケーションエージェント機能が操作履歴に基づく処理を前記リモートファイルに対して実行し、実行完了した処理過程を下りメッセージとして端末に送信する、ことを特徴とする通信ネットワーク。
In a network including a file server storing a remote file commonly accessed from a plurality of terminals, and a plurality of terminals mounted with an application function for operating the remote file connected to the file server via a network,
The file server has an application agent function for operating the remote file corresponding to the application function of the terminal,
When the application function of the terminal accesses the remote file in the file server, the remote function acquires the remote file from the file server and temporarily stores the local file in a local storage area in the terminal. The local file is processed by the application function, the operation history corresponding to the processing is transmitted to the application agent function of the file server as an upward message, and the application agent function of the file server is transmitted in response to the received message. A communication network, comprising: executing a process based on an operation history on the remote file; and transmitting a completed process to the terminal as a downlink message.
前記ファイルサーバが、前記アプリケーションエージェント機能と端末間の通信を制御するセッション管理機能を更に備え、
前記各端末が、前記アプリケーション機能とファイルサーバ間の通信を制御するセッション機能を更に備えることを特徴とする請求項1に記載の通信ネットワーク。
The file server further includes a session management function for controlling communication between the application agent function and a terminal,
The communication network according to claim 1, wherein each of the terminals further includes a session function for controlling communication between the application function and a file server.
端末内のアプリケーション機能がローカルファイルの操作を行なう際に、当該ローカルファイルに対する各操作の操作履歴を記録しておき、アプリケーション機能が予め定められた特定のイベントを契機として、ファイルサーバに対して前記操作履歴に従った共通ファイルの操作要求を行なうようにしたことを特徴とする請求項1または2のいずれかに記載の通信ネットワーク。When an application function in the terminal operates a local file, an operation history of each operation on the local file is recorded, and the application function is transmitted to the file server by a predetermined specific event. 3. The communication network according to claim 1, wherein an operation request for a common file is made according to an operation history. 端末内のアプリケーション機能がローカルファイルの操作を行なう際に、当該ローカルファイルに対する各操作の操作履歴を記録しておき、アプリケーション機能が予め定められた時間間隔で、ファイルサーバに対して前記操作履歴に従ったリモートファイルの操作要求を行なうようにしたことを特徴とする請求項1または2のいずれかに記載の通信ネットワーク。When the application function in the terminal operates a local file, the operation history of each operation on the local file is recorded, and the application function transmits the operation history to the file server at a predetermined time interval. 3. The communication network according to claim 1, wherein a request for operating the remote file is made according to the request. 前記端末が複数のアプリケーション機能を実装し、前記ファイルサーバが対応する複数のアプリケーションエージェント機能を実装してなる請求項1〜4のいずれか1項に記載の通信ネットワーク。The communication network according to claim 1, wherein the terminal has a plurality of application functions, and the file server has a plurality of corresponding application agent functions. 複数の端末から共通にアクセスされるリモートファイルを格納するファイルサーバと、このファイルサーバにネットワークを介して接続されて前記リモートファイルを操作するアプリケーション機能を実装した複数の端末とを含むネットワークシステムにおけるリモートファイルのアクセス方法であって、
アプリケーション実行端末の前記アプリケーション機能が前記ファイルサーバ内の前記リモートファイルにアクセスする際に、
前記端末が、ファイルサーバから所定のリモートファイルを取得していったん自端末内のローカルの記憶領域にローカルファイルとして保存し、
前記アプリケーション機能が行った前記ローカルファイルに対する処理の操作履歴を記憶しておき、
適宜の時点で前記操作履歴内容を前記ファイルサーバに送信し、
前記ファイルサーバでは、受信した前記操作履歴内容に従った処理を前記リモートファイルに対して行い、
実行した処理を前記端末に送信する、
ことを特徴としたリモートファイルアクセス方法。
A remote system in a network system including: a file server that stores a remote file commonly accessed from a plurality of terminals; and a plurality of terminals that are connected to the file server via a network and have an application function for operating the remote file. File access method,
When the application function of the application execution terminal accesses the remote file in the file server,
The terminal obtains a predetermined remote file from the file server, and once saves it as a local file in a local storage area in the terminal itself,
An operation history of processing on the local file performed by the application function is stored,
Transmitting the operation history content to the file server at an appropriate time,
The file server performs a process on the remote file according to the received operation history content,
Sending the executed process to the terminal;
A remote file access method characterized by the following.
前記操作履歴内容のファイルサーバへの送信は、アプリケーション機能が予め定められた特定のイベントを契機として、あるいは、予め定められた時間間隔で行うようにしたことを特徴とする請求項6に記載のリモートファイルアクセス方法。7. The method according to claim 6, wherein the transmission of the operation history content to the file server is performed when an application function is triggered by a predetermined specific event or at a predetermined time interval. Remote file access method.
JP2002165304A 2002-06-06 2002-06-06 Communication network and remote file access method Pending JP2004013479A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002165304A JP2004013479A (en) 2002-06-06 2002-06-06 Communication network and remote file access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002165304A JP2004013479A (en) 2002-06-06 2002-06-06 Communication network and remote file access method

Publications (1)

Publication Number Publication Date
JP2004013479A true JP2004013479A (en) 2004-01-15

Family

ID=30433173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002165304A Pending JP2004013479A (en) 2002-06-06 2002-06-06 Communication network and remote file access method

Country Status (1)

Country Link
JP (1) JP2004013479A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1796314A1 (en) * 2004-08-31 2007-06-13 Tencent Technology (Shenzhen) Company Limited A system for implementing the network hard-disk based on the real-time communication platform and the method thereof
JP2008503952A (en) * 2004-06-23 2008-02-07 ノキア コーポレイション Method, system and computer program enabling discovery based on SIP events of community services and content configured for context information
JP2008504727A (en) * 2004-06-23 2008-02-14 ノキア コーポレイション Method, system, and computer program for enabling inquiry of resource in specific context by defining SIP event package
US8005961B2 (en) 2006-11-24 2011-08-23 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
US8010598B2 (en) 2006-12-19 2011-08-30 Murata Machinery, Ltd. Relay server and client terminal
US8010647B2 (en) 2006-12-11 2011-08-30 Murata Machinery, Ltd. Relay server and relay communication system arranged to share resources between networks
US8499083B2 (en) 2006-03-29 2013-07-30 Murata Kikai Kabushiki Kaisha Relay device and communication system
JP5375949B2 (en) * 2009-03-18 2013-12-25 日本電気株式会社 Data synchronization system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008503952A (en) * 2004-06-23 2008-02-07 ノキア コーポレイション Method, system and computer program enabling discovery based on SIP events of community services and content configured for context information
JP2008504727A (en) * 2004-06-23 2008-02-14 ノキア コーポレイション Method, system, and computer program for enabling inquiry of resource in specific context by defining SIP event package
JP2011061825A (en) * 2004-06-23 2011-03-24 Nokia Corp Method, system and computer program to enable querying of resources in certain context by definition of sip event package
US8903820B2 (en) 2004-06-23 2014-12-02 Nokia Corporation Method, system and computer program to enable querying of resources in a certain context by definition of SIP even package
EP1796314A4 (en) * 2004-08-31 2012-06-27 Tencent Tech Shenzhen Co Ltd A system for implementing the network hard-disk based on the real-time communication platform and the method thereof
JP2008511881A (en) * 2004-08-31 2008-04-17 ▲騰▼▲訊▼科技(深▲セン▼)有限公司 Communication system and method for implementing online file storage based on instant messaging platform
EP1796314A1 (en) * 2004-08-31 2007-06-13 Tencent Technology (Shenzhen) Company Limited A system for implementing the network hard-disk based on the real-time communication platform and the method thereof
US8499083B2 (en) 2006-03-29 2013-07-30 Murata Kikai Kabushiki Kaisha Relay device and communication system
US8005961B2 (en) 2006-11-24 2011-08-23 Murata Machinery, Ltd. Relay server, relay communication system, and communication device
US8010647B2 (en) 2006-12-11 2011-08-30 Murata Machinery, Ltd. Relay server and relay communication system arranged to share resources between networks
US8010598B2 (en) 2006-12-19 2011-08-30 Murata Machinery, Ltd. Relay server and client terminal
JP5375949B2 (en) * 2009-03-18 2013-12-25 日本電気株式会社 Data synchronization system
US9218436B2 (en) 2009-03-18 2015-12-22 Nec Corporation Data synchronization system

Similar Documents

Publication Publication Date Title
JP3315903B2 (en) How to access phone features in a non-phone client-server network
TW394876B (en) A system and method for personal multimedia communication over a packet switched network
US8291010B2 (en) Virtual connection of a remote unit to a server
US20050185658A1 (en) Gateway apparatus connected to a plurality of networks forming respective different network segments, and program and method for transferring IP packets
JP5161244B2 (en) System and method for sharing common location related information between communication devices
JP3509684B2 (en) Connection control device, connection control method, recording medium storing connection control program, and data communication system
JP2004153352A (en) Multimedia communication system
JP2003536129A (en) System, computer product and method for processing wireless instructions in a dedicated communication portal
CN1764217B (en) System for distributing VXML capabilities for execution on client devices
JP2004013479A (en) Communication network and remote file access method
JP2004247916A (en) Sip service control system coping with web link and control method
JP2007074035A (en) Communication apparatus and information processing method
US20150029898A1 (en) Method, apparatus, and article of manufacture for web-based control of a call server
KR100369900B1 (en) Method of Operating with Web Hard using CDN(Content Delivery Network)
JP3776537B2 (en) Receiving method from computer network to telephone, connection device, transmission device and telephone terminal
JP2004248165A (en) Session and media relay method, transfer method, and its program and recording medium
WO2014180436A1 (en) Inter-terminal communication method, and terminal
KR20010086883A (en) Method for condition-based communication service between service subscribers
JP2002157219A (en) Method and system for dealing with internet terminal of existent online application, server device and recording medium
WO2010127591A1 (en) Information synchronization implementation method and system based on synchronization standard protocol
JP2000231524A (en) Network computing system, communication control method in the system and storage medium with the method storied therein
JP3945270B2 (en) Calling server device
JP3937346B2 (en) Terminal, answering machine system and program
KR20070010470A (en) A method and apparatus of data backup for mobile station
JP2000286882A (en) Multimedia information communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080708

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202