JPH0410142A - Vertical branch type data base access system - Google Patents

Vertical branch type data base access system

Info

Publication number
JPH0410142A
JPH0410142A JP2114267A JP11426790A JPH0410142A JP H0410142 A JPH0410142 A JP H0410142A JP 2114267 A JP2114267 A JP 2114267A JP 11426790 A JP11426790 A JP 11426790A JP H0410142 A JPH0410142 A JP H0410142A
Authority
JP
Japan
Prior art keywords
condition
retrieval
database
data base
search
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
JP2114267A
Other languages
Japanese (ja)
Inventor
Kenji Fujimoto
憲司 藤本
Yasuhiko Miyazaki
泰彦 宮崎
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2114267A priority Critical patent/JPH0410142A/en
Publication of JPH0410142A publication Critical patent/JPH0410142A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently access data bases by copying partial records of another data base to an own data base on a desired copy condition and retrieving the own data base and another data base on a desired retrieval condition and this retrieval condition, where the copy condition is excluded, respectively at the time of a retrieval request on this desired retrieval condition from a user. CONSTITUTION:When the user requests copying on a copy condition A from a terminal 4, pertinent records are copied to an own data base 3 from another data base 2 and the copy condition A is stored in the copy condition management area of a virtual distributed processing part 1. When the user issues a retrieval request on a retrieval condition B, the own data base 3 is retrieved on the retrieval condition B, and logical NOT A' of the copy condition A from the copy condition management area is added to the retrieval condition B and another data base 2 is retrieved on a retrieval condition A'.B. Thus, retrieval results alpha and beta are coupled by a retrieval result coupling processing part 13, and the result is returned to the user through the terminal 4 as the retrieval result of all records.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は、自データベースに他データベースのあるテー
ブルの一部レコードを複写して持つことができる垂直分
岐型データベースに対してテーブルか分散していること
を仮想化することができる垂直分岐型データベースアク
セス方式に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention relates to a vertical branching database that can copy and hold some records of tables in other databases in its own database. This invention relates to a vertically branched database access method that can virtualize distributed tables.

(従来の技術) 垂直分岐型データベースのアクセス方式として、利用者
がアクセスしたいテーブルの一部レコードを自データベ
ースに予め複写しておき、利用者からの検索要求があっ
たとき、利用者が指定した検索条件で自データベースを
検索し、該当レコードを返却する方式かある。
(Prior art) As an access method for a vertically branching database, some records of a table that a user wants to access are copied in advance to the own database, and when a search request is received from a user, the records specified by the user are There is a method that searches the own database using search conditions and returns the corresponding records.

(発明か解決しようとする課8) 上述した従来の垂直分岐型データベースアクセス方式で
は、アクセスする可能性のあるテーブルの一部レコード
を予め自データベースへ複写しておかなければならず、
処理が煩雑であるという問題がある。
(Section 8 to be invented or solved) In the conventional vertical branch database access method described above, some records of tables that may be accessed must be copied to the own database in advance.
There is a problem that the processing is complicated.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、他データベースから自データベースへの複
写範囲を利用者によって任意に決定できるとともに、利
用者が自他データベースを意識することなくアクセスす
ることができる垂直分岐型データベースアクセス方式を
提供することにある。
The present invention has been made in view of the above, and its purpose is to enable the user to arbitrarily determine the scope of copying from other databases to the own database, and to enable the user to do so without being aware of the own and other databases. The object of the present invention is to provide a vertically branched database access method that can access the database.

〔発明の構成〕[Structure of the invention]

(課題を解決するための手段) 上記目的を達成するため、本発明の垂直分岐型データベ
ースアクセス方式は、他データベースの所望のテーブル
のうちの一部レコードを所望の複写条件で自データベー
スに複写するとき、前記複写条件をキー情報として管理
し、利用者から所望の検索条件で検索要求があったとき
、自データベースに対しては前記検索条件で前記レコー
ドを検索し、他データベースに対しては前記複写条件を
除外した前記検索条件でレコードを検索し、両データベ
ースからの検索、結果を結合して利用者に出力すること
を要旨とする。
(Means for Solving the Problems) In order to achieve the above object, the vertical branch database access method of the present invention copies some records of a desired table of another database to its own database under desired copy conditions. When the copy conditions are managed as key information, and a user makes a search request using the desired search conditions, the record is searched for the own database using the search conditions, and the record is searched for the record using the search conditions for other databases. The gist of this method is to search for records using the search conditions excluding the copy conditions, combine the search results from both databases, and output the results to the user.

