JP3610866B2 - Stored data correction system and program recording medium thereof - Google Patents

Stored data correction system and program recording medium thereof Download PDF

Info

Publication number
JP3610866B2
JP3610866B2 JP2000066229A JP2000066229A JP3610866B2 JP 3610866 B2 JP3610866 B2 JP 3610866B2 JP 2000066229 A JP2000066229 A JP 2000066229A JP 2000066229 A JP2000066229 A JP 2000066229A JP 3610866 B2 JP3610866 B2 JP 3610866B2
Authority
JP
Japan
Prior art keywords
data
user
xml
xml document
storage unit
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
JP2000066229A
Other languages
Japanese (ja)
Other versions
JP2001256102A (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.)
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 JP2000066229A priority Critical patent/JP3610866B2/en
Publication of JP2001256102A publication Critical patent/JP2001256102A/en
Application granted granted Critical
Publication of JP3610866B2 publication Critical patent/JP3610866B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は格納データ修正システムおよびそのプログラム記録媒体に関し、特にRDB(relational data base、以下、RDBという。)に格納されたデータをXML(extensible markup language、以下、XMLという。)を用いて端末に取り出しオフラインで修正して再びRDBに格納し得る格納データ修正システムおよびそのプログラム記録媒体に関する。
【0002】
【従来の技術】
サーバが管理するファイルの格納データをクライアントから参照し利用することは日常的に行われているが、そのデータを更新する場合にはその処理の安全・確実を期するために、特別のルールや制限を設けることが多い。
【0003】
たとえば、RDBに格納されている特定のデータを安全に修正するためには、(1)利用者端末およびRDBは修正が完了するまでオンラインで接続されていること、もしくは、(2)RDB側(サーバ側)で何らかの接続情報を保持し、それに該当する利用者端末からのデータ修正要求のみ受け付けること、などが定められている。
【0004】
しかしながら、(1)の場合、利用者はオンラインで接続されている状態でしかデータを修正できない。また、(2)の場合、RDB側で保持できる情報量には限りがあるので、利用者は接続情報が無効になる前に修正データを送信する必要がある。
【0005】
【発明が解決しようとする課題】
上記のような従来の格納データ修正システムは、次の問題点を有している。
【0006】
第一の問題点は、利用者が格納データを取得しそれを修正してRDBを更新するまでの間、利用者端末とRDBとの接続を切断できないことである。すなわち、利用者は格納データを取得した後で、都合のよいときにそれを修正してRDBを更新することは困難である。
【0007】
第二の問題点は、RDB側で利用者端末との接続情報を保持している場合にはその接続を切断できるが、その後の利用者端末からのリクエストはデータ修正要求しか受付けられないことである。すなわち、接続情報が無効になる前に修正データを送信しなければならない。
【0008】
第三の問題点は、格納データの送受信や修正の際にRDBの仕様に制限され、送受信ツールや修正ツールとして利用者が使いなれたものを自由に選択して使用できないことである。すなわち、上記の制限により、送受信データの暗号化も困難である。
【0009】
本発明の目的は、上記のような欠点を改善するために、利用者端末とRDBサーバとの間でその接続情報を含むRDB格納データをXML文書データとして交信することにより、その格納データを端末側でオフラインで安全・確実に修正し得る格納データ修正システムおよびそのプログラム記録媒体を提供することにある。
【0010】
【課題を解決するための手段】
本発明の格納データ修正システムは、利用者がネットワークを介してデータベースから取得したデータを修正しそれを前記ネットワークを介して前記データベースに格納する操作を行う利用者端末と、前記利用者端末の利用者を認証しその接続情報を格納し,前記利用者の指示に従って前記データベースを検索し該当のデータを取り込み,そのデータをXMLスキーマに従ってXML文書に変換しそれに前記接続情報を付加して前記利用者端末に送信し,前記利用者端末から前記XML文書に修正を施したXML文書を受信し、前記XML文書を確認しその結果に基づいて前記データベースの該当のデータを修正するデータ処理装置と、前記データベースを格納するデータ記憶部と,前記XMLスキーマを格納するXMLスキーマ記憶部と,前記接続情報を格納する接続情報記憶部とを含み前記データ処理装置に接続された記憶装置とを具備することを特徴とする。
【0011】
また、請求項1記載の格納データ修正システム前記データ処理装置は利用者端末から受信した利用者のユーザIDおよびパスワードをチェックし前記利用者が前記データ処理装置を利用可能か否かを判断し利用可能の場合にはその接続時の情報を前記接続情報記憶部に保存する認証部と、前記利用者端末から受信した検索条件に基づいて前記データ記憶部から該当のデータを取り込みその検索時の情報を前記接続情報記憶部に保存する検索部と、前記XMLスキーマ記憶部に格納されているXMLスキーマを呼出しそれに従って前記データをXML文書に変換するXML文書形式変換部と、前記接続情報記憶部に保存した情報を呼出しそれを前記XMLスキーマに従って変換し前記XML文書に追加して前記利用者端末に送信する接続情報付加部と、前記利用者端末から修正を施したXML文書を受信しそのXMLスキーマを識別して前記XML文書の妥当性を判断するXML文書確認部と、前記XML文書確認部が前記XML文書を妥当と判断した場合には前記データ記憶部に格納されている該当のデータを修正するデータ修正部とを備えることを特徴とする。
【0012】
また、利用者がネットワークを介してデータベースから取得したデータを修正しそれを前記ネットワークを介して前記データベースに格納する操作を行う利用者端末と、前記利用者端末の利用者を認証しその接続情報を格納し,前記利用者の指示に従って前記データベースを検索し該当のデータを取り込み,あらかじめ保持している利用者情報を参照し前記利用者が使用し得るXMLスキーマを選択し,前記データを前記XMLスキーマに従ってXML文書に変換しそれに前記接続情報を付加して前記利用者端末に送信し,前記利用者端末から前記XML文書に修正を施したXML文書を受信し、前記XML文書を確認しその結果に基づいて前記データベースの該当のデータを修正するデータ処理装置と、前記データベースを格納するデータ記憶部と,前記XMLスキーマを格納するXMLスキーマ記憶部と,前記接続情報を格納する接続情報記憶部と,前記利用者情報を保持する利用者情報記憶部とを含み前記データ処理装置に接続された記憶装置とを具備することを特徴とする。
【0013】
さらに、請求項3記載の格納データ修正システム前記データ処理装置は利用者端末から受信した利用者のユーザIDおよびパスワードをチェックし前記利用者が前記データ処理装置を利用可能か否かを判断し利用可能の場合にはその接続時の情報を前記接続情報記憶部に保存する認証部と、前記利用者端末から受信した検索条件に基づいて前記データ記憶部から該当のデータを取り込みその検索時の情報を前記接続情報記憶部に保存する検索部と、あらかじめ保持している利用者情報を参照し前記利用者が使用し得るXMLスキーマを指示するXMLスキーマ選択部と,前記XMLスキーマ記憶部に格納されている前記XMLスキーマを呼出しそれに従って前記データをXML文書に変換するXML文書形式変換部と、前記接続情報記憶部に保存した情報を呼出しそれを前記XMLスキーマに従って変換し前記XML文書に追加して前記利用者端末に送信する接続情報付加部と、前記利用者端末から前記XML文書に修正を施したXML文書を受信しそのXMLスキーマを識別して前記XML文書の妥当性を判断するXML文書確認部と、前記XML文書確認部が前記XML文書を妥当と判断した場合には前記データ記憶部に格納されている該当のデータを修正するデータ修正部とを備えることを特徴とする。
【0019】
図1は本発明の実施の第一の形態を示すブロック図である。同図において、本発明による格納データ修正システムは、格納データ修正処理を実行するデータ処理装置2と、このデータ処理装置にネットワーク4を介して接続された利用者端末1と、格納データを含む各種の情報を保持し上記のデータ処理装置に接続された記憶装置3とを有している。
【0020】
記憶装置3は、データ記憶部31と、XMLスキーマ記憶部32と、接続情報記憶部33とを備えている。データ記憶部31はRDBを利用して、たとえば図2に示すような形式のデータを格納している。XMLスキーマ記憶部32は生成したXML文書の構造を定義する、たとえば図3に示すようなXMLスキーマを格納している。接続情報記憶部33は利用者端末1とデータ処理装置2との接続時に発生する情報を保存する。
【0021】
データ処理装置2は、認証部21と、検索部22と、XML文書形式変換部23と、接続情報付加部24と、XML文書確認部25と、データ修正部26とを備えている。
【0022】
認証部21は、利用者端末1から受信したユーザIDとパスワードをチェックし、データ処理装置2を利用可能かどうか判断する。利用可能と判断した場合、接続時の情報(利用者端末1に関する情報,ユーザID,接続時の日時等)を接続情報記憶部33に保存する。
【0023】
検索部22は、利用者端末1から受信した検索条件を元にデータ記憶部31から該当するデータを取り出す。また検索時の情報(検索結果を取得した日時,修正するデータを一意に識別するキー項目データ)を接続情報記憶部33に保存する。
【0024】
XML文書形式変換部23は、取り出されたデータを、XMLスキーマ記憶部32に格納されているXMLスキーマ(図3参照)に従って、図4のようなXML文書に変換する。このXMLスキーマには、後述する接続情報付加部24が付加する接続情報とXMLスキーマ識別名、および利用者がどのデータを修正可能かも定義されている。
【0025】
接続情報付加部24は、作成されたXML文書に接続情報記憶部33から取り出した接続情報と作成に使用したXMLスキーマ識別名を暗号化して追加する。追加の際も、XML文書作成時に使用したXMLスキーマに従う。作成されたXML文書は図5のような形式になる。
【0026】
利用者は、作成されたXML文書をデータ処理装置2から利用者端末1へ取り出す。取り出した後、利用者は利用者端末1とデータ処理装置2との接続を切ることができる。そして、利用者はXML文書の内容を修正後、データ処理装置2に送信する。なお、データ処理装置2との接続を切っていた場合は、再接続後、認証部21により利用可能か否か判断される。
【0027】
XML文書確認部25は利用者端末1から受信したXML文書に含まれる接続情報とXMLスキーマ識別名を取り出す。そして該当するXMLスキーマをXMLスキーマ記憶部32から取り出し、受信したXML文書の妥当性を確認する。またXML文書内の各データに関してもチェックする。もしなんらかの不備があれば利用者に不備の内容を通知し処理を中止する。
【0028】
データ修正部26は、データ記憶部31に格納されている該当データを修正し、利用者に修正したことを通知する。
【0029】
上記のようにして、利用者はRDBの格納データを利用者端末側においてオフラインで修正し、その結果をRDBに反映することができる。さらに、暗号技術を採用することにより、安全・確実に格納データを更新することができる。
【0030】
図6は利用者が格納データを取得する動作を示す流れ図である。
【0031】
まず、利用者端末1から送信されたIDとパスワードは、認証部21でデータ処理装置2が利用可能かどうか判断される(ステップA1およびA2)。利用不可能な場合は、利用者端末1へ利用不可能の通知を行う(ステップA3)。利用可能と判断された場合、接続時の情報(利用者端末1に関する情報,ユーザID,接続時の日時等)を接続情報記憶部33に保存し、利用者端末1が検索条件を送信するのを待つ(ステップA4)。
【0032】
検索条件受信後、その条件に該当するデータをデータ記憶部31から取り出す(ステップA5,A6,A7)。該当するデータが無かった場合、利用者端末1へ条件に一致するデータが無かったことを通知する(ステップA8)。データが存在した場合、検索時の情報(検索結果を取得した日時,修正するデータを一意に識別するキー項目データ)を接続情報記憶部33に保存する(ステップA9)。
【0033】
次に、取り出したデータをXML文書形式変換部23によって、XMLスキーマ記憶部32に格納されているXMLスキーマを基にXML文書に変換する(ステップA10)。作成されたXML文書に接続情報付加部24が、接続情報記憶部33から取り出した接続時の情報と、作成に使用したXMLを識別するための識別名を暗号化して追加する(ステップA11)。このようにして作成されたXML文書を利用者端末1へ送信する(ステップA12)。
【0034】
利用者は、受信したXML文書の内容を利用者端末1上で適当な方法(任意のワープロなどを使用することができる。)により修正後、データ処理装置2と接続する。
【0035】
図7は修正データで格納データを更新する動作を示す流れ図である。
【0036】
まず、利用者端末1から送信されたIDとパスワードは、認証部21で受信され、データ処理装置2を利用可能かどうか判断される(ステップB1およびB2)。利用不可能な場合は、利用者端末1へ利用不可能の通知を行う(ステップB3)。利用可能と判断された場合、接続時の情報(利用者端末1に関する情報,ユーザID,接続時の日時等)を接続情報記憶部33に保存し、利用者端末1から修正したXML文書の送信を待つ(ステップB4)。
【0037】
XML文書受信後、XML文書確認部25がXML文書の内容を確認する(ステップB5およびB6)。XML文書の内容に不備があった場合、利用者端末1へ不備があったことを通知する(ステップB7およびB8)。XML文書確認部25が受信したXML文書で修正可能と判断した場合、データ修正部26はデータ記憶部31に格納されている該当データを修正する(ステップB9)。最後に、修正が正常に終了したことを利用者端末1へ通知する(ステップB10)。
【0038】
なお、利用者端末1がXML文書を受信後にデータ処理装置1との接続を切断しなかった場合には、上記のステップB1〜B3は不要である。
【0039】
図8は本発明の実施の第二の形態を示すブロック図である。同図において、本発明による格納データ修正システムは、XML文書形式変換部23aおよびXMLスキーマ選択部27を含むデータ処理装置2aと、利用者情報記憶部34を含む記憶装置3aとを有している。データ処理装置2aおよび記憶装置3aが具備する他の機能構成は、図1に既に示した実施の第一の形態と同一であるので、説明を省略する。
【0040】
利用者情報記憶部34には、利用者のIDおよびその利用者の権限情報が記載されている。その例を図10に示す。またXMLスキーマ記憶部32には、利用者の権限に応じた複数のXMLスキーマ(修正可能データが異なる)が登録されている。その例を図11に示す。
【0041】
XML文書形式変換部23aは、XMLスキーマ記憶部32からXMLスキーマを取り出す際、XMLスキーマ選択部27にどのXMLスキーマを使用するべきか問い合せる。
【0042】
XMLスキーマ選択部27は、接続情報記憶部33から現在接続中の利用者を特定し、利用者情報記憶部34から利用者の権限情報を取り出す。次にその権限情報を基に、XML文書形式変換部23aに使用すべきXMLスキーマ識別名を通知する。XML文書形式変換部23aは、通知された識別名により、該当するXMLスキーマをXMLスキーマ記憶部32から取り出し、XML文書を作成する。
【0043】
図9は上記の格納データ修正システムにおいて、利用者が格納データを取得する動作を示す流れ図である。同図において、既に説明した実施の第一の形態(図1参照)の動作(図6参照)と異る点は、ステップC1を含むことである。
【0044】
すなわち、実施の第一の形態では、XMLスキーマは一つしか登録されていなかった。本実施例では、利用者毎に権限を設定し、権限に応じた複数のXMLスキーマを登録することにより、利用者に応じて修正可能なデータ項目を指定することを可能とする。
【0045】
ここで、図10に示す「(a)利用者情報」と「(b)権限とXMLスキーマの対応情報」が利用者情報記憶部34に、図11に示す「XMLスキーマ種別」がXMLスキーマ記憶部32にそれぞれ登録されているとする。
【0046】
このとき、UserU1で接続した場合、XMLスキーマ選択部27は利用者情報記憶部34からUserU1の権限で使用可能なXMLスキーマはSchema−Mであることを調べ、XML文書形式変換部23aに通知する(ステップC1)。
【0047】
XML文書形式変換部23aは通知されたSchema−MをXMLスキーマ記憶部32から取り出し、Schema−Mに従ったXML文書を作成する。同様に、UserU2で接続した場合は、Schema−Nに従ったXML文書を作成する(ステップA10)。
【0048】
図9における他のステップA1〜A12は、既に図6において詳細に説明したので、ここでは省略する。
【0049】
なお、本発明による格納データ修正システムは、データ処理装置の主記憶(図示していない。)に保持されたプログラムを実行することによって動作する。このプログラムは、通常、ハードディスクなどの二次記憶に格納されており、格納データ修正システムを稼働するときに主記憶にロードされ、実行される。
【0050】
【発明の効果】
以上、詳細に説明したように、本発明によれば次の効果が得られる。
【0051】
第一の効果は、RDBに格納されているデータをオフラインで修正できることにある。その理由は、修正する可能性があるデータをすべてXML文書に変換し利用者の端末に保存後、修正したXML文書をデータ処理装置に送信し、データ処理装置がRDBに格納されているデータを修正するため、利用者は接続を切ってデータを修正できるためである。また、XML文書にデータ取り出し時の情報およびXML文書変換時に使用したXMLスキーマに関する識別名を暗号化して追加しているため、悪意のある利用者が適当に作成したXML文書を用いてRDBに格納されているデータを修正することも防げる。
【0052】
第二の効果は、利用者がデータの送受信および修正に利用するツールを自由に選択できることにある。その理由は、今後インターネット上のデータ交換において標準になるといわれているXML文書形式にデータを変換するためである。すなわち、データの送受信時にはWebブラウザを、データの修正には市販のワードプロセッサをそれぞれ利用できるため、利用者が自分の都合にあわせて最適な製品を選択することが可能である。
【図面の簡単な説明】
【図1】本発明の実施の第一の形態を示すブロック図。
【図2】格納データの例を示す説明図。
【図3】XMLスキーマの例を示す説明図。
【図4】XML文書の例(1)を示す説明図。
【図5】XML文書の例(2)を示す説明図。
【図6】本発明の実施の第一の形態の動作を示す流れ図(1)。
【図7】本発明の実施の第一の形態の動作を示す流れ図(2)。
【図8】本発明の実施の第二の形態を示すブロック図。
【図9】本発明の実施の第二の形態の動作を示す流れ図。
【図10】利用者情報記憶部の格納データの例を示す説明図。
【図11】XMLスキーマ種別の例を示す説明図。
【符号の説明】
1 利用者端末
2,2a データ処理装置
3,3a 記憶装置
4 ネットワーク
21 認証部
22 検索部
23,23a XML文書形式変換部
24 接続情報付加部
25 XML文書確認部
26 データ修正部
27 XMLスキーマ選択部
31 データ記憶部
32 XMLスキーマ記憶部
33 接続情報記憶部
34 利用者情報記憶部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a stored data correction system and a program recording medium thereof, and in particular, data stored in an RDB (relational data base, hereinafter referred to as RDB) is stored in a terminal using XML (extensible markup language, hereinafter referred to as XML). The present invention relates to a storage data correction system that can be taken out and corrected offline and stored in the RDB again, and a program recording medium thereof.
[0002]
[Prior art]
Data stored in files managed by the server is referenced and used from the client on a daily basis, but when updating the data, special rules and rules are used to ensure the safety and reliability of the processing. Often there are restrictions.
[0003]
For example, in order to safely modify specific data stored in the RDB, (1) the user terminal and the RDB are connected online until the modification is completed, or (2) the RDB side ( The server side) holds some connection information and accepts only data correction requests from the corresponding user terminals.
[0004]
However, in the case of (1), the user can correct data only in a state where the user is connected online. In the case of (2), since the amount of information that can be held on the RDB side is limited, the user needs to send correction data before the connection information becomes invalid.
[0005]
[Problems to be solved by the invention]
The conventional stored data correction system as described above has the following problems.
[0006]
The first problem is that the connection between the user terminal and the RDB cannot be disconnected until the user acquires the stored data, modifies it, and updates the RDB. That is, after acquiring the stored data, it is difficult for the user to modify it and update the RDB when convenient.
[0007]
The second problem is that if the connection information with the user terminal is held on the RDB side, the connection can be disconnected, but subsequent requests from the user terminal can only accept data correction requests. is there. That is, the correction data must be transmitted before the connection information becomes invalid.
[0008]
The third problem is that the specification of the RDB is limited when the stored data is transmitted / received or modified, and what the user can use as the transmitting / receiving tool or the modified tool cannot be freely selected and used. That is, due to the above limitation, it is difficult to encrypt the transmitted / received data.
[0009]
An object of the present invention is to exchange RDB storage data including connection information between a user terminal and an RDB server as XML document data between the user terminal and the RDB server in order to improve the above drawbacks. It is an object of the present invention to provide a stored data correction system and its program recording medium that can be safely and reliably corrected offline.
[0010]
[Means for Solving the Problems]
The stored data correction system of the present invention includes a user terminal that performs an operation of correcting data acquired from a database via a network and storing the data in the database via the network, and use of the user terminal The user is authenticated, the connection information is stored, the database is searched according to the user's instruction, the corresponding data is fetched, the data is converted into an XML document according to the XML schema, and the connection information is added to the user. transmitted to the terminal, receives the XML document with modification to the XML document from the user terminal, and a data processing unit for correcting the corresponding data of said database based on said check the XML document as a result, the A data storage unit for storing a database, an XML schema storage unit for storing the XML schema, Serial characterized by comprising a said data processing apparatus connected to a storage device and a connection information storage unit for storing connection information.
[0011]
Further, the data processing apparatus stores data correction system according to claim 1, wherein the determining whether the user checks the user ID and password of the user received from the user terminal can use the data processing device And when it is available, an authentication unit that stores information at the time of connection in the connection information storage unit, and the corresponding data is fetched from the data storage unit based on a search condition received from the user terminal. A search unit that saves the information in the connection information storage unit, an XML document format conversion unit that calls an XML schema stored in the XML schema storage unit and converts the data into an XML document according to the XML schema, and the connection information storage Information that is stored in a copy, is converted according to the XML schema, added to the XML document, and transmitted to the user terminal And adding unit, and the XML document confirmation unit for receiving the XML document to identify the XML schema to determine the validity of the XML document which has been subjected to modification from the user terminal, the XML document confirmation unit the XML document A data correction unit that corrects the corresponding data stored in the data storage unit when it is determined to be valid.
[0012]
Further, a user terminal that corrects data acquired from a database via a network and stores it in the database via the network, and authenticates a user of the user terminal and connection information thereof The database is searched in accordance with the user's instruction, the corresponding data is fetched, the user information stored in advance is referred to, an XML schema that can be used by the user is selected, and the data is stored in the XML The XML document is converted into an XML document according to the schema, the connection information is added to the XML document, and the connection information is transmitted to the user terminal. The XML document in which the XML document is modified is received from the user terminal , and the XML document is confirmed. A data processing device for correcting the corresponding data in the database based on the data, and data for storing the database A storage unit; an XML schema storage unit that stores the XML schema; a connection information storage unit that stores the connection information; and a user information storage unit that holds the user information. And a storage device.
[0013]
Furthermore, the data processing apparatus stores data correction system according to claim 3, wherein the determining whether the user checks the user ID and password of the user received from the user terminal can use the data processing device And when it is available, an authentication unit that stores information at the time of connection in the connection information storage unit, and the corresponding data is fetched from the data storage unit based on a search condition received from the user terminal. In the connection information storage unit, an XML schema selection unit that refers to user information stored in advance and designates an XML schema that can be used by the user, and an XML schema storage unit An XML document format conversion unit that calls the stored XML schema and converts the data into an XML document according to the call, and the connection information storage A connection information adding unit that transmits to the user terminal it calls information stored in addition to converting the XML document according to the XML schema, an XML document which has been subjected to modifications to the XML document from the user terminal An XML document confirmation unit that receives and identifies the XML schema to determine the validity of the XML document, and stores the data in the data storage unit when the XML document confirmation unit determines that the XML document is valid And a data correction unit for correcting the corresponding data.
[0019]
FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, a stored data correction system according to the present invention includes a data processing device 2 for executing a stored data correction process, a user terminal 1 connected to the data processing device via a network 4, and various types of data including stored data. And a storage device 3 connected to the data processing device.
[0020]
The storage device 3 includes a data storage unit 31, an XML schema storage unit 32, and a connection information storage unit 33. The data storage unit 31 stores data in a format as shown in FIG. 2, for example, using RDB. The XML schema storage unit 32 stores, for example, an XML schema as shown in FIG. 3 that defines the structure of the generated XML document. The connection information storage unit 33 stores information generated when the user terminal 1 and the data processing device 2 are connected.
[0021]
The data processing device 2 includes an authentication unit 21, a search unit 22, an XML document format conversion unit 23, a connection information addition unit 24, an XML document confirmation unit 25, and a data correction unit 26.
[0022]
The authentication unit 21 checks the user ID and password received from the user terminal 1 and determines whether the data processing apparatus 2 can be used. When it is determined that it can be used, information at the time of connection (information on the user terminal 1, user ID, date and time of connection, etc.) is stored in the connection information storage unit 33.
[0023]
The search unit 22 extracts corresponding data from the data storage unit 31 based on the search condition received from the user terminal 1. In addition, information at the time of retrieval (date and time when the retrieval result is acquired, key item data for uniquely identifying data to be modified) is stored in the connection information storage unit 33.
[0024]
The XML document format conversion unit 23 converts the extracted data into an XML document as shown in FIG. 4 according to the XML schema (see FIG. 3) stored in the XML schema storage unit 32. In this XML schema, connection information and an XML schema identification name added by a connection information adding unit 24, which will be described later, and which data can be modified by the user are also defined.
[0025]
The connection information adding unit 24 encrypts and adds the connection information extracted from the connection information storage unit 33 and the XML schema identification name used for the creation to the created XML document. When adding, it follows the XML schema used when creating the XML document. The created XML document has a format as shown in FIG.
[0026]
The user takes out the created XML document from the data processing device 2 to the user terminal 1. After removal, the user can disconnect the user terminal 1 from the data processing device 2. Then, the user corrects the content of the XML document and transmits it to the data processing device 2. If the connection with the data processing device 2 has been disconnected, the authentication unit 21 determines whether or not the connection is possible after reconnection.
[0027]
The XML document confirmation unit 25 extracts connection information and an XML schema identification name included in the XML document received from the user terminal 1. Then, the corresponding XML schema is extracted from the XML schema storage unit 32, and the validity of the received XML document is confirmed. Also, each data in the XML document is checked. If there are any deficiencies, the user is notified of the deficiencies and the process is stopped.
[0028]
The data correction unit 26 corrects the corresponding data stored in the data storage unit 31 and notifies the user of the correction.
[0029]
As described above, the user can modify the stored data in the RDB offline on the user terminal side and reflect the result in the RDB. Further, by adopting encryption technology, stored data can be updated safely and reliably.
[0030]
FIG. 6 is a flowchart showing an operation of acquiring stored data by the user.
[0031]
First, the ID and password transmitted from the user terminal 1 are determined by the authentication unit 21 as to whether or not the data processing apparatus 2 can be used (steps A1 and A2). If it cannot be used, the user terminal 1 is notified that it cannot be used (step A3). When it is determined that it can be used, information at the time of connection (information on the user terminal 1, user ID, date and time of connection, etc.) is stored in the connection information storage unit 33, and the user terminal 1 transmits the search condition. (Step A4).
[0032]
After receiving the search condition, data corresponding to the condition is taken out from the data storage unit 31 (steps A5, A6, A7). If there is no corresponding data, the user terminal 1 is notified that there is no data matching the condition (step A8). When the data exists, the information at the time of retrieval (date and time when the retrieval result is obtained, key item data for uniquely identifying the data to be modified) is stored in the connection information storage unit 33 (step A9).
[0033]
Next, the extracted data is converted by the XML document format conversion unit 23 into an XML document based on the XML schema stored in the XML schema storage unit 32 (step A10). The connection information adding unit 24 encrypts and adds the connection information extracted from the connection information storage unit 33 and the identification name for identifying the XML used for the creation to the created XML document (step A11). The XML document created in this way is transmitted to the user terminal 1 (step A12).
[0034]
The user corrects the content of the received XML document on the user terminal 1 by an appropriate method (an arbitrary word processor or the like can be used), and then connects to the data processing apparatus 2.
[0035]
FIG. 7 is a flowchart showing an operation of updating stored data with correction data.
[0036]
First, the ID and password transmitted from the user terminal 1 are received by the authentication unit 21, and it is determined whether or not the data processing device 2 can be used (steps B1 and B2). When it cannot be used, the user terminal 1 is notified of the inability to use (step B3). When it is determined that the information can be used, information at the time of connection (information about the user terminal 1, user ID, date and time at the time of connection, etc.) is stored in the connection information storage unit 33, and a modified XML document is transmitted from the user terminal 1. (Step B4).
[0037]
After receiving the XML document, the XML document confirmation unit 25 confirms the content of the XML document (steps B5 and B6). When the content of the XML document is incomplete, the user terminal 1 is notified of the incompleteness (steps B7 and B8). When the XML document confirmation unit 25 determines that the received XML document can be corrected, the data correction unit 26 corrects the corresponding data stored in the data storage unit 31 (step B9). Finally, the user terminal 1 is notified that the correction has been completed normally (step B10).
[0038]
If the user terminal 1 does not disconnect the data processing apparatus 1 after receiving the XML document, the above steps B1 to B3 are unnecessary.
[0039]
FIG. 8 is a block diagram showing a second embodiment of the present invention. In the figure, the stored data correction system according to the present invention includes a data processing device 2a including an XML document format conversion unit 23a and an XML schema selection unit 27, and a storage device 3a including a user information storage unit 34. . The other functional configurations of the data processing device 2a and the storage device 3a are the same as those of the first embodiment already shown in FIG.
[0040]
In the user information storage unit 34, the user ID and the authority information of the user are described. An example is shown in FIG. In the XML schema storage unit 32, a plurality of XML schemas (different modifiable data) corresponding to the user's authority are registered. An example is shown in FIG.
[0041]
When retrieving the XML schema from the XML schema storage unit 32, the XML document format conversion unit 23a inquires the XML schema selection unit 27 which XML schema should be used.
[0042]
The XML schema selection unit 27 identifies the currently connected user from the connection information storage unit 33, and extracts the user authority information from the user information storage unit 34. Next, based on the authority information, the XML document format conversion unit 23a is notified of the XML schema identification name to be used. The XML document format conversion unit 23a extracts the corresponding XML schema from the XML schema storage unit 32 using the notified identification name, and creates an XML document.
[0043]
FIG. 9 is a flowchart showing an operation of acquiring stored data by the user in the above-described stored data correction system. In the figure, the difference from the operation (see FIG. 6) of the first embodiment (see FIG. 1) already described is that step C1 is included.
[0044]
That is, in the first embodiment, only one XML schema is registered. In this embodiment, by setting authority for each user and registering a plurality of XML schemas corresponding to the authority, it is possible to specify data items that can be modified according to the user.
[0045]
Here, “(a) user information” and “(b) authority and XML schema correspondence information” shown in FIG. 10 are stored in the user information storage unit 34, and “XML schema type” shown in FIG. 11 is stored in the XML schema. It is assumed that each is registered in the unit 32.
[0046]
At this time, when connected by UserU1, the XML schema selection unit 27 checks from the user information storage unit 34 that the XML schema that can be used with the authority of UserU1 is Schema-M, and notifies the XML document format conversion unit 23a. (Step C1).
[0047]
The XML document format conversion unit 23a takes out the notified Schema-M from the XML schema storage unit 32 and creates an XML document according to Schema-M. Similarly, when connecting with UserU2, an XML document according to Schema-N is created (step A10).
[0048]
The other steps A1 to A12 in FIG. 9 have already been described in detail with reference to FIG.
[0049]
The stored data correction system according to the present invention operates by executing a program held in the main memory (not shown) of the data processing apparatus. This program is normally stored in a secondary storage such as a hard disk, and is loaded into the main memory and executed when the stored data correction system is operated.
[0050]
【The invention's effect】
As described above in detail, according to the present invention, the following effects can be obtained.
[0051]
The first effect is that data stored in the RDB can be corrected offline. The reason is that all the data that may be modified is converted into an XML document, stored in the user's terminal, the modified XML document is transmitted to the data processing device, and the data processing device stores the data stored in the RDB. This is because the user can cut the connection to correct the data. In addition, since the information at the time of data retrieval and the identification name related to the XML schema used at the time of XML document conversion are encrypted and added to the XML document, it is stored in the RDB using an XML document appropriately created by a malicious user. It is also possible to prevent data being modified.
[0052]
The second effect is that the user can freely select a tool used for data transmission / reception and correction. The reason for this is to convert the data into the XML document format, which will be the standard for data exchange on the Internet in the future. That is, since a Web browser can be used for data transmission and reception and a commercially available word processor can be used for data correction, the user can select an optimal product according to his / her convenience.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an example of stored data.
FIG. 3 is an explanatory diagram showing an example of an XML schema.
FIG. 4 is an explanatory diagram showing an example (1) of an XML document.
FIG. 5 is an explanatory diagram showing an example (2) of an XML document.
FIG. 6 is a flowchart (1) showing the operation of the first exemplary embodiment of the present invention.
FIG. 7 is a flowchart (2) showing the operation of the first exemplary embodiment of the present invention.
FIG. 8 is a block diagram showing a second embodiment of the present invention.
FIG. 9 is a flowchart showing the operation of the second exemplary embodiment of the present invention.
FIG. 10 is an explanatory diagram illustrating an example of data stored in a user information storage unit.
FIG. 11 is an explanatory diagram showing an example of an XML schema type.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 User terminal 2, 2a Data processing device 3, 3a Storage device 4 Network 21 Authentication part 22 Search part 23, 23a XML document format conversion part 24 Connection information addition part 25 XML document confirmation part 26 Data correction part 27 XML schema selection part 31 Data storage unit 32 XML schema storage unit 33 Connection information storage unit 34 User information storage unit

