CN1324511C - Dynamic file indexing equipment and method based on data bank and expandable marked language - Google Patents

Dynamic file indexing equipment and method based on data bank and expandable marked language Download PDF

Info

Publication number
CN1324511C
CN1324511C CNB031382037A CN03138203A CN1324511C CN 1324511 C CN1324511 C CN 1324511C CN B031382037 A CNB031382037 A CN B031382037A CN 03138203 A CN03138203 A CN 03138203A CN 1324511 C CN1324511 C CN 1324511C
Authority
CN
China
Prior art keywords
file
xml
equipment
resource
control center
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CNB031382037A
Other languages
Chinese (zh)
Other versions
CN1549167A (en
Inventor
王震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB031382037A priority Critical patent/CN1324511C/en
Publication of CN1549167A publication Critical patent/CN1549167A/en
Application granted granted Critical
Publication of CN1324511C publication Critical patent/CN1324511C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The present invention relates to the technical field of computer networks, particularly to dynamic file indexing equipment and a method based on a data bank and an extensible markup language (XML). The equipment comprises a file control center, file supply equipment, file viewing equipment and a central data bank. The method comprises a file supply step and a file resource viewing step. The present invention aims to use the large extensibility of an extensible markup language (XML) for establishing a frame for unifying all resource sharing modes. All resources are described by a file method for establishing a file index for storing various resources. Consequently, the present invention thoroughly solves various bottlenecks in resource sharing.

Description

Living document indexing apparatus and method based on database and extend markup language
Technical field
The present invention relates to technical field of the computer network, particularly based on the living document indexing apparatus and the method for database and extend markup language (XML)
Background technology
File is to be applied to network interconnection technology and Resource Sharing Technology the earliest as the most crucial ingredient in the computer resource, also is the basis of most network applications.For the file-sharing technology, one of basis is exactly unique position of determining certain file, be the file index technology, the index technology that current file-sharing is adopted is the indexing means of the network address (or machine name) the add file name of employing, and the major defect of this method is:
1, extendability is poor: can't satisfy the further various day by day network equipment, for example: digital household appliances, hand-held device etc.
2, user interface is poor: the title of index is professional strong excessively, is not suitable for that the non-computer professional clear browses easily, inquiry file.
3, content is abundant: the content that index comprises very little, only simple information such as include file path can't satisfy the user further understands the file more information from index demand.
Database technology is the important means that makes things convenient for data storage, it can organically preserve the data of preserving various forms get up according to certain logical relation, can deal with responsible relational structure and diversified data content, utilize database technology can set up abundant in content file index, the content information of file and the positional information of file are associated, generate " activity " file index.
Extendible SGML (XML) is the expansion of HTML(Hypertext Markup Language), and HTML is a cover fixation mark language, is used for describing the element of some; XML can define the mark that user oneself needs, and has very large dirigibility, and the characteristic of XML makes it also can be used for data storage, but can only be applied to the environment that data volume is general, the user is less, performance requirement is not high.On the other hand, the characteristic of XML is very suitable for the transmission of data, the relevant data that the user is retrieved from database is described with XML, transmit by network then, because the application of XML is increasingly extensive, also increasingly mature with the combination of browser, this just makes us can easily file index be applied to each network soft or hard platform.
Summary of the invention
At different data platforms, the network equipment and personal terminal are growing, continuous various today, file-sharing between the various device is because the reason of aspects such as software and hardware, cause the data " isolated island " of isolating one by one, in order to remedy the numeral " wide gap " between each isolated island, cross-platform in order to solve, striding equipment, the file-sharing of cross-terminal, utilize database technology and XML technology, set up a cover living document index, in certain network, there is a document control center, based on all file resources of data base administration, the positional information of having preserved all files in the database, identification information and content information.Other peripheral equipment is published to self file resource in the middle of the database, and the fileinfo of retrieval utilizes the method for XML language description to pass to each terminal device.Compare with the method for traditional file-sharing, use the file-sharing solution of this file index to possess the following advantage that has:
1, extensibility is strong: peripheral equipment need not to be concerned about the database structure at document control center, only need release according to the information that file is correlated with in the design of oneself to get final product, and makes the kind of equipment to be greatly expanded.
2, search interface is good: in the time of the user inquiring file, can inquire about according to the information that content etc. is more prone to remember, be very helpful for the non-computer professional.
3, abundant in content: the user can release the form of numerous resources with file, not only comprises audio frequency, video, can also comprise some equipment, for example: printer, camera, or even some functional circuit are so the file that we mention in the back all is the file of this broad sense.
The object of the present invention is to provide a kind of living document indexing apparatus and method based on database and extend markup language
Description of drawings
Fig. 1 is the shared scheme of file index of the present invention;
Fig. 2 is the document control centre junction composition among Fig. 1;
Fig. 3 is that the file among Fig. 1 provides equipment structure chart;
Fig. 4 is that the file among Fig. 1 is checked equipment structure chart;
Fig. 5 is that file of the present invention provides process flow diagram;
Fig. 6 is that file resource of the present invention is checked process flow diagram.
Among Fig. 1, the file-sharing scheme of using this file index method to set up, should comprise three kinds of equipment, in a shared scope (can be a physics network segment or a logical segment), (also being unique one a) central server need be set, be referred to as document control center 1, also comprising a plurality of files in addition provides equipment 2 and file to check equipment 3, certainly under general situation, it also is that file is checked equipment simultaneously that a file provides equipment.File provides equipment to be described the describing method of some resource of self according to the XML language, offers the document control center and gets final product, as for providing those contents to provide equipment oneself decision by file fully.The document control center is responsible for controlling current all resources that provide equipment to provide by file is provided, mainly is file resource 5, can also be included as some certainly by the virtual file of equipment, for example printer.The resource that provides equipment to provide for file mainly is provided this function resolves, and to the operation of central database 4 with for the file viewer provides resource description information, these information are described with the XML language equally.File is checked equipment, as the term suggests be exactly the various file resources of storing in the viewing files control center, because it does not also know the concrete data store organisation of various resources, so the resource of the XML language description that it also will provide the document control center is resolved, and determines the type of resource and the method for demonstration.
What be worth here emphasizing is that characteristics are that the resource information releasing can be any content, for common file, can be routine informations such as file name, file size, file path, for some media files, for example picture, Voice ﹠ Video can also be thumbnails, the special edition under this music, information such as creator, even can record one section audition part.Can carry out the file of certain operation for other, executable file (Exe) for example, even its operation method can be released, the viewer checks on other machine in this information like this, just can long-range execution this document.For media file, its broadcast is released as a kind of information, can realize functions such as remote playing equally.Because the describing method of XML language is arbitrarily expansion, this has brought great dirigibility just for this file index.
One, the scene scheme is described
● file index is set up
After file provided equipment and document control center to set up network to be connected, file provided equipment just can pass to the document control center to some resource of self with the mode of XML language description.This process can be automatically, also can be user intervention.
1, file provides setting or being provided with of system of equipment according to the user to determine that those resources are used for sharing.
2, provide resources shared decision their describing method for decision, the various description masterplates that describing method can use the document control center to provide, those contents that also can user oneself appointment shared resource.For example: the user determines to share certain file, can issue this file according to specific masterplate, also can specify the certain content of shared file, as filename, and file size, summary info of file or the like is issued this file.
3, no matter be to use masterplate to describe, still be described, all need with the XML language to write down all data names that provide and data type and data content for this resource is described by the customization content.
4, file provides equipment that the XML description of resource is passed to the document control center.
5, the XML of document control center resolving resource describes, and generates a data structure tree about this resource.
If 6 current existence are described consistent tables of data with this data structure, just this resource can be saved in this table, deposit this resource otherwise just rebulid a tables of data.
The file index of Jian Liing like this exists resource in the database according to the preservation of classifying of the type of file, and this changes, and file-sharing is in the past preserved according to storage positions of files and the convention of inquiry, convenient non-computer professional's use.
● browsing file and retrieval
After file checks that equipment and document control center are set up network and be connected, the file that the document control center just can be stored up databases is according to different classification of type, each description information of files is passed to file check equipment, certainly specific embodiment can add the rights management of checking, with the security that guarantees to share, the part that authority information also can be used as resource is described with the XML language.
1, the document control center receives that file checks the browse request of equipment, the XML language description method of various file types is passed to file check equipment.
2, file is checked the XML language description of device parses file type, for the file that makes preparations for sowing generates special data structure, preserves the related data information of the type file.Certainly for some equipment, only handle special resource, thus only interested in a certain or several describing methods, can comprehend other useless resource description methods.
3, file checks that equipment generates retrieving information according to user's demand, and retrieving information is described with the XML language too.
4, retrieving information checks that by file equipment passes to the document control center.
5, resolve the retrieving information of the XML mode received at the document control center, generates corresponding database retrieval command Query Database
6, the description of the fileinfo regeneration XML language that checks out is passed to file and check equipment, each file is all done one and is described separately.
7, after file checks that equipment is received description information of files, resolve, the different information of this document resource are according to corresponding data technique of expression dedicate the user to.
Two, functional circuit is divided
● the document control center
Among Fig. 2, the document control center is the core of file index and file-sharing scheme, and its in store whole shared scope is with interior all resource informations, and can check that the retrieval of equipment requires to produce various feedback informations according to file.Mainly comprise three functional circuits:
1, function control circuit 8 mainly is responsible for setting up network and is connected, transmitting network data, also have other as user rs authentication, control function such as rights management.
2, XML parser circuitry 6 is responsible for the XML descriptor that file provides equipment and file to check that equipment passes over is resolved, and provides to get related data structure and operation requirement, and submits to data storage circuitry.Simultaneously the database manipulation Structure Conversion that data storage circuitry passes over can be become XML language description mode.
3, the operation requirement and the data message that parse in describing according to XML of data storage circuitry 7, adds, revises inquiry in database, deletion record, and the data set of inquiry returned to the XML parser circuitry.
● file provides equipment
Among Fig. 3, it is the supplier of resource that file provides equipment, it will obtain the information of resource from this locality, convert thereof into the mode of XML language description, pass to the document control center, simultaneously in order to guarantee the continuity of resource issue, it also will keep a data storage backup in this locality, write down it those resources are provided, can after the disconnection connection connects again, not lose original shared resource information like this.Mainly form by following three circuit:
1, data storage circuitry 10 is responsible for file the backup of the shared various fileinfos of equipment in this locality is provided, and finishes various information interpolations, deletion, modification, inquiry.Can also obtain the various fileinfos that the user adds or obtains automatically from the information acquisition cuicuit, finish corresponding local data operation.
2, function control circuit 11 is responsible for setting up network with the document control center and is connected transmitting network data.For some special resource, printer for example, it is first-class to make a video recording, can provide alternative document to check this resource of equipment calls, need some control function equally, response file is checked the call request of equipment, as the transmission in the document transmission process, reception in the file printout process or the like.
3, information acquisition cuicuit 9 is responsible for obtaining automatically from this locality some information of file resource, as: file name, path, file size etc. can also be imported some additional information by the user, player of a piece of music file or the like for example, except these data resources, in addition can be the execution of some file, some cross-platform control is used, some equipment: as printer, also, can allow the file viewer use, so just expand the scope of resource greatly as resource information.
● file is checked equipment
Among Fig. 4, file checks that equipment is the user of resource, the XML that it will obtain file from the document control center describes, it is changed manageable data layout, also to send various to the document control center simultaneously according to the requirement of oneself with regard to the file polling request, and convert these requests to the XML language, send to the document control center.Mainly form by following three circuit:
1, function control circuit 14 is responsible for setting up network with the document control center and is connected, sends network data and local various control function when calling remote resource, receives file transmission in the file printout or the like as the file in the file transfer.
2, XML parser circuitry 13 is responsible for and will be resolved the file resource information that the XML that receives from the document control center describes, convert manageable data layout to, also to the various query requests of local user's proposition be converted to XML and describe simultaneously, pass to the document control center.
3, the information-processing circuit 12 manageable data structures being responsible for the XML parser circuitry is parsed are shown to the user with suitable method, can also receive user's various operations and recalls information, and pass to the XML parser circuitry and convert the XML description to.
Three, scheme flow process demonstration
Living document indexing means based on database and extend markup language comprises step; File provides step:
Step 1. (S1) file provides equipment to obtain file resource information;
Step 2. (S2) converts the resource information of XML language description to;
Step 3. (S3) file provides equipment that the XML description of resource is passed to the document control center;
Step 4. (S4) is described XML and is converted respective data structures to;
Step 5. (S5) operating database;
File resource is checked step:
Step 6. (S6) file checks that equipment obtains user's request;
Step 7. (S7) converts Query Information to the XML language description;
Step 8. (S8) retrieving information checks that by file equipment passes to the document control center;
Step 9. (S9) is described XML and is converted database manipulation to;
Step 10. (S10) operating database;
Step 11. (S11) converts Query Result to XML and describes;
Step 12. (S12) passes to file with the result and checks equipment;
Step 13. (S13) is described XML and is resolved to data structure;
Step 14. (S14) checks that at file equipment end shows.
Good effect
At present, when people carry out various resource-sharings and get by network, consider platform whenever and wherever possible Difference, the type of resource, this constraint has limited unimpeded that various resources exchange, people greatly Thought a lot of methods, such as file-sharing, on-line apparatus is shared, network service (WebService) for this reason Etc., the object of the invention just is to utilize greatly extensibility of extend markup language (XML), Set up the framework that all Modes of Sharing Resources can be united, all resources are used The method of file is described, and sets up the file index that can deposit various resources, thereby Thoroughly solve the central various bottlenecks of resource-sharing.

Claims (4)

1, the living document indexing apparatus based on database and extend markup language comprises:
The document control center is used to control and safeguards that the current institute that provides equipment to provide by file is active;
File provides equipment, is used to provide file resource, converts thereof into extendible SGML (XML) describing mode, passes to the document control center;
File is checked equipment, be used for the various file resources of viewing files control center storage, it is changed manageable data layout, send the file polling request to the document control center as requested simultaneously, and convert request to the XML language, send to the document control center;
Central database is used for preserving file resource according to the type of file;
Described document control center comprises:
(1) function control circuit (8) is used to set up network and connects transmitting network data;
(2) XML parser circuitry (6), be used for the XML descriptor that file provides equipment and file to check that equipment passes over is resolved, provide and get related data structure and operation requirement, and submit to data storage circuitry, can become the database manipulation Structure Conversion that data storage circuitry passes over XML language description mode simultaneously;
(3) the operation requirement and the data message that parse in describing according to XML of data storage circuitry (7), adds, revises inquiry in database, deletion record, and the data set of inquiry returned to the XML parser circuitry.
2, according to the equipment of claim 1, it is characterized in that: file provides equipment to comprise:
(1) data storage circuitry (10), be used for file the backup of the shared various fileinfos of equipment in this locality is provided, and finish various information and add, delete, revise, inquire about, can also obtain the various fileinfos that the user adds or obtains automatically from the information acquisition cuicuit, finish corresponding local data operation;
(2) function control circuit (11) is used for setting up network with the document control center and is connected, and transmitting network data can provide alternative document to check this resource of equipment calls;
(3) information acquisition cuicuit (9), be used for obtaining automatically some information of file resource from this locality, can import some additional information by the user, in addition can be the execution of some file, some cross-platform control is used, can allow the file viewer use, so just expand the scope of resource greatly.
According to the equipment of claim 1, it is characterized in that 3, file checks that equipment comprises:
(1) function control circuit (14) is used for setting up network with the document control center and is connected, the various control function when remote resource is called in transmission network data and this locality;
(2) XML parser circuitry (13), be used for and will resolve the file resource information that the XML that receives from the document control center describes, convert manageable data layout to, simultaneously also will be the various query requests of local user's proposition, convert XML to and describe, pass to the document control center;
(3) information-processing circuit (12) is used for the manageable data structure that the XML parser circuitry parses is shown to the user with suitable method, can also receive user's various operations and recalls information, and passes to the XML parser circuitry and convert XML to and describe.
4, based on the living document indexing means of database and extend markup language, comprise the steps:
File provides step:
Step 1. (S1) file provides equipment to obtain file resource information;
Step 2. (S2) converts the resource information of XML language description to;
Step 3. (S3) passes to the document control center;
Step 4. (S4) is described XML and is converted respective data structures to;
Step 5. (S5) operating database;
File resource is checked step:
Step 6. (S6) file checks that equipment obtains user's request;
Step 7. (S7) converts Query Information to the XML language description;
Step 8. (S8) passes to the document control center;
Step 9. (S9) is described XML and is converted database manipulation to;
Step 10. (S10) operating database;
Step 11. (S11) converts Query Result to XML and describes;
Step 12. (S12) passes to file with the result and checks equipment;
Step 13. (S13) is described XML and is resolved to data structure;
Step 14. (S14) checks that at file equipment end shows.
CNB031382037A 2003-05-23 2003-05-23 Dynamic file indexing equipment and method based on data bank and expandable marked language Expired - Lifetime CN1324511C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031382037A CN1324511C (en) 2003-05-23 2003-05-23 Dynamic file indexing equipment and method based on data bank and expandable marked language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031382037A CN1324511C (en) 2003-05-23 2003-05-23 Dynamic file indexing equipment and method based on data bank and expandable marked language

Publications (2)

Publication Number Publication Date
CN1549167A CN1549167A (en) 2004-11-24
CN1324511C true CN1324511C (en) 2007-07-04

Family

ID=34323671

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031382037A Expired - Lifetime CN1324511C (en) 2003-05-23 2003-05-23 Dynamic file indexing equipment and method based on data bank and expandable marked language

Country Status (1)

Country Link
CN (1) CN1324511C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627592B2 (en) * 2004-12-16 2009-12-01 Microsoft Corporation Systems and methods for converting a formatted document to a web page
CN101799890B (en) * 2009-02-06 2012-07-18 北京数政科技有限公司 Certificate data processing method and system
CN101895536A (en) * 2010-06-30 2010-11-24 北京新媒传信科技有限公司 Multimedia information sharing method
US10915575B2 (en) * 2012-09-28 2021-02-09 Oracle International Corporation Evaluating XML full text search

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330326A (en) * 2000-06-21 2002-01-09 国际商业机器公司 Device and method for providing quick information service for multiple equipments
US20020147612A1 (en) * 2001-04-04 2002-10-10 Kazuhiko Hagiwara Product development system using common format data
CN1399207A (en) * 2001-07-19 2003-02-26 精工爱普生株式会社 Network equipment managing method, network equipment managing system and processing program
CN1409233A (en) * 2001-09-24 2003-04-09 西门子能量及自动化公司 Method and device for programing programmable controller and producing configuration data from central server
US20030088607A1 (en) * 2001-07-16 2003-05-08 Herve Ruellan Method and device for scheduling, generating and processing a document comprising blocks of information
CN1417717A (en) * 2001-11-08 2003-05-14 英业达股份有限公司 Management system for receiving and analyzing XML format order forms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330326A (en) * 2000-06-21 2002-01-09 国际商业机器公司 Device and method for providing quick information service for multiple equipments
US20020147612A1 (en) * 2001-04-04 2002-10-10 Kazuhiko Hagiwara Product development system using common format data
US20030088607A1 (en) * 2001-07-16 2003-05-08 Herve Ruellan Method and device for scheduling, generating and processing a document comprising blocks of information
CN1399207A (en) * 2001-07-19 2003-02-26 精工爱普生株式会社 Network equipment managing method, network equipment managing system and processing program
CN1409233A (en) * 2001-09-24 2003-04-09 西门子能量及自动化公司 Method and device for programing programmable controller and producing configuration data from central server
CN1417717A (en) * 2001-11-08 2003-05-14 英业达股份有限公司 Management system for receiving and analyzing XML format order forms

Also Published As

Publication number Publication date
CN1549167A (en) 2004-11-24

Similar Documents

Publication Publication Date Title
US7475058B2 (en) Method and system for providing a distributed querying and filtering system
US7181444B2 (en) System and process for searching a network
US6574655B1 (en) Associative management of multimedia assets and associated resources using multi-domain agent-based communication between heterogeneous peers
Cornillon et al. OPeNDAP: Accessing data in a distributed, heterogeneous environment
US7487168B2 (en) System and method for loading hierarchical data into relational database systems
US20030115219A1 (en) Method, system, and program for storing data in a data store
US20020143775A1 (en) Multi-media management systems
US20060041871A1 (en) Resource description framework transcoder repository and methods for exposing data assets
US20060089925A1 (en) Distributed directory replication
US20100036907A1 (en) Digital living network alliance (DLNA) server that serves contents from IVL services
CN101409657A (en) Household network system and method for searching information
Cuzzocrea et al. Hand-olap: a system for delivering olap services on handheld devices
CN100342363C (en) Transforming multimedia data for delivery to multiple heterogeneous devices
CN1858732B (en) File searching system and method for digital household network
JP2005513661A (en) Method and system for recognizing device format selection for devices in an IHDN network
CN1324511C (en) Dynamic file indexing equipment and method based on data bank and expandable marked language
CN1859169A (en) File managing system and method in digital household network
de Carvalho Moura et al. A survey on metadata for describing and retrieving Internet resources
TW200928799A (en) Collaborative tagging systems and methods for resources
Martínez et al. Towards universal access to content using MPEG-7
Rong et al. Dynamic resource adaptation in a heterogeneous peer-to-peer environment
Döller et al. Demonstration of an MPEG-7 multimedia data cartridge
KR20030065684A (en) Management System And Service Method For Moving Picture Content Over Index
Ghafoor et al. A distributed multimedia database system
CN210578643U (en) Media fusion technology platform system based on Internet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20070704

CX01 Expiry of patent term