JPS59502042A - Hyperage Entity Relationship Database System - Google Patents

Hyperage Entity Relationship Database System

Info

Publication number
JPS59502042A
JPS59502042A JP50377583A JP50377583A JPS59502042A JP S59502042 A JPS59502042 A JP S59502042A JP 50377583 A JP50377583 A JP 50377583A JP 50377583 A JP50377583 A JP 50377583A JP S59502042 A JPS59502042 A JP S59502042A
Authority
JP
Japan
Prior art keywords
database
record
node
entity
edge
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
JP50377583A
Other languages
Japanese (ja)
Inventor
フエレア−・リチヤ−ド・シエルドン
ゴ−ルドステイン・アラン・ジエイ
ナズイフ・ザハ−・アミン
Original Assignee
ウエスタ−ン エレクトリツク カムパニ−,インコ−ポレ−テツド
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 ウエスタ−ン エレクトリツク カムパニ−,インコ−ポレ−テツド filed Critical ウエスタ−ン エレクトリツク カムパニ−,インコ−ポレ−テツド
Priority claimed from PCT/US1983/001694 external-priority patent/WO1984002020A1/en
Publication of JPS59502042A publication Critical patent/JPS59502042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるため要約のデータは記録されません。 (57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 ハイパエツジ実体関係データベースシステム侠歪分賢 本発明はコンピユータ化されたデータベース、特にハイパグラフの形でモデル化 されたエンティティ関係データベースに関する。[Detailed description of the invention] HyperEtsu Entity Relationship Database System The invention is modeled in the form of a computerized database, particularly a hypergraph. Concerning entity-relationship databases.

背景技術 データベースは4つの一般的なタイプに類別される。第1のタイプは階層的デー タベースでツリー形式にモデル化される。対象、すなわちデータベース中の情報 の項目は1葉のような基本的な項目に関連し、葉は技で関係づけられ、枝は幹で 関係付けられる。この形のデータベースはデータ項目間の上下関係を強調するも のであり、このような関係が本質的であるような組織図のようなデータには適当 している。Background technology Databases are categorized into four general types. The first type is hierarchical data. modeled in a tree format in a database. Target, i.e. information in the database Items are related to basic items such as leaves, leaves are related by techniques, and branches are related by trunks. can be related. Although this type of database emphasizes hierarchical relationships between data items, This is not appropriate for data such as organizational charts where such relationships are essential. are doing.

他のタイプのデータベースはネットワーク形であり、有向グラフとしてモデル化 される。ネットワーク中のデータ項目(グラフのノードすなわちバーテックス) はすべて等しい重みすなわち値を持ち、グラフの背向性のエツジによってシンボ ル化される関係によって相互接続される。この形のデータベース構造は多重階層 関係を持つデータベース、例えば共通の供給者および共通の倉庫によって相互に リンクされた在庫品目のような場合である。Other types of databases are network-like and modeled as directed graphs. be done. Data items in the network (graph nodes or vertices) all have equal weights, or values, and are symbolized by the opposite edges of the graph. interconnected by relationships that are This type of database structure has multiple hierarchies. mutually by related databases, e.g. common suppliers and common warehouses. This is the case for linked inventory items.

データベースの第3の形態はデータ項目の関係的特性によってモデル化される。A third form of database is modeled by the relational properties of data items.

このようなデータベースにおいては、各々の関係は、各行が特定の関係を共有し ている対象のひとつを一覧表としている表によって表わされる。仮想的にはこの ような関係データベースのすべての情報は対象そのものではなく、対象の間の関 係を形成する。In such databases, each relationship indicates that each row shares a particular relationship. It is represented by a table that lists one of the objects in the table. Virtually this All the information in a relational database, such as Form a relationship.

第4番目のデータベースのモデルは実体関係モデルと呼ばれる。The fourth database model is called the entity-relationship model.

このモデルはまた有向グラフで表わすこともできるが、データの実体はグラフの バーテックスを形成し、一方有向性のグラフのエツジが実体のノードの間の関係 を表わす。典型的にはデータレコードはデータ項目そのものと、他のデータレコ ードに対するポインタの両方を含むノードである。ポインタはグラフのエツジ、 すなわち、バーテックス(データ項目)の間の関係を表わすのに使用される。こ のようなポインタは指される実体すなわちノードと、そのノードに対する関係の 表示を含んでいる。この場合も、実体関係モデルはデータの実体とこれらのデー タの実体の間の関係がモデル化されている実世界ψ状況に固有であるようなある 種のデータに適合している。実体関係モデルは基本であり、他の3つのモデルは 実体関係モデルの特殊ケースであるとする学者もいる。This model can also be represented as a directed graph, but the actual data is Relationships between nodes that form vertices and whose edges in a one-way graph are entities represents. Typically, a data record consists of the data item itself and other data records. This is a node that contains both a pointer to a node. The pointer is the edge of the graph, That is, it is used to represent relationships between vertices (data items). child A pointer like Contains display. In this case as well, the entity-relationship model connects the entities of data and these data. such that the relationships between the entities in ψ are specific to the real-world ψ situation being modeled. Compatible with species data. The entity relationship model is the basic model, and the other three models are Some scholars argue that it is a special case of the entity-relationship model.

本発明はこの最後のタイプのデータベース、すなわち、実体関係データベースに 関するものである。このようなデータベースのひとつについてはR,G、G、C atte’llの International Conferenceon  Management of Data、5anta l’1onica+ca liforn、iaの1980Proc、ACM−5IGMOD 144にある ” An Entity −based DatabaseUser Inte rface ”と題する論文(1980年5月14日〜16日)を参照されたい 。The present invention addresses this last type of database, namely an entity-relational database. It is related to For one such database, R,G,G,C ate'll's International Conference Management of Data, 5anta l’1onica+ca It is in liforn, ia's 1980Proc, ACM-5IGMOD 144 ” An Entity-based DatabaseUser Inte rface” (May 14-16, 1980) .

二つの対象の間の単一の関係が共通であって、有向性グラフのひとつのモデルで うまく表現できても、ある種の関係は二つ以上の実体に関連する。例えば、“〜 の親”というような関係では、−人の子供と二人の親が関係する。“〜のの親” という関係は二人の両親という関係を定めなければ完全には規定できない。親の 間の関係は単純(例えば、結婚している)であっても、このような関係は三人の 人、父、母、子供に関連した“〜の親1という関係には本質的でない。グラフ理 論では親を示すエツジはひとつ以上のバーテックスを同時に指すので、ハイパエ ツジと呼ばれている。ハイパグラフとハイパエツジについてはC,Bergeの Grarhsand Hypergraphs” North Holland 社、New York 1973年刊のテキスト、特にその頁389−413に 詳細に述べられている。A single relationship between two objects is common and a model of a directed graph Some relationships, however well expressed, involve more than one entity. for example,"~ In a relationship such as ``parents of'', there are - children and two parents involved.``parents of...'' This relationship cannot be completely defined unless the relationship between the two parents is determined. Parent's Even if the relationship between the three is simple (e.g., married), such a relationship is It is not essential to the relationship of “parent 1” related to a person, father, mother, and child. In theory, an edge indicating a parent points to one or more vertices at the same time, so It is called Tsuji. For hypergraphs and hyperedges, see C. Berge. Grahsand Hypergraphs” North Holland Inc., New York, 1973 text, especially on pages 389-413. Described in detail.

多くの実世界の状況ではデータ対象の間に多重関係があるから、ハイパグラフの モデルは多くの実世界の状況に関するデータを表わすのに顕著に適合している。Because many real-world situations have multiple relationships between data objects, hypergraphs The model is eminently suited to representing data on many real-world situations.

残念なことに、従来はディジタル計算機で容易に処理することができ、能率良く 利用できる形で、このようなデータベースを表わすことは困難であるか、あるい は不可能であった。Unfortunately, in the past, digital computers could easily process and It is difficult or difficult to represent such a database in a usable form. was impossible.

発明の要約 本発明の一実施例に従えば、ハイパグラフのモデルに容易に適合でき、データベ ース中の種々のデータ項目の取扱い、アクセス、利用が容易にできるような実体 関係データベース構造が提供される。詳しく述べれば、各データレコード(ノー ドと呼ばれる)は有向性グラフのバーテックスを形成する実体を定義する本体部 を含んでいる。データレコードはまたそれによって単一の関係(エツジ)がひと つ、二つあるいはそれ以上のデータベースシステム中のノードとして表現された データ実体を参照するのに使用できる多重エツジ表現を含んでいる。Summary of the invention According to one embodiment of the present invention, it can be easily adapted to the hypergraph model and an entity that facilitates the handling, access, and use of various data items in a database A relational database structure is provided. Specifically, each data record (no. ) is the body part that defines the entities that form the vertices of the directed graph. Contains. A data record is also a data record by which a single relationship (edge) is represented as nodes in one, two, or more database systems Contains multiple edge representations that can be used to refer to data entities.

データベースを表現するこの簡単な方法によって、有向グラフのハイバエ、ジを 自動的に探索し、識別し、利用できるようになる。これはまた処理ソフトウェア によってハイパエツジの情報とこれらのハイパエツジによって指定される多数の ノードを迅速に、直接にアクセスできるようにする。This simple way of representing a database eliminates the digraph problem. automatically discovered, identified, and available for use. This is also a processing software information on hyperedges and a large number of information specified by these hyperedges. Make nodes accessible quickly and directly.

データベース中でこのようなハイパエツジの情報を陽にすることによって、これ 以外の方法では必要であった間接動作を避けることができ、これによってこの情 報へのアクセスを直接的で能率良くすることができる。This can be done by exposing such hyperedge information in the database. This information avoids indirection that would otherwise be required. access to information can be made direct and efficient.

図面の簡単な説明 第1図はハイパエツジを示す有向性グラフ;第2図は標準ハイパエツジ表現を示 す第1図のグラフのノードのひとつのデータベースレコードの標準表現;第3図 は設備の利用者に対して設備を割当てるためのハイパエツジデータベースのひと つの応用のブロック図;第4図は電話サービスの提供に用いられる電話の外部プ ラント設備の一般化されたブロック図; 第5図は特定の電話加入者に対してサービスを提供するために使用される典型的 な外部プラント設備のグラフによる表現;第6図は第5図に示した設備の在庫を 示す有向グラフによる表現; 第7図は第5図の設備の接続を表わすハイパグラフ表現;第8凹は第7図のハイ パグラフのひとつのノードの完全なグラフ表現; 第9図はハイパエツジ表現を説明する第8図のノードの典型的なデータベースレ コード: 第10図は第3図に示したデータベースマネージャの説明的ブロック図である。Brief description of the drawing Figure 1 is a directed graph showing a hyperedge; Figure 2 is a standard hyperedge representation. Standard representation of a database record for one of the graph nodes in Figure 1; Figure 3 is a member of the HyperEdge database for allocating equipment to equipment users. A block diagram of one application; Figure 4 is a block diagram of an external telephone Generalized block diagram of runt equipment; Figure 5 shows a typical telephone system used to provide service to a particular telephone subscriber. A graphical representation of external plant equipment; Figure 6 shows the inventory of equipment shown in Figure 5. Representation by a directed graph shown; Figure 7 is a hypergraph representation of the connections of the equipment in Figure 5; A complete graph representation of one node of a paragraph graph; Figure 9 shows a typical database record of the nodes in Figure 8 to illustrate the hyperedge representation. code: FIG. 10 is an explanatory block diagram of the database manager shown in FIG. 3.

詳細な説明 特に第1図を参照すれば、図には有向性ハイパグラフの回による表現が示されて いる。ハイパグラフはある種の関係データ構造の表現のためのひとつの方法であ る。detailed description Specifically, with reference to Figure 1, the figure shows a representation of a directed hypergraph in terms of cycles. There is. Hypergraphs are a way to represent certain relational data structures. Ru.

このような実体関係データベースはPeter Chenの八CM Trans 。Such an entity relationship database is Peter Chen's 8CM Trans. .

on Data Ba5e Systems、Vol、1.No、1 (197 6)の” The Entity−Relationship Model − Towards a Unified View of Data”に述べられ ている。第1図の円はグラフのバーテックスを示し、データ構造中の情報実体を 表わす。矢印はエツジと呼ばれ、バーテックスの実体の間の関係を表わす。例え ば、ノードlOはエツジ16によってノード12と接続されている。すなわち、 実体10は関係16によって実体12と関係付けられている。例えば、実体10 は在庫の部品で、実体12は在庫の供給元で、関係16は“〜によって購入され る”という関係を表わすことができる。on Data Ba5e Systems, Vol, 1. No. 1 (197 6) “The Entity-Relationship Model” "Towards a Unified View of Data" ing. The circles in Figure 1 indicate the vertices of the graph and represent the information entities in the data structure. represent. The arrows are called edges and represent relationships between the entities of the vertex. example For example, node IO is connected to node 12 by edge 16. That is, Entity 10 is related to entity 12 by relationship 16. For example, entity 10 is a part in inventory, entity 12 is the supplier of inventory, and relationship 16 is “Purchased by” It is possible to express the relationship "

実体10はまた関係17で実体13と関連付けられている。実体13は部品10 が格納されている倉庫であるかもしれない。ここまでは実体10.12および1 3と関係16.17はグラフ理論と実体関係データベースによって周知である。Entity 10 is also associated with entity 13 by relationship 17. Entity 13 is part 10 It may be a warehouse where is stored. So far, entities 10.12 and 1 3 and relations 16 and 17 are well known from graph theory and entity relational databases.

ノード10とノード14.15の関係はグラフ理論では周知であるが、実体関係 データベースでは能率良く取扱かうことはできなかった。The relationship between node 10 and node 14.15 is well known in graph theory, but it is not an entity relationship. This could not be handled efficiently in a database.

実体10は実体14.15と関係18で関連している。第1図のグラフのエツジ 18はひとつのバーテックスと二つ以上の他のバーテックスの関係を表わしてい るので、“ハイバエ、ジ”と呼ばれる。ハイパエツジを含むグラフはハイパグラ フと呼ばれる。Entity 10 is related to entity 14.15 by relationship 18. Edges of the graph in Figure 1 18 represents the relationship between one vertex and two or more other vertices. Because of this, it is called “high fly, ji”. Graphs that include hyperedges are hypergraphs. It is called Fu.

このようなハイパグラフの数学的性質は周知であり、C1a deBergeの Graph 1ITIa Hypergraph North Holland 社New York刊、1973の頁389−413に述べられている。The mathematical properties of such hypergraphs are well known, and C1a de Berge's Graph 1ITIa Hypergraph North Holland Published by New York, 1973, pages 389-413.

実体15は先の例に従えば、部品10が部分となっているサブアセンブリである 。実体14はこれに対して部品10をサブアセンブリ15に組込むための工具で ある。従来技術のデータベース構造に従えば、エツジ18はひとつはバーテック ス14へ、ひとつはバーテックス15へゆく二つのエツジで表わされた。バーチ 7クス10.14および15の間の関係はこれらの二つの関係と関係22から推 論される。しかし、ノード10.13および14の同様の関係は、バーテックス 13は単に貯蔵用倉庫であるから、組立てるのに使用する工具は意味しない。従 って従来技術のシステムでこのような関係が間接化されているということは能率 を低下し、従来技術のシステムである種の問題を解決するのに要する時間を増大 するのみならず、誤った推論の可能性を生ずる。例えば、部品10で不足が生じ たとき、それに影響されるアセンブリ(例えば、15)を知る必要があるばかり でなく、余って来る影響を受ける工具(例えば、14)も知りたいことになる。Entity 15, following the previous example, is a subassembly of which component 10 is a part. . Entity 14, on the other hand, is a tool for assembling part 10 into subassembly 15. be. According to the database structure of the conventional technology, one part of Edge 18 is Vertech. It is represented by two edges, one going to vertex 14 and one going to vertex 15. birch 7.The relationship between 10.14 and 15 can be deduced from these two relationships and relationship 22. discussed. However, similar relationships for nodes 10.13 and 14 Since 13 is simply a storage warehouse, it does not refer to the tools used for assembly. subordinate Therefore, the fact that such a relationship is indirect in the conventional technology system means that it is not efficient. and increase the time required to resolve certain problems with prior art systems. Not only that, but it also creates the possibility of incorrect inferences. For example, there is a shortage of part 10. , you just need to know which assemblies (e.g. In addition, we would like to know the remaining tools (for example, 14) that will be affected.

この情報は単純なエツジだけを持つ従来技術のデータ構造でも知ることはできる が、これにはモデルに対してデータを追加することによって誤った関係を除去す る必要がある。This information can also be obtained using conventional technology data structures that have only simple edges. However, this involves removing spurious relationships by adding data to the model. It is necessary to

さらに、ハイパグラフの表現によって関係の変更を実現することも容易である。Furthermore, it is also easy to change the relationship by expressing it in a hypergraph.

例えば、部品10がアセンブリ15の部品ではなくなったときには、単一のハイ パエツジを消せばよく、それ以上の処理は必要ない。For example, when part 10 is no longer part of assembly 15, a single high All you have to do is erase the paetsuji, and no further processing is necessary.

データのこのようなハイパグラフによる表現はデータベース中の関係が二つ以上 の実体の関係を含む必要があるような実体関係データベースにおいて特に有用で ある。上に示したように部品−アセンブリー工具の関係はこのような状況にある 。電気コネクタの電気端子に接続された線もこのような関係の他の例である。特 定の航空便の座席、特定の磁気記憶ディスク上の記憶ブロックも他の例である。This kind of hypergraph representation of data is useful when there are two or more relationships in the database. This is particularly useful in entity-relational databases that need to include relationships between entities. be. As shown above, the relationship between parts and assembly tools is like this. . A wire connected to an electrical terminal of an electrical connector is another example of such a relationship. Special Certain airline seats, storage blocks on certain magnetic storage disks are other examples.

これらの状況の各々とそれ以外の同様な多数の状況ではハイパエツジによる表現 と本発明に従う処理によって多大な利益が得られるものである。Each of these situations, and many others like it, can be expressed by hyperedges. and the treatment according to the invention provides significant benefits.

第2図には第1図のハイパグラフの一部、特にノード10を表わすのに使用され る一般的なデータベースレコードを示している。FIG. 2 shows a portion of the hypergraph in FIG. 1, specifically used to represent node 10. It shows a typical database record.

ノード10のレコードはひとつの本体(すなわち実体10そのもの)と複数個の エツジを含み、すべてのエツジはノード10を始点としている。線(al)乃至 (a4)はノード10の本体をタイプ(例えば部品の共通の名前)と特定の部品 の特定の識別番号(例えばシリアルナンバ)に関して識別するものである。単純 なエツジ16および17はそれぞれ行bl−b3およびcl−c3で表わされ、 これらはエツジ16と17によってノード10に接続されたノードの各々の実体 のタイプと実体の識別番号を含んでいる。The record of node 10 has one body (that is, entity 10 itself) and multiple records. All edges have node 10 as their starting point. Line (al) to (a4) defines the body of node 10 as a type (for example, a common name of parts) and a specific part. A specific identification number (for example, a serial number) is used for identification. simple edges 16 and 17 are represented by rows bl-b3 and cl-c3, respectively; These are the entities of each node connected to node 10 by edges 16 and 17. Contains the type and entity identification number.

ハイパエツジ1日は第2図において行di−d5で表わされている。この表現の フォーマントは単純なエツジ16および17について使用したのと同一である。One day of the hyperedge is represented by rows di-d5 in FIG. of this expression The formants are the same as used for simple edges 16 and 17.

唯一の差はひとつ以上の接続されたノードがハイパエツジに関連しているという ことである。これらのノードはまたタイプと識別番号情報によって表わされてい る。The only difference is that one or more connected nodes are related to hyperedges. That's true. These nodes are also represented by type and identification number information. Ru.

以上ではハイパエツジ表現の計算の簡単さ、きれいさおよび能力はあまり明らか ではないので、以下にそれについて述べる。第1にハイパエツジと単純エツジは アクセスプログラムによって同様に見え、データベースマネージャのプログラム がハイパエツジを含んでいるかどうかを知ることが不必要になっている。アクセ スプログラムは一組だけ必要であり、このプログラムはエツジのタイプとは全く 関係がないようになっている。すなわちデータベースの基本命令はデータベース の構造で指されるノードの数には透明になっている。これはユーザが作った応用 プログラムでハイパグラフを識別する必要があることを示す。特定のレコードも またユーザが指定するものであるから、データベースマネージャがすべての種類 のエツジを同様に扱かえるように一般的になっていることは可成り価値があるこ とになる。これらのプログラムはどのような異なるデータベースの応用にも使用 することができる。Above, the computational simplicity, cleanliness and power of hyperedge representations are less obvious. Since this is not the case, I will discuss it below. First, hyperedge and simple edge are Looks similar to access programs and database manager programs It has become unnecessary to know whether the Accessories Only one set of programs is needed, and this program is completely different from the Edge type. It has become irrelevant. In other words, the basic instructions of a database are It is transparent to the number of nodes pointed to in the structure. This is a user-made application Indicates that the program needs to identify hypergraphs. specific records too Also, since it is specified by the user, the database manager handles all types. It is of considerable value that it has become commonplace to be able to treat edges in the same way. It becomes. These programs can be used for any different database application. can do.

第1図および第2図の例は三つのノードだけに関連し7たハイパエツジを示して いることに注目されたい。しかし、ハイパエツジはその番号が2を越えていさえ すれば、任意の数のノードを取扱かうことができる。このようなハイパエツジの 単純な例は、住居番号、街路、市、郡、州、国から形成される住所であり、その 各々はハイパグラフ中の別々のノードとしてうまく表わせるようになっている。The examples in Figures 1 and 2 show seven hyperedges associated with only three nodes. I want my presence to be noticed. However, even if the number exceeds 2, This allows you to handle any number of nodes. This kind of hyper-edge A simple example is an address formed from a house number, street, city, county, state, and country; Each is conveniently represented as a separate node in a hypergraph.

特に第3図、を参照すれば、図にはハイパグラフ表現が有用であるデータベース の応用の一般的ブロック図を示している。第3図の情報処理システムは磁気ディ スクパックに含まれているものとして図示されているデータベース30、データ ベースマネージャ31、応用プログラムのグループ32、入力装置33および出 力装置33を含んでいる。データベースマネージャ31と応用プログラム32は 共にコンパイラプログラム(図示せず)によってオブジェクトコードにコンパイ ルされ、汎用データプロセッサ35の内部メモリに格納されたコンピュータのプ ログラムである。In particular, if you refer to Figure 3, you will see that the diagram shows a database for which hypergraph representation is useful. 1 shows a general block diagram of an application. The information processing system shown in Figure 3 is based on a magnetic disk. Database 30, data illustrated as being included in the Scpack base manager 31, application program group 32, input device 33 and output It includes a force device 33. The database manager 31 and application program 32 Both are compiled into object code by a compiler program (not shown). computer programs stored in the internal memory of general-purpose data processor 35. It is a program.

入力装置33はデータベース30中の情報を要求するサービスについて応用プロ グラム32に対して要求を出す。応用プログラム32はサービス要求を満足する ために何の情報が要求されるかを判定し、特定のレコードあるいはレコードの部 分についての要求を形成し、その要求をデータベース中ふ−ジャ31に転送する 。The input device 33 is an application program for services requesting information in the database 30. Make a request to Gram 32. Application program 32 satisfies the service request Determine what information is required for specific records or parts of records. form a request for the minutes and forward the request to the database controller 31. .

応用プログラム32は利用者の要求から、ハイパエツジ情報が検査されるかどう かを判定してもよい。しかしデータへ・−、スマネージャ31は単にデータベー スの全体の構造を考えることなく単にレコードあるいはレコードの部分を検索す る。データベースへのアクセスは要求ノードとして加算され、ノードへのエツジ を使用して要求された情報あるいはサービスを提供する目的でハイパグラフを通 してノードをナビゲートすることができる。The application program 32 determines whether hyperedge information is to be inspected based on the user's request. It may be determined whether However, for data--the manager 31 is simply a database database. Simply search for a record or part of a record without considering the entire structure of the record. Ru. Accesses to the database are counted as request nodes and edges to the nodes. through Hypergraph for the purpose of providing requested information or services using You can navigate through the nodes by

データベースマネージャ31のノードアクセスルーチンはデータベース30から 所望の情報を検索して、情報を値として応用プログラム32に与える。第2のレ コード構造について考えれば、これらの値はレコード(あるいはその一部)から 要求された本体およびエツジについての実体タイプ、識別番号および応用データ である。これらの値は次に応用プログラム32によってフォーマント変更され、 入力装置33によって要求される特定のサービスを与える。その結果は出力装置 34に転送される。もしデータベースマネージャ31によってハイパエツジの値 が検索されていれば、すてにハイパエツジの情報を予期している応用プログラム 32は要求されたサービスを与えるのに必要な形式で多ノードのハイパエツジ情 報を適切に組合わせてフォーマット化する。The database manager 31's node access routine is accessed from the database 30. Desired information is retrieved and provided to the application program 32 as a value. second level If you think about the code structure, these values are from the record (or part of it) Entity type, identification number and application data for the requested body and edge It is. These values are then formatted by the application program 32 and The input device 33 provides the specific service requested. The result is the output device Transferred to 34. If the value of hyperedge is set by database manager 31 is searched, all application programs are expecting HyperEdge information. 32 provides multi-node hyperedge information in the form necessary to provide the requested service. Combine and format the information appropriately.

装置33はキーボードで、装置34はディスプレイスクリーンで、これらは人間 のユーザによって操作される一体化された端末であっても良く、装置33は同様 に自動的な電気装置あるいは機械装置(例えば、アセンブリラインの部品計数器 )であり、装置34は同様に自動装置(例えば在庫量が低くなりすぎたときに再 注文する購入伝票発生器)であっても良い。この場合には第3図のシステムは単 純な情報提供システムではなくサービス提供システムである。このサービス(在 庫管理、設備割当、切符発行その他)はデータベース30の情報の利用可能性に 依存するが、外界に対しである種のサービスを提供するために、その情報以上の ことをするようになっている。Device 33 is a keyboard and device 34 is a display screen, these are human The device 33 may also be an integrated terminal operated by a user of automated electrical or mechanical equipment (e.g. assembly line parts counters) ), and the device 34 is likewise an automatic device (e.g., when the inventory level gets too low, It may also be a purchase slip generator for ordering. In this case, the system in Figure 3 is simple. It is not a pure information provision system but a service provision system. This service (currently Storage management, equipment allocation, ticket issuance, etc.) depend on the availability of information in the database 30. more than that information in order to provide some kind of service to the outside world. I am learning to do things.

データベース30はデータベース保守設備36によって生成され、最新の状態に 保たれる。設備36はまたデータベース30にアクセスするのにデータベースマ ネージャ31を使用するが、この場合はデータベース30中のレコードを生成し 、更新するためである。この活動はデータベース30の装W33および34.に よる利用とは完全に分離されており、別個であるが、異なる時点でで同一の人員 が同一の設備を使って実行することもある。The database 30 is generated by a database maintenance facility 36 and kept up to date. It is maintained. Facility 36 also uses a database manager to access database 30. manager 31, which in this case generates records in database 30. , for updating. This activity corresponds to database 30 installations W33 and 34. to completely separate and distinct from use by, but at different times the same personnel may be performed using the same equipment.

以上第1図乃至第3図に関連して本発明を一般的に説明したが、残りの図面はハ イパグラフによるデータベース表現の特定の応用を詳細に説明するために使うも のとする。この応用は加入者の電話機をローカルの交換局に接続するために電話 加入者に対して物理的設備(線、ケーブル、端子箱その他)を割当てる問題であ る。Although the present invention has been generally described above with reference to FIGS. 1 to 3, the remaining drawings are Also used to explain in detail specific applications of database representation using ipagraphs. To be. This application uses a telephone to connect a subscriber's telephone to the local exchange. It is a matter of allocating physical equipment (wires, cables, terminal boxes, etc.) to subscribers. Ru.

このような割当は比較的長期間の間不変であるが、顧客が引越しをすれば、設備 の割当の変更をしなければならない。数十万もの顧客を取扱かう交換局において は、このような設備の割当は大きな、人手を要する仕事になる。このような割当 変更の能率を最大化し、コストを最小化することは従って電話会社の重要な仕事 である。These allocations remain constant for a relatively long period of time, but if a customer moves, equipment The allocation must be changed. At an exchange that handles hundreds of thousands of customers The allocation of such equipment becomes a large and labor-intensive task. Such an assignment Maximizing change efficiency and minimizing costs is therefore an important task for telephone companies. It is.

次に第4図を参照すれば、図には電話加入者をローカル交換局ち接続するのに使 用する典型的な設備の説明図を示している。このような設備はすべて交換局40 の外にあるから、これらは外部プラント設備と呼ばれる。このような外部プラン ト設備はケーブル41乃至45のような多厚体ケーブルから成り、その各々は互 いにより合わされた多数の銅線の対を含んでいる。一般に、このような対のひと つが、−人の顧客に電話サービスを提供するのに使用される。ケーブルは電話局 に対する近さで識別され、例えば、f1ケーブル41.42および43とf2ケ ーブル43.44および45は相互接続端子46および47によって分離されて いる。Referring now to Figure 4, the diagram shows the An illustration of typical equipment used is shown. All such equipment is located at the exchange 40. Because they are outside the plant, they are called external plant equipment. External plans like this The installation consists of multi-thickness cables such as cables 41 to 45, each of which is It contains a number of pairs of copper wires that are twisted together. In general, such pairs is used to provide telephone service to - customers. Cable is a telephone office For example, f1 cables 41, 42 and 43 and f2 cables cables 43, 44 and 45 are separated by interconnect terminals 46 and 47. There is.

一部の地域では外部プラント相互接続システムに三つあるいはそれ以上のレヘル のケーブル(f3、f4その他)を必要とする。In some regions, external plant interconnection systems have three or more levels. cables (F3, F4, etc.) are required.

相互接続端子44および47は電気的線の対を相互に接続するための装置である 。これらは交換局からの線対を接続するためのバインディングポストの集合(内 側の集合)と他の方向(フィールド側)からの線対を接続する他方の集合(外側 の集合)とから成っている。さらに、相互接続端子は選択された内側の対と選択 された外側の対を接続し、これによって分配ケーブル対とフィーダケーブル対の 間の物理的相互接続を行うジャンパ線を持っている。ケーブルと対には交換局側 の端とフィールド側の端がある。Interconnect terminals 44 and 47 are devices for interconnecting pairs of electrical wires. . These are a collection of binding posts (within side set) and the other set (outside set) connecting the line pairs from the other direction (field side) ). In addition, the interconnect terminals are selected with the selected inner pair. This connects the outer pairs of the distribution cable pairs and the feeder cable pairs. have jumper wires that make the physical interconnections between them. The cable and pair are on the switching center side. There is an end on the field side and an end on the field side.

ケーブル41乃至45の選択された点には分配端子48がある。At selected points on cables 41-45 there are distribution terminals 48.

これらの分配端子もまたケーブル対を顧客の家51および52に接続されたそれ ぞれドロップ線49あるいは5oのような顧客サービス線に接続するためのバイ ンディングポストを持っている。These distribution terminals also connect the cable pairs to those connected to customer homes 51 and 52. Bypass to connect to customer service lines such as drop line 49 or 5o, respectively. has a landing post.

分配端子は典型的には加入者の家の集中点に設けられており、歩道あるいは顧客 構内の電柱に設けられる。Distribution terminals are typically located at a concentration point in a subscriber's home, either on the sidewalk or on the customer's It will be installed on a utility pole within the premises.

電話サービスを電話加入者の家に提供する際における割当問題はデータベースの 中で加入者の電話機セントと交換局の間で完全な連続した電気回路(ローカルル ープ)を形成するために必要な線、端子、バインディングポストおよび顧客サー ビス線を割当てる問題である。データベース中で一度割当をした後、サービスを 開始する時点で、フィールドにおいて対応する物理的接続を形成しなければなら ない。データベースはまだ完成していない指示と完成された指示の両方を反映し ていなければならない。すべての設備は稼動中か空きであり、新しい顧客に対す る割当は一般に空きの設備から選択される。物理的設備の配置を変更することは 非常に金のかかることであるから、たいていの割当アルゴリズムでは、プラント 設備の配置変更を最小化するようになっている。例えば、ある家に割当てられた 設備は顧客が引越した後も割当てられたままにされる。その前提は新しい顧客が また引越して来てサービスを要求するということである。これに対して、ある経 験的に定められた期間の後(数ケ月)では、その家に再び人が住む確率は低くな り、その設備を他で使用する方が良い方針となる。The allocation problem in providing telephone service to telephone subscribers' homes is based on database data. A complete uninterrupted electrical circuit (local local area) between the subscriber's telephone center and the wires, terminals, binding posts and customer service This is a problem of allocating screw wires. After making the assignment once in the database, the service At the point of initiation, a corresponding physical connection must be formed in the field. do not have. The database reflects both unfinished and completed instructions. must be maintained. All equipment is in operation or vacant and ready for new customers. The allocation is generally selected from available equipment. Changing the layout of physical equipment is This is very expensive, so most allocation algorithms It is designed to minimize changes in equipment layout. For example, assigned to a house Equipment remains assigned even after the customer moves. The premise is that new customers They will be moving again and requesting services. On the other hand, a certain sutra After an empirically determined period of time (several months), the probability that the house will be occupied again is low. Therefore, it is a better policy to use the equipment elsewhere.

第5図には第4図の家52に対して電話サービスを提供するために割当てられる 特定の設備を回示している。この場合の交換局40を相互接続端子46に接続す るケーブル41は、ケーブル“01”として示されている。家52に割当てられ たケーブル01の中の特定の対は対“21”であり、これは二項記法“01:2 1”で表わされる。対01:21のフィールド端は端子46の内側のバインディ ングポスト52に接続されている。内側のバインディングポスト52はジャンパ 線によって外側のバインディングポスト302に接続されている。ケーブル44 の121番目の対(対0101:121)の交換局側の端は、端子46のバイン ディングポスト302と接続されている。他端(フィールド端)においては、対 0101:121は分配端子48を通してドロップ線50に接続され、そこから 家52に行っている。FIG. 5 is assigned to provide telephone service to house 52 of FIG. Circulating specific equipment. Connecting the exchange 40 in this case to the interconnection terminal 46 Cable 41 is shown as cable "01". assigned to house 52 The particular pair in cable 01 is pair “21”, which is expressed in binary notation “01:2”. 1”. The field edge of pair 01:21 is the binder inside terminal 46. is connected to the ringing post 52. The inner binding post 52 is a jumper It is connected to the outer binding post 302 by a wire. cable 44 The end of the exchange side of the 121st pair (pair 0101:121) is connected to the binder of terminal 46. It is connected to the mounting post 302. At the other end (field end), 0101:121 is connected to the drop line 50 through the distribution terminal 48, and from there I'm going to house 52.

このループに使用されている設備はタイプ(対、ケニブル、端子その他)、内部 識別番号の両方を持ち、オプションとして外部識別番号を持っていることがわか る。例えば、識別番号の一部(例えば対01:21、端子46、バインディング ポスト302)は外部的であり、一部は内部的である。(その設備のノードへの 単純なポインタである。)内部識別番号は第2図のレコードの例で使用されてい る。一般的な問題は設備の在庫管理に用いられ、同時に顧客と交換局の間のサー ビスを提供するループにこれらの設備を割当てたり、割当変更したりするのに使 用できるデータベースを形成することである。The equipment used in this loop is the type (pair, cable, terminal, etc.), internal It can be seen that it has both an identification number and an optional external identification number. Ru. For example, part of the identification number (e.g. pair 01:21, terminal 46, binding Posts 302) are external and some are internal. (to the node of that equipment) It's a simple pointer. ) The internal identification number is used in the record example in Figure 2. Ru. A common problem is used to manage equipment inventory and at the same time provide service between customers and exchanges. used to assign and reassign these facilities to the loops that provide them. The goal is to create a database that can be used.

第6図には、第5図にグラフで示した外部プラント設備を形成する設備在庫の有 向グラフによる従来技術の標準的な表現を示している。第6図の各ボックスはグ ラフのバーテックスであり、ひとつのバーテックスが在庫の中の各々の物理的実 体ごとに設けられている。この場合はボックス60はケーブル41を表わすグラ フのバーテックスであり、バーテックス61は相互接続端子46を表わし、バー テックス62は、対01:21を表わし、バーテックス63はケーブル44を表 わし、バーテックス64は対0101 :121を表わし、バーテックス65は 分配端子48を表わし、バーテックス66は家52を表わす。これらのバーテッ クスは実体関係データベースの中の実体である。Figure 6 shows the inventory of equipment that forms the external plant equipment shown in the graph in Figure 5. A standard representation of the prior art by a forward graph is shown. Each box in Figure 6 is a group. rough vertices, one vertex for each physical fruit in the inventory. It is provided for each body. In this case box 60 is a graphic representing cable 41. The vertex 61 represents the interconnect terminal 46, and the vertex 61 represents the interconnect terminal 46. tex 62 represents pair 01:21 and vertex 63 represents cable 44. I, vertex 64 represents pair 0101:121, and vertex 65 represents Distribution terminal 48 is represented, and vertex 66 represents house 52. These vertices A class is an entity in an entity-relationship database.

これらの実体の間の関係(グラフのエツジ)は第6図でバーテックスの間の矢印 によって表わされる。この場合矢印67はケーブル41が端子46に接続されて いるので“接続されている”という関係を表わす。矢印68は対01:21がケ ーブル41に含まれているから、“含まれている”という関係を表わす。最後に 矢印69は“接続されている”という情報と、さらにパインディングポスト(“ COBP 52”)に関する他の情報すなわち、端子46の交換局側(内側)の パインディングポスト52の情報を表わす。第6図の他の矢印も同様の意味を持 つが、分配端子48と家52が“取扱かわれる”と“取扱かう”という相互関係 を持ち、顧客サービス線50については簡単のため省略しであるということ以外 はここでは説明しない。The relationships between these entities (the edges of the graph) are indicated by the arrows between the vertices in Figure 6. is expressed by In this case, the arrow 67 indicates that the cable 41 is connected to the terminal 46. Since there is a connection between the two, it represents the relationship of being “connected”. Arrow 68 indicates that the pair is 01:21. Since it is included in the table 41, it represents a relationship of "included". lastly The arrow 69 shows the information that it is “connected” and also the binding post (“ COBP 52”), i.e., information on the switching center side (inside) of the terminal 46. Information on the binding post 52 is displayed. The other arrows in Figure 6 have similar meanings. However, the mutual relationship between the distribution terminal 48 and the house 52 is “handled” and “handled”. , except that the customer service line 50 is omitted for simplicity. will not be explained here.

第6図に含まれた在庫情報はループプラントで使用される物理的設備を追尾する のに必要である。しかしこれは顧客に対して電気回路(ループ)を割当てるのに 、特に便利ではない。第7回にはこれらと同一のバーテックスの間の矢印(エツ ジ)の他の集合でループの割当にもっと適したものを示す。The inventory information contained in Figure 6 tracks the physical equipment used in the loop plant. It is necessary for However, this does not apply to allocating electrical circuits (loops) to customers. , not particularly convenient. In the seventh session, the arrows (Etsu) between these same vertices are shown. We show other sets of (d) that are more suitable for loop assignments.

第7図においては、第6図に示したのと同一のバーテックス(ケープルバーテッ クスを除く)が繰返されており、これに回線バーテックス80が加わっている。In Figure 7, the same vertex (capable vertex) as shown in Figure 6 is shown. 80 is repeated, and a line vertex 80 is added to this.

第7図のグラフは部品の在庫とは区別された通信回線の接続を表わしている。回 線(バーテックス80の電話番号で区別される)は三つの部分、すなわち、対0 1:21、対0101 :121および家(ドロップ線50に関連する)から成 っている。これらの三つの部分は端子を通して相互に接続されている。割当処理 の効率化のためには、対01:21が対0101 : 121に接続されている ことを直接知ることが望ましい。これと同時に、これらの相互接続が端子と特定 のパインディングポストで行われていることを知る必要がある。ハイパエツジ8 1と82は接続された対とそれを通して接続が行われている端子を同時に示して いる。第6回の表現では、対と対の接続は検出することができるが、設備の割当 のためにデータベースをさらに探索することは非常に能率が悪い。The graph in FIG. 7 represents the connection of communication lines as distinct from the inventory of parts. times The line (distinguished by the phone number in vertex 80) has three parts: 1:21, versus 0101:121 and the house (related to drop line 50) ing. These three parts are interconnected through terminals. Assignment process For efficiency, pair 01:21 is connected to pair 0101:121. It is desirable to know this directly. At the same time, these interconnects are identified as terminals. You need to know what's going on at the pining post. Hyper Edge 8 1 and 82 simultaneously indicate the connected pair and the terminal through which the connection is made. There is. In the sixth expression, pair-to-pair connections can be detected, but equipment assignment It is very inefficient to further search the database for this purpose.

対0101:121 (ボックス64)と家52 (ボックス66)の相互接続 は同様に二つのハイパエツジ83および84で表わされており、これは回線のこ の部分と同一の機能を持っている。在庫を変更することなく、ジャンパ線を使っ て物理的設備を他の回線に割当てできることに注意していただきたい。すなわち 第7図の接続は第6図の在庫を変化することなく変えられるのである。Interconnection of pair 0101:121 (box 64) and house 52 (box 66) is similarly represented by two hyperedges 83 and 84, which It has the same function as the part. Use jumper wires without changing inventory Please note that physical equipment can be assigned to other circuits using i.e. The connections in FIG. 7 can be changed without changing the inventory in FIG.

第7図のハイパグラフは割当てられた電気的回線の在庫を管理するのに使用され 、一方第6図は物理的部品の在庫の管理に使用される。これらは両方共電話加入 者を適切に取扱かうために必要である。The hypergraph in Figure 7 is used to manage the inventory of allocated electrical lines. , while FIG. 6 is used to manage inventory of physical parts. Both of these are telephone subscriptions. It is necessary to treat people appropriately.

第8図には第4図に示した物理的設備と回線割当の両方を表わすのに使用される ハイパグラフデータベースのひとつのノードのグラフ表現を示している。第8図 で表わされたノードは対0101 :121を示すものである。先に述べたよう にノードは本体部(ボックス62)と複数のエツジ部82.83.86.87. 88および89を含み、その一部(82,83)はハイバエ・ノジである。Figure 8 is used to represent both the physical equipment and line assignments shown in Figure 4. It shows a graph representation of one node of the hypergraph database. Figure 8 The node represented by indicates the pair 0101:121. As mentioned earlier The node has a body part (box 62) and a plurality of edge parts 82.83.86.87. 88 and 89, and some of them (82, 83) are Hibiscus nojii.

第8図に図示されたノードは対0101:121に関するデータベース中のすべ ての情報を含んでいる。外部世界(対0101 :121)でわかるこの対の名 前はエツジ90によって指される別個の実体になっていることに注意されたい。The nodes illustrated in Figure 8 are all nodes in the database for pair 0101:121. Contains all information. The name of this pair found in the external world (pair 0101:121) Note that the front is now a separate entity pointed to by edge 90.

各ノードの内部での識別は内部番号によって行われ、これによって関連するレコ ードに直接アクセスごきるようになっている。さらに、その内部参照番号をすべ て変更しなくても、実体の外部名は変更できる。Internal identification of each node is done by an internal number, which identifies the associated record. You can access the code directly. Additionally, all internal reference numbers are You can change an entity's external name without changing it.

第9図には第2図で示した記法による対0101 :121のデータベースのレ コードの表現を示している。レコードの本体部分がまず現われるが、エツジの順 番は任意である。このような構成では特定のエツジは探索によって見付けること になる。次に第9図のデータレコードの内容について説明する。Figure 9 shows the database record of the pair 0101:121 using the notation shown in Figure 2. Shows the representation of the code. The main body of the record appears first, but the edges appear first. The number is arbitrary. In such a configuration, specific edges can be found by searching. become. Next, the contents of the data record shown in FIG. 9 will be explained.

まず各々の物理的設備は外部世界において知られている名前とは異なった内部識 別番号によって識別されることに注意しておく。First, each physical facility has an internal identity different from the name by which it is known in the outside world. Please note that it is identified by a separate number.

これらの内部識別番号は識別されたレコードに対して一義的であり、これによっ てコンピュータによるレコードの管理を隼純化し、外部世界の名前を任意にし、 しかも変更できるようにする。第8図に示すように特別のエツジ90が外部名9 1 じ対0101:121”)を指しており、これは第9図の行gl−g3に示 されている。These internal identification numbers are unique to the identified record and thereby This will simplify the management of records by computer, make the name of the external world arbitrary, And make it changeable. As shown in FIG. 8, a special edge 90 is 1 same pair 0101:121”), which is shown in rows gl-g3 in Figure 9. has been done.

