TW475125B - Data management system and method of structured electronic document - Google Patents
Data management system and method of structured electronic document Download PDFInfo
- Publication number
- TW475125B TW475125B TW88102317A TW88102317A TW475125B TW 475125 B TW475125 B TW 475125B TW 88102317 A TW88102317 A TW 88102317A TW 88102317 A TW88102317 A TW 88102317A TW 475125 B TW475125 B TW 475125B
- Authority
- TW
- Taiwan
- Prior art keywords
- document
- database
- patent application
- scope
- item
- Prior art date
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
丄 ο Α7 Β7 五 、發明説明( 5 — 1發明領域及背景 本發明係為-種結構化之電子文件的資料管理系統 與方法,尤指-種將通用置標語言或超文件置標語言所編 寫之電子文件’建立在一物件導向資料庫之系統與方法, 以便於電子文件的資料讀取及再使用。 ^具有結構化之電子文件,#標準通用置標語言(以簡稱為 SGML,Standard GeneraHzed Μ”。 Language)或超文件置標語言(以下簡稱為ΗτΜίHypertext Markup Language)所編寫的文件,可 依據其結構而作進一步的資料管理,以使文件能依㈣ 性而將資料分佈在不同的資料庫中,以便於資料的交換 再使用。 下 以 屬 及 (請先閱讀背面之注意事項再填寫本頁) 訂 以SGML為例,SGML為一種標準的文件架構, 允許建立獨立於任何軟硬體的文件,而使文件可以在不 平台或不同應用程式中相互交換與使用。基本上 SGML並不直接規定文件結構為何,以及應用1何種 符號,而只規定描述性標誌之原則與標誌文法,使得 具有獨立性、交換性與長久的可轉換性。也就是,同 源可轉用於印刷、線上資料庫、光碟的製作上。而且 新及修訂時不會遺失任何標示及附註。其原始槽可於 本紙張尺度诚川中國囤家標缚((,NS ) Λ4規格(210X 297公楚) 可 同 標諸 文件 一資 ,更 任何 經:步·部中决標率局負工消贽合作社印來 發明説明( 作業平台處理,也可轉為各種應用格式,而不是以某一特 疋的格式編碼。自從SGML符合國際標準後,遵從 s G M L而編寫的文件,便可以在不同系統的用戶之間完 全地轉移了。 然而,S G M L文件本身屬於階層式的設計,無法直 接相容於習知之關聯式的資料庫系統。S g M L文件的結 構中經常包含樹狀及圖形等結構,這些在關聯性資料庫系 統中非常難以設計及維護,主要因為關聯性資料庫系統缺 乏豐富的資料模型化能力,每一個襴位(f i e丨d )只能記錄 簡單的資料型別,而不能是集合或是另一筆資料(物件)。 而且’資料模型和處理資料的環境不一致,應用程式的物 件並無法直接從關聯式資料庫取得,需透過物件記錄 (r e c 〇 r d )的轉換。若要將S G M L文件儲存在關聯式的資 料庫系統中,則勢必要先將S G M L文件的階層架構健存 成表格,並建立表格之間的相互關聯。如此,在文件杳詢 時,將使系統的效率降低。 5 — 2發明目的及概述 本發明之主要目的在提出一種物件導向式資料庫系 統,以儲存並管理S M G L的文件,使技術文件的怂 ' j s理合 理化並易於整合。 本發明之另一目的在提出一種採用S M G L _唯 Τπ平以管 本紙张尺度適州中國國家標冷((、NS ) Λ4規格(210X 297公漦) 丨_ 衣-- (請先閲讀背面之注意事項再填寫本頁〕 、野· 五、發明説明( 理文件的物件遂a 2 >拖 σ貝料庫系統,以便於國際間技術文件的 父換與資源共享。 人什的 本發明之X _ α 目的在提出一種效率高,整人交且 物件導向資料庫车你 合易 寸犀糸統,以方便SMGL·文件的存放與 覽’可重複使用膝女& _ ’、 用无有的舅訊,並易於組成另一個新的 件0 的 瀏 文 基於上述之目的,本發明為一種結合物件導向資竹 庫:構化之電子文件的系統及方法。本發明之系統包含 資料儲存層’企業應用層,及展示層。貢料儲存層中依 該結構化之電子文件的資料形式定義而建立。在企業應 層中則提供物件資料的存取及查詢服務。展示層則維護 使用者界面,以供瀏覽該結構化之電子文件。結構化之 子文件可以一般的瀏覽器瀏覽,也可使資料在不同平台 再加以利用,而充份達到資源共享及資料再利用的目的 料 據 用 電 上 ---^---j---------訂'--^----» (請先閱讀背面之注意事項再填寫本頁) 本發明之方法包含以下步驟:首先,建立一文件的文件 形式疋義。然後’依據文件形式定義’建立該物件導向之資 好庫的文件儲存架構及物件類別。並依據文件形式定義,建 立一文件例。讀取該文件例,並依據讀取順序將該文件例的 擇示推入一堆疊中。然後’依據該文件之物件類別,將文件 儲存在該文件例所屬的文件儲存架構中。在查詢時,便可依 據該文件之類別,讀取所儲存的文件。 本紙张尺度適州中國國家標肀((,NS ) Λ4規格(2丨0X 297公釐) 475125 A7 B7 五、發明説明( 3圖式之簡單說明 圖1顯示本發明之SGML的文 意圖。 件資料庫系統架構示 圖2A顯示WOO-DB的單機版系統架構示意圖。 圖顯示WOO-DB的主從版系統架構示意圖。 意圖 意圖 圖3顯示本發明之文件架構讀取裝置的資料結構示 0 圖4顯示本發明之物件導向資料庫中的資料結構示 5 — 4本發明之詳細說明 為解決習知之關聯性資料庫系統無法有效整合結 化之電子文件的問題,本發明採用物件導向式資料庫來 存SGML的類別階層,並整合其間的關係。本發明之 統架構如圖1所示,可包含三個層次:資料儲存層c 企業應用層B,及展示層A。其中,資料儲存層c依 該結構化之電子文件的資料形式定義而建立,包含一物 導向資料庫1 3。在企業應用層B中,則提供物件資料 存取及查詢的結構,包含:文件架構讀取裝置1 1及文 查詢介面1 2。展示層a則維護一使用者界面1 7,以 刷覽邊結構化之電子文件,並輸入S G M L文件與相關 檔案1 4。Αο Α7 Β7 V. Description of the Invention (5-1 Field of Invention and Background The present invention is a structured electronic document data management system and method, especially a generic markup language or super document markup language. The prepared electronic document 'establishes a system and method of an object-oriented database to facilitate the reading and reuse of the data of the electronic document. ^ It has a structured electronic document, #standard universal markup language (referred to as SGML, Standard for short) GeneraHzed Μ ". Language) or Hyperfile Markup Language (hereinafter referred to as ΗτΜί Hypertext Markup Language), documents can be further managed according to their structure, so that documents can be distributed in different Database for easy data exchange and reuse. The following subordinates and (please read the notes on the back before filling this page) Take SGML as an example, SGML is a standard file structure, allowing the establishment of independent of any software and hardware Files, so that the files can be exchanged and used between different platforms or different applications. Basically, SGML does not directly specify the files. What is the structure, and what kind of symbols are used, and only the principles and descriptive grammar of the descriptive signs are specified, which has independence, exchangeability and long-term convertibility. That is, the same origin can be used for printing and online databases. And the production of optical discs. And it will not lose any marks and notes when new and revised. Its original slot can be bound by this paper standard Chengchuan China ((, NS) Λ4 size (210X 297)) Can be the same standard All the documents are funded, and any texts are: printed by the Ministry of Internal Affairs and China ’s bidding bureau, and published by the cooperative bureau to invent and explain (processed by the operating platform, and can also be converted to various application formats, rather than encoded in a special format. Since SGML complies with international standards, files written in compliance with s GML can be completely transferred between users of different systems. However, SGML files themselves are hierarchical designs and cannot be directly compatible with the familiar associations Database system. The structure of S g ML file often includes tree structure and graphics, which are very difficult to design and maintain in the relational database system, mainly because Because the relational database system lacks rich data modeling capabilities, each bit (fie 丨 d) can only record a simple data type, not a collection or another piece of data (object). And 'data model and The environment for processing data is inconsistent, and the objects of the application cannot be obtained directly from the relational database, but need to be converted through object records (rec 0rd). To store SGML files in the relational database system, it is necessary First save the hierarchical structure of the SGML file into a table and establish the correlation between the tables. In this way, when the file is inquired, the efficiency of the system will be reduced. 5-2 Objects and Summary of the Invention The main object of the present invention is to propose an object-oriented database system to store and manage SMG files, to make technical documents reasonable and easy to integrate. Another object of the present invention is to propose a method that uses SMGL _Wei Tπ to control the paper size of the state of China's national standard cold ((, NS) Λ4 specifications (210X 297 cm) 丨 _ clothing-(Please read the back Please fill in this page again for the matters needing attention], wild and five, the description of the invention (the object of the document management a 2 > drag σ shell database system, in order to facilitate the international exchange of technical documents and resource sharing. The purpose of X _ α is to propose a high-efficiency, hand-to-hand and object-oriented database car that is easy to fit and easy to store and view SMGL files. 'Reusable Knee Women & _' Based on the above-mentioned purpose, the present invention is a system and method for constructing an electronic file by combining object-oriented resources: a structured electronic file. The system of the present invention includes a data storage layer 'Enterprise application layer and display layer. The tribute storage layer is established according to the data form definition of the structured electronic file. The enterprise application layer provides access to object data and query services. The display layer maintains users Interface for browsing the structured electronic files. The structured sub-files can be browsed by ordinary browsers, and the data can be reused on different platforms, which can fully achieve the purpose of resource sharing and data reuse. Top --- ^ --- j --------- Order '-^ ---- »(Please read the notes on the back before filling this page) The method of the present invention includes the following steps: First , To create a document form meaning of a document. Then 'based on the document form definition' to establish the document storage structure and object type of the object-oriented library. And according to the document form definition, create a document example. Read the document example, And according to the reading order, the selection of the document example is pushed into a stack. Then, according to the object type of the document, the document is stored in the document storage structure to which the document example belongs. When querying, the document can be based on Category, and read the stored documents. This paper is suitable for the state standard of China ((, NS) Λ4 specification (2 丨 0X 297 mm) 475125 A7 B7 V. Description of the invention (simple description of 3 drawings Figure 1 Show SGM of the invention The intent of the document database system architecture diagram Figure 2A shows a schematic diagram of the stand-alone system architecture of WOO-DB. The diagram shows the schematic diagram of the master-slave system architecture of WOO-DB. Intent Figure 3 shows the file architecture reading device of the present invention. Fig. 4 shows the data structure of the object-oriented database of the present invention. Fig. 5 shows the structure of the data in the object-oriented database of the present invention. An object-oriented database is used to store the SGML class hierarchy and integrate the relationships between them. The overall architecture of the present invention is shown in Figure 1 and can include three levels: a data storage layer c, an enterprise application layer B, and a display layer A. Among them, the data storage layer c is established according to the data form definition of the structured electronic file, and includes an object-oriented database 13. In the enterprise application layer B, the structure of object data access and query is provided, including: document structure reading device 11 and text query interface 12. The display layer a maintains a user interface 17 to browse the structured electronic files, and input the SG files and related files 14.
¾¾,部中次標準局5消贽合作社印V A 7 ---—一 B7 _ 五、發明説明() ^ 文件架構讀取裝置1 1可依據一設定之資料型態定義 16 ’將輸入的SGML文件14之架構讀取出來,並儲存 在物件導向資料庫1 3中。使用者可透過文件查詢介面 1 2所提供的功能,依據其類別查詢物件導向資料庫1 3 所儲存的資料。文件查詢介面丨2可以與一般的瀏覽器結 合並連結S G M L瀏覽器,並可將查詢結果1 7顯示給使 用者。 為具體說明本發明之系統與實際應用方法,以下將 以資策會所發展的物件導向式資料庫r W 0 0 - D Β」為例 加以說明。當然’本發明之系統與方法適用於任何物件導 向的資料庫系統,並不侷限於本實施例所述之系統。 趣J降導向資料座 物件導向的基本要求為必須具備繼承 (Inheritance)、多型性(P〇lymorphism)以及封裝性 (E n c a p s u 1 a t i ο η )等特性。物件導向資料庫(〇 b〗e c t · Oriented DataBase,OODB)則是將資料庫的儲存正 文物件化,以使物件(0 b j e c t)成為資料庫的存取單位。 因此,物件導向資料庫必須採用物件導向資料模式 (Object Oriented Data Mode)來發展資料庫系統, 以健存及處理各種複雜物件,因為這些複雜的結構物件很 難用普通的關聯式的關係結構來表示。 本紙张尺度適州中國K家;(f4M (、NS ) Λ4規格(210X 297^ ) (請先閲讀背面之注意事項再填寫本頁) -1¾ 訂· 475125 A7 B7 五、發明説明( 物件導向資料庫因此必需支援新的資料型態和操 作,並支援抽象資料型態(AbstractDataType)與使用 者定義資料型態(User-DefinedType)。而且,必須具 有更多的語義概念,如普及化(Generalization)及聚集 (Aggregation)等語義概念。另外,物件導向資料庫也 必須支援多媒體資料的處理,如圖形、影像及聲音次 料。 貝 在本發明之實施例中,W〇〇_DB 13與一般物件導 向資料庫的特性一樣,具有許多優點,如資料的儲存是以 物件為單&,所以同—個物件的資料並不會像關聯式資料 庫樣被分成許多個資料表來儲存,而且可自訂資料型態 供使用者使用。同時也具有繼承能力,任何儲存在 W 0 0 - D B 1 3内的資料都具有永續性。因此,使用者不 需特別注意資料的更新,w 0 〇 _ D B 1 3並會自動地記錄 母一筆更動過的資料並自動儲存。最重要的是WOO-DB 13能直接記錄複雜的資料結構,而不需將之拆成各別的 片段。應用程式設計者,可以根據應用程式實際的需要來 設計資料結構。使用物件導向資料庫系統,可以讓應用程 式直接、緊密地與資料庫結合,使得應用程式無需花太多 額外的力氣在資料庫系統的溝通及資料轉換的工作上。¾¾, the Ministry of Standards and Standards Bureau 5 eliminates cooperative printing VA 7 ----- a B7 _ V. Description of the invention () ^ Document structure reading device 1 1 can be defined according to a set data type 16 'SGML to be entered The architecture of document 14 is read out and stored in the object-oriented database 13. The user can query the data stored in the object-oriented database 1 3 through the functions provided by the document query interface 12 according to its category. The document query interface 丨 2 can be combined with a general browser to link to the SG M L browser, and the query results 17 can be displayed to the user. In order to specifically explain the system and practical application method of the present invention, the object-oriented database r W 0 0-D Β ”developed by the Institute of Strategic Planning will be described as an example below. Of course, the system and method of the present invention are applicable to any object-oriented database system, and are not limited to the system described in this embodiment. Interesting J-oriented data base The basic requirements of object-oriented are the characteristics of inheritance, polymorphism, and encapsulation (E n c a p s u 1 a t i ο η). The object-oriented database (〇 b〗 e c · Oriented DataBase, OODB) is the objectization of the database's stored text, so that the object (0 b j e c t) becomes the access unit of the database. Therefore, the object-oriented database must adopt the object-oriented data mode (Object Oriented Data Mode) to develop the database system to save and process all kinds of complex objects, because these complex structural objects are difficult to use ordinary relational relationship structure to Means. The size of this paper is K home in Shizhou, China; (f4M (, NS) Λ4 size (210X 297 ^) (Please read the precautions on the back before filling out this page) -1¾ Order · 475125 A7 B7 V. Description of the invention (Object-oriented information The library must therefore support new data types and operations, and support abstract data types (AbstractDataType) and user-defined data types (User-DefinedType). Moreover, it must have more semantic concepts, such as generalization And aggregation (Aggregation) and other semantic concepts. In addition, the object-oriented database must also support the processing of multimedia data, such as graphics, video and audio materials. In the embodiment of the present invention, WOO_DB 13 and general objects The characteristics of the guided database have many advantages. For example, the storage of data is based on objects. Therefore, the data of the same object is not divided into many tables to store like the relational database. Custom data types are available for users. At the same time, they also have the ability to inherit. Any data stored in W 0 0-DB 1 3 is persistent. Therefore, users do not Pay special attention to the update of data. W 0 〇_ DB 1 3 will automatically record the changed data of the parent and store it automatically. The most important thing is that WOO-DB 13 can directly record the complex data structure without disassembling it. Into separate pieces. Application designers can design the data structure according to the actual needs of the application. Using an object-oriented database system allows the application to be directly and tightly integrated with the database, so that the application does not need to spend too much Extra effort is put into the communication and data conversion of the database system.
WOO-DB 13的系統可分為單機版與主從版兩種, 其架構分別顯示在圖2A及圖2B中。如圖2A及圖2B 本纸張尺度诚州中國國家標冷((,NS ) Λ4規格(210X297公釐) (請先閱讀背面之注意事項再填寫本頁} 衣· 了 475125 A7 B7 五、發明説明( 所示’其架構包含-視覺化介面21,211,其目的在以 一視覺化介面來輔助使用者管理其物件資料庫,如資料庫 之產生、連接及類別、容器、關聯、物件之劉覽、刪除、 修改等等。還有-管理裝置22,221,其中包含:類別 g理員(Class Manager)(未示於圖)、關聯管理員 (Relationship Manager)(未示於圖)、物件管理員 (Object Manager )(未示於圖)及容器管理員 (Container Manager)(未示於圖),其中容器管理 員為WOO-DB所特有。管理裝置^,221透過資料庫 核心(Database Kernel) 25’251提供使用者建立新 的物件資料庫、聯結現有的物件資料庫,以及管理物件資 料庫内資料所需的各種功能。另外,還有查詢裝置U, 2 3 1可提供互動式的資料查詢肖f,供使用纟查詢資料 庫2 4 ’ 2 4 1中的資料。在主從版中,本地的資料庫2 * 更可透過網路29與另-台資料庫飼服器261連接,並存 取遠端的資料庫27。 使用者啟動W Ο 〇 · D B之後,可以產生新的物件資 料庫,或是連接現存的物件資料庫,也可連接多個資料庫 來進行管理工作,並藉由資料庫識別碼(v〇Ume ID ) 來辨認所連接之物#資料庫。# —物件f料料w〇〇_ D B所連接之後,使肖者可以啟動任何一個f理員來進行 管理。本發明即是利用上述之物件導向f料庫的特性及功 能來管理結構化之電子文件,無論該文件是儲存在本地端 本紙張尺度速州中國國家標磚((、NS ) Λ4規格。10 X 297公^ ; :---罐木一I (請先閱讀背面之注意事項再填寫本頁) 訂 寸 A7 ----—^-___ —_B7 五、發明説明() ~〜~ 的電腦主機或是網路端的伺服器。 的架構與物」泮資料盧的辞存 在說明本發明如何將SGML或HTML的電子文件 架構在上述之W 〇 〇 _ D B的系統上之前,必須先說明本發 明如何分析文件的架構,尤其是s 〇 M L。 基本上’ S G M L將一份文件區分成三個部分,結構 (structure)、正文(c〇ntent)和格式(style), 規定的内容是以結構和正文間的關係為主。其中,結構主 要描述在文件型態定義(以下簡稱D T D ,D 〇 c u m e n t Type Definition)的檔案中。此DTD描述文件結構的 方式’就像一個圖解模式去描繪資訊的類型及襴位之間的 關係’以對文件中的文字段落提供了章節、標題、篇名、 主題等預設好的架構,也規定了各個文字段落間的關係。 例如’本文一定要放在標題之後、每個列式至少必須包含 一項目等等,這些規則可以保證文章的一致性及邏輯結 構。也就是說,每份文件都有一個D T D。一個D T D則 包含了各種置標内容的規定及彼此的關係。 正文就是資訊本身,它包含標題、、段落、列表、攔 位、圖形和音頻,它不一定要在這份文件中,它可以是網 路上另一份文件的一個段落。假設正文中有D T D結構的 方法稱為“標示” (t a g ),這些標示出現在文件結構中 (請先閱讀背面之注意事項再填寫本頁) 訂 本紙張尺度適川中國國家標垮(*CNS ) ( 21 OX 297^¾ ) 475125 A7 B7 五、發明説明( 每個文字段落的頭尾,以此建立SGML或HTML文件 中各種標示内容環繞正文的結構。有些撰寫SGML文件 的作者’把各種標示做成表列以方便撰寫使用。而格式便 是指文件的格式,然而S G M L本身並沒有對文件的袼式 做任何的規定’所以大部分的系統仍然保有自己特殊的文 件格式。 經渋部中次標準局只.t-消於含竹社印f 如此’文件依其性質而有不同的格式,如信,計割 書’書本’及公文等都各有不同的文件結構。這些結構便 是在DTD中定義的。而DTD是所有SGML系統的中 樞,可以與文件分開存放。結構相同的文件可以共用同一 個 D T D。 DTD的組成元件包括元素(Element)、屬性 (Attribute)及實體(Entity)等,而元素在DTD中為最 基本的架構單元,故在定義環境之後,就要開始研讀文件 型態,進而定義出元素。DTD定義完畢後,便可依照其 規格,同時定義〇 〇 D B的資料架構。當s G M L的文件 依照DTD的架構編寫完後,便須加入標示,而成為〜 件例,(Document lnstance,DI )。它包含 了所有 文件的正文和加入DTD中已宣告的標示。 —丨—q---ΛΎΙ, (請先閲讀背面之注意事項再填寫本頁) 訂 -I : -I · 驟:The WOO-DB 13 system can be divided into two types: stand-alone version and master-slave version. The architectures are shown in Figure 2A and Figure 2B. As shown in Figure 2A and Figure 2B. This paper size is Chengzhou China National Standard Cold ((, NS) Λ4 size (210X297 mm) (Please read the precautions on the back before filling this page.) Clothing · 475125 A7 B7 V. Invention Description (shown in its framework includes-visual interfaces 21, 211, the purpose of which is to help users manage their object database with a visual interface, such as database generation, connection and category, container, association, object Liu Lan, delete, modify, etc. There are also-management devices 22, 221, which include: Class Manager (not shown in the figure), Relationship Manager (not shown in the figure), Object Manager (not shown) and Container Manager (not shown), where the container manager is unique to WOO-DB. The management device ^, 221 through the database core (Database Kernel) 25'251 provides users with various functions needed to create new object databases, link existing object databases, and manage data in object databases. In addition, there is a query device U, which can provide interactive functions. Capital Data query Xiao f, for use 纟 query the data in database 2 4 '2 4 1. In the master-slave version, the local database 2 * can be connected to another database feeder 261 through the network 29 , And access the remote database 27. After the user starts W 〇 〇 · DB, you can create a new object database, or connect to the existing object database, you can also connect multiple databases for management tasks, And the database identification code (v〇Ume ID) to identify the connected things #database. # — 物 f 料 w〇〇_ DB is connected, so that Xiao can start any manager to perform Management. The present invention is to use the characteristics and functions of the above-mentioned object-oriented library to manage structured electronic files, regardless of whether the files are stored on the local paper scale. Su Zhou China National Standard Brick ((, NS)) Λ4 specifications .10 X 297 male ^;: --- Can Mu Yi I (Please read the precautions on the back before filling this page) Order A7 -------- ^ -___ —_B7 V. Description of the invention () ~~~ Computer host or server on the network side. The structure and properties of the data " Before explaining how the present invention constructs the electronic file of SGML or HTML on the above W OO_DB system, it must first explain how the present invention analyzes the structure of the file, especially the SO ML. Basically, SGML will be a file It is divided into three parts: structure, text, and style. The stipulated content is mainly the relationship between the structure and the text. Among them, the structure is mainly described in the file of the file type definition (hereinafter referred to as D T D, D o c u m n t Type Definition). This DTD describes the structure of the document 'like a graphic pattern to depict the relationship between the types of information and niches' to provide a preset structure for the text paragraphs in the document, such as chapters, titles, titles, topics, etc. The relationship between individual text paragraphs is also specified. For example, 'this article must be placed after the title, each column must contain at least one item, etc. These rules can ensure the consistency and logical structure of the article. That is, every document has a D T D. A D T D contains the provisions of various marking content and their relationship. The text is the information itself. It contains the title, paragraphs, lists, blocks, graphics, and audio. It does not have to be in this document. It can be a paragraph in another document on the Internet. Assume that the method with DTD structure in the body is called "tag", and these tags appear in the file structure (please read the precautions on the back before filling this page). ) (21 OX 297 ^ ¾) 475125 A7 B7 V. Description of the invention (the beginning and end of each text paragraph to establish the structure of the various markup content in the SGML or HTML file surrounding the text. Some authors who write SGML files Make a list for easy writing and use. The format refers to the file format, but SGML itself does not make any stipulations on the format of the file. 'So most systems still maintain their own special file format. The sub-standard bureau only .t-eliminated in the Hanzhusheyinf. So the 'documents have different formats according to their nature, such as letter, plan book' book 'and official documents, etc. each have different file structures. These structures are It is defined in the DTD. The DTD is the backbone of all SGML systems and can be stored separately from the files. Files with the same structure can share the same DTD. The components of the DTD include the elements (Ele ment), attributes (Attribute) and entities (Entity), and elements are the most basic architectural unit in the DTD, so after defining the environment, you must start to study the file type, and then define the elements. After the DTD is defined, The data structure of 〇〇DB can be defined at the same time in accordance with its specifications. When the GML file is written in accordance with the DTD structure, it must be added with a mark and becomes a ~ case, (Document lnstance, DI). It contains all The text of the document and the announcement announced in the DTD. — 丨 —q --- ΛΎΙ, (Please read the precautions on the back before filling this page) Order -I: -I · Step:
S GML文件使用物件資料庫儲存方法,有下 本紙张尺度適jfl中國^家標f ( rNS ) Μ規格(21(^097^^S GML files use an object database storage method, which has the following paper sizes: jfl China ^ house standard f (rNS) M specifications (21 (^ 097 ^^
五、發明説明() (1 )分析S G M L文件中各元件(e 1 e m e n t )之間的 關聯;(2 )建立其E R模式(e R μ 〇 d e 1 ),並以圖形方 式表示出資料庫的邏輯結構;(3 )依據該邏輯結構,可以 建構S G M L文件的D τ d和物件類別;(4 )依據物件類 別’將資料健存於資料庫中;如此,物件導向資料庫便有 完整的體系及架構。 從ER架構(schema)到〇〇db架構的對應處 理’可從習知之語意模式轉換成物件導向模式。其轉換步 驟如下: 首先’將ER實體型態(entity types)及關聯型 癌(r e 1 a t i 〇 n s h i p t y p e s )對應到物件導向的類別中 (Ο _ 0 c 1 a s s )。如此,物件導向的類別中便具備有該 結構化之電子文件的階層式關係。 ;---Γ---0^! (請先閲讀背面之注意事項再填寫本頁} 訂 經漭部中决標導局負5消资合作社印W水 然後,加一些額外的方法給物件導向的類別(〇 _ 〇 c 1 a s s )’這些額外的方法是用在作分析應用搜尋指令 (queries)的結果所需用的。之後,再拓展物件導向的 類別成資料庫類別(d a t a b a s e c 1 a s s e s ),即加一此系 統提供的敘述來控制不變的物件(〇 b j e c t s )。 為使結構化的文件能依照DTD的架構儲存在物件$ 向資料庫中,必須先分析文件的結構,以指定該文件使 用中國囤家標岑(CNS ) Λ4規格(2ΚΓΧ 297公$ ) 五、 發明説明( A7 B7 的字兀集(character set)以及文件是否要使用某些 S G M L特殊功能的設定,以達到$ β [標準的宣告 ; : ! (請先閱讀背面之注意事¾再填寫本頁) (declarati〇n)。並定義與製作dtd及文件所必須使用 的標示,以完成文件資料實體儲存的格式及標示。 ^根據文件的DTD,把組成文件的各個部份(如章、 節圖)刀開儲存在物件導向資料庫中,這種做法最主要 的目的在於讓文件查詢時更有效率。但是如何把一份 S G M L λ件例错存在物件導向資料庫中,則須靠本發明 之文件架構讀取裝置。 文件架嫌讀V. Description of the invention () (1) Analyze the relationship between each component (e 1 ement) in the SGML file; (2) Establish its ER mode (e R μ ode 1), and graphically represent the database Logical structure; (3) according to the logical structure, D τ d and object types of the SGML file can be constructed; (4) the data is stored in the database based on the object type; thus, the object-oriented database has a complete system And architecture. Correspondence processing from ER schema to OOdb architecture can be transformed from a conventional semantic mode to an object-oriented mode. The conversion steps are as follows: First, ER entity types and associated cancers (r e 1 a t 〇 s h i p t y p e s) are mapped to object-oriented categories (0 _ 0 c 1 a s s). In this way, the hierarchical relationship of the structured electronic document is provided in the object-oriented category. ; --- Γ --- 0 ^! (Please read the precautions on the back before filling out this page} The Ordering and Receiving Department of the Bureau of Final Bids, 5 Consumption Cooperatives, printed W water, and then add some additional methods to the objects Oriented categories (〇_ 〇c 1 ass) 'These additional methods are used to analyze the results of application search commands (queries). After that, the object-oriented categories are expanded into database categories (databasec 1 asses). ), Plus a narrative provided by this system to control invariable objects (〇bjects). In order for structured documents to be stored in the object $ database according to the DTD structure, the structure of the document must be analyzed first to specify This document uses the Chinese storehouse standard Cen (CNS) Λ4 specification (2KΓχ 297 $). 5. Description of the invention (A7 B7 character set) and whether the document uses certain SGML special function settings to achieve $ β [Declaration of Standards:: (Please read the notes on the back ¾ before filling out this page) (declarati〇n). And define and produce the dtd and the mark that must be used to complete the format of the document data entity storage and ^ According to the DTD of the document, the various parts (such as chapters and sections) that make up the document are stored in an object-oriented database. The main purpose of this approach is to make the document query more efficient. But how? If an SGML λ instance is mistakenly stored in the object-oriented database, it is necessary to rely on the document structure reading device of the present invention.
1T1T
文件架構讀取裝置主要用來辨認文件例中各個類別 的物件(如篇、章、節),才巴物件儲存在物件導向資料庫 中並建立物件與物件之間的關聯連結。纟發明之文件架 構讀取裝置可用Windows 95 ,BQHand cZ 3·〇’ W〇〇-DB DBM τ〇〇ι 等工具來實現。 當程式開始執行時,文件架構讀取裝置就會要求使 用者輸入W〇〇_DB資料庫檔名和SGML文件例檔名, 所鍵入的檐案必須在正在執行的目錄底下,而且要:定實 行中的子目錄有以下的檔案:WOO-DB :身料庫檔, S G M L 件例’及所有跟文件例有關的圖形檔。確定一 切無誤之後,文件架構讀取裂置3 Η更會進行掃瞒和儲: 475125 A7 ___B7 五、發明説明(-- 的動作,當程式執行完畢時,螢幕會顯示“文件掃瞄完 成’’的訊息,表示掃瞄成功。 文件架構讀取裝置是利用堆疊來記錄及辨別文件例 中的各個類別物件,舉一簡單例子來說明這種做法,假設 一個文件例為·· <book><title>sgml 文件一 </TITLE> <AUTH〇R>PETER</AUTH〇Rx/b〇〇K> 假設D T D中定義“ B Ο ο κ,,這個元素只有兩個元 件,一為“ Τ I τ L Ε ’’,另一為‘‘ a u Τ H Ο R,,。如果資料庫 中已經根據這份S G M L文件所使用的d T D,建立了以 下的類別,其中“ Β 〇 〇 κ,,類別的屬性有“ T j T L Ε,,和 “AUTHOR”,而“AUTH〇R”又是另外一個類別物件, 其屬性為‘‘ s t r i n g ’’。 當文件架構讀取裝置執行時,先建立一個堆疊 (STACK)和緩衝器(BUFFER),如圖3所示。其中堆 疊3 1是用來儲存文件例的標示(如< b 〇 〇 κ > 3 2 ),緩衝 器3 4是用來儲存文件例裏除了標示以外的資料(如 “ S G M L文件一 ” 3 5 )。在讀取文件時,、如果讀到起始標 示便將之推入(P u s h )堆疊3 1上,否則便將之儲存在緩 衝器3 4中。而在讀到結束的標示時,便將資料從緩衝器 讀出並將堆疊中的標示推出。 紙張尺家辦21 OX 297^¾ ) ---—— 475125 A7 __ B7 五、發明説明() 依此’在讀到“ < / τ ί τ L E >,,這個標示之前,堆疊3 i 和缓衝器3 5的資料將如圖3所示。而當文件架構讀取裝 置11掃is到“</TITLE>,,之後,表示“<TITLE>,,已經 結束’所以文件架構讀取裝置1 1會先對堆疊3 1做推出 (ρ 〇 P )的動作。然後辨別< τ I τ L E >,,的屬性,判定是否 為一個物件或是一個物件裏的屬性。然後,再依據缓衝器 裏的資料,在一物件導向資料庫13中建立相對於 < Τ I T L E > 的物件或屬性。最後,建立物件與物件之間 的關聯連結。 在此例中,由於“ < Τ I T L E >,,為“ < Β Ο 〇 K >,,的一個 屬性,所以文件架構讀取裝置i i會先建立一個“ B 〇 〇 κ ,, 的物件,之後再把“TITLE”的資料儲存在“ΒΟοκ”的 “ Τ I T L E ’’中。但如果讀到的標示代表的是另外一個物件 (如“〈AUTHOR〉”),則文件架構讀取裝置n會直接建 立這個物件,之後再建立它跟其他物件之間的關聯連結。 所以文件架構讀取裝置1 1執行完畢後,物件導向資料庫 1 3會產生一個“ β Ο 0 K ”和一個“ a ϋ Τ Η 0 R,,的物件,其 中“BOOK”物件的“TITLE”屬性值為“SGML文件 一 ”,“ A ϋ Τ Η 0 R ’’ 的 “ s t r i n g ” 屬性值為 “ p e t e r ”,而 “ β Ο Ο K ”物件的“ A ϋ T H 0 R,,屬性便連結到“ A u T H 〇 R ” 物件裏。 本紙張尺度適州中國S家標岑(('NS ) Λ4規格(210X 297公 ---Γ--:---蠓II (請先閱讀背面之注意事項再填寫本頁) 許 ^-'~~—— B7 、發明説明() 文件查詢介面 根據文件架構讀取裝置 ^ 1所建立的物件導向資料庫 1 3 ’可快速地將使用者所欲欠 . 寸找的貝料查詢出來,由於 資料庫建立時即將書、篇立 、 扁 早、節、圖等建成類別 (C 1 a s S ),所以在文件架構讀 貝%裝置1 1完成讀取文件例 4,會根據文件例上的標示將复 將其建入所屬的類別中,在使 用文件查詢程式時就可以選擇 厅查3旬的關鍵字所屬的類 別,如書、篇、章、節或圖等。如 如此’便可讓使用者查詢 資料庫中的内容。 2使用物件導向資料庫1 3 本發明之文件查詢介面 與omserr.h,程式 。針對各種不同的類 的處理之前,首先要 別建立相對應的結構 所提供的Header檔為ornsapih 庫(Library)槽為 〇msbc32.1ib 別做不同方式的處理,在做各種類別 先將物件導向資料庫1 3中所有的類 (Struct)。例如: typedef struct Book 一 S / /這是相對應於Β ο 〇 k的結構 { omU 1 Β Β — Β title [64]; omUlB B_Author[64]; omU 1 Β B 一 Editor [64]; omU 1 Β B 一 Copyright [64]; 經淖部屮决標準杓兵二消贽合竹社印製 Α7 '^^_Β7_________ 五、發明説明() 〇mU 1 Β B —Pubdate [64]; omUlB B_Publisher[64]; omUlB B_Seriesvolumns[64], om Object B _ T o C ; omObject B_Abstract; omObject B _ P a r t; omObject B — Chapter; } Β ο o k _ S ; 針對各種類別所宣告的結構’其用途在於當物件正 被操作時(F i X ),可以利用這些結構來取得物件的各種屬 性。 文件查§旬介面12包括各種類別的處理,當下拉式選 單(pull-down menu)選擇“書,,時,使用者先輸入關 鍵字,在按下查詢按鍵,就會進入類別“書,,的處理程序 中,執行類別“書,,的處理程序。 查詢時先做一些資料庫的前置處理,如: omlnitializeO "資料庫的起始 〇mTransact() "交易開始 〇mConnectOB() //連結資料庫 接下來,因為所查詢的類別為‘‘書,,,所以必須先以 下列程序來找出「書」·· 4:、紙张尺㈣則,晒緖彳(Tns ) ( 210X 297^t )' --- (請先閱讀背面之注意事項再填寫本頁)The document structure reading device is mainly used to identify the various types of objects (such as chapters, chapters, and sections) in the document example. The objects are stored in the object-oriented database and the associations between the objects are established. The file structure reading device of the invention can be implemented by using tools such as Windows 95, BQHand cZ 3.0 · W′-DB DBM τ〇〇ι. When the program starts to execute, the file structure reading device will ask the user to enter the WOO_DB database file name and the SGML file example file name. The eaves type must be under the directory being executed, and it must be: The sub-directories in it have the following files: WOO-DB: Body Bank File, SGML Cases' and all the graphics files related to the document cases. After confirming that everything is correct, the file structure is read and cracked. 3 It will also be concealed and stored: 475125 A7 ___B7 V. Invention description (-) When the program is completed, the screen will display "Document scanning completed" The message indicates that the scan was successful. The file structure reading device uses stacking to record and identify various types of objects in the document example. A simple example is used to illustrate this approach. Suppose a document example is: < book > < title > sgml file I < / TITLE > < AUTH〇R > PETER < / AUTH〇Rx / b〇〇K > Suppose the DTD defines "B 〇 ο κ, this element has only two elements, one is" Τ I τ L E '', the other is '' au Τ H Ο R ,. If the database has already established the following categories based on the d TD used in this SGML file, where "Β 〇〇κ , The attributes of the category are "T j TL Ε," and "AUTHOR", and "AUTH〇R" is another category object, whose attribute is "string". When the file structure reading device is executed, first create One stack (STACK) Buffer (BUFFER), as shown in Fig. 3. Stack 31 is used to store the label of the document example (such as < b 〇〇κ > 3 2), and buffer 34 is used to store the file example except Data other than the mark (such as “SGML file 1” 3 5). When reading the file, if it reads the initial mark, it will be pushed into the (Push) stack 31, otherwise it will be stored in the buffer 3 4. When the end mark is read, the data is read out from the buffer and the mark in the stack is pushed out. Paper ruler 21 OX 297 ^ ¾) ------- 475125 A7 __ B7 V. Invention Explanation () According to this, "< / τ ί τ LE >, before this mark, the data of stack 3 i and buffer 3 5 will be shown in Figure 3. And when the file structure reading device 11 scans to "< / TITLE >", then it means "< TITLE >", and it has ended 'so the file structure reading device 11 will push the stack 3 1 first (ρ 〇P). Then identify the attributes of < τ I τ L E >, and determine whether it is an object or an attribute in an object. Then, based on the data in the buffer, an object or attribute corresponding to < TI T L E > is created in an object-oriented database 13. Finally, establish associations between objects. In this example, since "< Τ ITLE >, is an attribute of < Β 〇〇K > ,,, the file structure reading device ii will first create a" B 〇〇κ ,, " Object, and then store the data of "TITLE" in "TITLE" of "ΒΟοκ". However, if the read symbol represents another object (such as "<AUTHOR>"), the document structure reading device n will directly establish this object, and then establish its association with other objects. Therefore, after the execution of the file structure reading device 11 is completed, the object-oriented database 13 will generate an object of “β 〇 0 K” and an object of “a ϋ Τ Η 0 R”, of which the “TITLE” of the “BOOK” object The attribute value is "SGML file one", the "string" attribute value of "A Τ Τ Η 0 R" is "peter", and the "A ϋ TH 0 R" of the "β Ο Ο K" object is linked to “A u TH 〇R” In the object. This paper size is suitable for Chinese standard C (('NS) Λ4 size (210X 297 male --- Γ-: 蠓-II) of Shizhou China) (Please read the note on the back first Please fill in this page again) Xu ^-'~~ —— B7 、 Explanation of the invention () Document query interface reads the device according to the document structure ^ 1 The object-oriented database 1 3' can quickly owe what users want . The shell material to be found is searched out. Since the database is about to be built into categories (C 1 as S) such as books, articles, flats, festivals, pictures, etc., it reads the file in the file structure. Device 1 1 completes reading the file. Example 4, it will be built into the category it belongs to according to the mark on the document example. When querying the program, you can select the category to which the keywords in the hall are searched, such as books, articles, chapters, sections, or drawings. If so, you can query the content in the database. 2 Use object-oriented data Library 1 3 The document query interface and omserr.h, program of the present invention. Before dealing with various different classes, you must first create a corresponding structure. The provided header file is the ornsapih library (Library) and the slot is 0 msbc32.1ib. Don't deal with it in different ways. Before making various categories, first direct the object to all the classes (Struct) in the database 13. For example: typedef struct Book One S // This is the structure corresponding to Β ο 〇k {omU 1 Β Β — Β title [64]; omUlB B_Author [64]; omU 1 Β B—Editor [64]; omU 1 Β B—Copyright [64]; System Α7 '^^ _ Β7 _________ 5. Description of the invention () 〇mU 1 Β B —Pubdate [64]; omUlB B_Publisher [64]; omUlB B_Seriesvolumns [64], om Object B _ T o C; omObject B_Abstract; omObject B _ P art; omObject B — Chapter;} Β ο ok _ S; The various classes declared structure 'which use a variety of properties that when the article is being operated (F i X), these structures may be utilized to achieve the object. The file search § Xen interface 12 includes various categories of processing. When the pull-down menu selects "Books", the user first enters keywords and presses the query button to enter the category "Books." In the processing procedure, execute the processing procedure of the category "Book,". Do some preprocessing of the database when querying, such as: omlnitializeO " the beginning of the database 〇mTransact () " the beginning of the transaction 〇mConnectOB () / / Link database Next, because the category to be queried is "Book", you must first find the "Book" by the following procedure. 4: Paper size rule, Tns (210X 297 ^ t) '--- (Please read the notes on the back before filling this page)
A7 -—^ _ B7 五、發明説明() omFindObject()/ /找尋物件。 (請先閱讀背面之注意事項再填寫本頁) 由於WOO-DB沒有提供字串比較的函式,所以本 發明將資料庫内的資料全部取出,然後再逐一比較,以查 詢所要找尋的物件。所以,先設定查詢的條件: omSearchTermA7 -— ^ _ B7 V. Description of the invention () omFindObject () // Find the object. (Please read the precautions on the back before filling this page.) Since WOO-DB does not provide a string comparison function, the present invention takes out all the data in the database, and then compares them one by one to query the object you are looking for. So, first set the query conditions: omSearchTerm
Term={“Btitle,,,OM — NE,{〇,NULL}};Term = {"Btitle ,,, OM — NE, {〇, NULL}};
Term.Value.Data = ςς+ -*/@,9 ; Term.Value.Length = (omU4B)(strlen(u + - */,,)); 基本上這個查詢的語詞只是方便讓資料可以全部取 出’所以隨便設定一個字串來做比較,接下來將此查詢的 語詞(QueryTerm),利用 omCreateDyStr()的函式 建立成動態陣列的形式,再利用〇 m S e 1 e c t 0 b j e c t ()去 將所有符合Q u e r y T e r m的案例(i n s t a n c e )以動態陣列 的方式傳回。再使用omGetDyStrSize()來取得動態 陣列的大小,將傳回的大小再除以 size〇f(omObject),便可以知道取得了幾筆符合 QueryTerm 的案例。 然後,使用 omFixObject ( ( (omObject*)Term.Value.Data = ςς +-* / @, 9; Term.Value.Length = (omU4B) (strlen (u +-* / ,,)); Basically, the words in this query are just for the convenience of data extraction 'So just set a string for comparison, then use the function of omCreateDyStr () to create a dynamic array of this query term (QueryTerm), and then use 0m S e 1 ect 0 bject () to All instances that meet Q uery Term are returned in a dynamic array. Then use omGetDyStrSize () to get the size of the dynamic array. Divide the returned size by size〇f (omObject), and you can know that there are several cases that meet the QueryTerm. Then, use omFixObject (((omObject *)
Bo〇k〇bj s) [i] , OM —WRITE —ACCES S , (omPtr*) & aBo〇kObject)取得符合條件的第i筆 -------------__π _ 4、·紙张尺度1¾川中_家標磚(rNS ) Λ4規格(2丨0X 297公釐) 475125 五、發明説明( (i - 1,2,3......)案例,以 a r n。n u · 从aBookObject的結構去承 接。再以 BookObiect、Ώ, . t ,Bo〇k〇bj s) [i], OM —WRITE —ACCES S, (omPtr *) & aBo〇kObject) Obtain the i-th pen that meets the conditions -------------__ π _ 4. Paper size 1 ¾ Central Sichuan _ house standard brick (rNS) Λ4 specification (2 丨 0X 297 mm) 475125 V. Description of the invention ((i-1,2,3 ...) .Nu · Continue from the structure of aBookObject. Then use BookObiect,.,. T,
Btltle送到字串比較的函式 (請先閲讀背面之注意事項再填寫本頁) 中’去跟使用者輸入的關鍵字相h壶_ 丨别硬子相比較處理,如果函式傳回 “ 1 ” ,表示相符合,囡屮拙> ρ 口 因此執仃 omFix 〇bjeet (((㈣〇bjeCt”aB〇〇k〇bject_>B_part )⑴, 〇M~WRI ····..) ’以往下一層的類別作處理,依此類推, 直到最後一層。 如圖4所示,物件導向資料冑41中儲存了一文件的 結構’此結構基本上是由“書,,42的類別向下延申,而為 一階層式的結構。因為最後一層是二元大型個體4 3,也 就是内容的所在,所以二元大型個體43必須先 omGetBlobSize()取得二元大型個體的大小,然後宣 告一塊緩衝器再使用〇mReaDBLReg(),以將二元大型 個體的資料讀到缓衝器中,並顯示出來。該二元大型個體 43的型怨是以字串為主。若二元大型個體43是圖片, 就必須宣告一個FIL£的指標,來儲存由 omReaDBLRegO所得到的位元組,然後再顯示出此 槽案’便可以顯示符合條件的圖片。至於其他類別之查 詢,也可以同樣的方式來執行,最後執行下列結尾的程 序: omT ransact() / /交易認可(Commit) omDisconnectOB() //切斷資料庫 omFinalize() / /結束 本紙張尺度述州中國國家標蜱((挪)六4規格(210\ 297公釐) 475125 A7 ---—___B7 五、發明説明() 本發明之查詢不必做全文檢索,使用者欲查詢前應 先選擇所要查詢的項目,如書名,篇名,章名,節名,圖 片,甚至内容。因此,可使查詢更加準確,快速,且方 便。 本發明之特色 本發明之物件導向資料庫運用物件導向技術,提供 較傳統資料庫更豐富的資料模型化能力,除了能處理使用 者自定的複雜資料型別外,亦能夠處理電子文件資料,如 影像、圖形、聲音等,同時亦能處理資料間複雜的關係。 而為了方便使用者能透過網際網路使用文件資料庫的内 容’本發明以主從架構的技術來建置該雛型系統。在用戶 端,使用者可透過HTML文件瀏覽器,讀取Sgml文 件存取介面的首頁,然後將查詢條件送至遠端伺服器處 里 而處理的結果再送至用戶端,由用戶端的 HTML/SGML 文件瀏覽器(如 Pan〇rama Pr〇)顯 不 ° 而SGML物件資料庫的特色,在於保存了文件的結 構,提供了文件的骨架結構,也就是所謂的上一層資訊, \ 增加使電子文件的價值及讓使用者在管理與存取這些電子 文件的能力,而電腦系統有了這層更具重要性的資訊後, 可以將不同的線上文件及文件報告做格式編排。也可依據 本紙狀錢;种_料辦公3 )------ ---:--;---籲衣|丨 (請先閱讀背面之注意事項再填寫本頁)Btltle sends a string comparison function (please read the precautions on the back before filling out this page) in the 'go to the keywords entered by the user. 丨 Don't compare it to a hard sub. If the function returns " 1 ”, which means that they are in conformity with each other, and 囡 屮 口 仃 omFix 〇bjeet (((㈣〇bjeCt” aB〇〇k〇bject_ &B; part) ⑴, 〇M ~ WRI ···· ..)) ' In the past, the category of the next layer was processed, and so on, until the last layer. As shown in Figure 4, the structure of a document is stored in the object-oriented data 胄 41. Extended, but a hierarchical structure. Because the last layer is a binary large entity 4 3, which is the content, the binary large entity 43 must first obtain the size of the binary large entity omGetBlobSize (), and then declare a block The buffer then uses 0mReaDBLReg () to read the data of the binary large individual into the buffer and display it. The type complaint of the binary large individual 43 is mainly a string. If the binary large individual 43 Is a picture, you must declare a FIL £ indicator, come Save the bytes obtained by omReaDBLRegO, and then display this slot case 'You can display the pictures that meet the conditions. For other types of queries, you can also perform the same way, and finally execute the following program: omT ransact ( ) // Transaction approval (Commit) omDisconnectOB () // Cut off the database omFinalize () // / End of this paper scale State China National Tick ((Nor)) 6 4 specifications (210 \ 297 mm) 475125 A7- ---___ B7 V. Explanation of the invention () The query of the present invention does not need to do a full-text search. The user should first select the item to be queried, such as the book title, title, chapter name, section name, picture, and even content. Therefore, The query can be more accurate, fast and convenient. Features of the invention The object-oriented database of the invention uses object-oriented technology to provide richer data modeling capabilities than traditional databases, in addition to being able to handle user-defined complex data In addition to the type, it can also handle electronic documents, such as images, graphics, sounds, etc., and it can also handle complex relationships between data. The user can use the content of the document database through the Internet. The present invention uses a master-slave architecture to build the prototype system. On the client side, the user can read the Sgml file access interface through the HTML file browser. The homepage of the search engine, and then send the query conditions to the remote server and process the results to the client. The client's HTML / SGML file browser (such as Pan〇rama Pr〇) is displayed. The SGML object database The characteristic is that the structure of the file is saved, and the skeleton structure of the file is provided, which is the so-called upper layer information. \ Increase the value of electronic files and the ability of users to manage and access these electronic files. Computer systems have With this layer of more important information, you can format different online documents and document reports. Can also be based on this paper money; kind of _ material office 3) ------ ---:-; --- appeal clothing | 丨 (Please read the precautions on the back before filling this page)
IX A7IX A7
^件上下文的特性,搜索資訊。也可將文件檔案視為一個 可以搜尋與分析的資料庫。 SGML允許為自己製作的各式文件設定多種的顯示 軼式,它會強迫文件中被描述性置標的部分,去適合的邏 輯及預期的文件結構,並且支持一個無限變化的文件結 構,因此使用者可以為每個類別的資訊(資訊公報、技術 手冊、商品目錄、報告和備忘錄)設計不同的文件結構, 而不須更改文章内容。由於本發明將結構化之文件建立在 物件導向資料庫上,因此可有效解決習知應用關聯式資料 庫的缺點,使系統與資料庫管理系統可以緊密的轉合。而 且相關物件的取得可直接取得,因而可提高效率。更可簡 化結構化文件結構中經常出現的樹狀及圖型等多種結構的 儲存及處理。更重要的是,物件導向,料庫因為支援使用 疋義的型態(User-Defined Type),所以對於這 二、、構都以一致的方式存取,也就是說,資料庫儲存形式 和開發之形式一致。 以上所述僅為本發明之較佳實施例而已,且已達廣 泛之實用功效,凡依本發明申請專利範圍所作之均等變化 與修飾,皆仍屬本發明專利涵蓋之範圍内。 v^ The context of the file, search information. Think of a document file as a database that you can search and analyze. SGML allows you to set a variety of display styles for various files you make. It will force the descriptive markup of the file to fit the logic and expected file structure. It also supports an infinitely variable file structure, so users You can design different file structures for each category of information (news bulletins, technical manuals, catalogs, reports, and memos) without changing the content of the article. Because the present invention builds structured documents on an object-oriented database, it can effectively solve the shortcomings of the conventional application-related database, so that the system and the database management system can be closely integrated. And the related objects can be obtained directly, which can improve efficiency. It also simplifies the storage and processing of various structures such as trees and diagrams that often appear in structured file structures. More importantly, because the object-oriented library supports the use of the user-defined type (User-Defined Type), the two, and the structure are accessed in a consistent manner, that is, the database storage form and development The form is consistent. The above are only the preferred embodiments of the present invention, and have achieved a wide range of practical effects. Any equivalent changes and modifications made in accordance with the scope of the patent application of the present invention are still covered by the patent of the present invention. v
--- —-----— ______2U 本紙张尺度通川中國國家榡绛(rNS ) A*規格(21〇>< 297公釐) (請先閲讀背面之注意事項再填寫本頁;} 丁 、-5'口 ¾¾部中吹標準局兵.Τ消贽合竹社印$--- —-----— ______2U This paper is sized in China (榡 绛 NS) A * size (21〇 > < 297mm) (Please read the precautions on the back before filling this page; } Ministry of Ding, -5 'mouth ¾ ¾ in the standard blowing soldiers. T 消 Τ 合 竹 社 印 $
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW88102317A TW475125B (en) | 1999-02-12 | 1999-02-12 | Data management system and method of structured electronic document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW88102317A TW475125B (en) | 1999-02-12 | 1999-02-12 | Data management system and method of structured electronic document |
Publications (1)
Publication Number | Publication Date |
---|---|
TW475125B true TW475125B (en) | 2002-02-01 |
Family
ID=21639722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW88102317A TW475125B (en) | 1999-02-12 | 1999-02-12 | Data management system and method of structured electronic document |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW475125B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467832A (en) * | 2010-11-04 | 2012-05-23 | 信诺科技有限公司 | Object-oriented composite function electronic book |
TWI393051B (en) * | 2004-12-20 | 2013-04-11 | Microsoft Corp | Management and use of data in a computer-generated document |
US8661332B2 (en) | 2004-04-30 | 2014-02-25 | Microsoft Corporation | Method and apparatus for document processing |
-
1999
- 1999-02-12 TW TW88102317A patent/TW475125B/en not_active IP Right Cessation
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8661332B2 (en) | 2004-04-30 | 2014-02-25 | Microsoft Corporation | Method and apparatus for document processing |
TWI393051B (en) * | 2004-12-20 | 2013-04-11 | Microsoft Corp | Management and use of data in a computer-generated document |
CN102467832A (en) * | 2010-11-04 | 2012-05-23 | 信诺科技有限公司 | Object-oriented composite function electronic book |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW576992B (en) | Extensible stylesheet designs using meta-tag information | |
US8010544B2 (en) | Inverted indices in information extraction to improve records extracted per annotation | |
Melton et al. | SQL multimedia and application packages (SQL/MM) | |
TW548557B (en) | A method and system for electronic document to have fast-search category and mutual link | |
Duval et al. | Metadata principles and practicalities | |
Arms et al. | An architecture for information in digital libraries | |
US7765236B2 (en) | Extracting data content items using template matching | |
EP1225516A1 (en) | Storing data of an XML-document in a relational database | |
EP1251438A2 (en) | Information retrieval system | |
US6915303B2 (en) | Code generator system for digital libraries | |
JP2004515836A (en) | Method and apparatus for efficient management of XML documents | |
JP2005196469A (en) | Data display server, data display method, and program of the same | |
TWI290697B (en) | System and method for analyzing and mapping patent information | |
CN102622219B (en) | Method, device and system for rendering execution result of dynamic transfer service | |
TW486634B (en) | Data management system using multiple data computation module | |
JPH11328218A (en) | Contents attribute information normalization method, information collecting/service providing system, attribute information setting device and program storage recording medium | |
JP2005293134A (en) | Hierarchical database management system, hierarchical database management method and hierarchical database management program | |
TW475125B (en) | Data management system and method of structured electronic document | |
CN105159904A (en) | Digital resource associated management method and system | |
Dickson et al. | The semi-structured data model and implementation issues for semi-structured data | |
CN100489840C (en) | Storage means and device for marking language document, and output method and device | |
Yu et al. | Metadata management system: design and implementation | |
TW426826B (en) | The resource relocation technique in handheld devices | |
JPH10187680A (en) | Document repository device managed by word, sentence and grain degree of part | |
Wu et al. | An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent | ||
MM4A | Annulment or lapse of patent due to non-payment of fees |