Claims (4)

利用者がネットワークを介してデータベースから取得したデータを修正しそれを前記ネットワークを介して前記データベースに格納する操作を行う利用者端末と、前記利用者端末の利用者を認証しその接続情報を格納し,前記利用者の指示に従って前記データベースを検索し該当のデータを取り込み,そのデータをXMLスキーマに従ってXML文書に変換しそれに前記接続情報を付加して前記利用者端末に送信し,前記利用者端末から前記XML文書に修正を施したXML文書を受信し、前記XML文書を確認しその結果に基づいて前記データベースの該当のデータを修正するデータ処理装置と、前記データベースを格納するデータ記憶部と,前記XMLスキーマを格納するXMLスキーマ記憶部と,前記接続情報を格納する接続情報記憶部とを含み前記データ処理装置に接続された記憶装置とを具備することを特徴とする格納データ修正システム。A user terminal that modifies data acquired from a database via a network and stores it in the database via the network, and authenticates the user of the user terminal and stores connection information thereof. The database is searched in accordance with the user's instruction, the corresponding data is fetched, the data is converted into an XML document in accordance with the XML schema, the connection information is added thereto, and the data is transmitted to the user terminal. and receiving said XML document with modification to the XML document, the data processing device for correcting the corresponding data of the database based on XML documents to confirm the results, the data storage unit for storing said database from, An XML schema storage unit for storing the XML schema, and a connection information storage for storing the connection information Storing data correction system characterized by comprising a preparative and said data processing apparatus connected to a storage device includes a. 請求項1記載の格納データ修正システム前記データ処理装置は利用者端末から受信した利用者のユーザIDおよびパスワードをチェックし前記利用者が前記データ処理装置を利用可能か否かを判断し利用可能の場合にはその接続時の情報を前記接続情報記憶部に保存する認証部と、前記利用者端末から受信した検索条件に基づいて前記データ記憶部から該当のデータを取り込みその検索時の情報を前記接続情報記憶部に保存する検索部と、前記XMLスキーマ記憶部に格納されているXMLスキーマを呼出しそれに従って前記データをXML文書に変換するXML文書形式変換部と、前記接続情報記憶部に保存した情報を呼出しそれを前記XMLスキーマに従って変換し前記XML文書に追加して前記利用者端末に送信する接続情報付加部と、前記利用者端末から修正を施したXML文書を受信しそのXMLスキーマを識別して前記XML文書の妥当性を判断するXML文書確認部と、前記XML文書確認部が前記XML文書を妥当と判断した場合には前記データ記憶部に格納されている該当のデータを修正するデータ修正部とを備えることを特徴とする格納データ修正システム。It said data processing apparatus stores data correction system according to claim 1 determines whether the user checks the user ID and password of the user received from the user terminal can use the data processing device utilized If possible, an authentication unit that stores information at the time of connection in the connection information storage unit and information at the time of retrieving the corresponding data from the data storage unit based on a search condition received from the user terminal In the connection information storage unit, an XML document format conversion unit that calls the XML schema stored in the XML schema storage unit and converts the data into an XML document according to the XML schema, and the connection information storage unit Add connection information to call saved information, convert it according to the XML schema, add it to the XML document, and send it to the user terminal When the XML document check section for determining the validity of the XML document to identify the XML schema receives the XML document with modification from the user terminal, and justify the XML document confirmation unit the XML document A stored data correction system comprising: a data correction unit that corrects the corresponding data stored in the data storage unit when it is determined. 利用者がネットワークを介してデータベースから取得したデータを修正しそれを前記ネットワークを介して前記データベースに格納する操作を行う利用者端末と、前記利用者端末の利用者を認証しその接続情報を格納し,前記利用者の指示に従って前記データベースを検索し該当のデータを取り込み,あらかじめ保持している利用者情報を参照し前記利用者が使用し得るXMLスキーマを選択し,前記データを前記XMLスキーマに従ってXML文書に変換しそれに前記接続情報を付加して前記利用者端末に送信し,前記利用者端末から前記XML文書に修正を施したXML文書を受信し、前記XML文書を確認しその結果に基づいて前記データベースの該当のデータを修正するデータ処理装置と、前記データベースを格納するデータ記憶部と,前記XMLスキーマを格納するXMLスキーマ記憶部と,前記接続情報を格納する接続情報記憶部と,前記利用者情報を保持する利用者情報記憶部とを含み前記データ処理装置に接続された記憶装置とを具備することを特徴とする格納データ修正システム。A user terminal that modifies data acquired from a database via a network and stores it in the database via the network, and authenticates the user of the user terminal and stores connection information thereof. Then, the database is searched in accordance with the user's instruction, the corresponding data is fetched, the user information stored in advance is referred to, an XML schema that can be used by the user is selected, and the data is stored according to the XML schema converted to an XML document by adding the connection information thereto and transmits to the user terminal receives an XML document which has been subjected to modifications to the XML document from the user terminal, to verify the XML document based on the results A data processing device for correcting the corresponding data in the database, and a data storage unit for storing the database A storage device connected to the data processing device, including an XML schema storage unit for storing the XML schema, a connection information storage unit for storing the connection information, and a user information storage unit for holding the user information And a stored data correction system. 請求項3記載の格納データ修正システム前記データ処理装置は利用者端末から受信した利用者のユーザIDおよびパスワードをチェックし前記利用者が前記データ処理装置を利用可能か否かを判断し利用可能の場合にはその接続時の情報を前記接続情報記憶部に保存する認証部と、前記利用者端末から受信した検索条件に基づいて前記データ記憶部から該当のデータを取り込みその検索時の情報を前記接続情報記憶部に保存する検索部と、あらかじめ保持している利用者情報を参照し前記利用者が使用し得るXMLスキーマを指示するXMLスキーマ選択部と,前記XMLスキーマ記憶部に格納されている前記XMLスキーマを呼出しそれに従って前記データをXML文書に変換するXML文書形式変換部と、前記接続情報記憶部に保存した情報を呼出しそれを前記XMLスキーマに従って変換し前記XML文書に追加して前記利用者端末に送信する接続情報付加部と、前記利用者端末から前記XML文書に修正を施したXML文書を受信しそのXMLスキーマを識別して前記XML文書の妥当性を判断するXML文書確認部と、前記XML文書確認部が前記XML文書を妥当と判断した場合には前記データ記憶部に格納されている該当のデータを修正するデータ修正部とを備えることを特徴とする格納データ修正システム。It said data processing apparatus stores data correction system according to claim 3 determines whether the user checks the user ID and password of the user received from the user terminal can use the data processing device utilized If possible, an authentication unit that stores information at the time of connection in the connection information storage unit and information at the time of retrieving the corresponding data from the data storage unit based on a search condition received from the user terminal Stored in the connection information storage unit, an XML schema selection unit that refers to user information held in advance and indicates an XML schema that can be used by the user, and stored in the XML schema storage unit An XML document format conversion unit that calls the XML schema and converts the data into an XML document according to the XML schema, and stores the data in the connection information storage unit Calls information which was added to the converted the XML document according to the XML schema received connection information adding unit that transmits to the user terminal, an XML document with modification to the XML document from the user terminal An XML document confirmation unit that identifies the XML schema and determines the validity of the XML document, and if the XML document confirmation unit determines that the XML document is valid, the corresponding XML data is stored in the data storage unit. A stored data correction system comprising: a data correction unit for correcting data.
JP2000066229A 2000-03-10 2000-03-10 Stored data correction system and program recording medium thereof Expired - Fee Related JP3610866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000066229A JP3610866B2 (en) 2000-03-10 2000-03-10 Stored data correction system and program recording medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000066229A JP3610866B2 (en) 2000-03-10 2000-03-10 Stored data correction system and program recording medium thereof

