CN102609572B - CAD (computer aided design) server device and method - Google Patents

CAD (computer aided design) server device and method Download PDF

Info

Publication number
CN102609572B
CN102609572B CN201210016723.1A CN201210016723A CN102609572B CN 102609572 B CN102609572 B CN 102609572B CN 201210016723 A CN201210016723 A CN 201210016723A CN 102609572 B CN102609572 B CN 102609572B
Authority
CN
China
Prior art keywords
cad
data
isomery
cad document
document information
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.)
Active
Application number
CN201210016723.1A
Other languages
Chinese (zh)
Other versions
CN102609572A (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.)
BEIJING QINZHE SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
BEIJING QINZHE SOFTWARE TECHNOLOGY Co 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 BEIJING QINZHE SOFTWARE TECHNOLOGY Co Ltd filed Critical BEIJING QINZHE SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201210016723.1A priority Critical patent/CN102609572B/en
Publication of CN102609572A publication Critical patent/CN102609572A/en
Application granted granted Critical
Publication of CN102609572B publication Critical patent/CN102609572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a heterogeneous CAD (computer aided design) system integration method, which is used for reading key parameters in a CAD file generated by a CAD system, and updating the key parameters into a CAD file generated by another CAD system, wherein reading and updating do not depend on file format conversion, and interoperation of the files of the two CAD systems is not required. The method is further used for providing a universal heterogeneous CAD system data interaction method which needs no secondary development aiming at one specific CAD system and realizes 'obtaining after stating' of a common CAD system user by reading and updating the key parameters in the CAD files. Data interaction between the heterogeneous CAD systems can be automatically completed in real time, and by the aid of a database serving as a medium for data interaction between the heterogeneous CAD systems, acquired CAD file information in the database can also be used by a product data management system, an ERP (enterprise resource planning) system and other systems.

Description