(作用) 本発明の垂直分岐型データベースアクセス方式では、他
データベースの所望のテーブルのうち一部レコードを所
望の複写条件で自データベースに複写するとともに、利
用者から所望の検索条件て検索要求があったとき、自デ
ータベースに対しては該検索条件で前記レコードを検索
し、他データベースに対しては前記複写条件を除外した
前記検索条件でレコードを検索し、両データベースから
の検索結果を結合して利用者に出力している。
(Operation) In the vertical branching database access method of the present invention, some records from a desired table in another database are copied to the own database under desired copy conditions, and when a user makes a search request using desired search conditions. When the database is searched for the record using the search condition, the other database is searched for the record using the search condition excluding the copy condition, and the search results from both databases are combined. It is output to the user.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

まず、第1図〜第3図を参照して本発明の一実施例を説
明する。第1図において、利用者が端末4から任意に指
定した所望の複写条件Aで複写要求を行うと、仮想分散
処理部1の制御のもとに他データベース2から自データ
ベース3に該当レコードを複写するとともに、この場合
の複写条件Aを仮想分散処理部1内の複写条件管理域1
1に記憶しておく。
First, one embodiment of the present invention will be described with reference to FIGS. 1 to 3. In FIG. 1, when a user makes a copy request from a terminal 4 under desired copy conditions A, the corresponding record is copied from another database 2 to its own database 3 under the control of the virtual distributed processing unit 1. At the same time, the copy condition A in this case is stored in the copy condition management area 1 in the virtual distributed processing unit 1.
Remember it in 1.

次に、第2図に示すように、利用者が端末4から所望の
検索条件Bで検索要求を発行すると、利用者が指定した
所望の検索条件Bで自データベース3へ検索を行うとと
もに、仮想分散処理部1の絞り込み条件付加処理部12
において複写条件管理域11から得られる前記複写条件
Aの論理否定Aを利用者が指定した検索条件Bに付加し
、これにより前記検索条件Bから複写条件Aを除外した
検索条件(B−A)で他データベース2の検索を行う。
Next, as shown in FIG. 2, when the user issues a search request using the desired search condition B from the terminal 4, the database 3 is searched using the desired search condition B specified by the user, and the virtual Refinement condition addition processing unit 12 of distributed processing unit 1
A search condition (B-A) in which the logical negation A of the copy condition A obtained from the copy condition management area 11 is added to the search condition B specified by the user, thereby excluding the copy condition A from the search condition B. Search other database 2 using .

それから、第3図に示すように、検索条件Bで自データ
ベース3を検索して得られた検索結果βおよび検索条件
Bから複写条件Aを除外した検索条件(B−A)で他デ
ータベース2を検索して得られた検索結果αを仮想分散
処理部1の検索結果結合処理部13で結合し、全レコー
ドに対する検索結果として端末4を介して利用者に返却
する。
Then, as shown in FIG. 3, search result β obtained by searching the own database 3 using search condition B and search condition (B-A) obtained by excluding copy condition A from search condition B are used to search other database 2. The search results α obtained by the search are combined by the search result combination processing unit 13 of the virtual distributed processing unit 1 and returned to the user via the terminal 4 as search results for all records.

第4図は第1図〜第3図に示した垂直分岐型データベー
スアクセス方式の作用を示すフローチャートであるか、
次に該フローチャートに従って第5図に示す具体例につ
いて説明する。
FIG. 4 is a flowchart showing the operation of the vertical branch database access method shown in FIGS. 1 to 3;
Next, a specific example shown in FIG. 5 will be explained according to the flowchart.

他データベース2に記憶されている人事テーブルのうち
複写条件A1すなわち「支店−横須賀」に関する人事情
報を自データベース3に複写しておくとともに、また自
データベース3内の処理により前記複写した情報のうち
「氏名−衣笠二部」の入社年を「55」年から「57」
年に変更したとする。
Out of the personnel tables stored in the other database 2, the personnel information related to copy condition A1, that is, "Branch - Yokosuka" is copied to the own database 3, and also, through processing within the own database 3, among the copied information, " Name - Year of joining Kinugasa Nibu from ``55'' to ``57.''
Suppose you change it to 2018.

そして、このような場合に、全社員に対して入社年度が
「55」年の社員を検索する場合の処理について説明す
る。利用者は端末4を介して検索条件B、すなわち「入
社−55年」で自データベス3へ検索を行う(ステップ
110)とともに、絞り込み条件付加処理部12におい
て、複写条件管理域11から得られる複写条件A、すな
わち「支店−横須賀」の否定論理A、すなわち「支店−
横須賀でない」と前記検索条件B1すなわち「入社−5
5年」との論理積(B−A)、すなわち「入社−55年
であって、支店−横須賀でないjという検索条件で他デ
ータベース2の検索を行う(ステップ120)。この両
検索結果を検索結果結合処理部13において結合しくス
テップ13o)これにより変更処理が正しく反映された
全レコードに対する検索結果が得られ、端末4を介して
利用者に回答される(ステップ140)。
In such a case, a process for searching all employees for employees who joined the company in ``55'' will be explained. The user searches his own database 3 using the search condition B, that is, "55 years since joining the company" via the terminal 4 (step 110), and at the same time, the narrowing condition addition processing unit 12 searches the database 3 for the copy obtained from the copy condition management area 11. Negative logic A of condition A, that is, “branch-Yokosuka”, that is, “branch-
"Not in Yokosuka" and the search condition B1, that is, "Joining -5
Search the other database 2 using the logical AND (B-A) with "5 years", that is, "J joined the company - 55 years, not branch - Yokosuka" (step 120). Search both search results. The results are combined in the result combination processing unit 13 (step 13o), thereby obtaining search results for all records in which the change processing has been correctly reflected, and the search results are sent to the user via the terminal 4 (step 140).

第6図は本発明の垂直分岐型データベースアクセス方式
を実施した時のシステム構成例を示す図である。同図に
おいて、センタ5は共有されることを前提としたデータ
ベースであり、パソコン6上に占有できるパーソナルデ
ータベース7を設ける。このように構成されるシステム
に本発明の垂直分岐型データベースアクセス方式を適用
することにより、両方のデータベースを仮想的に1つの
データベースとして扱うことかできる。
FIG. 6 is a diagram showing an example of a system configuration when implementing the vertical branch database access method of the present invention. In the figure, a center 5 is a database that is intended to be shared, and a personal database 7 that can be used exclusively on a personal computer 6 is provided. By applying the vertical branch database access method of the present invention to a system configured in this manner, both databases can be virtually treated as one database.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、他デタベースか
ら自データベースへの複写条件を管理しておき、利用者
からの検索要求に対して前記複写条件を除外した検索条
件でレコードを検索しているので、他データベースと自
データベースとに分散されて管理されていても、利用者
は自データベースへの複写範囲および自他データベース
を意識することなく、データベースをアクセスすること
ができ、効率化することかできる。
As explained above, according to the present invention, the conditions for copying from another database to the own database are managed, and in response to a search request from a user, records are searched using search conditions excluding the copy conditions. Therefore, even if the database is distributed and managed between other databases and the own database, the user can access the database without being aware of the scope of copying to the own database or the own and other databases, improving efficiency. I can do it.

【図面の簡単な説明】[Brief explanation of drawings]

第1図〜第3図は本発明の一実施例に係わる垂直分岐型
データベースアクセス方式の原理を示す説明図、第4図
は第1図〜第3図に示した垂直分岐型データベースアク
セス方式の作用を示すフローチャート、第5図は第1図
〜第3図に示す垂直分岐型データベースアクセス方式を
適用した具体例を示す図、第6図は本発明の垂直分岐型
データベースアクセス方式を実施したときのシステム構
成例を示す図である。 1・ ・仮想分散処理部、 2・ ・他データベース、 3・ ・自データベース、 4・ ・端末、 11・ ・複写条件管理域、 12・ ・絞り込み条件付加処理部、 13・ ・検索結果結合処理部。 代理人  弁理士  三 好  秀 和l】図 第2図 13図 第4図
1 to 3 are explanatory diagrams showing the principle of a vertical branch database access method according to an embodiment of the present invention, and FIG. 4 is an illustration of the vertical branch database access method shown in FIGS. 1 to 3. Flowchart showing the operation; FIG. 5 is a diagram showing a specific example of applying the vertical branch database access method shown in FIGS. 1 to 3; FIG. 1 is a diagram showing an example of a system configuration. 1. Virtual distributed processing unit, 2. Other databases, 3. Local database, 4. Terminal, 11. Copy condition management area, 12. Refinement condition addition processing unit, 13. Search result combination processing unit. . Agent: Patent Attorney Hide Kazu Miyoshi] Figure 2, Figure 13, Figure 4

Claims (1)

【特許請求の範囲】[Claims] 他データベースの所望のテーブルのうちの一部レコード
を所望の複写条件で自データベースに複写するとき、前
記複写条件をキー情報として管理し、利用者から所望の
検索条件で検索要求があったとき、自データベースに対
しては前記検索条件で前記レコードを検索し、他データ
ベースに対しては前記複写条件を除外した前記検索条件
でレコードを検索し、両データベースからの検索結果を
結合して利用者に出力することを特徴とする垂直分岐型
データベースアクセス方式。
When copying some records from a desired table in another database to the own database using desired copy conditions, the copy conditions are managed as key information, and when a user requests a search using the desired search conditions, Search for the record using the search conditions in the own database, search for records in other databases using the search conditions excluding the copy conditions, combine the search results from both databases, and send the search results to the user. A vertical branch database access method characterized by output.
JP2114267A 1990-04-27 1990-04-27 Vertical branch type data base access system Pending JPH0410142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2114267A JPH0410142A (en) 1990-04-27 1990-04-27 Vertical branch type data base access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2114267A JPH0410142A (en) 1990-04-27 1990-04-27 Vertical branch type data base access system

Publications (1)

Publication Number Publication Date
JPH0410142A true JPH0410142A (en) 1992-01-14

Family

ID=14633529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2114267A Pending JPH0410142A (en) 1990-04-27 1990-04-27 Vertical branch type data base access system

Country Status (1)

Country Link
JP (1) JPH0410142A (en)

Similar Documents

Publication Publication Date Title
Olken et al. Random sampling from databases: a survey
US5608900A (en) Generation and storage of connections between objects in a computer network
US6266660B1 (en) Secondary index search
JPH07129450A (en) Method and system for generating multilayered-index structure of database of divided object
JPS62128332A (en) Data processor
CN101303696A (en) System and method for positioning file on network
JP2006172067A (en) Database management method, system and program
JPH0410142A (en) Vertical branch type data base access system
JPS62131333A (en) Information retrieval system
JPH0644309A (en) Data base managing system
JPH0736756A (en) Object management system
JP2715443B2 (en) Database device
JPS6129936A (en) Retrieval method
JPS61251941A (en) Data base management system
JPS60129873A (en) Document storage and retrieval system
JP2912334B1 (en) Document management method
JPH05204978A (en) Information retrieving device
JPH05298376A (en) Data base processing system
JPH05135113A (en) Duplicate data control system
JPH05257783A (en) Method and device for processing replica in data base
JPS6129937A (en) Retrieval method
Zisman et al. An information discovery process for interoperable heterogeneous databases
JPS63220365A (en) Image data retrieving system
KR920014052A (en) How to handle distributed relations stored in electronic switch
JPH11110265A (en) Information processor