Publications (2)

Publication Number Publication Date
JP2001256102A JP2001256102A (en) 2001-09-21
JP3610866B2 true JP3610866B2 (en) 2005-01-19

Family

ID=18585617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000066229A Expired - Fee Related JP3610866B2 (en) 2000-03-10 2000-03-10 Stored data correction system and program recording medium thereof

Country Status (1)

Country Link
JP (1) JP3610866B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3793479B2 (en) * 2002-04-05 2006-07-05 富士通株式会社 Information provision system
US7054857B2 (en) * 2002-05-08 2006-05-30 Overture Services, Inc. Use of extensible markup language in a system and method for influencing a position on a search result list generated by a computer network search engine
US7016915B2 (en) 2002-12-28 2006-03-21 International Business Machines Corporation Method for processing XML queries over relational data and meta-data using a relational database system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3831085B2 (en) * 1996-09-11 2006-10-11 富士通株式会社 Document management device, server device, client device and their program storage medium
JP3175692B2 (en) * 1998-04-28 2001-06-11 日本電気株式会社 Data linking system between computer and portable terminal and data linking method

Also Published As

Publication number Publication date
JP2001256102A (en) 2001-09-21

Similar Documents

Publication Publication Date Title
CN100534092C (en) Method and system for stepping up to certificate-based authentication without breaking an existing ssl session
US6832366B2 (en) Application generator
CN101331735B (en) Method and system for extending authentication methods
US8402518B2 (en) Secure management of authentication information
US7533269B2 (en) Digital-signed digital document exchange supporting method and information processor
US9282088B2 (en) Request authentication token
US8844014B2 (en) Managing access to a document-processing device using an identification token
US6934848B1 (en) Technique for handling subsequent user identification and password requests within a certificate-based host session
US20110029555A1 (en) Method, system and apparatus for content identification
US20060227378A1 (en) Data storage device, data storage method, and program thereof
WO2006072994A1 (en) Login-to-network-camera authentication system
JP2011170757A (en) Management server for inputting personal information, client terminal, personal information input system, and program
US20040003056A1 (en) Information processing system, information processing apparatus, information processing method, and program for making computer implement that method
US7533125B2 (en) Managing a data file with an access code
JPWO2005004386A1 (en) Authentication device
EP1398903B1 (en) Digital signature validation and generation
CN101331740B (en) Method and system for externalizing HTTP security message handling with macro support
JP3610866B2 (en) Stored data correction system and program recording medium thereof
JP3484523B2 (en) Falsification correction device and falsification correction method
US20080086639A1 (en) Processor with encryption function, encryption device, encryption processing method, and computer readable medium
JP4357011B2 (en) Service request terminal automatic authentication method, electronic data mail order system, service request terminal, service processing apparatus, and computer-readable recording medium recording program
JP3204206B2 (en) Partial extraction type remote maintenance method
JP2000105720A (en) Control system for data circulation between servers and clients
KR20010000316A (en) Fingerprint authentication process and the system therefor
JP2000267995A (en) Device and method for integrated security management and recording medium recording program for integrated security management

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040902

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041011

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071029

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081029

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees