CN105808853A - Engineering application oriented body establishment management and body data automatic obtaining method - Google Patents

Engineering application oriented body establishment management and body data automatic obtaining method Download PDF

Info

Publication number
CN105808853A
CN105808853A CN201610133259.2A CN201610133259A CN105808853A CN 105808853 A CN105808853 A CN 105808853A CN 201610133259 A CN201610133259 A CN 201610133259A CN 105808853 A CN105808853 A CN 105808853A
Authority
CN
China
Prior art keywords
file
data
ontology
module
layer
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.)
Granted
Application number
CN201610133259.2A
Other languages
Chinese (zh)
Other versions
CN105808853B (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.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
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 Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201610133259.2A priority Critical patent/CN105808853B/en
Publication of CN105808853A publication Critical patent/CN105808853A/en
Application granted granted Critical
Publication of CN105808853B publication Critical patent/CN105808853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses an engineering application oriented body establishment management and body data automatic obtaining method. The method comprises a reasoning module, a body establishment module, a database conversion module, a database storage module and a body knowledge invoking service module. The body establishment module stores and manages bodies by using distributed body storage files, wherein the distributed body storage files comprise logic layer body files, data layer body files and management layer body files. After the reasoning module obtains a search request sent by the body knowledge invoking service module, the management layer files of the body establishment module screen data body files in a body library by management logic and provides the screened data body files for the logic layer body files. The logic layer files search demanded information from the screened body files according to reasoning logic and provide the demanded information for the reasoning module. According to the method, the data management efficiency can be improved, and an effective method is provided to engineering application of a semantic web technique.

Description

Ontological construction management and the ontology data automatic obtaining method of a kind of Engineering Oriented application
Technical field
The invention belongs to semantic net engineer applied and intelligence ancillary works design field, particularly relate to ontological construction management and the ontology data automatic obtaining method of the application of a kind of Engineering Oriented.
Background technology
The development of current semantic net and body constructing method and technology, is concentrated mainly on body constructing method research, knowledge representation grammar research, ontology knowledge learning method and the field such as technical research, relational database technology research.The storage of ontology knowledge and data is realized mainly through relational database.And the development of computer-aided design is still in the fields such as structure and exploitation, computational methods exploitation and the optimization of area of computer aided platform or software.
Existing body constructing method and relational database technology can not meet the requirement of semantic network engineer applied, and existing method has in building process that ontology file is big, Maintenance Difficulty, expert's dependency strong, data base expands the problems such as fast;Although, mass data is mapped to by relational database the efficiency of management that can improve data in the example of ontology file, but instantly not yet has the method that high-efficient automatic maps.
That the mapping techniques field between ontology knowledge and data is comparatively ripe is OBDA.OBDA uses up-to-date Ontology Language OWL2QL, it is provided that comparatively complete ontology data Mapping and Converting language and method.Main mapping method has simple corresponding (D2RQ) of three class body classes and attribute and database table column;Previous class basis describes the semantic relation (OntoGrate) of database schema element and body entity time;Based on view complex mappings it is important that towards from heterogeneous database obtain data.But owing to adopting conventional bulk construction method, it is accomplished by solving a large-scale ontology file and multiple isomeric data bi-directional conversion mapping problems to carry out engineer applied;But many in data base's kind, when structural difference is big, the mapping automaticity of OBDA is unsatisfactory.
Summary of the invention
It is an object of the invention to provide a kind of data management efficiency high, ontological construction management and the ontology data automatic obtaining method of Engineering Oriented application.
Ontological construction management and the ontology data automatic obtaining method of a kind of Engineering Oriented application, calls service module including reasoning module, ontological construction module, data base's modular converter, database storage module and ontology knowledge;
Ontological construction module adopts distributing body storage file that body enters storage and management, and distributing body storage file includes logical layer ontology file, data Layer ontology file and management level ontology file;Reasoning module is obtaining after ontology knowledge calls the inquiry request that service module sends, and the body of data file in ontology library is screened and be supplied to logical layer ontology file by managing logic by the management level file of ontological construction module;Logical layer file logic by inference finds information needed and is supplied to reasoning module in the ontology file that screening obtains;
Data conversion module, including ontology file to database file transform subblock and database file automated ontology mapping transform subblock;
Database storage module, including tlv triple data base and engineer applied process database, tlv triple data base completes the mapping of data Layer ontology file by ontology file to database file transform subblock;Engineer applied process database is automatically performed Mapping and Converting work by tlv triple data base, its data store organisation be by corresponding data Layer ontology file towards engineering software inputoutput data structures shape;This module is ontological construction module and ontology knowledge is called service module and set up data flow path;
Ontology knowledge calls service module, and this module, with the webserver for core, provides the user foreground service, and sets up interface for engineer applied process database and engineer applied software;Engineer applied software obtains the initial input needed for master pattern runs by calling engineering data base, calls and after operation standard model, will export the ect data files write engineer applied process database of data;This module obtains input data from user, and by result of calculation input database memory module.
The ontological construction management of a kind of Engineering Oriented application of the present invention and ontology data automatic obtaining method, it is also possible to including:
1, the management method of distributing body storage file is:
A1 top-level logic ontology file needs each domain expert of concurrent engineering jointly to build;Logical layer ontology file towards every engineer applied task is built by each domain expert, closes and tie up to setting in last layer logic body between the logic body of bottom;
A2 data Layer ontology file template is built by domain expert, and data structure is set up by automatic mapping form with type of service according to the generation of the process data of corresponding engineer applied task;
A3 expert's creative management layer ontology file template, and the classification relation of each data Layer body and the logical relation between each template and corresponding logical layer ontology file are set in a template;
A4 user produces the ontology file with project data after carrying out intelligence ancillary works application, and newly-generated body of data file is saved in ontology file storehouse, management level ontology file be managed;Logical relation between newly-generated ontology file inherits the relation between corresponding body of data template, and the data knowledge in file is by the grammer system automatically including enquiry module in;
The data produced in a5 engineer applied process are saved in engineering data base;File in engineering data base is by expert maintenance and management, and general user is without operation.
2, the construction method of ontological construction module is:
B1 analyzes the architecture of the every application work of X field industrial engineering Life cycle, builds Life cycle system model LCM and data inheritance relational model SDM between every application work respectively;List theoretical method and the implementation tool be fabricated to method base MB and tool kit TB of every application work;List the resource collection R of system;
B2, in top-level logic ontology file, builds five top layer class formations according to LCM, SDM, R, MB and TB respectively respectively;Respectively these five top layer classes add subclass;Timeline according to engineer applied is the entity attribute arranging ordering relation in LCM between each subclass, and for the subclass in SDM and in LCM the subclass on corresponding timeline confession entity attribute is set;It is that SDM arranges between each subclass the entity attribute of data stream according to data inheritance relation;It is that the subclass corresponding with SDM of the subclass in MB and TB arranges subordinate entity attribute according to application;
B3, according to the engineering properties of types of applications task in SDM, sets up data Layer ontology file template one by one;Class in the template file built only describes the variable and invariant that there are data in engineer applied process;Top layer class formation is set up PrimaryKey class, for the labelling of data;Each class is arranged data attribute, cancels the membership relation that each class comprises, set a property one by one, and each data attribute domain must contain PK;
B4 sets up the class of management level ontology file, and is all kinds of arrange subclass according to the feature of the scale of concurrent engineering;According to the body of data file produced in engineer applied process, management level ontology file is inserted example, each body of data file is carried out labelling and link.
3, the specific operation process of data base's modular converter is:
C1 uses JenaSDB memory technology, builds the storage of RDF resource and obtains access rights;
C2 obtains the information such as the table name of table, major key, external key in editor's ontology file, completes their body-Database Mapping;Described ontology database mapping method includes three steps: (1) uses JenaARQ ontology query technique, about the information of table name and PK in defined ontology file mapping relations template file, and generates table name and PK relationship map file;(2) use JenaARQ ontology query technique, obtain other column information about the non-PK major key corresponding to table name and table in ontology file mapping relations template file, and generate table name and field relationship map file;(3) use JenaARQ ontology query technique, obtain in ontology file mapping relations template file about external key ForeignerKey (FK) information corresponding to table name and table, and generate table name and foreign key relationship mapped file;
C3 is by obtaining to obtain mapping relations replacement SQL and ODBC file template in step c2;
C4 uses JDBC to perform SQL file, completes the ontology file automatic conversion to database file;OntopAPI carry OBDA file under Prot é g é environment, it is achieved project data is to the automatic mapping in data Layer ontology file example.
Beneficial effect:
Method that the present invention proposes and utilize the system that the method builds, can change by the automatic of knowledge data in body constructing method supporting relation data base provided by the invention and engineering data base and map, a large amount of project data are stored by example automatically that complete in ontology file, improving the efficiency of data management, the engineer applied for semantic network technology provides a kind of effective method.
Due to the fact that have employed layer-stepping body constructing method builds respectively by logical layer and the data Layer of body;Do not make ontology file and data with existing storehouse that mapping relations directly occur, but by data Layer body masterplate (each masterplate is for a engineer applied software in an engineer applied field) automatically generated data storehouse table, avoid a large-scale ontology file towards multiple heterogeneous database biaxial stress structure problems, it is achieved that ontology data is to the efficient automatic input of example in ontology file, it is achieved that a large amount of engineer applied process data efficient systemizations store in order.Owing to adopting the two-way automatic input problem this method solving engineer applied domain body file and data file, semantic net platform is made to be designed to combine with intelligence ancillary works.
The present invention propose method and under method build system have the following advantages:
The system framework built on the method basis that the present invention proposes has the structure of good opening and maintainable logical layer body and can be added according to the difference relating to field, not broken fast overall structure, not only ontological construction efficiency is improved, and the maintenance of body contents is very convenient;After adding the entity describing frontier body, have only to configure corresponding data Layer ontology file, just can by the view plug-ins of encapsulation in data conversion module realize the automatization of ontology database build with, and set up Data relationship with engineer applied software, automaticity is higher;If changing engineer applied software, it is only necessary to call in ontology knowledge and reconfigure corresponding software interface in service module and provide the criterion calculation model of new software, not affecting calling of existing interface and existing software, opening is higher.
The system that the method builds can effectively support the knowledge reasoning query function logical layer ontology file of semantic net and ensure the description of all entity class relations and example relationship, supports the use of query language and instrument;Management level ontology file has ensured the orderly management of the data Layer ontology file of each storage project data, and its system is carried out structure, it is achieved that the pre-inquiry before reasoning inquiry, simplifies the complexity of query language, improves the efficiency of reasoning.
The method is semantic net by body and engineer applied establishes bridge, intellectuality and the automaticity that can be effectively improved industrial engineering pass through automatic mapping function, project data is stored in data Layer ontology file, and effectively managed by management level ontology file, solve efficient storage and the intelligent management problem of a large amount of project data.Each data have fixing URL to number in ontology file, it is to avoid in different user concurrent design process, data use the situation of conflict to occur.Query function can go out desired data and information for user's intelligent inference, improves the efficiency of work.
The system that the method builds can effectively support the project data of efficiently carrying out of concurrent engineering and not only preserve in data Layer ontology file, and the data base automatically generated in system operation has preserved, the engineering process data management that so same support is traditional;It addition, the network service module of exploitation effectively by integrated to knowledge-based intelligent query and preliminary auxiliary intelligent design function, can ensure that each field management personnel, research worker, designer carry out the work parallel and learn in system.
Accompanying drawing explanation
Ontological construction management and the ontology data automatic obtaining method system constructing frame diagram of Fig. 1 Engineering Oriented application;
The conversion of Fig. 2 data and automatic obtaining method flow chart;
The ontological construction management of Fig. 3 Engineering Oriented application and the Aided Design basic operation flow chart of ontology data automatic obtaining method;
The ontological construction management of Fig. 4 Engineering Oriented application inquires about basic operation flow chart with the reasoning of ontology data automatic obtaining method;
Fig. 5 system ontology file management method.
Detailed description of the invention
Below in conjunction with accompanying drawing, the present invention is described in further details.
The invention discloses that the ontological construction that a kind of Engineering Oriented is applied manages and the automatic acquiring technology of ontology data, ontology data is obtained by this technology automatically, ontology knowledge base construction method, ontology knowledge map and memory technology provides efficiently feasible method.The structure of this technology is as it is shown in figure 1, be mainly made up of ontological construction module, data memory module, network foreground service module, data conversion module and reasoning enquiry module etc.:
1) reasoning enquiry module, in the system that motion method is built by employing Ontology query language, ontology knowledge and data make inferences inquiry, on network english teaching platform, Query Information are fed back to user.
2) ontological construction module, this module adopts the distributing body storage file of this patent design that body enters storage and management.So-called distributing body storage file is made up of three parts, is logical layer ontology file, data Layer ontology file and management level ontology file respectively, and file creates on Prot é g é platform.1. logical layer file is responsible for the interactively attribute between knowledge all in system and data is described, and provides inference logic basis for reasoning enquiry module;2. the entity class in each self-corresponding logical layer ontology file is carried out properties of data structures description by data Layer file respectively, and the generation and data management processes for back-end data library file provides master pattern;3. management level file is responsible for the body of data file in ontology library is sorted out, marked, and body of data is integrated in system by correlation logic layer body;Ontology library is responsible for the body of data file (referring specifically to detailed description to body constructing method in detailed description of the invention) that storage generates.
3) data conversion module is made up of " ontology file to database file transform subblock " and " database file automated ontology mapping transform subblock ".The former passes through Jena, completes the data Layer ontology file Mapping and Converting to tlv triple database file on network server platform;The latter is on the data structure basis of corresponding data Layer ontology file, project data is realized to the automatic mapping on example in body of data file, as shown in Figure 2 (referring specifically to hereinafter detailed description to data conversion module functional realiey) by the process defined.
4) tlv triple data base and engineer applied process database are comprised in database storage module.Tlv triple data base completes the mapping of data Layer ontology file by " ontology file to database file modular converter ";Engineer applied process database is automatically performed Mapping and Converting work by tlv triple data base, its data store organisation be by corresponding data Layer ontology file towards engineering software inputoutput data structures shape;The process datas such as the various designs of generation, calculating, emulation in engineer applied process are stored by engineer applied process database, it is not necessary to domestic consumer participates in safeguarding, the data that user uses will be mapped in body of data file by complete.Two data bases play the transfer effect of data conversion, and the former just can delete at the data of storage after completing mapping process, and the data of the latter's storage can be carried out higher level operation by expert.
5) ontology knowledge calls service module with the webserver for core, provide the user foreground service, and set up Interface Engineering application software for engineer applied process database and engineer applied software and obtain, by calling engineering data base, the original input data that master pattern runs, call and after operation standard model, by the ect data files write engineer applied process database of output data.User by the webserver can carry out knowledge-based reasoning inquiry, can select required data Layer ontology file and set up oneself background data base, can access and administration authority allow background data base, can select and call engineer applied software.
The basic operation flow process of the present invention is as follows:
1. this invention provides intelligence Aided Design pattern and uses two kinds of function choosing-items of query function.If using intelligence Aided Design function, need to have checked whether corresponding data Layer ontology file template.If there is no template, then need to build corresponding data Layer ontology file according to engineer applied requirement;If there being template, then select this template.
2. by the data format conversion module in calling system to template file converted tlv triple database file, and generate data base according to the data structure in template with relation.
3. user is by network english teaching platform by the primary data typing engineer applied process database of engineer applied, and the file in data base is added, deletes and modification is until obtain desirable input result.
4. user selects required engineer applied software and inputs logging data, calls master pattern and is calculated or emulates.
5. the engineer applied data automatic input engineer applied process database obtained, and it is automatically mapped in step 1 in the example of the data Layer ontology file template of selection, this template is separately stored in ontology library.
6. if user selects query function, then first pass through file management body and the ontology file in ontology library is screened in advance, obtain all relevant ontology file, then use enquiry module to carry out knowledge query in the file that screening obtains.
Specifically as shown in Figure 3, Figure 4.
Ontology knowledge file of the present invention storage and management method:
1. top-level logic ontology file needs each domain expert of concurrent engineering jointly to build;Logical layer ontology file towards every engineer applied task is then built by each domain expert, closes and tie up to setting in last layer logic body between the logic body of bottom.As shown in Figure 5.
2. data Layer ontology file template is also built by domain expert, and data structure is set up with type of service according to the generation of the process data of corresponding engineer applied task.
3. need expert's creative management layer ontology file, and the classification relation of each data Layer body template file and the logical relation between each template and corresponding logical layer ontology file are set hereof.
4. user will produce the ontology file with project data after carrying out intelligence ancillary works application, and newly-generated body of data file will be saved in ontology file storehouse, management level ontology file be managed.Logical relation between newly-generated ontology file inherits the relation between corresponding body of data template, and the data knowledge in file is by the grammer system automatically including enquiry module in.
5. the data produced in engineer applied process are also saved in engineering data base.File in engineering data base is by expert maintenance and management, and domestic consumer is without operation.
The ontological construction management of a kind of Engineering Oriented application of disclosure and ontology data automatic obtaining method, specifically comprise the following steps that the system performance construction logic layer ontology file according to application project field, and build reasoning enquiry module;According to the engineer applied data flow characteristics of specific works in engineering system, build data Layer ontology file;Build management level ontology file according to body of data file format type and membership relation and be that three kinds of ontology file build ontology libraries;According to each data Layer ontology file architectural feature, build database table automatic mapping module based on Jena, and automatically set up tlv triple data base and engineer applied data base;The project data module to data Layer ontology file example automatic input is built based on OBDA;Build network service platform, set up associated interface for ontology library, tlv triple data base, engineer applied data base and engineer applied software, provide the user the service of the functions such as reasoning inquiry, data management and Aided Design.
One, the ontological construction of a kind of Engineering Oriented application manages and ontology data automatic obtaining method, and the method includes reasoning module, ontological construction module, data base's modular converter, database storage module and ontology knowledge and calls service module:
1.1 reasoning enquiry modules, in the system that motion method is built by employing Ontology query language, ontology knowledge and data make inferences inquiry, on network english teaching platform, Query Information are fed back to user.This module, obtaining after ontology knowledge calls the inquiry request that service module sends, obtains information by logical layer ontology file and feeds back to respective request.
1.2 ontological construction modules, this module adopts the distributing body storage file of this patent design that body enters storage and management.So-called distributing body storage file is made up of three parts, is logical layer ontology file, data Layer ontology file and management level ontology file respectively, and file creates on Prot é g é platform.Data Layer file is divided into the generation of engineer applied process data library file to provide master pattern;After obtaining inquiry request, the body of data file in ontology library is screened and is supplied to logical layer ontology file by managing logic by management level file;Logical layer file logic by inference finds information needed and is supplied to reasoning enquiry module in the ontology file that screening obtains.
1.3 data conversion modules, this module is made up of " ontology file to database file transform subblock " and " database file automated ontology mapping transform subblock ".The former passes through Jena, completes the data Layer ontology file Mapping and Converting to tlv triple database file on network service platform;The latter, on the data structure basis of corresponding data Layer ontology file, realizes project data to the automatic mapping on example in body of data file by the process defined.This module is ontological construction module and DBM sets up the automatic ALT-CH alternate channel of data.
1.4 database storage module, this module comprises tlv triple data base and engineer applied process database.Tlv triple data base completes the mapping of data Layer ontology file by " ontology file to database file modular converter ";Engineer applied process database is automatically performed Mapping and Converting work by tlv triple data base, its data store organisation be by corresponding data Layer ontology file towards engineering software inputoutput data structures shape;The process datas such as the various designs of generation, calculating, emulation in engineer applied process are stored by engineer applied process database.This module is ontological construction module and ontology knowledge is called service module and set up data flow path.
1.5 ontology knowledge call service module, and this module, with the webserver for core, provides the user foreground service, and sets up interface for engineer applied process database and engineer applied software.Engineer applied software obtains the initial input needed for master pattern runs by calling engineering data base, calls and after operation standard model, will export the ect data files write engineer applied process database of data.This module obtains input data from user, and by result of calculation input database memory module.
Two, the system file management method built is as follows:
2.1 top-level logic ontology file need each domain expert of concurrent engineering jointly to build;Logical layer ontology file towards every engineer applied task is then built by each domain expert, closes and tie up to setting in last layer logic body between the logic body of bottom.
2.2 data Layer ontology file templates are built by domain expert, and data structure is set up by automatic mapping form with type of service according to the generation of the process data of corresponding engineer applied task.
2.3 expert's creative management layer ontology file template, and the classification relation of each data Layer body and the logical relation between each template and corresponding logical layer ontology file are set in a template.
2.4 users will produce the ontology file with project data after carrying out intelligence ancillary works application, and newly-generated body of data file will be saved in ontology file storehouse, management level ontology file be managed.Logical relation between newly-generated ontology file inherits the relation between corresponding body of data template, and the data knowledge in file is by the grammer system automatically including enquiry module in.
The data produced in 2.5 engineer applied processes are also saved in engineering data base.File in engineering data base is by expert maintenance and management, and general user is without operation.
Three, the body constructing method of Engineering Oriented application is specific as follows:
3.1 architectures analyzing the every application work of certain field industrial engineering Life cycle, build Life cycle system model LCM (lifecyclemodel) and data inheritance relational model SDM (subjectdatamodel) between every application work respectively;List theoretical method and the implementation tool be fabricated to method base MB (methodsbase) and tool kit TB (toolsbase) of every application work;List the resource collection R (resources) of system.
3.2 in top-level logic ontology file, builds five top layer class formations respectively according to LCM, SDM, R, MB and TB respectively;Respectively these five top layer classes add subclass;Timeline according to engineer applied is the entity attribute arranging ordering relation in LCM between each subclass, and for the subclass in SDM and in LCM the subclass on corresponding timeline confession entity attribute is set;It is that SDM arranges between each subclass the entity attribute of data stream according to data inheritance relation;It is that the subclass corresponding with SDM of the subclass in MB and TB arranges subordinate entity attribute according to application.
3.3 according to the engineering properties of types of applications task in SDM, sets up data Layer ontology file template one by one.Class in the template file built only describes the variable and invariant that there are data in engineer applied process;Top layer class formation is set up PrimaryKey (PK) class, for the labelling of data;Each class is arranged data attribute, cancels the membership relation that each class comprises, set a property one by one, and each data attribute domain must contain PK.
3.4 set up the class of management level ontology file according to the application type of data Layer structural body template built, field, importance etc., and are all kinds of arrange subclass according to the feature of the scale of concurrent engineering;According to the body of data file produced in engineer applied process, management level ontology file is inserted example, each body of data file is carried out labelling and link.
Four, ontology file automatically change to data file and project data automatic input body entity method realize specifically comprise the following steps that
4.1 use JenaSDB memory technology, build the storage of RDF resource and obtain access rights.
4.2 obtain the information such as the table name of table, major key, external key in editor's ontology file, and utilize body-Database Mapping method that this patent proposes to complete their mapping of corresponding relation.So-called ontology database mapping method includes three steps: (1) uses JenaARQ ontology query technique, about the information of table name and PK in defined ontology file mapping relations template file, and generates table name and PK relationship map file;(2) use JenaARQ ontology query technique, obtain other column information about the non-PK major key corresponding to table name and table in ontology file mapping relations template file, and generate table name and field relationship map file;(3) use JenaARQ ontology query technique, obtain in ontology file mapping relations template file about external key ForeignerKey (FK) information corresponding to table name and table, and generate table name and foreign key relationship mapped file.
4.3 by obtaining to obtain mapping relations replacement SQL and ODBC file template in step 2.
4.4 use JDBC to perform SQL file, complete the ontology file automatic conversion to database file;OntopAPI carry OBDA file under Prot é g é environment, it is achieved project data is to the automatic mapping in data Layer ontology file example.
This technology is towards the fixing body constructing method of engineer applied:
1. analyze the architecture of the every application work of certain field industrial engineering Life cycle, build Life cycle system model LCM and data inheritance relational model SDM between every application work respectively;List theoretical method and the implementation tool be fabricated to method base MB and tool kit TB of every application work;List the resource collection R of system.
2., in top-level logic ontology file, build five top layer class formations respectively according to LCM, SDM, R, MB and TB respectively;Respectively these five top layer classes add subclass;Timeline according to engineer applied is the entity attribute (objectproperty) arranging ordering relation in LCM between each subclass, and for the subclass in SDM and in LCM the subclass on corresponding timeline confession entity attribute is set;It is that SDM arranges between each subclass the entity attribute of data stream according to data inheritance relation;It is that the subclass corresponding with SDM of the subclass in MB and TB arranges subordinate entity attribute according to application.
3., according to the engineering properties of types of applications task in SDM, set up data Layer ontology file template one by one.Class in the template file built only describes the variable and invariant that there are data in engineer applied process;Top layer class formation is set up PK class, for the labelling of data;Each class is arranged data attribute (dataproperty), cancels the membership relation that each class comprises, set a property one by one, and the domain of each data attribute Id must contain PK.
4. set up the class of management level ontology file according to the application type of data Layer structural body template built, field, importance etc., and be that all kinds of subclass is set according to the feature of the scale of concurrent engineering;According to the body of data file produced in engineer applied process, management level ontology file is inserted example, each body of data file is carried out labelling and link.
The conversion of this technical data and automatic obtaining method:
Map general thought as shown in Figure 2:
1: use JenaSDB memory technology, build the storage of RDF resource and obtain access rights.
2: obtain the information such as the table name of table, major key, external key in editor's ontology file, and utilize body-Database Mapping method that this patent proposes to complete their mapping of corresponding relation.So-called ontology database mapping method includes three steps: (1) uses JenaARQ ontology query technique, about the information of table name and P major key PrimaryKey (PK) in defined ontology file mapping relations template file, and generate table name and PK relationship map file (referring to step A);(2) JenaARQ ontology query technique is used, obtain other column information about the non-PK major key corresponding to table name and table in ontology file mapping relations template file, and generate table name and field (column) relationship map file (referring to step B);(3) JenaARQ ontology query technique is used, obtain in ontology file mapping relations template file about external key ForeignerKey (FK) information corresponding to table name and table, and generate table name and foreign key relationship mapped file (referring to step C).
3: by step 2 obtains to obtain mapping relations replacement SQL and ODBC file template (detailed step is shown in D, E).
4: use JDBC to perform SQL file, use ontopAPI carry OBDA file, then obtain the step of ontology data from data base and method is as follows.
Step A. obtains the metamessage of table, and creates data base's table name:
If all data attribute set are DP in data Layer ontology file, then have:
DP={dp | dpx∈ DP, x ∈ [1, X] } formula 1
In formula: X is positive integer.
If the domain set of all data attributes is DPD, then have:
DPD={dpd | dpdxy∈ DPD, x ∈ [1, X], y ∈ [1, Y] } formula 2
In formula: X, Y are positive integers.
If first key class is PK in ontology file.
Traversal dpdxy, find dpdxyIt is the dp of PKxSet ListPK, then have:
ListPK={lpk | dpdmn=lpkΔ, lpkΔ∈ ListPK, m ∈ [1, M], n ∈ [1, N], Δ ∈ [1, δ], 1≤δ≤X} formula 3
In formula: M, N, δ are positive integers.
Traversal lpkΔ, find dpdmnIt not the dp of PKm
According to dpmName character set up corresponding data base's table name, if table name list is set ListTable, then have:
ListTable={ltα|ltα∈ ListTable, α ∈ [1, A], A≤δ } formula 4
In formula: A is positive integer.
Step B. obtains the metamessage of field, and the data base for creating adds field:
Traversal dpx, from set DP, delete the dpd in set ListPKxyIt is the dp of PKx, obtain set ListEL, then have:
ListEL={lel | dpx=lelΔ, lelΔ∈ ListEL, x ∈ [1, X], Δ ∈ [1, δ], 1≤δ≤X} formula 5
X in formula, Δ is positive integer.
According to dp in ListELxTitle in the corresponding data table created, add field, if table name list for set ListColumn, then have:
ListColumn={lcβ|lcβ∈ ListColumn, β ∈ [1, B], B≤δ } formula 6
In formula: B is positive integer.
Step C. obtains the metamessage of class, sets up and outreaches table:
If all entity attributes (subjectproperty) are set SP in data Layer ontology file, then have:
SP={sp | spi∈ SP, i ∈ [1, I] } formula 7
In formula: I is positive integer.
If spiDomain in the set of all domain be SPD, then have:
SPD={spd | spdij∈ SPD, i ∈ [1, I], j ∈ [1, J] } formula 8
In formula: I, J are positive integer.
If spiRange in the set of all range be SPR, then have:
SPR={spr | spriq∈ SPD, i ∈ [1, I], q ∈ [1, Q] } formula 9
In formula: I, Q are positive integer.
Traversal spi, find all spdij and spriq, and the title foundation according to the class of their correspondence outreach table, outreach table table name for set ListFK, then have:
ListFK={lfk | lpkε∈ ListPK, ε ∈ [1, ∈], 1≤∈≤I} formula 10
In formula: ∈, I are positive integers.
Step D. generates the configuration file that ontology file maps to data file:
Based on three kinds of collocation method templates in Jena, write sql statement respectively according to ListTable, ListColumn and the ListFK that step A, B and C obtain, obtain three configuration files.
Three configuration files are merged into unified sql statement and encapsulate.
The statement of this encapsulation is integrated in network service module, it is possible to automatically the data Layer ontology file of selection is mapped and generates engineer applied process database.
Step E. generates ontology data to the Map Profile of automatic input in instances of ontology:
Based on three kinds of collocation method templates in OBDA, write sql statement respectively according to ListTable, ListColumn and the ListFK that step A, B and C obtain, obtain three configuration files.
Three configuration files are merged into unified OBDA automatic mapping file.
This envelope automatic mapping file is integrated in network service module, it is possible to automatically by the project data in the engineer applied process database of selection and be entered into the example of data Layer ontology file.