A kind of CAD server unit and method
Technical field
The present invention relates to a kind of CAD server unit and method, belong to computer-aided design (CAD) (CAD) field, be specifically related to a kind of Heterogeneous CAD System integrated approach and device.
Background technology
At manufacture, engineering field, there are various computer aided design systems (CAD system) using, often in the different departments of same mechanism, or different designer, due to the consideration of the aspects such as use habit, learning cost, historical resource, need to apply multiple different CAD system simultaneously, design and develop work for identical product or engineering, thereby, making can be integrated between the CAD system of isomery, realizing data interaction, bi-directional drive, collaborative work, is a general demand.
For example, designer A and B design respectively two parts of a bicycle of identical product-----, A uses AutoCAD design vehicle frame, B uses Solidworks design wheel, between the design proposal of A and the design proposal of B, there is multiple dependence, for instance, the designed radius of wheel of B must be less than the half of distance between two wheel shafts of vehicle frame; Therefore, a demand is: B, in the time utilizing Solidworks design wheel, needs the distance of design result---critical data in the Vehicle Frame Design that AutoCAD generates---between two wheel shafts of-vehicle frame of " knowing " A; " knowing " described herein not only relies on the information interchange being conveyed between B such people and people by A to realize, but need certain mechanism, the required key parameter of B in the design proposal of A can in real time, be automatically delivered in the design proposal of B, thereby drive the automatic adjustment of the design proposal of B, otherwise still; , the both sides of dialogue, are not these two designers of A and B yet, but the computer aided design system of A AutoCAD used and B these two isomeries of Solidworks used.
Realize data interaction, bi-directional drive, collaborative work between the CAD system of isomery, current existing technology comprises:
The first, the interoperability of file-level, its target of endeavouring is: a kind of CAD system X institute spanned file, can be converted into can be by the file layout that another kind of CAD system Y identified, and then can in Y, be opened, edit.Application scenarios for above-mentioned example is exactly: first, the design proposal that A is given birth to AutoCAD be converted into a kind of can be by the form that Solidworks identified, B opens the file through format conversion with Solidworks, again with the wheel design file of B oneself, be combined in same assembly, utilize the assembly of Solidworks self to coordinate the function of each part, realize working in coordination with between two design proposals.
The interoperability of file-level, the current solution of industry is Criterion, for example STEP standard (product data model exchange standard), each manufacturer observes jointly, the system of each manufacturer can convert the file of oneself to the intermediate file of standard regulation, also can both read standard compliant intermediate file, by this way, realize the file interoperability of different CAD; The problem that this scheme exists is: file there will be loss of data and mistake in the process of intermediate format conversion, and the design semantic of the non-geometric datas such as parameter, constraint has forfeiture, and the conversion of geometric data is likely failure also; Secondly, due to the broad covered area of standard own, complex structure, and the consideration of each CAD manufacturer based on interests own, each manufacturer is to the support of the standards such as STEP insufficient; Again, the data interaction between the Heterogeneous CAD System realizing in the mode of file-level interoperability is not also accomplished in real time and is automatic.
In prior art, between the second solution Heterogeneous CAD System, the scheme of data interaction problem is interface exploitation, be that the DLL (dynamic link library) that user utilizes each CAD manufacturer to provide is done secondary development, programming realizes the data interaction between Heterogeneous CAD System, in upper example, the DLL (dynamic link library) development sequence that user can provide for AutoCAD, read the distance between two wheel shafts in Vehicle Frame Design scheme, then the DLL (dynamic link library) development sequence providing for Solidworks, the restriction relation in change wheel design scheme.The subject matter of interface exploitation scheme be cost of development compared with high, workload is large, developer must possess program capability, the domestic consumer of non-CAD system can be competent at, and the interface routine of developing is for real needs, be difficult to accomplish general, when the real needs of data interaction change, must rewrite or rewriting program for the demand having changed, the response time of demand is lagged behind; In addition, consider from the angle of required human resources, the technician who simultaneously understands thoroughly CAD system and computer programming has belonged to rare, the personnel that simultaneously understand thoroughly multiple CAD system secondary development are more rare, so, realize the method for data interaction between Heterogeneous CAD System in the mode of interface exploitation, be difficult to be widely used in the applying unit of CAD system.
Summary of the invention
The data interaction problem the present invention is directed between Heterogeneous CAD System proposes a kind of new solution: first, we think, in a multiple Heterogeneous CAD System the collaborative design working environment deposited, between Heterogeneous CAD System, really needing mutual content is some key parameters relevant with collaborative design, but not the full detail of CAD document, so, the problem that the present invention focuses on is, key parameter in a kind of CAD document can be read out, be updated in another CAD document and go, read and upgrade the conversion that does not rely on file layout, do not require the file interoperability of two kinds of CAD system, secondly,, for the reading and upgrade of key parameter in CAD document, provide a kind of method general, that need to not be for concrete CAD system CAD system user secondary development, common " described in be gained ", the 3rd, adopt the medium of database as data interaction between the CAD system of isomery, the key parameter reading from a kind of CAD document is stored in database and goes, data in database can be updated in another kind of CAD document and go, meanwhile, the CAD document information in collected database can be used by other system such as product data management system, ERP system, plays a role in field widely.
The implication of aforementioned " described in be gained " is, definition a kind of " isomery CAD document information reads rule template ", user by from CAD document, read key parameter need to state out by the mode that reads rule template regulation, generate some concrete " isomery CAD document information reads rule ", carry out this rule, obtain user and wish the key parameter extracting; Similarly, definition a kind of " isomery CAD document information update rule template ", user is updated to the mode that need to stipulate by update rule template of going in the key parameter in CAD document wish by what value and states out, form some concrete " isomery CAD document information update rules ", carry out this rule, realized the renewal to key parameter in CAD document;
The feature of the present invention program this " described in be gained ", make this programme overcome the shortcoming for the prior art of Heterogeneous CAD System data interaction: 1) user as required, with a kind of statement mode create-rule of similar natural language, executing rule obtains the result that user wishes, does not need to do any Secondary Development Work for CAD system; 2), no matter to any CAD system, the formation of rule is consistent with manner of execution, thereby the method is general for the CAD system of various isomeries; 4) do not need to do file layout conversion, Bu Shouge manufacturer supports inadequate impact to unified standard; 4) execution of rule is carried out in the controlled mode of user, and data interaction can complete in real time.
Particular content of the present invention is as follows.
Heterogeneous CAD System integrated approach and device
A kind of Heterogeneous CAD System integrated approach, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realize data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries, and it is characterized in that, the method comprises:
Definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition for the data that extract from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
User reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database;
From CAD document, read described concrete isomery CAD document information and read the specified CAD pel table data of regular data source part; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
The CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and data placement after treatment is on expression vector or is stored in database to information; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Described CAD system is computer aided design system;
Preferably, described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor, CATIA etc.;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Preferably, the method also comprises:
Definition isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
User, according to isomery CAD document information update rule template, is the each several part assignment of isomery CAD document information update rule template, generates concrete isomery CAD document information update rule, and is stored in database;
According to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
According to the update mode of specifying in described concrete isomery CAD document information update rule, the input parameter of described CAD document is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery.
Preferably, described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on website and webpage list; Or preferably, described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is the electronic spreadsheet that can be inputted and be shown by computer or handheld device.
It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list.
Preferably, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Preferably, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
Preferably, the method also comprises:
The pattern of regulation list, and define the data item on list; Described list is for receiving user's input, and represents the CAD document output parameter that is stored in database or the data of user's input to user; Data item on described definition list, for give user the title of appointment for the assigned address on list, and stipulates the type of the data that can input or show on this position;
Newly-built list, open and/or edit existing list, deposit the data of the CAD document output parameter on list or user input in database.
Preferably, the method also comprises:
In the operating environment of CAD system, increase custom menu or toolbar;
Response user carries out corresponding operation to the click behavior of custom menu or toolbar in the operating environment of CAD system, comprises operation list, submits CAD document to database or utilize the information in the Data Update CAD document in database.
Preferably, described custom menu, comprises and exits option, submission option, option of operation;
Described submission option is for being submitted to database current C AD document; Or open the list that need to make a report on, receive user's input or on list, show obtained CAD document output parameter, and the information on list is saved in to database;
Described option of operation, for carrying out the concrete isomery CAD document information update rule of appointment, is upgraded CAD document information;
The described option that exits is for exiting the CAD system of current operation.
A kind of Heterogeneous CAD System integrating device corresponding with above-mentioned Heterogeneous CAD System integrated approach, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realize data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries, it is characterized in that, this device comprises with lower module:
Isomery CAD document information reads rule template definition module, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
Isomery CAD document information reads regular generation module, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database;
CAD document access device module, for providing unified and general access interface to the CAD system of various isomeries; Described CAD document access device module comprises CAD primitive data read module, reads the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
CAD document output parameter acquisition module, be used for the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, data placement after treatment is on expression vector or is stored in database to information, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management.
Database, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Preferably, this device also comprises:
Isomery CAD document information update rule template definition module, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database;
CAD document input parameter acquisition module, be used for according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
CAD document access device module comprises CAD primitive data update module, for the update mode of specifying according to described concrete isomery CAD document information update rule, result data is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery.
Preferably, described CAD document access device module also comprises one or more CAD system interface operational module; Described CAD system interface operational module, for responding CAD primitive data read module and/or the operation requirements of CAD primitive data update module to CAD document, be translated into for the sequence of operation of corresponding CAD system DLL (dynamic link library) and carry out, and by result feedback to CAD primitive data read module and/or CAD primitive data update module; Corresponding CAD system, for one of CAD system of multiple isomery, refers to the CAD system for generating CAD document;
Preferably, CAD system interface operational module in described CAD document access device, for CAD document is carried out and opened or preservation or shutoff operation, increase custom menu or toolbar button in the operating environment of CAD system, and respond custom menu or toolbar button clicking operation, present CAD document data structure, read the information in CAD document or upgrade the information in CAD document;
Described CAD document data structure is the set of CAD pel list structure; Described CAD pel list structure, refers to describe title and other attribute of CAD pel table and title, data type and other attribute of the sub-project comprising in CAD pel table.
Preferably, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Preferably, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
Preferably, this device also comprises list operational module, data item, newly-built list for the pattern for regulation list, definition on list, opens and/or edits existing list, deposits the data of the CAD document output parameter on list or user's input in database;
Described list is for receiving user's input, and represents the CAD document output parameter that is stored in database or the data of user's input to user; Data item on described definition list, for give user the title of appointment for the assigned address on list, and stipulates the type of the data that can input or show on this position.
Preferably, this device also comprises CAD document function client; Described CAD document function client, for increasing custom menu or toolbar to the operating environment of CAD system; Also in the operating environment of CAD system, the click behavior of custom menu or toolbar is carried out to corresponding operation for responding user, comprise operation list, submit CAD document to database or utilize the information in the Data Update CAD document in database.
Isomery CAD document information read method and device
A kind of isomery CAD document information read method, it is a kind of consistent and be specifically used in the irrelevant read method of CAD system that generates CAD document that the CAD document that the method generates for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; The method comprises:
1) definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
2) user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database;
3) send to a CAD document access device reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part; Described CAD document access device, for providing unified and general access interface to the CAD system of various isomeries;
4) from CAD document, read the CAD pel table data of described appointment by CAD document access device; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
5) receive from CAD document access device the CAD pel table data of returning, write ephemeral data storage;
6) described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
7) data after treatment are read to the regulation of the filling mode in rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management.
Described CAD system is computer aided design system;
Preferably, described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor, CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Preferably, described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list.
Preferably, the set that described data source is one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Preferably, described filling mode is that information and the information extracting in data source is the corresponding relation between assigned address on expression vector.
Preferably, described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Preferably, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Preferably, the method also comprises, described CAD document output parameter is stored in database;
Preferably, described CAD document access device comprises CAD document access common interface module, one or more CAD system interface operational module;
CAD system interface operational module in described CAD document access device, for CAD document is carried out and opened or preservation or shutoff operation, increase custom menu or toolbar button in the operating environment of CAD system, and respond custom menu or toolbar button clicking operation, present CAD document data structure, read the information in CAD document or upgrade the information in CAD document;
Described CAD document data structure is the set of CAD pel list structure; Described CAD pel list structure, refers to describe title and other attribute of CAD pel table and title, data type and other attribute of the sub-project comprising in CAD pel table;
CAD document access common interface module in described CAD document access device, for responding the operation requirements for CAD document receiving, and hands to the CAD system interface operational module corresponding with the CAD Doctype of specifying operation requirements and carries out.
A kind of isomery CAD document information reading device corresponding with aforementioned isomery CAD document information read method, it is a kind of consistent and be specifically used in irrelevant the reading of CAD system that generates CAD document that the CAD document generating for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; This device comprises as lower module:
Isomery CAD document information reads rule template definition module, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
Isomery CAD document information reads regular generation module, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database;
Reading requirement sending module, for sending the reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part to CAD document access device module;
CAD document access device module, provides unified and general access interface to the CAD system of various isomeries; It is for reading the CAD pel table data of described appointment from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Data reception module, the CAD pel table data of returning for receiving CAD document access device, are write ephemeral data storage;
Data query module, described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
Data present module, and for data after treatment are read to the regulation of the filling mode of rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Database, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Preferably, described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
Preferably, the set that described data source is one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Preferably, described filling mode is that information and the information extracting in data source is the corresponding relation between assigned address on expression vector.
Preferably, described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Preferably, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Preferably, this device also comprises data memory module, for described CAD document output parameter is stored into database;
Preferably, described CAD document access device module comprises CAD document access common interface module, one or more CAD system interface operational module;
CAD system interface operational module in described CAD document access device, for CAD document is carried out and opened or preservation or shutoff operation, increase custom menu or toolbar button in the operating environment of CAD system, and respond custom menu or toolbar button clicking operation, present CAD document data structure, read the information in CAD document or upgrade the information in CAD document;
Described CAD document data structure is the set of CAD pel list structure; Described CAD pel table refers to the appointed information in CAD document; Described CAD pel list structure, refers to describe title and other attribute of the appointed information comprising in CAD document and the title of the sub-project comprising in this appointed information, data type and other attribute;
CAD document access common interface module in described CAD document access device, for responding the operation requirements for CAD document receiving, and hands to the CAD system interface operational module corresponding with the CAD Doctype of specifying operation requirements and carries out.
Isomery CAD document information update method and device
A kind of isomery CAD document information update method, the CAD document generating for the CAD system of various isomeries provides a kind of irrelevant update method to CAD information in document of CAD system unanimously and that be specifically used for generating document, for being updated to CAD document by the parameter of obtaining from the CAD document of other isomery or from the parameter of database, to realize, the external parameter of CAD document is driven; The method comprises the steps:
1) definition isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
2) user, according to isomery CAD document information update rule template, is the each several part assignment of isomery CAD document information update rule template, generates concrete isomery CAD document information update rule, and is stored in database;
3) read the data of specifying in the data source of concrete isomery CAD document information update rule of appointment, according to the regulation of screening conditions in the concrete isomery CAD document information update rule of described appointment, screen, data after screening are processed according to the regulation of the update mode of the concrete isomery CAD document information update rule of described appointment, obtained result data collection; Described result data integrates as CAD pel table data, for being updated to CAD document, drives the change of out of Memory in CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
4) when the renewal of described concrete isomery CAD document information update rule is operating as when newly-increased, execution step 5);
In the time that the renewal of described concrete isomery CAD document information update rule is operating as renewal, execution step 6);
In the time that the renewal of described concrete isomery CAD document information update rule is operating as deletion, execution step 7);
5) CAD pel table data concentrated result data are increased in CAD document, then perform step 8);
6) revise the corresponding CAD pel table data in CAD document according to result data collection, then perform step 8)
7) delete the CAD pel table data of answering with result data set pair in CAD document;
8) refresh the demonstration of CAD document.
Described CAD system is computer aided design system;
Preferably, described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor, CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Preferably, the set that described update mode is one or more renewal items; Described renewal item, refers to a tlv triple, is expressed as item=(expr, op, target), and wherein item is tlv triple, and expr is expression formula; Target is the field name in upgating object, and op is to the mode on target by the content update of expr; Described mode comprises to be inserted or locates.
Preferably, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
Preferably, the method also comprises, in CAD system operating environment, increases custom menu or toolbar, and the concrete isomery CAD document information update rule that will carry out is determined in the custom menu increasing by response or the click of toolbar.
A kind of isomery CAD document information updating device corresponding with aforementioned isomery CAD document information update method, provide a kind of irrelevant renewal to CAD information in document of CAD system unanimously and that be specifically used for generating document for the CAD document generating for the CAD system of various isomeries, be updated in CAD document by the parameter of obtaining from the CAD document of other isomery or from the parameter of database, to realize, the external parameter of CAD document driven; This device comprises as lower module:
Isomery CAD document information update rule template definition module, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database;
Data query module, read the data of specifying in the data source of concrete isomery CAD document information update rule of appointment, according to the regulation of screening conditions in the concrete isomery CAD document information update rule of described appointment, screen, data after screening are processed according to the regulation of the update mode of the concrete isomery CAD document information update rule of described appointment, obtained result data collection; Described result data integrates as CAD pel table data, for being updated to CAD document, drives the change of out of Memory in CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
CAD primitive data increases module newly, for CAD pel table data concentrated result data are increased to CAD document;
CAD primitive data modified module, for revising the corresponding CAD pel table data of CAD document according to result data collection;
CAD primitive data removing module, for the CAD pel table data of answering with result data set pair of deleting CAD document;
CAD document shows refresh module, for refreshing the demonstration of CAD document.
Preferably, the set that described update mode is one or more renewal items; Described renewal item, refers to a tlv triple, is expressed as item=(expr, op, target), and wherein item is tlv triple, and expr is expression formula; Target is the field name in upgating object, and op is to the mode on target by the content update of expr; Described mode comprises to be inserted or locates.
Preferably, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
Preferably, this device also comprises CAD document function client, for increasing custom menu or toolbar to the operating environment of CAD system, the custom menu increasing by response or the click of toolbar, determine the concrete isomery CAD document information update rule that will carry out;
Read a kind of implementation method of CAD pel table data
This implementation method is only to read the example of wherein a kind of implementation method of CAD pel table data, the protection domain of claim is not exerted an influence.
A kind of method that by CAD document access device module read CAD document information corresponding with Heterogeneous CAD System integrated approach of the present invention or isomery CAD document information read method, comprises the steps:
1) requirement of reception reading out data; The requirement of described reading out data comprises three parts: CAD Doctype, one or more CAD pel table table name that will read that read, read source filename; Described CAD Doctype, refers to CAD document by which kind of CAD system is generated; The described source filename that reads, refers to reading out data from which CAD document files, when reading source filename for empty, represents the current CAD document of just opening;
2) according to the CAD Doctype of specifying, the CAD system interface operational module that initialization is corresponding with this type of CAD system;
3) CAD system interface operational module checks that whether the CAD system corresponding with the CAD Doctype of specifying be in operation, if not in operation, and execution step 4), otherwise execution step 5);
4) CAD system interface operational module starts the CAD system corresponding with the CAD Doctype of specifying;
5) inspection of CAD system interface operational module specify whether read source file opened, if do not opened, execution step 6), otherwise execution step 7);
6) CAD system interface operational module is opened the source file that reads of appointment in CAD system;
7) CAD system interface operational module is called CAD system second development interface, according to the CAD pel table table name of specifying, reads the CAD pel table data of appointment from the CAD document of opening;
8) CAD system interface operational module is reorganized the CAD pel table data that read, reorganize into the irrelevant unified representation form of concrete CAD system, and the additional information needing; Described reorganization is to given information, is not changing under the prerequisite of content, changes its expression mode in computing machine and/or the array mode of its sub-project;
9) the CAD pel table data after reorganization are returned.
The data interaction problem the present invention is directed between Heterogeneous CAD System proposes a kind of new solution; This programme inventor think, in a multiple Heterogeneous CAD System the collaborative design working environment deposited, between Heterogeneous CAD System, really needing mutual content is the key parameter in some documents relevant with collaborative design, but not the full detail of CAD document, so, the problem that the present invention focuses on is, the key parameter in a kind of CAD document can be read out, and is updated in another CAD document and goes; Read and upgrade not dependent file format conversion.
The present invention is directed to reading and upgrading of key parameter in CAD document, provide a kind of general, need to not do for concrete CAD system CAD system user's secondary development, common " described in be gained " method, and adopt the medium of database as data interaction between the CAD system of isomery; User can read rule or isomery CAD document information update rule (hereinafter to be referred as " rule ") by generating isomery CAD document information, specifies neatly arbitrarily the key parameter that need to obtain from CAD document or need to write to CAD document; The mode that the rule generating can be specified by user is performed, and completes the read-write operation to key parameter in CAD document; Its advantage and user are worth and are:
The present invention program makes user can realize the data interaction between the CAD system of isomery, and then realize the collaborative work between the CAD system of isomery, this is mutual and collaborative not by the file interoperability realization of multiple CAD system, does not also rely on the support of each CAD manufacturer to common standard;
The realization of the present invention program to the data interaction between the CAD system of isomery, does not need to do the Secondary Development Work for CAD system, does not need specialized personnel, and the domestic consumer of CAD system can be competent at; Thereby the present invention program is easily, cheaply, greatly improves the efficiency of Heterogeneous CAD System collaborative work, can generally be applied by the applying unit of CAD system;
Occur application opportunity that the execution of rule is specified by user, comprise, can with the operation binding of document, such as specifying in document and open when or when preservation, carry out; Can bind with the variation of data, such as carrying out in a certain data change on list; Also can be required at any time to carry out by user; Thereby the data interaction between the Heterogeneous CAD System that the solution of the present invention is accomplished is automatic, real-time;
By the present invention program, user only need to be according to the each several part content of rule template input template regulation, can generate concrete rule, rule can be performed after generating, thereby can accomplish rapid response for the changes in demand of data interaction between user's Heterogeneous CAD System;
The present invention program is general to various types of CAD system, and as user increases or changes the CAD system being used, available the present invention program brings new CAD system in the cooperative working environment of multiple Heterogeneous CAD System easily;
The present invention program adopts the medium of database as data interaction between the CAD system of isomery, and the CAD document information in collected database can be used by other system such as product data management system, ERP system, plays a role in field widely; Thereby, the present invention program can be used as a basic ingredient in product data management system, computer integrated manufacturing system, plays a significant role in the multi-field collaborative integrated system of product in product design, manufacture, buying, finance, marketing etc.
It between each step of the inventive method, is not strict fixing sequential relationship.
Accompanying drawing explanation
Fig. 1 is the data flowchart of a Heterogeneous CAD System integrated approach embodiment
Fig. 2 is the data flowchart of a Heterogeneous CAD System integrated approach embodiment
Fig. 3 is the data flowchart of a Heterogeneous CAD System integrated approach embodiment
Fig. 4 is the structural drawing of a Heterogeneous CAD System integrating device embodiment
Fig. 5 is the structural drawing of a Heterogeneous CAD System integrating device embodiment
Fig. 6 is the structural drawing of a Heterogeneous CAD System integrating device embodiment
Fig. 7 is the process flow diagram of an isomery CAD document information read method embodiment
Fig. 8 is an isomery CAD document information reading device example structure figure
Fig. 9 is the process flow diagram of an isomery CAD document information update method embodiment
Figure 10 is an isomery CAD document information updating device example structure figure
Figure 11 is the process flow diagram of an isomery CAD document information read method embodiment
Figure 12 is an isomery CAD document information reading device example structure figure
Figure 13 is the process flow diagram that a CAD document access device module reads the embodiment of the method for CAD document information
Figure 14 is the structural drawing of a Heterogeneous CAD System integrating device embodiment
Figure 15 is the structural drawing of a Heterogeneous CAD System integrating device embodiment
Figure 16 is the interface schematic diagram of a CAD document function client
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are described.
Heterogeneous CAD System integrated approach and device embodiment 1
Fig. 1 is the data flowchart of a kind of Heterogeneous CAD System integrated approach embodiment, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realizing data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries; The method comprises:
Step 101, definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Step 102, user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database 103;
Step 104 reads described concrete isomery CAD document information and reads the specified CAD pel table data of regular data source part from CAD document 105; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 106, the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and data placement after treatment is on expression vector 107 or is stored in database 103 to information; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Between this method above-mentioned steps, there is no strict fixing sequential relationship, the arrow in Fig. 1, expression be data transitive relation between each step, but not sequential relationship.
CAD system described in the present embodiment is computer aided design system; The file of described CAD document for utilizing the CAD system of various isomeries to generate by user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor or CATIA etc.;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device; It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list;
Described isomery CAD document information reads rule template, also comprises application opportunity; Described application opportunity, referring to meet this rule in the situation what operation what conditioned disjunction user carried out will be performed, and carry out actual data and read;
For example, be that a concrete isomery CAD document information reads regular example below:
Doctype: AutoCAD
Data source: current document. line
Screening conditions: live width=5
Filling mode:
" maximal value (line. length) "---" wheelbase " field on-> (inserting) " output parameter " list
Application opportunity: after list is opened, list preserve before, user manually carries out
The expressed implication of this example is: user requires to choose in all " line " from the current AutoCAD document of editing those " lines " of " live width=5 ", calculate the maximal value of the length of these lines, this maximal value is placed on the position of " wheelbase " field on the list of " output parameter " by name that predefined is good; This rule will be automatically performed, or manually be carried out by user in " list is opened rear ", " before list preservation ".
Please continue referring to Fig. 4, for a Heterogeneous CAD System integrating device corresponding with said method implemented structural drawing; In the present embodiment, a Heterogeneous CAD System integrating device comprises:
Isomery CAD document information reads rule template definition module 401, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Isomery CAD document information reads regular generation module 402, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 403;
CAD document access device module 404, for providing unified and general access interface to the CAD system of various isomeries; Comprising CAD primitive data read module 441, read the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design; Please refer to Figure 13, for CAD document access device module reads the method flow diagram of CAD document information.
CAD document output parameter acquisition module 405, be used for the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, data placement after treatment is on expression vector or is stored in database 403 to information, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management,
Database 403, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Heterogeneous CAD System integrated approach and device embodiment 2
Fig. 2 is the data flowchart of a kind of Heterogeneous CAD System integrated approach embodiment, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realizing data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries; The method comprises:
Step 201, definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Step 202, user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database 203;
Step 204 reads described concrete isomery CAD document information and reads the specified CAD pel table data of regular data source part from CAD document 205; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 206, the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and data placement after treatment is presented to user to list 207; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Step 208, is saved in the data on list 207 in database 203;
Between this method above-mentioned steps, there is no strict fixing sequential relationship, the arrow in Fig. 2, expression be data transitive relation between each step, but not sequential relationship.
CAD system described in the present embodiment is computer aided design system; The file of described CAD document for utilizing the CAD system of various isomeries to generate by user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor or CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device; It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list;
Described isomery CAD document information reads rule template, also comprises application opportunity; Described application opportunity, referring to meet this rule in the situation what operation what conditioned disjunction user carried out will be performed, and carry out actual data and read;
For example, be that a concrete isomery CAD document information reads regular example below:
Doctype: AutoCAD
Data source: current document. line
Screening conditions: live width=5
Filling mode:
" maximal value (line. length) "---" wheelbase " field on-> (inserting) " output parameter " list
Application opportunity: after list is opened, list preserve before, user manually carries out
The expressed implication of this example is: user requires to choose in all " line " from the current AutoCAD document of editing those " lines " of " live width=5 ", calculate the maximal value of the length of these lines, this maximal value is placed on the position of " wheelbase " field on the list of " output parameter " by name that predefined is good; This rule will be automatically performed, or manually be carried out by user in " list is opened rear ", " before list preservation ".
Please continue referring to Fig. 5, for a Heterogeneous CAD System integrating device corresponding with said method implemented structural drawing; In the present embodiment, a Heterogeneous CAD System integrating device comprises:
Isomery CAD document information reads rule template definition module 501, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Isomery CAD document information reads regular generation module 502, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 503;
CAD document access device module 504, for providing unified and general access interface to the CAD system of various isomeries; Comprising CAD primitive data read module 541, read the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design; Please refer to Figure 13, for CAD document access device module reads the method flow diagram of CAD document information.
CAD document output parameter acquisition module 505, be used for the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the data regulation that reads the filling mode in rule according to described concrete isomery CAD document information after screening is processed, by data placement after treatment to list; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management.
List operational module 506, for being saved in database 503 by the data on list;
Database 503, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device; Described definition list comprises the pattern of regulation list, and defines the data item on list; Data item on described definition list, for give user the title of appointment for the assigned address on list, and stipulates the type of the data that can input or show on this position;
It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list.
Heterogeneous CAD System integrated approach and device embodiment 3
Fig. 3 is the data flowchart of a kind of Heterogeneous CAD System integrated approach embodiment, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realizing data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries; The method comprises:
Step 301, definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Step 302, user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database 303;
Step 304, reads described concrete isomery CAD document information read the specified CAD pel table data of regular data source part from a kind of CAD system X the CAD document 305 generating; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 306, the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and data placement after treatment is presented on carrier 30 as one kind 7 or stored in database 303 to information; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Step 308, definition isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Step 309, user, according to isomery CAD document information update rule template, is the each several part assignment of isomery CAD document information update rule template, generates concrete isomery CAD document information update rule, and is stored in database 303;
Step 310, according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
Step 311, according to the update mode of specifying in described concrete isomery CAD document information update rule, the input parameter of described CAD document is updated in the CAD document 312 that another kind of CAD system Y generates, realizes data interaction, bi-directional drive and/or collaborative design between CAD system X and the Y of two isomeries.
Described CAD system X and Y are different CAD system, and for example CAD system X is AutoCAD, and CAD system Y is Pro/E.
Between this method above-mentioned steps, there is no strict fixing sequential relationship, the arrow in Fig. 3, expression be data transitive relation between each step, but not sequential relationship.
CAD system described in the present embodiment is computer aided design system; The file of described CAD document for utilizing the CAD system of various isomeries to generate by user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor or CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device; It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list;
Described isomery CAD document information reads rule template, also comprises application opportunity; Described application opportunity, referring to meet this rule in the situation what operation what conditioned disjunction user carried out will be performed, and carry out actual data and read;
For example, be that a concrete isomery CAD document information reads regular example below:
Doctype: AutoCAD
Data source: current document. line
Screening conditions: live width=5
Filling mode:
" maximal value (line. length) "---" wheelbase " field on-> (inserting) " output parameter " list
Application opportunity: after list is opened, list preserve before, user manually carries out
The expressed implication of this example is: user requires to choose in all " line " from the current AutoCAD document of editing those " lines " of " live width=5 ", calculate the maximal value of the length of these lines, this maximal value is placed on the position of " wheelbase " field on the list of " output parameter " by name that predefined is good; This rule will be automatically performed, or manually be carried out by user in " list is opened rear ", " before list preservation ".
Described isomery CAD document information update rule template, also comprises application opportunity; Described application opportunity, referring to meet this rule in the situation what operation what conditioned disjunction user carried out will be performed, and carry out actual Data Update;
For example, be an example of a concrete isomery CAD document information update rule below:
Doctype: Pro/E
Upgating object: current document. parameter
Update mode: newly-increased
Data source:, product standard parameter list
Screening conditions: product standard parameter list. product type=" A5 "
Update mode:
Current document. parameter. parameter name=product standard parameter list. parameter name
Current document. parameter. parameter value=product standard parameter list. design reference value
Application opportunity: when document is opened, user manually carries out
The expressed implication of this example is, user requires the product design parameter of storing in database to be increased in the current Pro/E document of opening, specific requirement is, in " product standard parameter list " from database, inquiry meets whole records of product type=" A5 " this condition, for its every record, in " parameter " of current Pro/E document, increase by one, " parameter name " field that its parameter assignment is this record, " design reference value " field that its parameter value assignment is this record; This rule automatically performs in the time that Pro/E document is opened, or is manually carried out by user;
Please continue referring to Fig. 6, for a Heterogeneous CAD System integrating device corresponding with said method implemented structural drawing; In the present embodiment, a Heterogeneous CAD System integrating device comprises:
Isomery CAD document information reads rule template definition module 601, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Isomery CAD document information reads regular generation module 602, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 603;
CAD document access device module 604, for providing unified and general access interface to the CAD system of various isomeries; Comprising CAD primitive data read module 641 and CAD primitive data update module 642;
CAD primitive data read module 641, reads the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design; Please refer to Figure 13, for CAD document access device module reads the method flow diagram of CAD document information;
CAD document output parameter acquisition module 605, for the CAD pel table data the described appointment reading by CAD primitive data read module 641, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, data placement after treatment is and on expression vector, presents to user or store in database 603 to information, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management,
Isomery CAD document information update rule template definition module 607, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module 608, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database 603;
CAD document input parameter acquisition module 609, be used for according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
CAD primitive data update module 642, for the update mode of specifying according to described concrete isomery CAD document information update rule, the result data obtaining by CAD document input parameter acquisition module 609 is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery;
Database 603, reads the output parameter of rule, isomery CAD document information update rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Heterogeneous CAD System integrating device embodiment 4
Figure 14 is that a Heterogeneous CAD System integrating device is implemented structural drawing; In the present embodiment, a Heterogeneous CAD System integrating device comprises:
Isomery CAD document information reads rule template definition module 1401, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Isomery CAD document information reads regular generation module 1402, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 1403;
CAD document access device module 1404, for providing unified and general access interface to the CAD system of various isomeries; Comprising CAD primitive data read module 1441 and CAD primitive data update module 1442;
CAD primitive data read module 1441, reads the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design; Please refer to Figure 13, for CAD document access device module reads the method flow diagram of CAD document information;
CAD document output parameter acquisition module 1405, for the CAD pel table data the described appointment reading by CAD primitive data read module 1441, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, by data placement after treatment to list, represent to user by list operational module 1406, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management,
List operational module 1406 for define list, newly-built or open list, by CAD document output parameter list show, the data on list are stored in database 1403;
Isomery CAD document information update rule template definition module 1407, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module 1408, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database 1403;
CAD document input parameter acquisition module 1409, be used for according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
CAD primitive data update module 1442, for the update mode of specifying according to described concrete isomery CAD document information update rule, the result data obtaining by CAD document input parameter acquisition module 1409 is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery;
Database 1403, reads the output parameter of rule, isomery CAD document information update rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
CAD document function client 1410, for increasing custom menu or toolbar to the operating environment of CAD system; Also in the operating environment of CAD system, the click behavior of custom menu or toolbar is carried out to corresponding operation for responding user, comprise by list operational module 1406 and operate list, submit to CAD document to database, or carry out by CAD document input parameter acquisition module 1409 the CAD document information update rule that user specifies, upgrade the information in CAD document; Figure 16 is the interface schematic diagram of CAD document function client.
Heterogeneous CAD System integrating device embodiment 5
Figure 15 is that a Heterogeneous CAD System integrating device is implemented structural drawing; In the present embodiment, a Heterogeneous CAD System integrating device comprises:
Isomery CAD document information reads rule template definition module 1501, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Isomery CAD document information reads regular generation module 1502, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 1503;
CAD document access device module 1504, for providing unified and general access interface to the CAD system of various isomeries; Comprising CAD primitive data read module 1541 and CAD primitive data update module 1542, one or more CAD system interface operational module 1543; Described CAD system interface operational module is relevant with certain concrete CAD system, realizes the operation to the CAD document being generated by this CAD system for the second development interface providing by this CAD system; In the present embodiment, the CAD system interface operational module that comprises the CAD system different for three kinds, be respectively, for the Pro/E system interface operational module of Pro/E system, for the AutoCAD system interface operational module of AutoCAD system, for the Solidworks system interface operational module of Solidworks system;
CAD primitive data read module 1541, reads the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design; Please refer to Figure 13, for CAD document access device module reads the method flow diagram of CAD document information;
CAD document output parameter acquisition module 1505, for the CAD pel table data the described appointment reading by CAD primitive data read module 1541, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, by data placement after treatment to list, represent to user by list operational module 1506, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management,
List operational module 1506 for define list, newly-built or open list, by CAD document output parameter list show, the data on list are stored in database 1503;
Isomery CAD document information update rule template definition module 1507, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module 1508, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database 1503;
CAD document input parameter acquisition module 1509, be used for according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
CAD primitive data update module 1542, for the update mode of specifying according to described concrete isomery CAD document information update rule, the result data obtaining by CAD document input parameter acquisition module 1509 is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery;
Database 1503, reads the output parameter of rule, isomery CAD document information update rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
CAD system interface operational module 1543, for responding CAD primitive data read module 1541 and/or the operation requirements of CAD primitive data update module 1542 to CAD document, be translated into for the sequence of operation of corresponding CAD system DLL (dynamic link library) and carry out, and by result feedback to CAD primitive data read module 1541 and/or CAD primitive data update module 1542.
Isomery CAD document information read method and device embodiment 1
Fig. 7 is the process flow diagram of a kind of isomery CAD document information read method embodiment; It is a kind of consistent and be specifically used in the irrelevant read method of CAD system that generates CAD document that the CAD document that the method generates for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; The method comprises:
Step 701, definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Step 702, user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database;
Step 703, sends the reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part to a CAD document access device; Described CAD document access device, for providing unified and general access interface to the CAD system of various isomeries;
Step 704 reads the CAD pel table data of described appointment from CAD document by CAD document access device; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 705, receives the CAD pel table data of returning from CAD document access device, write ephemeral data storage;
Step 706, described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
Step 707, reads data after treatment the regulation of the filling mode in rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management.
Wherein step 702 and step 703 are not temporally closely to continue, and need to use the result of step 702 but priority in logic relies on------step 703, and the concrete isomery CAD document information that it generates reads rule; In Fig. 7, dotted arrow represents the flow direction of data, and the arrow of solid line represents the flow direction of controlling, the i.e. execution sequence of each step.
Described CAD system is computer aided design system; The file that described CAD document utilizes CAD system to generate for user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor, CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list.
Described data source is the set of one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Described filling mode is that the information and the information that in data source, extract are the corresponding relation between assigned address on expression vector.
Described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
For example, be that a concrete isomery CAD document information reads regular example below:
Doctype: AutoCAD
Data source: current document. line
Screening conditions: live width=5
Filling mode:
" maximal value (line. length) "---" wheelbase " field on-> (inserting) " output parameter " list
Application opportunity: after list is opened, list preserve before, user manually carries out
The expressed implication of this example is: user requires to choose in all " line " from the current AutoCAD document of editing those " lines " of " live width=5 ", calculate the maximal value of the length of these lines, this maximal value is placed on the position of " wheelbase " field on the list of " output parameter " by name that predefined is good; This rule will be automatically performed, or manually be carried out by user in " list is opened rear ", " before list preservation ".
Please continue referring to Fig. 8, be the structural drawing of an isomery CAD document information reading device embodiment corresponding with above-mentioned isomery CAD document information read method; It is a kind of consistent and be specifically used in irrelevant the reading of CAD system that generates CAD document that the CAD document that this device generates for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; This device comprises as lower module:
Isomery CAD document information reads rule template definition module 801, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
Isomery CAD document information reads regular generation module 802, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 803;
Reading requirement sending module 804, for sending the reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part to CAD document access device module 805;
CAD document access device module 805, provides unified and general access interface to the CAD system of various isomeries; For reading the CAD pel table data of described appointment from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Data reception module 806, the CAD pel table data of returning for receiving CAD document access device 805, are write ephemeral data storage;
Data query module 807, described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
Data present module 808, and for data after treatment are read to the regulation of the filling mode of rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Database 803, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
Described data source is the set of one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Described filling mode is that the information and the information that in data source, extract are the corresponding relation between assigned address on expression vector.
Described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Isomery CAD document information read method and device embodiment 2
Figure 11 is the process flow diagram of a kind of isomery CAD document information read method embodiment; It is a kind of consistent and be specifically used in the irrelevant read method of CAD system that generates CAD document that the CAD document that the method generates for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; The method comprises:
Step 1101, definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into;
Step 1102, user reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database;
Step 1103, sends the reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part to a CAD document access device; Described CAD document access device, for providing unified and general access interface to the CAD system of various isomeries;
Step 1104 reads the CAD pel table data of described appointment from CAD document by CAD document access device; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 1105, receives the CAD pel table data of returning from CAD document access device, write ephemeral data storage;
Step 1106, described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
Step 1107, reads data after treatment the regulation of the filling mode in rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Step 1108, the CAD document output parameter that information is on expression vector stores in database.
Wherein step 1102 and step 1103 are not temporally closely to continue, and need to use the result of step 1102 but priority in logic relies on------step 1103, and the concrete isomery CAD document information that it generates reads rule; In Figure 11, dotted arrow represents the flow direction of data, and the arrow of solid line represents the flow direction of controlling, the i.e. execution sequence of each step.
Described CAD system is computer aided design system; The file that described CAD document utilizes CAD system to generate for user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor, CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
It is in published product " diligent wise Excel server ", to make a report in the module of website and use, the list that can be made a report on and be shown by browsing device net page that described Excel server is made a report on website and webpage list.
Described data source is the set of one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Described filling mode is that the information and the information that in data source, extract are the corresponding relation between assigned address on expression vector.
Described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
For example, be that a concrete isomery CAD document information reads regular example below:
Doctype: AutoCAD
Data source: current document. line
Screening conditions: live width=5
Filling mode:
" maximal value (line. length) "---" wheelbase " field on-> (inserting) " output parameter " list
Application opportunity: after list is opened, list preserve before, user manually carries out
The expressed implication of this example is: user requires to choose in all " line " from the current AutoCAD document of editing those " lines " of " live width=5 ", calculate the maximal value of the length of these lines, this maximal value be placed into predefined good by name " output parameter;, list on the position of " wheelbase " field; This rule will be automatically performed, or manually be carried out by user in " list is opened rear ", " before list preservation ".
Please continue referring to Figure 12, be the structural drawing of an isomery CAD document information reading device embodiment corresponding with above-mentioned isomery CAD document information read method; It is a kind of consistent and be specifically used in irrelevant the reading of CAD system that generates CAD document that the CAD document that this device generates for the CAD system of various isomeries provides, for obtaining from CAD document and the CAD system of other isomery generates and carries out the needed key parameter of data interaction between document; This device comprises as lower module:
Isomery CAD document information reads rule template definition module 1201, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition of the data to extracting from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
Isomery CAD document information reads regular generation module 1202, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database 1203;
Reading requirement sending module 1204, for sending the reading requirement that the concrete isomery CAD document information of user's appointment is read to the specified CAD pel table of regular data source part to CAD document access device module 1205;
CAD document access device module 1205, provides unified and general access interface to the CAD system of various isomeries; For reading the CAD pel table data of described appointment from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Data reception module 1206, the CAD pel table data of returning for receiving CAD document access device 1205, are write ephemeral data storage;
Data query module 1207, described ephemeral data storage, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and obtains data after treatment;
Data present module 1208, and for data after treatment are read to the regulation of the filling mode of rule according to described concrete isomery CAD document information, the information of being placed into is on expression vector; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management;
Data memory module 1209, stores database 1203 into for CAD document output parameter information being on expression vector;
Database 1203, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information;
Described information is expression vector for the data that extract from CAD document being provided or representing to user, is one of table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on the electronic spreadsheet that website and webpage list maybe can be inputted and be shown by computer or handheld device.
Described data source is the set of one or more table names and alternatively, the relationship description between these tables; Table name is the table name of CAD pel table, and/or table name or view name in database; Described " relationship description between table ", has described the incidence relation between the data of multiple tables, and described incidence relation comprises interior connection, left outside connection, right outside connection or entirely connects;
Described screening conditions are an expression formula that result is Boolean type, wherein comprise the field in the table in data source.
Described filling mode is that the information and the information that in data source, extract are the corresponding relation between assigned address on expression vector.
Described filling mode is one or more filler destination aggregation (mda)s; Described filling project, refers to an expression formula or a tlv triple; Described triple table is shown item=(expr, op, target), and wherein item is tlv triple; Expr is expression formula; Target is that information is the assigned address on expression vector; Op is to the mode on target by the Content placement of expr; Described mode comprises inserts, constructs one of drop-down option or location.
Described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
Isomery CAD document information update method and device embodiment
Fig. 9 is the process flow diagram of a kind of isomery CAD document information update method embodiment, the CAD document that the method generates for the CAD system of various isomeries provides a kind of irrelevant update method to CAD information in document of CAD system unanimously and that be specifically used for generating document, for being updated to CAD document by the parameter of obtaining from the CAD document of other isomery or from the parameter of database, to realize, the external parameter of CAD document is driven; The method comprises the steps:
Step 901, definition isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Step 902, user, according to isomery CAD document information update rule template, is the each several part assignment of isomery CAD document information update rule template, generates concrete isomery CAD document information update rule, and is stored in database;
Step 903, read the data of specifying in the data source of concrete isomery CAD document information update rule of appointment, according to the regulation of screening conditions in the concrete isomery CAD document information update rule of described appointment, screen, data after screening are processed according to the regulation of the update mode of the concrete isomery CAD document information update rule of described appointment, obtained result data collection; Described result data integrates as CAD pel table data, for being updated to CAD document, drives the change of out of Memory in CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
Step 904, when the renewal of described concrete isomery CAD document information update rule is operating as when newly-increased, execution step 905; In the time that the renewal of described concrete isomery CAD document information update rule is operating as renewal, execution step 906; In the time that the renewal of described concrete isomery CAD document information update rule is operating as deletion, execution step 907;
Step 905, is increased to CAD pel table data concentrated result data in CAD document, then performs step 908;
Step 906, revises the corresponding CAD pel table data in CAD document according to result data collection; Then perform step 908;
Step 907, deletes the CAD pel table data of answering with result data set pair in CAD document;
Step 908, the demonstration that refreshes CAD document.
Wherein step 902 and step 903 are not temporally closely to continue, and need to use the result of step 902, the concrete isomery CAD document information update rule that it generates but priority in logic relies on------step 903; In Fig. 9, dotted arrow represents the flow direction of data, and the arrow of solid line represents the flow direction of controlling, the i.e. execution sequence of each step.
CAD system described in the present embodiment is computer aided design system; The file of described CAD document for utilizing the CAD system of various isomeries to generate by user; Described computer aided design system comprises: AutoCAD, Pro/E, Solidworks, Inventor or CATIA;
Described primitive information, for all information that can have access to by the DLL (dynamic link library) of CAD system in CAD document, comprise geological information and non-geological information, for example, geological information in AutoCAD and technical information, characteristic information in Pro/E, physical message, technical information, management information etc.;
Described update mode is the set of one or more renewal items; Described renewal item, refers to a tlv triple, is expressed as item=(expr, op, target), and wherein item is tlv triple, and expr is expression formula; Target is the field name in upgating object, and op is to the mode on target by the content update of expr; Described mode comprises to be inserted or locates.
Described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
Described isomery CAD document information update rule template, also comprises application opportunity; Described application opportunity, referring to meet this rule in the situation what operation what conditioned disjunction user carried out will be performed, and carry out actual Data Update;
For example, be an example of a concrete isomery CAD document information update rule below:
Doctype: Pro/E
Upgating object: current document. parameter
Update mode: newly-increased
Data source:, product standard parameter list
Screening conditions: product standard parameter list. product type=" A5 "
Update mode:
Current document. parameter. parameter name=product standard parameter list. parameter name
Current document. parameter. parameter value=product standard parameter list. design reference value
Application opportunity: when document is opened, user manually carries out
The expressed implication of this example is, user requires the product design parameter of storing in database to be increased in the current Pro/E document of opening, specific requirement is, in " product standard parameter list " from database, inquiry meets whole records of product type=" A5 " this condition, for its every record, in " parameter " of current Pro/E document, increase by one, " parameter name " field that its parameter assignment is this record, " design reference value " field that its parameter value assignment is this record; This rule automatically performs in the time that Pro/E document is opened, or is manually carried out by user;
Please continue referring to Figure 10, for the structural drawing of an isomery CAD document information updating device embodiment corresponding with above-mentioned isomery CAD document information update method, this device provides a kind of irrelevant renewal to CAD information in document of CAD system unanimously and that be specifically used for generating document for the CAD document generating for the CAD system of various isomeries, be updated in CAD document by the parameter of obtaining from the CAD document of other isomery or from the parameter of database, to realize, the external parameter of CAD document driven; This device comprises as lower module:
Isomery CAD document information update rule template definition module 1001, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition of the data to extracting from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module 1002, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database 1003;
Data query module 1004, read the data of specifying in the data source of concrete isomery CAD document information update rule of appointment, according to the regulation of screening conditions in the concrete isomery CAD document information update rule of described appointment, screen, data after screening are processed according to the regulation of the update mode of the concrete isomery CAD document information update rule of described appointment, obtained result data collection; Described result data integrates as CAD pel table data, for being updated to CAD document, drives the change of out of Memory in CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
CAD primitive data increases module 1005 newly, for CAD pel table data concentrated result data are increased to CAD document;
CAD primitive data modified module 1006, for revising the corresponding CAD pel table data of CAD document according to result data collection;
CAD primitive data removing module 1007, for the CAD pel table data of answering with result data set pair of deleting CAD document;
CAD document shows refresh module 1008, for refreshing the demonstration of CAD document.
Described update mode is the set of one or more renewal items; Described renewal item, refers to a tlv triple, is expressed as item=(expr, op, target), and wherein item is tlv triple, and expr is expression formula; Target is the field name in upgating object, and op is to the mode on target by the content update of expr; Described mode comprises to be inserted or locates.
Described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All in spirit of the present invention with and within principle, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (16)

1. a Heterogeneous CAD System integrated approach, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realize data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries, and it is characterized in that, the method comprises:
Definition isomery CAD document information reads rule template; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition for the data that extract from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
User reads rule template according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generates concrete isomery CAD document information and reads rule, and be stored in database;
From CAD document, read described concrete isomery CAD document information and read the specified CAD pel table data of regular data source part; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
The CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, and data placement after treatment is on expression vector or is stored in database to information; Described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management.
2. Heterogeneous CAD System integrated approach according to claim 1, is characterized in that, the method also comprises:
Definition isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition for the data that extract from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
User, according to isomery CAD document information update rule template, is the each several part assignment of isomery CAD document information update rule template, generates concrete isomery CAD document information update rule, and is stored in database;
According to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
According to the update mode of specifying in described concrete isomery CAD document information update rule, the input parameter of described CAD document is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery.
3. a kind of Heterogeneous CAD System integrated approach according to claim 1, it is characterized in that, described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is that excel spreadsheet lattice, WPS electrical form, OpenOffice electrical form, Excel server are made a report on website and webpage list.
4. a kind of Heterogeneous CAD System integrated approach according to claim 1, it is characterized in that, described information is expression vector for the data that extract from CAD document being provided or representing to user, is the table in list, window, Email, SMS or database; Described list is the electronic spreadsheet that can be inputted and be shown by computer or handheld device.
5. a kind of Heterogeneous CAD System integrated approach according to claim 1, is characterized in that, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
6. a kind of Heterogeneous CAD System integrated approach according to claim 2, is characterized in that, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
7. a kind of Heterogeneous CAD System integrated approach according to claim 1, is characterized in that, the method also comprises:
The pattern of regulation list, and define the data item on list; Described list is for receiving user's input, and represents the CAD document output parameter that is stored in database or the data of user's input to user; Data item on described definition list, for give user the title of appointment for the assigned address on list, and stipulates the type of the data that can input or show on this position;
Newly-built list, open and/or edit existing list, deposit the data of the CAD document output parameter on list or user input in database.
8. according to a kind of Heterogeneous CAD System integrated approach described in claim 1,2 or 7, it is characterized in that, the method also comprises:
In the operating environment of CAD system, increase custom menu or toolbar;
Response user carries out corresponding operation to the click behavior of custom menu or toolbar in the operating environment of CAD system, comprises operation list, submits CAD document to database or utilize the information in the Data Update CAD document in database.
9. a Heterogeneous CAD System integrating device, read or upgrade for the unification that realizes the file information that the CAD system of various isomeries is generated, and then realize data interaction, bi-directional drive and/or the collaborative design between the CAD system of described various isomeries, it is characterized in that, this device comprises with lower module:
Isomery CAD document information reads rule template definition module, reads rule template for defining isomery CAD document information; This template comprises data source, screening conditions, filling mode; Described data source comprises the data of storing in CAD pel table in CAD document, database and/or the data of user's input; Described screening conditions are the filtercondition for the data that extract from data source; Described filling mode defines for from extracting data source and data after screening conditions are filtered are carried out corresponding computing, and the result after computing is placed into information is on expression vector or stores the mode in database into; The file that described CAD document utilizes CAD system to generate for user;
Isomery CAD document information reads regular generation module, read rule template for user according to isomery CAD document information, for isomery CAD document information reads the each several part assignment of rule template, generate concrete isomery CAD document information and read rule, and be stored in database;
CAD document access device module, for providing unified and general access interface to the CAD system of various isomeries; Described CAD document access device module comprises CAD primitive data read module, reads the specified CAD pel table data of regular data source part for read described concrete isomery CAD document information from CAD document; Between the CAD system that described CAD pel table is the described various isomeries in CAD document, carry out the required class primitive information of data interaction, bi-directional drive and/or collaborative design;
CAD document output parameter acquisition module, be used for the CAD pel table data of described appointment, read the data combination of the data of storing in the specified database of regular data source part and/or user's input with described concrete isomery CAD document information, read the regulation of screening conditions in rule according to described concrete isomery CAD document information, screen, the regulation that data after screening are read to the filling mode in rule according to described concrete isomery CAD document information is processed, data placement after treatment is on expression vector or is stored in database to information, described data after treatment are the output parameter of CAD document, for carrying out data interaction with the CAD system of other isomery, or for product data management,
Database, reads the output parameter of rule, CAD document and/or the data of user's input for storing concrete isomery CAD document information.
10. a kind of Heterogeneous CAD System integrating device according to claim 9, is characterized in that, this device also comprises:
Isomery CAD document information update rule template definition module, for defining isomery CAD document information update rule template; This template comprises upgating object, upgrades operation, data source, screening conditions, update mode; Described upgating object is a CAD pel table table name; That described renewal is operating as is newly-increased, revise, deletion one or more; Described data source comprises the output parameter of the CAD document being stored in database or is stored in the data of the user's input in database; Described screening conditions are the filtercondition for the data that extract from data source; Described update mode be for from data source, extract and through screening conditions filter after data carry out corresponding computing, according to the result after computing to upgating object carry out upgrade operation;
Isomery CAD document information update rule generation module, be used for user according to isomery CAD document information update rule template, for the each several part assignment of isomery CAD document information update rule template, generate concrete isomery CAD document information update rule, and be stored in database;
CAD document input parameter acquisition module, be used for according to described concrete isomery CAD document information update rule, read the data of specifying in the data source of described concrete isomery CAD document information update rule, according to the regulation of screening conditions in described concrete isomery CAD document information update rule, screen, data after screening are processed according to the regulation of the update mode of described concrete isomery CAD document information update rule, obtained data after treatment; Described data after treatment are the input parameter of CAD document, for being updated to CAD document, drive the change of out of Memory in CAD document;
CAD document access device module comprises CAD primitive data update module, for the update mode of specifying according to described concrete isomery CAD document information update rule, result data is updated in the CAD document of CAD system of other isomery to data interaction, bi-directional drive and/or the collaborative design of the CAD system of realization and other isomery.
11. according to a kind of Heterogeneous CAD System integrating device described in claim 9 or 10, it is characterized in that, described CAD document access device module also comprises one or more CAD system interface operational module; Described CAD system interface operational module, for responding CAD primitive data read module and/or the operation requirements of CAD primitive data update module to CAD document, be translated into for the sequence of operation of corresponding CAD system DLL (dynamic link library) and carry out, and by result feedback to CAD primitive data read module and/or CAD primitive data update module; Corresponding CAD system, for one of CAD system of multiple isomery, refers to the CAD system for generating CAD document.
12. a kind of Heterogeneous CAD System integrating devices according to claim 11, it is characterized in that, CAD system interface operational module in described CAD document access device, for CAD document is carried out and opened or preservation or shutoff operation, increase custom menu or toolbar button in the operating environment of CAD system, and respond custom menu or toolbar button clicking operation, present CAD document data structure, read the information in CAD document or upgrade the information in CAD document;
Described CAD document data structure is the set of CAD pel list structure; Described CAD pel list structure, refers to describe title and other attribute of CAD pel table and title, data type and other attribute of the sub-project comprising in CAD pel table.
13. a kind of Heterogeneous CAD System integrating devices according to claim 9, is characterized in that, described isomery CAD document information reads rule template and also comprises application opportunity; Described application refers to read regular condition for triggering the concrete isomery CAD document information of execution opportunity.
14. a kind of Heterogeneous CAD System integrating devices according to claim 10, is characterized in that, described isomery CAD document information update rule template also comprises application opportunity; Described application refers to the condition of carrying out concrete isomery CAD document information update rule for triggering opportunity.
15. a kind of Heterogeneous CAD System integrating devices according to claim 9, it is characterized in that, this device also comprises list operational module, for data item, newly-built list on the pattern of regulation list, definition list, open and/or edit existing list, deposit the data of the CAD document output parameter on list or user's input in database;
Described list is for receiving user's input, and represents the CAD document output parameter that is stored in database or the data of user's input to user; Data item on described definition list, for give user the title of appointment for the assigned address on list, and stipulates the type of the data that can input or show on this position.
16. according to a kind of Heterogeneous CAD System integrating device described in claim 9,10 or 15, it is characterized in that, this device also comprises CAD document function client; Described CAD document function client, for increasing custom menu or toolbar to the operating environment of CAD system; Also in the operating environment of CAD system, the click behavior of custom menu or toolbar is carried out to corresponding operation for responding user, comprise operation list, submit CAD document to database or utilize the information in the Data Update CAD document in database.
CN201210016723.1A 2012-01-19 2012-01-19 CAD (computer aided design) server device and method Active CN102609572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210016723.1A CN102609572B (en) 2012-01-19 2012-01-19 CAD (computer aided design) server device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210016723.1A CN102609572B (en) 2012-01-19 2012-01-19 CAD (computer aided design) server device and method