行c1−C5と行f1−f5のエツジはハイパエツジであり、各々は二つのレコ ード識別番号を含んでいる。各々の本体およびエツジは“応用データ”と呼ばれ るひとつあるいはそれ以上の行を含んでおり、これはデータベース情報を外部世 界の問題に応用するときに有用な情報である。例えば、行C−5ではエツジは端 子の交換局側のパインディングポスト(これは端子のフィールド側のパインディ ングポストと区別される)を指すものであることが示される。行e−3では対は 分配端子の内側(外側でなく)の“青−緑”のスタブ線に接続されていることが 示される。工・ノジnはこの対が一部となっているループ回線を示している。The edges in rows c1-C5 and rows f1-f5 are hyperedges, each containing two records. Contains the card identification number. Each body and edge is called “applied data”. contains one or more rows that export database information to the outside world. This information is useful when applied to problems in the world. For example, in row C-5, the edge is The binding post on the child exchange side (this is the binding post on the field side of the terminal) It is shown that it refers to a post (distinguished from a post). In row e-3, the pair is Make sure it is connected to the “blue-green” stub wire inside (not outside) the distribution terminal. shown. No. 1 indicates the loop line of which this pair is a part.

第10図には第3図のデータベースマネージャ31の一般的ブロック図を図示し ている。このデータベースマネージャはもちろんコンピュータのプログラムによ って実現されているので、ブロック回は単に種々のソフトウェアモジュールの間 のやりとりを示しているだけである。第10図においては、要求デコーダ100 によって、データベース30への追加、削除あるいは修正の要求が受信される。FIG. 10 illustrates a general block diagram of the database manager 31 of FIG. ing. This database manager is of course a computer program. Since the block times are simply implemented between various software modules, It just shows the exchange. In FIG. 10, the request decoder 100 A request for addition to, deletion from, or modification of database 30 is received by.

デコーダ100は要求を分解(要求コマンドを解釈)して7個の特定の手続き1 01乃至107のひとつを付勢する。The decoder 100 decomposes the request (interprets the request command) into seven specific procedures 1 01 to 107 is energized.

手続き101は外部識別情報(例えば第8図のノード62の対0101:121 )を与えられて内部識別番号(例えば、第8図のノード62のID388)を得 るものとする。この翻訳を実行するために外部/内部IDリストと呼ばれるルッ クアツプ表108が維持されている。将来の使用のために内部IDはバッファ1 09に記憶される。この内部ID番号を使用して、フェッチノード手続き107 は記憶マネージャ110に指示してデータベース30から適切なノードデータを 得る。例えば、もしデータへ−ス30が磁気ディスク上に存在すれば、記憶マネ ージャ110はディスクの適切なものの適切なセクタの必要なトランクのひとつ を探索してアクセスするのに必要な回路を含んでいる。しかし、データベースは 磁気コア、磁気テープ、磁気バブル、ビデオディスク、レーザディスクその他の 種々の形態の記憶装置中に存在しても良い。いずれの場合でも、記憶マネージャ 110はそのレコードの一義的な内部IDが与えられたときに、データレコード を回復するのに必要な回路をすべて含んでいる。このような検索の動作は当業者 には周知であるから、ここではこれについてそれ以上は述べない。Procedure 101 includes external identification information (for example, the pair 0101:121 of node 62 in FIG. ) and obtain an internal identification number (for example, ID 388 of node 62 in FIG. 8). shall be A lookup called external/internal ID list is used to perform this translation. A quad table 108 is maintained. Internal ID is buffer 1 for future use 09 is stored. Using this internal ID number, the fetch node procedure 107 instructs storage manager 110 to retrieve appropriate node data from database 30. obtain. For example, if the data destination 30 resides on a magnetic disk, the storage manager Manager 110 is one of the necessary trunks for the appropriate sector of the disk. Contains the circuitry necessary to explore and access the But the database is Magnetic core, magnetic tape, magnetic bubble, video disk, laser disk and other It may reside in various forms of storage. In either case, the storage manager 110 is a data record given the unique internal ID of that record. Contains all the circuitry necessary to recover. Those skilled in the art will understand how this type of search works. Since this is well known, I will not discuss it further here.

記憶マネージャ110によって得られたデータレコードはノードバッファ111 に記憶され、ここでこれは次の処理のために利用できるようになる。バッファ1 09と111および第10図の他のバッファはここに述べたデータ項目を記憶す るために予約されたコンピュータのメモリー中の単なる記憶位置にすぎないこと に注意しておく。同様にリスト108は上述した情報を含む連続して予約された 単なる複数の記憶位置である。Data records obtained by storage manager 110 are stored in node buffer 111 , where it becomes available for further processing. buffer 1 09 and 111 and the other buffers in Figure 10 store the data items described herein. is merely a storage location in the computer's memory reserved for the purpose of Please be careful. Similarly, list 108 is a contiguously reserved list containing the information described above. It's just multiple storage locations.

ノードは手続き102を使用して生成したり削除したりすることができる。手続 き102はデコーダ100が空き記憶リスト112から未使用の記憶空間のアド レスを得たのに応動してこの記憶ブロックに内部ID番号を付与して、このID 番号をバッファ109に入れる。新しいノードの内容は次に以下に述べる方法に よって発生される。Nodes can be created and deleted using procedure 102. procedure 102, the decoder 100 selects the address of unused storage space from the free storage list 112. In response to the response, an internal ID number is assigned to this memory block, and this ID Put the number into buffer 109. The contents of the new node can then be created using the method described below. Therefore, it is generated.

逆に、もはや使用されないノード(例えば、消されたりあるいは使用されなくな った施設)は、リスト108から対応する内容を取除き、対応する記憶空間を空 き記憶リスト112に加えることによってデータベースから削除される。データ ベース30中の実際のデータはただちに削除する必要はなく、この記憶空間を生 成された新しいノードに再び割当てることによって重ね書きされる。Conversely, nodes that are no longer used (e.g. deleted or no longer used) facility) removes the corresponding content from list 108 and empties the corresponding storage space. It is deleted from the database by adding it to the stored list 112. data The actual data in the base 30 does not need to be deleted immediately; this storage space can be is overwritten by reassigning it to a new node created.

ノード情報が一部ノードバソファ111に書き込まれたならば、ノードの本体あ るいは特定のエツジはそれぞれ手続き103および105によってフェッチする ことができる。このとき本体のデータはバッファ113に記憶され、ここでこの データは手続き104によって変更される。新しく生成されたノードは同一の手 続き104によって本体バッファ113に挿入された本体データを持つ。同様に 手続き105によるエツジフェッチ要求に応動して、エツジのデータはエソシバ ソファ114に記憶され、手続き106によって追加、変更、削除のために利用 できることになる。Once some node information has been written to the node bus sofa 111, the main body of the node or specific edges are fetched by procedures 103 and 105, respectively. be able to. At this time, the data of the main body is stored in the buffer 113, and this data is stored here. The data is modified by procedure 104. Newly generated nodes have the same hand It has the main body data inserted into the main body buffer 113 by the continuation 104. similarly In response to an edge fetch request by procedure 105, the edge data is sent to the edge Stored in sofa 114 and used for addition, modification, and deletion by procedure 106 It will be possible.