Claims (4)

1. the ontological construction of an Engineering Oriented application manages and ontology data automatic obtaining method, it is characterised in that: include reasoning module, ontological construction module, data base's modular converter, database storage module and ontology knowledge and call service module;
Ontological construction module adopts distributing body storage file that body enters storage and management, and distributing body storage file includes logical layer ontology file, data Layer ontology file and management level ontology file;Reasoning module is obtaining after ontology knowledge calls the inquiry request that service module sends, and the body of data file in ontology library is screened and be supplied to logical layer ontology file by managing logic by the management level file of ontological construction module;Logical layer file logic by inference finds information needed and is supplied to reasoning module in the ontology file that screening obtains;
Data conversion module, including ontology file to database file transform subblock and database file automated ontology mapping transform subblock;
Database storage module, including tlv triple data base and engineer applied process database, tlv triple data base completes the mapping of data Layer ontology file by ontology file to database file transform subblock;Engineer applied process database is automatically performed Mapping and Converting work by tlv triple data base, its data store organisation be by corresponding data Layer ontology file towards engineering software inputoutput data structures shape;This module is ontological construction module and ontology knowledge is called service module and set up data flow path;
Ontology knowledge calls service module, and this module, with the webserver for core, provides the user foreground service, and sets up interface for engineer applied process database and engineer applied software;Engineer applied software obtains the initial input needed for master pattern runs by calling engineering data base, calls and after operation standard model, will export the ect data files write engineer applied process database of data;This module obtains input data from user, and by result of calculation input database memory module.
2. the ontological construction of a kind of Engineering Oriented according to claim 1 application manages and ontology data automatic obtaining method, it is characterised in that: the management method of described distributing body storage file is:
A1 top-level logic ontology file needs each domain expert of concurrent engineering jointly to build;Logical layer ontology file towards every engineer applied task is built by each domain expert, closes and tie up to setting in last layer logic body between the logic body of bottom;
A2 data Layer ontology file template is built by domain expert, and data structure is set up by automatic mapping form with type of service according to the generation of the process data of corresponding engineer applied task;
A3 expert's creative management layer ontology file template, and the classification relation of each data Layer body and the logical relation between each template and corresponding logical layer ontology file are set in a template;
A4 user produces the ontology file with project data after carrying out intelligence ancillary works application, and newly-generated body of data file is saved in ontology file storehouse, management level ontology file be managed;Logical relation between newly-generated ontology file inherits the relation between corresponding body of data template, and the data knowledge in file is by the grammer system automatically including enquiry module in;
The data produced in a5 engineer applied process are saved in engineering data base;File in engineering data base is by expert maintenance and management, and general user is without operation.
3. the ontological construction of a kind of Engineering Oriented according to claim 1 application manages and ontology data automatic obtaining method, it is characterised in that: the construction method of described ontological construction module is:
B1 analyzes the architecture of the every application work of X field industrial engineering Life cycle, builds Life cycle system model LCM and data inheritance relational model SDM between every application work respectively;List theoretical method and the implementation tool be fabricated to method base MB and tool kit TB of every application work;List the resource collection R of system;
B2, in top-level logic ontology file, builds five top layer class formations according to LCM, SDM, R, MB and TB respectively respectively;Respectively these five top layer classes add subclass;Timeline according to engineer applied is the entity attribute arranging ordering relation in LCM between each subclass, and for the subclass in SDM and in LCM the subclass on corresponding timeline confession entity attribute is set;It is that SDM arranges between each subclass the entity attribute of data stream according to data inheritance relation;It is that the subclass corresponding with SDM of the subclass in MB and TB arranges subordinate entity attribute according to application;
B3, according to the engineering properties of types of applications task in SDM, sets up data Layer ontology file template one by one;Class in the template file built only describes the variable and invariant that there are data in engineer applied process;Top layer class formation is set up PrimaryKey class, for the labelling of data;Each class is arranged data attribute, cancels the membership relation that each class comprises, set a property one by one, and each data attribute domain must contain PK;
B4 sets up the class of management level ontology file, and is all kinds of arrange subclass according to the feature of the scale of concurrent engineering;According to the body of data file produced in engineer applied process, management level ontology file is inserted example, each body of data file is carried out labelling and link.
4. the ontological construction of a kind of Engineering Oriented according to claim 1 application manages and ontology data automatic obtaining method, it is characterised in that: the specific operation process of described data base's modular converter is:
C1 uses JenaSDB memory technology, builds the storage of RDF resource and obtains access rights;
C2 obtains the information such as the table name of table, major key, external key in editor's ontology file, completes their body-Database Mapping;Described ontology database mapping method includes three steps: (1) uses JenaARQ ontology query technique, about the information of table name and PK in defined ontology file mapping relations template file, and generates table name and PK relationship map file;(2) use JenaARQ ontology query technique, obtain other column information about the non-PK major key corresponding to table name and table in ontology file mapping relations template file, and generate table name and field relationship map file;(3) use JenaARQ ontology query technique, obtain in ontology file mapping relations template file about external key ForeignerKey (FK) information corresponding to table name and table, and generate table name and foreign key relationship mapped file;
C3 is by obtaining to obtain mapping relations replacement SQL and ODBC file template in step c2;
C4 uses JDBC to perform SQL file, completes the ontology file automatic conversion to database file;OntopAPI carry OBDA file under Prot é g é environment, it is achieved project data is to the automatic mapping in data Layer ontology file example.
CN201610133259.2A 2016-03-09 2016-03-09 A kind of ontological construction management of Engineering Oriented application and ontology data automatic obtaining method Active CN105808853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610133259.2A CN105808853B (en) 2016-03-09 2016-03-09 A kind of ontological construction management of Engineering Oriented application and ontology data automatic obtaining method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610133259.2A CN105808853B (en) 2016-03-09 2016-03-09 A kind of ontological construction management of Engineering Oriented application and ontology data automatic obtaining method