Publications (2)

Publication Number Publication Date
CN102609572A CN102609572A (en) 2012-07-25
CN102609572B true CN102609572B (en) 2014-05-21

Family

ID=46526940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210016723.1A Active CN102609572B (en) 2012-01-19 2012-01-19 CAD (computer aided design) server device and method

Country Status (1)

Country Link
CN (1) CN102609572B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036059B (en) * 2013-03-07 2017-02-08 纬衡浩建科技(深圳)有限公司 Primitive-based engineering collaborative design method and system
CN105868380A (en) * 2016-04-01 2016-08-17 广州唯品会网络技术有限公司 Heterogenous data reading method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002312215A (en) * 2001-04-10 2002-10-25 Fujitsu Ltd Data linking device and data linking program
CN1427363A (en) * 2001-12-19 2003-07-02 深圳市中兴通讯股份有限公司上海第二研究所 General report form generation method
CN101377796A (en) * 2008-09-23 2009-03-04 武汉大学 Data communication method of parameter characteristic model between isomerization CAD systems based on course recovery
EP2372533A1 (en) * 2009-07-16 2011-10-05 Tangshan Railway Vehicle Co., Ltd Method and platform for integrating a heterogeneous collaborative design system of work group and product lifecycle management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002312215A (en) * 2001-04-10 2002-10-25 Fujitsu Ltd Data linking device and data linking program
CN1427363A (en) * 2001-12-19 2003-07-02 深圳市中兴通讯股份有限公司上海第二研究所 General report form generation method
CN101377796A (en) * 2008-09-23 2009-03-04 武汉大学 Data communication method of parameter characteristic model between isomerization CAD systems based on course recovery
EP2372533A1 (en) * 2009-07-16 2011-10-05 Tangshan Railway Vehicle Co., Ltd Method and platform for integrating a heterogeneous collaborative design system of work group and product lifecycle management system

Also Published As

Publication number Publication date
CN102609572A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
AU2013278969B2 (en) A computing device for state transitions of recursive state machines and a computer-implemented method for the definition, design and deployment of domain recursive state machines for computing devices of that type
Nassar et al. Rule-based repair of EMF models: An automated interactive approach
WO2015196782A1 (en) Visual modeling editor for constructing system model
Sy et al. Product design analysis based on life cycle features
Johannesson et al. Systematic product platform design: a combined function-means and parametric modeling approach
US20120226967A1 (en) Spreadsheet-Based Graphical User Interface for Modeling of Products Using the Systems Engineering Process
Davis HIPO (hierarchy plus input-process-output)
WO2015196783A1 (en) Software element model-based universal software modelling method for constructing software model
CN102567590B (en) CAD (computer aided design) server device and method
Kongdenfha et al. Rapid development of spreadsheet-based web mashups
Molcho et al. Computer aided manufacturability analysis: Closing the knowledge gap between the designer and the manufacturer
US10417924B2 (en) Visual work instructions for assembling product
WO2015196785A1 (en) Visual software modelling editor for constructing software model
CN104951954A (en) FMCG research system
CN102609572B (en) CAD (computer aided design) server device and method
CN102567547B (en) CAD (computer aided design) server device and method
JP2022093293A (en) Online report preparation system using excel tool
Qamar et al. Managing dependencies in mechatronic design: a case study on dependency management between mechanical design and system design
de Lange et al. Collaborative wireframing for model-driven web engineering
Louis-Sidney et al. A conceptual model for the implementation of an Inter-Knowledge Objects Exchange System (IKOES) in automotive industry
Uddin et al. A feature-based engineering methodology for cyclic modeling and analysis processes in plastic product development
Zhang et al. A knowledge‐based system for process family planning
Brodsky et al. Catalyzing the Agility, Accessibility, and Predictability of the Manufacturing-Entrepreneurship Ecosystem through Design Environments and Markets for Virtual Things.
KR101818745B1 (en) Drawing and product management system, and Controlling method therefor
Bredenfeld Integration and evolution of model-based tool prototypes

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