ID番号をシステムによって確保し、記憶空間を予約しく手続き102)、本体 を生成しく手続き104)、一時にひとつずつエツジを生成する(手続き106 )によって新しいノードが生成される。ノードが生成され、あるいは修正され1 こあと、これは手続き107によってデータベース中で置換することができ、こ れは記憶マネージャ110によってデータをノードバッファ111からデータベ ースに移すようになっている。一方、バッファ109.111.113、および 114に記憶されたデータは第3Mの応用プログラム中の他の手続きによる処理 のために利用できる。Procedure 102) to secure an ID number and reserve storage space by the system, (procedure 104), generate edges one at a time (procedure 106) ) creates a new node. A node is created or modified 1 This can then be replaced in the database by procedure 107, which The storage manager 110 transfers data from the node buffer 111 to the database. It is now possible to move the On the other hand, buffer 109.111.113, and The data stored in 114 is processed by other procedures in the 3M application program. available for.

第10図のデータベースマネージャは本発明のハイパエツジに対しては完全にト ランスペアレントになっていることがわかる。The database manager in FIG. 10 is completely responsive to the hyperedge of the present invention You can see that it is now a Lance parent.

このようなハイパエツジはもちろん検索されたときにエツジバッファ114に記 憶され、従って処理に利用できるようにな、る。しかし第10図のデータベース マネージャに関する限り、これらのハイパエツジは単に単純な(ハイパでない) エツジと全く同一に取扱かわれるエツジデータである。ハイパエツジデータであ ることについて知り、ハイパエツジデータを使用する機能を与えるのは応用プロ グラム32である。Of course, such hyperedges are written in the edge buffer 114 when they are searched. stored and therefore available for processing. However, the database in Figure 10 As far as managers are concerned, these hyperedges are simply simple (non-hyper) This is edge data that is handled exactly the same as edge data. Hyperedge data It is the application software that provides the ability to know about the It is gram 32.

第10図のシステムの動作例として、次の第1表は新しいエツジ情報がエソシバ ソファ114に入れられたことを仮定してノードに新しいエツジを追加するのに 必要なプログラムを示している。As an example of the operation of the system shown in Figure 10, Table 1 below shows how new edge information is To add a new edge to the node assuming it has been placed in sofa 114, Shows the required programs.

ルーチン“addedge”はまずノードにエツジがすでに存在しているかをチ ェックする。もしそうであれば、メソセージはエツジが既に存在することを示し て戻る。もしエツジが未だ存在しなければ、これがノードに加えられ、その結果 を知らせるメツセージが戻る。The routine “addedge” first checks whether an edge already exists at the node. Check. If so, the message indicates that the edge already exists. Go back. If the edge does not already exist, it is added to the node, resulting in A message informing you will be returned.

addedge (node、edgebfr)/宰 バッファedgebfr のエツジをノードに追加する*/If node has edge>edge bfr;then ret*rrr ’exists”;Else add e dgebfr to node ;Then return ’added″; nd 第2表には第1表の“addedge ”ルーチンを使用して二つのノードから 他のノードへのハイパエツジを生成する“re Ia te−node−1od e”のプログラムを示す。addedge (node, edgebfr)/main buffer edgebfr Add edge to node */If node has edge>edge bfr;then ret*rrr’exists”;Else add e dgebfr to node; Then return’added”; nd Table 2 uses the “addedge” routine from Table 1 to connect the two nodes. “reIate-node-1od” that generates a hyperedge to other nodes The program for “e” is shown below.

relate node node (node−A、 edgebfr A、 node−8゜edgebfr B、 node C)7本 エソシバソファ中 のエツジを使用して *//本 ノードAからノードBおよびCへのハイバエ・ ノジを生成し、*/ /* ノードBからノードAおよびCへの第2のハイパエツジを生成する。宰/ Set rid (A) and rid (C) in edgebfr B ;Set rtype(A) and rtype(C) in edgebf r B;Set rid (B) and rid (C) in edgeb fr−^:Set rtype(B) and rtype (C) in e dgebfr A;/宰 ノードAとBにエツジを追加する。本/if ad’ dedge(node A、 edgebfr−^) andaddedge( node B、 edgebfr b)return same messag e;then return that message;7本 さもなければ メソセージは異なっており、誤りがある。*/ else return ’error”:最後に第3表はデータベースで設備 を割当てるのに有用なデータベースレコード中に二つの対が相互に接続されてい ることを示すための“relate −node −node ”を使用した応 用プログラムを示す。relate node node (node-A, edgebfr A, node-8゜edgebfr B, node C) 7 pieces Esoshiba sofa medium Use the edge of *// book from node A to nodes B and C. Generate Noji, */ /* Generate a second hyperedge from node B to nodes A and C. Director/ Set rid (A) and rid (C) in edgebfr B ;Set rtype(A) and rtype(C) in edgebf r B;Set rid (B) and rid (C) in edgeb fr-^:Set rtype (B) and rtype (C) in e Add edges to nodes A and B. Book/if ad’ dedge(node A, edgebfr-^) andaddedge( node B, edgebfr b) return same messageg e; then return that message; 7 otherwise The messages are different and have errors. */ else return’error”: Finally, Table 3 shows the equipment in the database. Two pairs are connected to each other in a database record useful for assigning The response using “relate-node-node” to indicate that This shows the program for

第3表 相互接続対 7本 これは対“A”を端子“ter ”で対“B″に接続する*//* ため の応用プログラムである */node A =read (pair A )  ;node B =read (pair B ) ;node C=rea d (ter ) ;21 7本 応用データAとデータBをバッファに追加する7本 1対の色、パインデ ィングポストその他 ネ/add data A to edgebfr A  ;add data B to edgebfr B ;message =r elate node node (node−八。Table 3 interconnect pair 7 wires This is to connect pair “A” to pair “B” at terminal “ter” *//* This is an application program of */node A = read (pair A) ;node B=read (pair B);node C=rea d (ter);21 7 lines. 7 lines for adding applied data A and data B to the buffer. 1 pair of colors and pins. ingpost and others ne/add data A to edgebfr A ;add data B to edgebfr B; message = r elate node node (node-8.

edgebfr A+ node B+edgebfr B、node C); if message= ” error ” 。edgebfr A+node B+edgebfr B, node C); if message=”error”.

print(cannot cross−connect ” 。print(cannot cross-connect)”.

pair A、”and ”、 pair B。pair A, “and”, pair B.

”in terminal ”、 ter ) ;encl ; FIG / ru;、8 レコード対01011121 国際調査報告"interminal", ter); encl; FIG/ ru;, 8 Record pair 01011121 international search report

Claims (1)

【特許請求の範囲】[Claims] 1.各々が信号を記憶するための本体部と複数のエツジ部を含む複数のレコード を含むデータベースを含み、該エツジ部の少なくともひとつは複数個の他のレコ ードへのポインタ信号を含み、 該レコードに記憶された信号にアクセスして利用する手段を含むことを特徴とす るデータベース。 2、請求の範囲第1項に記載のデータベースにおいて、該部分の各々は実体タイ プと実体識別番号と実体応用を表わす記憶された信号を含むことを特徴とするデ ータベースシステム。 3、請求の範囲第1項に記載のデータベースにおいて、さらに該レコードにアク セスし、生成し、削除し、修正するためのデータベースマネージャプログラムを 含むことを特徴とするデータベースシステム。 4、請求の範囲第1項に記載のデータベースにおいて、さらに該レコードに記憶 された信号を利用するための複数のユーザプログラムを含むことを特徴とするデ ータベースシステム。 5、請求の範囲第4項に記載のデータベースにおいて、該ユーザプログラムは該 ノートで識別された資源を資源利用手段に選択的に割当てる手段を含むことを特 徴とするデータベースシステム。 6、類似したフォーマットの複数のレコードを持つデータベースにおいて、 該レコード中に複数の割当可能な設備の各々を識別する情報を表わす信号を記憶 する手段と、 該レコード中に該設備の任意の二つの間の複数の関係の各々を表わす信号を記憶 する手段と、 該レコード中に該設備の内の三つあるいはそれ以上の間の少なくともひとつの関 係を表わす信号を記憶する手段と、該レコードにアクセスし、修正し、利用する 手段とを含むデータベース。 7、請求の範囲第6項に記載の組合せにおいて、該設備は電話外部プラント装置 を含み、 該利用手段は該装置を電話加入者に割当てる手段を含むことを特徴とする組合せ 。 8、請求の範囲第6項に記載の組合せにおいて、該レコードフォーマットは実体 関係データベースの各エントリーを表わすことを特徴とする組合せ。 9、 各レコードが本発明が本体部と複数のエツジ部を含むノードを含み、 該ノードの本体部の各々に物理的設備の識別番号と属性を表わす信号を記憶する 手段と、 該レコードの該エツジ部の一部には他のひとつのノードに到る単純エツジを表わ すエツジ信号を記憶する手段と、該レコードの該エツジ部の他のものは該ノード の他のひとつ以上のノードに到るハイパエツジを表わすハイパエツジ信号を記憶 する手段と、 該物理的設備を該設備の利用者に割当てるために該レコードにアクセスする手段 と を含むことを特徴とするデータベースシステム。 10、該物理的設備は電話の外部プラント装置であることを特徴とする請求の範 囲第9項に記載の組合せ。1. Multiple records each containing a body section and multiple edge sections for storing signals at least one of the edges includes a plurality of other records. contains a pointer signal to the characterized by comprising means for accessing and utilizing the signals stored in the record. database. 2. In the database according to claim 1, each of the parts has an entity title. a device including a stored signal representing a program, an entity identification number, and an entity application; database system. 3. In the database set forth in claim 1, further access to the record is provided. database manager program to access, create, delete, and modify A database system comprising: 4. In the database according to claim 1, further stored in the record. A device characterized in that it includes a plurality of user programs for making use of the obtained signals. database system. 5. In the database according to claim 4, the user program specifically including means for selectively allocating resources identified in the notes to resource utilization means; A database system with characteristics. 6. In a database with multiple records in similar formats, Store a signal representing information identifying each of a plurality of assignable facilities in the record. and the means to storing in the record a signal representing each of a plurality of relationships between any two of the equipment; and the means to At least one relationship between three or more of the facilities is included in the record. means for storing signals representative of personnel, and for accessing, modifying, and utilizing such records; A database containing means. 7. In the combination according to claim 6, the equipment is a telephone external plant equipment. including; A combination characterized in that the utilization means includes means for assigning the device to a telephone subscriber. . 8. In the combination set forth in claim 6, the record format is an entity. A combination characterized in that it represents each entry of a relational database. 9. Each record includes a node including a body portion and a plurality of edge portions, A signal representing the identification number and attribute of the physical equipment is stored in each main body of the node. means and A part of the edge part of the record represents a simple edge leading to another node. means for storing the edge signal and the other edge portion of the record at the node; Store hyperedge signals representing hyperedges that reach one or more other nodes in and the means to means for accessing the record to assign the physical facility to a user of the facility; and A database system comprising: 10. Claims characterized in that the physical equipment is external plant equipment for telephones. The combination described in box 9.
JP50377583A 1982-11-15 1983-11-02 Hyperage Entity Relationship Database System Pending JPS59502042A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US441730FREGB 1982-11-15
PCT/US1983/001694 WO1984002020A1 (en) 1982-11-15 1983-11-02 Hyperedge entity-relationship data base systems

Publications (1)

Publication Number Publication Date
JPS59502042A true JPS59502042A (en) 1984-12-06

Family

ID=22175526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50377583A Pending JPS59502042A (en) 1982-11-15 1983-11-02 Hyperage Entity Relationship Database System

Country Status (1)

Country Link
JP (1) JPS59502042A (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ACM TRANSACTIONS ON DATABASE SYSTEMS=1982 *

Similar Documents

Publication Publication Date Title
US4479196A (en) Hyperedge entity-relationship data base systems
US4646229A (en) Time-ordered data base
CN106127038B (en) A kind of processing method and system of blacklist
JP4387599B2 (en) Telecommunications network resource handling apparatus and method
CN109816321A (en) A kind of service management, device, equipment and computer readable storage medium
US7430513B2 (en) Data storage management driven by business objectives
CN108765052A (en) Electric business recommendation/method for pushing and device, storage medium and computing device
CN103455335A (en) Multilevel classification Web implementation method
CN109918426A (en) Eat the building method of drug administration data management platform
CN102937984A (en) System, client terminal and method for collecting data
CN112651826A (en) Credit limit management and control system, method and readable storage medium
CN108200139A (en) A kind of service integration platform
CN110110153A (en) A kind of method and apparatus of node searching
CN112734507A (en) House lease distribution method, distribution system and storage medium based on block chain
JPS59502042A (en) Hyperage Entity Relationship Database System
CN108959367A (en) Management method, system, platform, medium and the electronic equipment of room basis data
CN113641650B (en) Power grid GIS data processing method and device based on redis memory multi-temporal state
CN109933587A (en) Data processing method, device, system and storage medium based on catalogue registration
JPH081610B2 (en) Database-based locking
US6460028B1 (en) System and method for data organization
CN112800054A (en) Data model determination method, device, equipment and storage medium
Seki et al. FISH: Flexible information sharing and handling system
CN113987785B (en) Management method and device for complete information of algorithm block of nuclear power station DCS system
JPS6274128A (en) Data base device
CN113055476B (en) Cluster type service system, method, medium and computing equipment