Publications (2)

Publication Number Publication Date
CN105808853A true CN105808853A (en) 2016-07-27
CN105808853B CN105808853B (en) 2018-08-17

Family

ID=56466983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610133259.2A Active CN105808853B (en) 2016-03-09 2016-03-09 A kind of ontological construction management of Engineering Oriented application and ontology data automatic obtaining method

Country Status (1)

Country Link
CN (1) CN105808853B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980901A (en) * 2017-04-15 2017-07-25 福州大学 Streaming RDF data parallel reasoning algorithm
CN107368302A (en) * 2017-06-28 2017-11-21 东南大学 A kind of design mode identification method based on body
CN107506527A (en) * 2017-07-28 2017-12-22 中国船舶重工集团公司第七〇九研究所 Therrmodynamic system construction method and system based on mapping inference
CN107870898A (en) * 2017-10-11 2018-04-03 广州极天信息技术股份有限公司 A kind of domain semanticses network modeling method of Engineering Oriented application
CN108647395A (en) * 2018-04-11 2018-10-12 北京仿真中心 A kind of construction method of the design ontology of Complex Product design process
CN108647196A (en) * 2018-04-16 2018-10-12 北京航空航天大学 The artificial intelligence generation method and device of table in digital aircraft simulation report
CN111633644A (en) * 2020-05-15 2020-09-08 哈尔滨工程大学 Industrial robot digital twin system combined with intelligent vision and operation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107076A1 (en) * 2002-12-03 2004-06-03 Chien-Ming Tseng Method and system for integration of engineering change data
CN101710343A (en) * 2009-12-11 2010-05-19 北京中机科海科技发展有限公司 Body automatic build system and method based on text mining
CN104182454A (en) * 2014-07-04 2014-12-03 重庆科技学院 Multi-source heterogeneous data semantic integration model constructed based on domain ontology and method
CN105205190A (en) * 2014-06-10 2015-12-30 南京理工大学 Ontology construction methodology for complex product design

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107076A1 (en) * 2002-12-03 2004-06-03 Chien-Ming Tseng Method and system for integration of engineering change data
CN101710343A (en) * 2009-12-11 2010-05-19 北京中机科海科技发展有限公司 Body automatic build system and method based on text mining
CN105205190A (en) * 2014-06-10 2015-12-30 南京理工大学 Ontology construction methodology for complex product design
CN104182454A (en) * 2014-07-04 2014-12-03 重庆科技学院 Multi-source heterogeneous data semantic integration model constructed based on domain ontology and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
顾剑华等: "基于本体的领域特征建模过程研究", 《计算机应用与软件》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980901A (en) * 2017-04-15 2017-07-25 福州大学 Streaming RDF data parallel reasoning algorithm
CN106980901B (en) * 2017-04-15 2019-09-13 福州大学 Streaming RDF data parallel reasoning algorithm
CN107368302A (en) * 2017-06-28 2017-11-21 东南大学 A kind of design mode identification method based on body
CN107368302B (en) * 2017-06-28 2020-04-24 东南大学 Design pattern recognition method based on ontology
CN107506527A (en) * 2017-07-28 2017-12-22 中国船舶重工集团公司第七〇九研究所 Therrmodynamic system construction method and system based on mapping inference
CN107506527B (en) * 2017-07-28 2021-01-15 中国船舶重工集团公司第七一九研究所 Thermodynamic system construction method and system based on mapping reasoning
CN107870898A (en) * 2017-10-11 2018-04-03 广州极天信息技术股份有限公司 A kind of domain semanticses network modeling method of Engineering Oriented application
CN107870898B (en) * 2017-10-11 2021-09-14 广州极天信息技术股份有限公司 Domain semantic web modeling method oriented to engineering application
CN108647395A (en) * 2018-04-11 2018-10-12 北京仿真中心 A kind of construction method of the design ontology of Complex Product design process
CN108647196A (en) * 2018-04-16 2018-10-12 北京航空航天大学 The artificial intelligence generation method and device of table in digital aircraft simulation report
CN108647196B (en) * 2018-04-16 2022-10-25 北京航空航天大学 Artificial intelligence generation method and device for table in digital aircraft simulation report
CN111633644A (en) * 2020-05-15 2020-09-08 哈尔滨工程大学 Industrial robot digital twin system combined with intelligent vision and operation method thereof

Also Published As

Publication number Publication date
CN105808853B (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN105808853A (en) Engineering application oriented body establishment management and body data automatic obtaining method
Li et al. Learning ontology from relational database
Hor et al. A semantic graph database for BIM-GIS integrated information model for an intelligent urban mobility web application
US6917943B2 (en) Sheaf data model
CN103744846A (en) Multidimensional dynamic local knowledge map and constructing method thereof
CN102339295B (en) Structuring metadata generating method and data map generating method for SQL (Structured Query Language) scripts
CN106909696B (en) College data combined view automatic generation method based on data service dependency graph
Lytvyn et al. Architectural ontology designed for intellectual analysis of e-tourism resources
CN103559189A (en) Power simulation training resource management system and method based on metadata integration model
CN108170855B (en) CityGML and IFC data unified query and data extraction method
CN113987626A (en) Extensible building full life BIM modeling method
CN103473247B (en) Geological data information cluster mechanism and interface aggregation system
Hu et al. A Virtual Dataspaces Model for large-scale materials scientific data access
CN104765763B (en) A kind of semantic matching method of the Heterogeneous Spatial Information classification of service based on concept lattice
Mecella et al. Cooperation of heterogeneous legacy information systems: a methodological framework
CN103970900B (en) Multi-dimensional cross data flexible management method and system based on industrial field
CN107239483A (en) A kind of cross-domain elevator data assembled view automatic generation method based on data, services
Stoter et al. A data model for multi-scale topographical data
CN110019554B (en) Data model, data modeling system and method for data driven applications
CN113407810B (en) City information and service integration system and method based on big data
Bouhissi et al. Toward Data Integration in the Era of Big Data: Role of Ontologies
Krótkiewicz et al. Modeling autoreferential relationships in association-oriented database metamodel
Bardi et al. Coping with interoperability and sustainability in cultural heritage aggregative data infrastructures
CN112199075B (en) Intelligent information processing method and framework system based on micro-service
Amira et al. An extension of protégé for an automatic fuzzy-ontology building using clustering and FCA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant