CN1700652A - Collaborative design method based on collaborative template - Google Patents

Collaborative design method based on collaborative template Download PDF

Info

Publication number
CN1700652A
CN1700652A CN 200510040411 CN200510040411A CN1700652A CN 1700652 A CN1700652 A CN 1700652A CN 200510040411 CN200510040411 CN 200510040411 CN 200510040411 A CN200510040411 A CN 200510040411A CN 1700652 A CN1700652 A CN 1700652A
Authority
CN
China
Prior art keywords
design
template
file
task
subtask
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510040411
Other languages
Chinese (zh)
Other versions
CN100367712C (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.)
Hefei University of Technology
Original Assignee
Hefei University of Technology
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 Hefei University of Technology filed Critical Hefei University of Technology
Priority to CNB2005100404114A priority Critical patent/CN100367712C/en
Publication of CN1700652A publication Critical patent/CN1700652A/en
Application granted granted Critical
Publication of CN100367712C publication Critical patent/CN100367712C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

This invention discloses an assistant design method based on assistant mode, which divides the designing subject into a series of sub-mode assistant design tasks through the analysis of general designer and then aligns the sub-task to the sub designer through inter cooperation and uses held mode for task design and result deliver and finally, the general designer combines the sub tasks to get the design results and keep the assistant mode.

Description

A kind of collaborative design method based on collaborative template
Technical field
The present invention relates to collaborative design and stencil design field, a kind of specifically collaborative design method based on collaborative template.
Technical background
Computer Supported Collaborative Design is the application of CSCW (computer supported cooperative work) in product development process.Traditional product design is main to be designed to by hand on the drawing, and the design cycle is long, and quality can not guarantee, the design cost height.The appearance of cad technique and development have changed this situation greatly, and product design has had qualitative leap.Along with being extensive use of of CAD system and developing rapidly of CSCW area research, people are seeking cad technique and CSCW technology are combined, with the collaborative design system of development computer support.Collaborative design is the important application of coordination technique in field of computer aided design, mainly is to solve the designer that the region disperses, and by instrument and technology such as computer network, multimedia technologies, a design objective is finished in the interchange of cooperating with each other jointly.Need in the collaborative design problem that solves except collaborative subject matter as text interchange, Video show, whiteboard system, the concurrent and consistency control etc., also have some problems, as problems such as the consistency of the inconsistency of the assembling of the transmission of big file, design result, design platform, collaborative editing, Version Control specific to the field.Problem in the collaborative design is more than the problem complexity in general the working in coordination with.
Formally proposed for the first time the notion of CSCW from Paul Cashman two people of the Iren Grief of MIT in 1984 and DEC, the research for computer supported cooperative work both at home and abroad obtains very big progress in each application.The commercially available software that a lot of maturations have been arranged aspect collaborative design.Yet under present network bandwidth environment, links such as the task decomposition of real realization distributed collaboration design, information interchange, product assembling, these softwares are owing to the restriction of the network bandwidth and speed, in the bigger influence that is subjected to network condition in real-time, interactivity, result's aspects such as correctness.
Summary of the invention
The present invention is directed to the problem that occurs in the above-mentioned collaborative design, a kind of collaborative design method based on collaborative template is proposed, template and collaborative design are combined, form collaborative template, it is the abstract general data representation that can describe geometry and attribute information with semantic function, it not only comprises geometric attribute, engineering attribute, more has network attribute, task attribute etc. to support the specific properties information of synergistic mechanism, supports the overall process of collaborative engineering design.Multiple modes such as collaborative template adopt to decompose, compound, replacement, succession have improved expandability and the diversity that designs a model in the network.
Purpose of the present invention
The objective of the invention is on the research basis of collaborative design and mould plate technique, practical problem in conjunction with engineering design, exploration has the design environment and the flow process framework of the collaborative template that synergistic mechanism and template combine, decomposition, issue and the control of design objective and the definition of template and compound, the parameter of expression, template such as separate at method under the research network cooperative surroundings with structure, for new networked product design provides prototype frame and basis.
Technical scheme of the present invention
A kind of collaborative design method based on collaborative template, it is characterized in that: the template in elder generation search pattern storehouse in computer and corresponding task match condition, there is template to exist, in computer, carry out the work of template collaborative editing, there is not template to exist, concern, be operatively connected information according to the external constraint of design objective, whole constraint rule, component locations, in computer, create corresponding assignment database and create interface by assignment database; The overall design end is divided into design objective and a series ofly is made up of one or several associated components in computer, and the corresponding sub-design objective of corresponding subtemplate is arranged, constraint information according to assignment database, produce the serial parallel relation of reflection task and the task precedence graph that carry out the control subtask, release tasks is to can the demonstration task releasing news and precedence graph information in computer, and carries out the son design end of the application and the competition of subtask; Computer carries out the distribution of task or carries out the distribution of subtask by force according to the subtask application status; After computer task distributes, the son design terminates to the subtask and the subtask designing requirement file of distribution, this subtask does not have precursor task or its precursor task all to finish, then sub-designer can carry out the design of subtask, otherwise sub-designer carries out the design of subtask after all precursor tasks of its subtask have all been finished; Sub-designer carries out the design of subtask according to subtemplate structured file and subtask designing requirement file, obtains and submits the subtemplate Parameter File to the overall design end; It is compound that the overall design end carries out template, the real-time interpretation design result, detect to submit the correctness of subtask to, error-freely then confirm the subtask result, the subtask becomes completion status by submit state, after the subtask is confirmed, activate the follow-up subtask of this task and relevant information is passed to other subtasks of the constraint that is subjected to, after active information is received in other subtasks, judge whether its precursor task is all finished, then do not continue to wait for, otherwise this subtask begins to design; In design process, between the parallel task, exist between the subtask of ring constraint and carry out information interchange between the designer by collaborative communication means such as textcommunication, voice communication, whiteboard system; After finish all subtasks, the overall design end is checked, is verified and see whether the result adheres to specification in the computer, satisfied then task is finished the template of preserving design result, otherwise, computer is return those subtasks that do not meet designing requirement again and is designed, repeat the process of front, till design result meets the requirements.
Described a kind of collaborative design method based on collaborative template, it is characterized in that: the structure of described collaborative template is separated with parameter, in computer, the structure and parameter of template is separated, data with template parameter representation of file design object, the frame structure of representing design object with the formwork structure file, represent a class design object with a formwork structure, and represent the different instances of this design object with different Parameter Files, son design end will represent that the template parameter file transfers of design result is to the overall design end, the overall design end obtains and template parameter file formwork structure file one to one according to the template parameter file, remove to resolve the template parameter file according to formwork structure by the template interpreter, draw the complete information of design result, and the moulding result is shown by the moulding explanation module.
Described a kind of collaborative design method based on collaborative template, it is characterized in that: the compound and assembling of described collaborative template, comprise when the overall design end is initiated task and create subtemplate Parameter File and the structured file that interface produces by assignment database, the design constraint file, the position relational file, operation and threaded file, computer judges that at first there is situation in template file, template file does not exist, computer produces template file and basic templates element framework, produce the design constraint file of general assignment to the translation interface of XML according to assignment database, the position relational file, be operatively connected file, and be compound in total template, when the subtemplate file is Parameter File, with subtemplate Parameter File and structured file combine produce can be compound the subtemplate file, preliminary treatment subtemplate file, handle the compound subtemplate file of parts Name Conflict problem in repeatedly compound problem of subtemplate and the template, compound tense is according to the subtemplate compound corresponding action of doing whether, the compound sign of task in the compound back change of the subtemplate assignment database, preserve template, it is compound to finish a subtemplate.
Described a kind of collaborative design method based on collaborative template is characterized in that: described collaborative design method based on collaborative template adopts the stencil design SGML.
Principle of the present invention
The collaborative template notion under the prerequisite that the collaborative design recent years develops rapidly, is arisen at the historic moment in conjunction with the application foundation of template in engineering design field just.It has been endowed new network characteristic on the basis of template.Collaborative template is the abstract general data representation that can describe geometry and attribute information with semantic function equally, meet the engineering design standards and norms, it not only comprises geometric attribute, engineering attribute, more there are network attribute, task attribute etc. to support the specific properties information of synergistic mechanism, support the overall process of collaborative engineering design.CoT is the abbreviation of collaborative template, and its formalized description can be expressed as: CoT=<M-ID, T-ID, C, E, T, RU, RE, OP 〉, wherein M-ID represents independently cotasking ID number; T-ID represents unique collaborative template ID number; C refers to the parts collection in the collaborative template; E then is a series of expression formula; T has write down network cooperating and workflow is carried out required mission bit stream; The constraint rule storehouse of RU finger part and task; RE has described the position relation; OP then is the collection of storing template operation.
On the stencil design markup language form with XML (The eXtensible Markup Language) as the basis of expressing, the syntax gauge that not only meets XML, simultaneously in order to adapt to the description design object, the special requirement of description template structure and collaborative template operation, TDML also has a cover grammer and the semantic rules of self.TDML mainly has following advantage as the descriptive language of collaborative template and operation thereof:
Readable good: the field of TDML all is made up of text and label, by mating corresponding label and text, is highly susceptible to understanding and explaining.
Strict syntax gauge: TDML has extremely strong syntactic definition, very is suitable for describing the collaborative template of the standard of being rich in and rule.
Extensibility: the TDML based on XML definition has sufficient flexibility, can expand new field and rule creates conditions for template.
Independently content and structure: TDML is defined as a kind of semanteme-structure language equally, and its content and label can be stripped from very easily and be come, and has satisfied the special requirement that the collaborative template structure is separated with parameter.
General standard: under the support of XML, TDML can the interdisciplinary cross-cutting multiple information of description.
The expression mode and the structure of collaborative template:
Stencil design SGML (TDML) is the descriptive language that is used for collaborative interchange, order control and collaborative template structure, design parameter, meets the syntax gauge of XML, is the tissue and the expression way of collaborative template.According to the needs of describing design object information, seven big elementary fields (seven template basic elements) in the stencil design SGML, have been defined: InputPara, Components, Expressions, Rules, Relations, Operations and Links, respectively corresponding seven kinds of design informations.Each field has corresponding separately vocabulary and grammatical and semantic, and each lexical representation certain grammar constitutes and be semantic; And each field is made of the son field vocabulary with certain semantic.A TML file (also being template file) that is used to describe design object information has a template root element Template, and it has attributes such as TID, name, and is made up of above-mentioned seven basic daughter elements.
The grammer of TDML:
[1]TMLDocument∷=XMLDecl?Comment*Template?Comment*
[2]Template∷=‘<Template>’InputPara?Components?Expressions?Rules?
Relations?Operations?Links?…?‘</Template>’
[3]InputPara∷=‘<InputPara>’(table|if|default|express|string|graph…)+
‘</InputPara>’
[4]Components∷=‘<Components>’ComponentInfo+‘</Components>’
[5]Exressions∷=‘<Expressions>’(table|if|default|express|string|
graph|…)+‘</Expressions>’
[6]Rules∷=‘<Rules>’(table|if|default|express|string|graph|…)+
‘</Rules>’
[7]Relations∷=‘<Relations>’(UpComponent|LeftComponent|Parallel|
Tangency
|…)+‘</Relations>’
[8]Operations∷=‘<Operations>’(Embedding|Luoliaokong|…)+
‘</Operations>’
[9]Links∷=‘<Links>’(luoding|xiaoding|daohuald|dagan|…)+
‘</Links>’
[10]UpComponent∷=‘<UpComponent>’Component1?Component2?xDistance
yDistance?zDistance‘</UpComponent>’
[11]Embedding∷=‘<Embedding>’Component1?Component2?Distance
‘</Embedding>’
[12]Table∷=‘<table>’Varname?TableName?DatabaseName?QueryItem?Condition
</table>’
[13]if∷=‘<if>’Varname?Condition?ifValue?ElseValue‘</if>’
[14]default|express|string|graph∷=‘<’(‘default’|‘express’|
‘string’|‘graph’)‘>’
Varname?Value‘</’(‘default’|
‘express’|‘string’|‘graph’)‘>’
[15]luoding/xiaoding/daohuald/dagan∷=‘<’(‘luoding’|‘Xiaoding’
‘daohuald’|
‘dagan’)‘>’Linkname?Component+‘</’(‘luoding’
‘xiaoding’|‘daohuald’|‘dagan’)‘>’
[16]ComponentInfo∷=‘<’ComponentType‘>’parent?name‘</’
ComponentType‘>’
[17]Component∷=‘<Component>’ComponentName‘</Component>’
[18]Varname∷=‘<Varname>’ComponentName“.”Name?</Varname>’
[19]Linkname∷=‘<Linkname>’LinkObjName‘</Linkname>’
[20]parent∷=‘<parent>’ComponentType‘</parent>’
[21]name∷=‘<name>’ComponentName‘</name>’
[22]LinkObjName|ComponentName|ComponentType∷=Name
[23]Value∷=‘<Value>’numberValue|expressValue|stringValue
‘</Value>’
[24]numberValue∷=(‘+’|‘-’)?([0-9])+(‘.’[0-9]+)?
[25]expressValue∷=expressValue(‘+’|‘-’|‘*’|‘/’)expressValue
|‘(‘expressValue‘)’
|numberValue|Varname
[26]stringValue∷=Char*
[27]Char∷=[#x1-#xD7FF]|[#xE000-#xFFFD]|[#x10000-#x10FFFF]
/*any?Unicode?character,excluding?the?surrogate?blocks,FFFE,and?FFFF.
*/
[28]NameStartChar∷=″:″|[A-Z]|″_″|[a-z]|[#xC0-#xD6]|[#xD8-#xF6]|
[#xF8-#x2FF]|[#x370-#x37D]|[#x37F-#x1FFF]|[#x200C-#x200D]|[#x2070-#x218F]
|[#x2C00-#x2FEF]|[#x3001-#xD7FF]|[#xF900-#xFDCF]|[#xFDFO#xFFFD]
[#x10000-#xEFFFF]
[29]NameChar∷=NameStartChar|″-″[0-9]|#xB7|[#x0300-#x036F]|
[#x203F-#x2040]
[30]Name∷=NameStartChar(NameChar)*
Sentence [1] illustrates that a TML file is made up of XML statement, note and a Template root element.The EBNF of XMLDecl and Comment represents that with the middle XML syntactic representation of list of references [2] be the same, does not write out here.Sentence [2] illustrates the formation of a Template template root element: seven big basic elements.Here we use " ... " expression Template root element can be expanded new basic element field.Other appearance " ... " the place also represent expandability.[3], [5], [6] are that the grammer of InputPara, Expressions and Rules constitutes, they are made up of similar daughter element, are represented design information implication difference.[12], [13], [14] are that its six daughter element grammers of explanation constitute.[4] described is Components parts Global Information content.[7], [8], [9] are represented the expression of Relations assembly relation, Operations operation and Links link information respectively.Other expressions be respectively that the grammer of its daughter element and sub-daughter element constitutes.In [14], [15], [22] " ∷=" left side occurred " | " meet expression or relation, " | " only appears at the right in EBNF, the implication that we here represent is: the composition arranged side by side that is connected by " | " has identical grammer to constitute, their title difference just, the place that " | " appears in their title and the right is one to one.Here we do not have complete listing to the syntactic representation of TML, and mainly due to the consideration of length, we have listed topmost syntactic representation part.
The semanteme of TDML:
InputPara input parameter section
When we studied design object, finding needed some outside input parameter information in some design object such as the cold-punching mould system, and these information play the external constraint effect to this design object.As at first needing to obtain importing according to the information of input product etc. the parameter of processing in the cold-punching mould, the result that we handle input is as template file input parameter information.Be exactly some global parameter information of also will using in the cold-punching mould in addition, embed distance, offset, global.lx_bian etc. as die shank, to these information, we also offer template as input parameter information, have defined InputPara unit and have usually described this category information.The method for expressing of expression parts property value is the same among the method for expressing of these outside input parameter values and the Expressions, and we will introduce information how to represent parameter value when introducing the Expressions field.
Components component information section
Design object is formed by certain relation by a series of basic elements of character, and parts have the branch of parts and connector.In order to describe the parts configuration information of design object, reach the information such as type, title and parent of each parts, the template SGML provides the Components field to describe the information of parts.What each daughter element of Components was represented is various types of component information, and we are referred to as the title of parts element with the name of unit type.
Expresssions attribute expression formula section
For detailed design, topmost design information is the attribute information of each parts of design object.The attribute of parts is meant the information of needed material, color and physical dimension and vpg connection when describing parts.Length is exactly three necessary attributes of rectangle type components, and radius is exactly the attribute of ball type parts.The Exprssions element is exactly the value information that is used for representing these attributes and attribute thereof.The attribute information of Expressions is the component attribute information that the designer can carry out the corresponding modification design.
We are divided into six types of default, express, if, table, string, graph to the type of property value, and the description of each attribute is just usually represented with the unit that an element is called certain property value type.The formation of each property element is different again, but they all have the daughter element Varname of a representation attribute title, with " name of parts. the parts attribute-name " expression.Hypomere is the describing mode (describing mode of default, string and graph is the same with express) of Expressions element and three types of property elements thereof.
<Expressions>
<express>
<Varname>xieliaoban.holeheight</Varname>
<Value>3*global.thickness</Value>
</express>
<table>
<Varname>aomo.box_height</Varname>
<DatabaseName>moju</DatabaseName>
<TableName>btch</TableName>
<QueryItem>h</QueryItem>
<Condition>b=global.length,t=global.thickness</Conditi
on>
</table>
<if>
<Varname>aomo.box_height</Varname>
<Condition>aomo.box_height&lt;global.height</Condition
>
<ifValue>global.height+10</ifValue>
<ElseValue>aomo.box_height</ElseValue>
</if>
</Expressions>
Property element default, express, string, graph are made up of Varname and Value.Value represents a numerical value (default element), or by numeral, the expression formula character string (express element) that combines by arithmetic of parts Property Name Varname, or the character string (string element) of expression material color information, or the position of presentation graphic file (graph element).Property element if then is made up of Varname, Condition, ifValue and elseValue, represents that respectively parts attribute-name, if conditional expression, conditional expression are that property value and the conditional expression of true is the property value of false.Attribute table is by Varname, Databasename, Tablename, QueryItem and Condition, represents respectively that parts attribute-name, database-name, table name claim, query term and querying condition, and property value is exactly the value of Query Database gained.
Rules rule section
Its element composition is identical with the Expressjons element with grammer, what be that regular segment table shows is unmodifiable part in the attribute design information of parts in the template, it is mainly represented is restriction relation between the attribute of different parts, as restriction relation of physical dimension etc., so mainly be the express property element in the Rules section, represent the relation between an attribute and other attribute.Attribute information among Expressions and the Rules adds the attribute information of together just representing all parts, and each attribute information of parts object all can find the property value information of a unique correspondence at Expressions or Rules.
Relations component locations assembly relation section
The rigging position relation of each parts of expression design object.Design object is to be assembled according to certain assembly relation by a series of parts, and assembly information is the important structural information of design object.Rigging position relation information between each parts of Relations element expression design object.Position relation commonly used is the upper-lower position relation between the parts, and position, left and right sides relation; Parallel in addition, vertical, the tangent position component relation that also belongs to.
We represent parts in the position of Z direction (above-below direction) relation with UpComponent, and its grammer constitutes: be made up of Component1, Component2, zDistance, yDistance and five sub-elements of xDistance.Component1 and Component2 represent two parts (representing with name of parts) of location relation respectively.ZDistance represents the Z direction spacing between parts 1 and the parts 2 (reference part).YDistance and xDistance represent Y direction (front and back) and directions X (about) offset distance.This mainly is for fear of describing two relations between the parts with many diverse location relational statements, and concerns vocabulary in order to reduce template position, and the unit that we needn't define shape such as UpLeftComponent usually represents the position component relation.Hypomere is the example of a UpComponent position relation among the expression Relations.
<Relations>
<UpComponent>
<Component1>aomo</Component1>
<Component2>chongtou</Component2>
<zDistance>-global.thickness</zDistance>
<yDistance/>
<xDistance/>
</UpComponent>
</Relations>
The grammer of LeftComponent element constitutes the same with UpComponent, and only Biao Shi semanteme is position, the left and right sides relation of two parts.For position such as parallel, vertical and tangent relation, we temporarily also do not define detailed vocabulary and grammatical and semantic, we can be in the work of back the work of expansion this respect, sum up a cover and can describe the position of all places relation between the parts and concern vocabulary elements and its semanteme is described.
Operations operative relationship field
When describing the information of design object, we find some special design information in some object, can't describe with modes such as assemblings, and we expand and have increased operation field and describe this category information.Embed and beat two kinds of operations of material-dropping hole such as in the cold-punching mould field, often running into, this operation only can't complete description with position relation, it has represented certain position relation between the parts on the one hand, but also represent certain operational semantics, when explaining, we to do certain processing operation to its moulding.We usually represent this category information in the design object with Operaitons unit.Describe embedding commonly used in the cold-punching mould respectively and play two kinds of operations of material-dropping hole with embedding and two kinds of operations of luoliaokong element such as us.Hypomere is the expression of the luoliaokong information of the operation field in the cold-punching mould blanking template.
<Operations>
<luoliaokong>
<PlineGraph>
pline_luoliao.sat
</PlineGraph>
<Component>xiadianban</Component>
<Component>xiamojia</Component>
<Distance>offdist</Distance>
</luoliaokong>
</Operations>
Links annexation section
Connector is that commonly used being used to connects with securing part in the machinery assembling, we not only will provide its attribute information for connector, what the more important thing is its description is one group of information that connector passes part, we also will do the parts that pass for connector corresponding moulding and handle, and this is not simply to determine the position relation.We have defined Links unit and have usually described link information specially.The daughter element of Links is to represent with the type of connector, connection semanteme that different connectors is just corresponding specific has defined the link information of the connector of four types of four kinds of connexon element representation luoding (screw), xiaoding (pin), daohuald (slide guide screw), dagan (making bar) etc. in the template SGML.Hypomere is the luoding link information, and the title luoding of link information element represents that the type of connector is a screw, and it is made up of a Linkname daughter element and some Component elements.Linkname represents the title of screw, and (omponent represents the title of the parts that screw passes, and each Component element is a title of representing each parts that screw passes successively by the sequence order.The attribute information of connector all is can find in Expressions and Rules element as screw radius, screw number, screw distribution mode etc.
<Links>
<luoding>
<Linkname>luoding1</Linkname>
<Component>shangmojia</Component>
<Component>shangdianban</Component>
<Component>gudingban</Component>
</luoding>
</Links>
Connecting element x iaoding, daohuald constitutes the same with implication with the luoding grammer.
Compound and the assembling of template
In the collaborative template running, a design objective is divided into the plurality of sub task, and each subtask is made up of one or several parts.Each subtask can be designed according to corresponding subtemplate, the overall design end is preserved and passed to design result with the form of subtemplate Parameter File, the overall design end then utilizes the template composition operation that the subtask design result is combined, and forms the Template Information of complete design object at last.The template assembling is exactly with design, the assemble sequence of subtemplate according to distribution, copies the assembling of parts, and adding up is merged into complete design result.
In the operating process of reality, structure and parameter are separated exactly the relatively-stationary information that is used for description scheme in the file are become two file parts with the revisable relative information separated flexibly of designer's design.The information that has structure and design parameter two large divisions on the complete template description logic, in order to embody the advantage that collaborative template is used in network, reduce the transinformation on the network, the structure of collaborative template is separated with parameter, the transmission process under the prerequisite that has formwork structure, only the content of transmission design can significantly reduce the transmission burden, raises the efficiency.
The task precedence graph as its name suggests, is a kind of abstract graph structure of successively carrying out relation that reflected, has stored task node and the follow-up relation of the precursor between them.In the design environment of collaborative template, task control and design process are all based on the task precedence graph, and its effect can not be ignored.The issue of task and distribution, the mutual restriction of design objective, the control of serial parallel design cycle, so that the final compound and detection of template all relies on the definition of task precedence graph.Task precedence graph TPG=(PV, PE) each task node vi of PV collection represents to design the subtask, and the direct driving relationship between the then expression task of each bar directed edge that PE concentrates is a kind of precursor and follow-up relation, has transitivity.
In the collaborative template running, a design objective is divided into the plurality of sub task, and each subtask is made up of one or several parts.Each subtask can be designed according to corresponding subtemplate, the overall design end is preserved and passed to design result with the form of subtemplate Parameter File, the overall design end then utilizes the template composition operation that the subtask design result is combined, and forms the Template Information of complete design object at last.
The information of the compound needs of template comprises: subtemplate Parameter File (design result) and structured file, design constraint file, position relational file, operation and threaded file.Wherein the subtemplate Parameter File is the design result of subtask.Design constraint, position relation, to be operatively connected file then be the task global restriction information of overall design end when initiating general assignment, the task relation information between each subtask.Creating interface by assignment database when these information are overall design end initiation task produces, we will be according to the global restriction information in the assignment database at the template compound tense, be converted in the template XML fileinfo of describing constraint, position relation and being operatively connected, and be compound in total template and go.
Template is compound to be exactly that bundle template parameter fileinfo and structured file are combined, obtains compound required subtemplate information, adds design constraint information, position relation information, is operatively connected information, just obtains the required complete content of whole template.
The CompositeSubTemplate () interface of CXMLTemplateReadAndWrite class is to be used to the function of realizing that template is compound, and parameter is a template filename, subtemplate filename and Parameter File sign.In the compound process of template, total template was former non-existent before this.Also produce overall informations such as retraining accordingly, assemble, be operatively connected through the total template establishment in the compound back of the subtemplate first time.Its main recombination process is:
1) judges whether template file exists.As there not being explanation is to carry out for the first time compoundly, produces template file Document and some basic templates element frameworks.If existed then jumped to for the 3rd step.
2) if for the first time compound then according to assignment database to design constraint file, the position relational file of the translation interface generation general assignment of XML, be operatively connected file etc., and be compound in total template.
3) judge whether subtemplate justice part is Parameter File, in this way Parameter File then subtemplate Parameter File and structured file are combined produce can be compound the subtemplate file.
4) preliminary treatment subtemplate file mainly is to handle parts Name Conflict problem in repeatedly compound problem of subtemplate and the template.Because must guarantee the uniqueness of component names in our template.
5) compound subtemplate file.Compound tense will be according to the subtemplate compound corresponding action of doing whether.The compound sign of task in the compound back change of the subtemplate assignment database.
6) preserve template Document, a compound end of subtemplate.
The structure of collaborative template is separated with parameter
The proposition of collaborative template notion, one of them main cause are in order to solve the transmission problem of graphic file on the network.Adopt template design object to be described the size that can reduce the design object file greatly.Why template can reduce the size of design result greatly, mainly is because we leave the reproduction of design result for the moulding explanation module of template interpreter and bottom.Leave the template interpreter, template file is also just without any meaning.
But the content of template interpreter interprets must be the template file that data and structure semantics are arranged.Scrutinize the formation of our template, can find that part and expression section data that template is actually by the expression formwork structure constitute.What represent as Components section, Property Name, load segment, lever piece is exactly the structural information of design object, and the data message of design object is then corresponding to the property value of attribute expression formula section.If we can separate the structure and parameter of template, with the data of template parameter representation of file design object, represent the frame structure of design object with the formwork structure file, then can further reduce the size of design result.We have realized that at present the parameter of subtemplate separates with structure because in collaborative template, to transmit in a large number, compound design result all is relevant with subtemplate.
On the other hand, for certain design object class, the different just representatives of its design data have different examples.When we need preserve the different instances of same design object class, their template was except the data division difference, and the structural framing of template is duplicate.If the structure and parameter of template is separated, then we can represent a class design object with a formwork structure, and represent the different instances of this design object with different Parameter Files.For the management of template, we only need the structure of administrative template just passable like this.So also just the function of template and the supplemental characteristic of structural framing and template are separated, not only be convenient to the management of template, also further greatly reduce the size of design object data.
With formwork structure and parameter after separating, when we designed on network, son design end only need be given overall design person with the template parameter file transfers of expression design result, contains the template ID of unique sign formwork structure file in the template parameter file.The overall design end can obtain formwork structure file (template ID and formwork structure file are to concern one to one) according to template ID, remove to resolve the template parameter file according to formwork structure then, finally draw the complete information of design result, and the moulding result is shown.A condition is arranged here, is exactly that the both sides that transmit the template parameter file mutually must have the template corresponding structured file and could explain the template parameter file.
So, template parameter is separated with structure, be not only reasonably, and also necessary.Next saves us and will introduce and how template parameter and structure be separated.
Realize separating of formwork structure and parameter, most critical be the structure and parameter that how to define template, and the structure of description template how, how parameter is represented.Certainly also to consider to have separated again how to combine.
Template is by input parameter section, member segments, attribute expression formula section, rule section, position relationships segment, lever piece and linkage section.We are mainly concerned with in collaborative template is that the parameter of subtemplate is separated with structure, the submission of subtemplate and operation such as compound.So we mainly realize is that the parameter of subtemplate is separated with structure.For subtemplate, content is empty under the most of situation of some field of template, as input parameter section, lever piece and linkage section.And,,, then position relationships segment, lever piece and linkage section can be arranged if subtemplate represents is that some associated components are formed if subtemplate describes is single parts then also for empty for the position relationships segment.
For the structure of subtemplate, what member segments was represented is the template description object, belongs to structure content, is made up of unit type and name information.Yet name information for parts, what sub-formwork structure was described is a kind of structural framing content of design object, same unit type in the different designs field or different design occasions may title might not be all with being as the criterion in the structured file, perhaps a sub-formwork structure is repeatedly used in same design objective, if at this moment component names all is as the criterion with the component names of structured file, be certain to the production part Name Conflict, do not meet front said title uniqueness rule.So must offer the right that the designer revises component names to the part of component names as design information.Certainly, this just does in essential like this, if a formwork structure has only been used once in design objective, can not produce Name Conflict, just there is no need to revise component names.Then section is a unmodifiable part in the template, does not belong to the design category, also belongs to formwork structure; For the position relation, dual mode is arranged: a kind of is that the position relation is immutable, and promptly the rigging position of template description object is immutable, and this structure that object that template is described has been described is unmodifiable.Another kind is that each position component relation of design object can be adjusted.If corresponding position relation can not be adjusted, then the position relationships segment is also as the part of formwork structure; If the position concerns adjustable words, then the position concerns that content also is the part of design data, should separate with structure.In our collaborative template, each subtask position component concerns as a whole specifies unmodifiable part by overall design person in the design object, so embodied this thinking in our subtemplate, promptly relationships segment content in position is not separated as the part of formwork structure yet.For lever piece and linkage section we also be with it as formwork structure, do not separate its parameter.
The attribute section of template is the property content of each parts of design object, this is a main design contents, also be the subject matter that is solved that our parameter is separated with structure: how the parameter of attribute separates with structure, how to represent corresponding property content in structured file and Parameter File.
For attribute section, each attribute partly is made up of Property Name and property value.Property value is because the type difference is divided into six kinds of default, express, table, if etc. again.The type difference of property value, the expression mode of its value is also inequality.Thereby we are divided into two parts with attribute section: Property Name and property value, Property Name are the formwork structure parts, and property value part (the expression mode that comprises property value type and value) belongs to the argument section of template.The parameter and the structure of template are separated from template, and the expression of template is more clear like this, and the content sum of Parameter File and structured file constitutes the content of template file.The structrual description of template be certain class design object or parts, the template parameter file is then represented a particular instance of such design object, the just object that specific object is arranged.
Description of drawings
Fig. 1 schematic flow sheet of the present invention.
Task application and allocation flow figure in Fig. 2 collaborative processes of the present invention.
Fig. 3 collaborative serial parallel parameter of the present invention exchanges figure.
Fig. 4 resource map of the present invention.
Embodiment
Referring to Fig. 1-3.
The overall design task: for the design object or the heavy construction of a complexity, may relate to the professional knowledge of different field, only a people to finish all designs almost be impossible.General assignment must be divided into the plurality of sub task is finished by different designs person.In our collaborative template, what be primarily aimed at is the design objective of a somewhat complex design object.Complexity is relative, and the individual person sofa in our example, cold-punching mould, covering etc. are as the overall design task object.These design objects are perhaps very not complicated, but this does not influence the design process that our research and utilization collaborative template carries out complex object.
The subtask: simple relatively design object, generally form by one or several relevant parts.The subtask mainly is the complexity of reduction task.
Task division, issue, distribution, application, compound etc.: task division is meant that overall design person is decomposed into the plurality of sub task with the overall design task, and a subtask generally is one or several parts.Task issue refers to after the task division, and overall design person is the information of each subtask, and the restriction relation (task precedence graph) of subtask waits and passes to each height design and hold.Task Distribution is meant that overall design person gives certain sub-designer with a sub-Task Distribution.The task application refers to that each sub-designer can release news according to task, goes to compete certain subtask.After finished each subtask of the compound finger of task, overall design person was synthesized to the result of subtask together, and this mainly is to realize by the compound of template.
Assignment database: compound for the decomposition, control and the task that realize task, we have summed up constraint, the relation information that needs in a design objective, and these information are foundations that task is decomposed.Mainly contain external information that design objective needs, design object inside size and position constraint, be operatively connected information etc.These information also are the foundations that the task precedence graph produces, to the control of task with compoundly all play an important role.Because these mission bit streams are extremely important and all need in each stage of task,, we import and preserve these mission bit streams so having designed assignment database.
The task constraint: there are various restriction relations in an overall design constraints object inside, and as size, position, topological relation, material, mechanics etc., after the design objective decomposition, these constraints just reaction are the constraint between each subtask.This constraint has determined the follow-up relation of the precursor of task, serial concurrency relation.In our system, react by the task precedence graph and control task between this restriction relation.
Task precedence graph:, embody the figure of follow-up, the parallel serial relation of precursor of each subtask according to the constraint information of design objective.Be similar to the process precedence graph in the operating system.
Overall design person: the promoter of a collaborative design task, it has overall control to task, coordinates each sub-designer's work, to design result carry out compound, detect and confirm.The corresponding overall design task of overall design person.
Sub-designer: the participant of collaborative design task, overall design person is resolved into subtask one by one with the overall design task, and a sub-designer is distributed in each subtask.Sub-designer designs the subtask, submits to overall design person after finishing.Sub-designer is corresponding with the subtask.
Server end, client: the structure of our collaborative template system adopts the structure of MCAM isomorphism cooperative design platform-based on the isomorphism copy type structure of C/S.In fact we are based on and develop on the MCAM isomorphism cooperative design platform basis.For collaborative design process or collaborative template process, overall design person initiates a task, opens the Collaboration Server end; Other sub-designers participate in, the machine of Connection Service device end, the just corresponding collaborative client of son design end.In our expression way, the overall design end just refers to server end, and son design end refers to client.
Meta template: not subdivisible template, the moulding that meta template is described is to liking basic modelling element.Such as: the template of point, line, circle, cuboid, cylinder etc. just belongs to meta template.This is that the object rank of describing with template is relevant, the notion that meta template can the corresponding element parts.The explanation of meta template needs the support in bottom moulding storehouse, and the description object of meta template and explanation and bottom moulding storehouse and formative method are closely connected in other words.
Subtemplate: describe the template of a simple designs object, form such as the design object of a subtask is one or several parts.A simple components is to be made of some components, and a corresponding subtemplate is to be made of by certain compound mode some meta templates.We are based upon on the parts rank in present moulding storehouse, thereby template also is to be based upon on the subtemplate rank.The corresponding subtemplate in subtask.
Total template: we propose the notion of total template, mainly at the somewhat complex design object.The difference of total template and subtemplate only is on the complexity of object and on the restriction relation.There are various constraints in a complex object inside: position relation, size relationship, be operatively connected etc.; And it is very simple or do not have for simple object internal constraint.Total template correspondence be overall design task in our collaborative template, i.e. the design object of a complexity.Somewhat complex design object hereto, its template does not exist, and we distribute down as the subtask by task being resolved into the simple object that available one by one subtemplate designs.Compound by template then with some synthetic general assignments in row subtask, obtain total template of design object.The design data part is as the result of current design objective on the one hand; The structure of total template also can preserve, and wants design class like design object or need the data of this design object be made an amendment later on again, can realize very easily by template, does not need to have passed through the design process of complexity again.
Formwork structure file and Parameter File: for the design object that a template is described, structure, attribute information that it should existing object also have the design data of object.For the design object of same type, its difference only is the supplemental characteristic difference, and the structure of object is the same.This is similar to class and relation between objects in the object-oriented.Template is described the structure of design object on the one hand, is the result of expression specific design object on the other hand.So we separate the structure and parameter of template, the formwork structure file is the information of description template structure, just the structure of design object; The template parameter file is the description template supplemental characteristic, the design data information of design object just, and the design result of subtask is exactly a sub-template parameter file in fact.
Template is compound: we are by the compound synthetic and assembling that realizes each subtask of template.By the template composition operation, the assembling process of design object has developed into the compound of subtemplate, greatly reduces the synthetic complexity of task, and the better assembling of controlling object.
The task that our collaborative template is done is the design object that has corresponding template or not at, decompose by overall design person's task, just design object is divided into a series of subtasks, each subtask is made up of one or several relevant parts, and they have corresponding subtemplate correspondence.That is to say design object is resolved into a series of subtasks that can be undertaken by subtemplate.The design submission of the distribution by task, subtask, subtask is compound then, finally obtains the template of design object.This template is preserved, when running into the design problem of this design object more later on, can not need to carry out the task division process again,, just can carry out the design of this object at an easy rate as long as utilize existing template and template operation instrument.So the process of collaborative template is not only the process of finishing a new design objective, main is the template that produces new design object, the process of preserving design objective and reusing and expanding ATL.
The process of collaborative template mainly contains the establishment of assignment database, the division of task, issue and distribution, the design of subtask, submission, main functional modules such as the compound and detection of subtask, wherein relate to the application and the competition of task, the generation of task precedence graph and the control of task, the generation of designing requirement file, information interchange between the designer, subject matters such as the compound and explanation of template.Collaborative template design overall flow is as follows:
1) before overall design person's design, first search pattern storehouse sees if there is template and corresponding task coupling.If have template to exist, then only need carry out the work of template collaborative editing and get final product.If not then carry out further work.
2) the overall design end concerns, is operatively connected the corresponding assignment databases of establishment (creating interface by assignment database) such as information according to the external constraint of design objective, whole constraint rule, component locations.
3) overall design person is divided into a series of sub-design objectives with design objective, according to the constraint information generation task precedence graph of assignment database, release tasks.Each subtask is made up of one or several associated components, and corresponding subtemplate correspondence is arranged.The task precedence graph is used to reflect the serial parallel relation of task and the carrying out of control subtask.
4) son design end can the demonstration task release news and precedence graph information, and carries out the application and the competition of subtask.Overall design person carries out the distribution of task or carries out the distribution of subtask by force according to the subtask application status.
5) after the Task Distribution, the son design terminates to the subtask and the subtask designing requirement file of distribution, if this subtask does not have precursor task or its precursor task all to finish, then sub-designer can carry out the design of subtask; Otherwise sub-designer must wait until all precursor tasks of its subtask and finish the design that could begin the subtask.
6) sub-designer carries out the design of subtask, and design considerations is subtemplate structured file and subtask designing requirement file, and design result is the subtemplate Parameter File.Sub-designer submitted design result to after design was finished.
7) overall design terminates to that to carry out template behind the subtask (subtemplate Parameter File) that son design end submits to compound, and the real-time interpretation design result detects the correctness of submitting the subtask to.If error-free then confirm the subtask result, the subtask becomes completion status by submit state.After the subtask is confirmed, activate the follow-up subtask of this task and relevant information is passed to other subtasks of the constraint that is subjected to.After active information is received in other subtasks, judge whether its precursor task is all finished, if not then continue to wait for, otherwise this subtask also can begin to design.
8) in design process, between the parallel task, exist between the subtask of ring constraint and need to exchange design information, we provide collaborative communication means such as textcommunication, voice communication, whiteboard system to carry out information interchange between the designer.
9) after finished all subtasks, the overall design end was checked, is verified and see whether the result adheres to specification.If satisfy then task is finished the template of preserving design result.Otherwise, those subtasks that do not meet designing requirement are return again design.Repeat the process of front, till design result meets the requirements.
According to the overall flow of a last joint collaborative template, system can be divided into following a few part according to functional module.
1) assignment database and establishment thereof
The assignment database design objective requires, constraint information, assembly relation, be operatively connected the whole constraint information and the information such as restriction relation between each subassembly and position relation that have write down design object in the database such as information, and information such as record subtask assignment information, subtemplate file.This database is the foundation of dividing the subtask, and its content is also brought in constant renewal in whole design process.It also is the foundation of template compound tense.Assignment database provides corresponding input interface to produce by us, can certainly import by hand.
2) template matches module
According to certain rule go to search, matching template, corresponding to judge whether there is template with design objective.But how according to the information of design objective go to search, matching template, also do not have good solution at present, expand after this module is waited until and realize, temporarily only stay an interface.
3) generation of task division, task precedence graph and the distribution of subtask
The task division module is divided into each subtask with design objective, and subtask information is preserved, the updating task database; Produce the task precedence graph according to the constraint information between the subtask, to reflect the follow-up relation of precursor between each subtask, the relation of task serial parallel just.Mission bit stream and precedence graph are distributed to each height design end.
The subtask distribution module mainly is to be used to distribute the subtask, and produces subtask designing requirement file according to the constrained designs information of being correlated with this subtask in the assignment database, and passes to sub-designer.
4) subtemplate customized module (subtemplate creator)
According in the ATL to the customization and the design of corresponding subtemplate, the determining of subtemplate structure.This also is to solve the approach that subtemplate comes source problem.Design according to the subtemplate structural framing during subtemplate design, increase corresponding component information, part dimension information and constraint information etc.Expand perfect after this module interface is waited until.
5) subtask design module
The subtask design module solves mainly how the design of subtask is carried out according to subtask used subtemplate structured file and subtask designing requirement file in the subtask, and design result is preserved with the form of subtemplate Parameter File.
6) subtemplate parameter and structure separates and binding modules
Important link is that the parameter that realizes template is separated with structure in the collaborative template, and utilizes the formwork structure file to carry out subtask design when designing in the subtask, and design result saves as Parameter File.Submit to the subtemplate Parameter File as design result, for the explanation of subtemplate Parameter File must with corresponding subtemplate structured file in conjunction with after just can carry out.
7) subtemplate interpreter
The antithetical phrase template file makes an explanation and was divided into for two steps, at first read the XML template file, relevant information is read and deposited in related data structure (component information), from given data structure, obtain data then, according to the geometrical feature formation threedimensional model of parts.
8) template recombiner
According to assignment database, carry out compound to the subtask Parameter File of having submitted at overall design person's end.The template recombiner can carry out compound to the plurality of sub task with logical order, and is not only compound to all subtasks.
9) total template interpreter
The template interpreter reads parts, constraint, position, the operation of template file and information such as is connected, and the plate moulding information that is interpreted as being correlated with, and carries out the geometric modeling of parts then.
Network cooperating exchanges and control method
" message " and file communication mechanism
Based on the collaborative design method of collaborative template, mainly adopt the mode of Socket communication carry out between each design end interconnection with exchange.---the transmission of collaborative message such as task issue, application, distribution, also to carry out template file---except carrying out message between the designer and comprise the mutual transmission of the structured file, Parameter File etc. of designing requirement file, template.The interchange that is similar to these all connects realization by setting up Socket." message " communication mechanism
Collaborative design method based on collaborative template, utilized communication mechanism based on " message ", to in the design edit operation of three-dimensional information model be packaged as " message " of Network Transmission, significantly reduce the data volume in the Network Transmission, and realized the collaborative editing technology of three-dimensional information model preferably.
In the method, the pass through mechanism of message is such, when a design end sends operation or control command, system gives service end with this information order by network delivery, give other clients by service end with this forwards, each client is searched the message processing function corresponding to this message after obtaining message in local system, obtain corresponding operating effect after the execution.This mode can realize the collaborative browse of three-dimensional information model, the functions such as collaborative editing of three-dimensional information model.Below a joint will specifically introduce the realization of three-dimensional information model collaborative editing function.
All operational orders and control command are reduced a classes of messages CMsg, connect by a classes of messages and a message processing function, when the designer carried out an operation, system found corresponding message according to type of message and handles the function executable operations.The classes of messages form is as follows:
CMsg∷CObject
{
Int type; The style number of // message
Int EntityID; Entity ID number of // operation three-dimensional information model
CPoint pstart, pend; The parameter of // operation
// other parameters
};
Wherein, type is the style number of message, and the type of unique sign message is convenient to discern different message like this and is operated accordingly, and the style number of message is defined as the structure of an enumeration type; The EntityID item refers to operate entity ID number of three-dimensional information model, when the large-scale three dimensional information model is carried out edit operation, how to indicate which 3D solid in the model is operated, and system provides the notion of entity ID, comes unique sign entity by ID; Other member variable operational parameter value of message for this reason all in the CMsg class, has different geometry connotations for different message operating parameters, for example Block message is used to produce a cuboid, its operating parameter is two three-dimensional point under the preferred coordinates system, is respectively 2 points on the cuboid diagonal;
System has defined tens kinds of message according to different operations and control command, with enumeration type structure MsgType explanation.The type definition of message is as follows:
enum?MsgType
{
Requestcontrol, // control right request message
Block, // drafting rectangle message
Intersect, // entity " friendship " computing message
Material, material properties message in the // three-dimensional information model
// other type of messages
}
Corresponding to dissimilar message a corresponding message processing function is arranged, system definition message processing function class CHandleMsg, be each message definition in this type of one handle function, be this type of C++ false code below, wherein each function is all corresponding with message among the top MsgType;
class?CHandleMsg
{
BOOL HandleBlockMsg (CMsg*Msg); // handle and draw cuboid message
BOOL HandleIntersectMsg (CMsg*Msg); // processing entities " friendship " computing message
BOOL HandleMaterialMsg (CMsg*Msg); Material properties message in the // processing three-dimensional information model
// other message processing function
}
The transmission of message on network is divided into two kinds of service end and clients, and according to the definition of classes of messages and message processing function, we have defined the data structure of responsible transmission of messages accordingly.Data structure in service end is as follows:
class?CCollaborate
{
CListenSoeket m_ListenSoeket; // monitoring socket
CArray<CConnectSocket*,CConnectSocket*>m_connectSocket;
// connected the client socket chained list
BOOL Broadcast (CMsg*pMsg); // broadcast
// other members
}
Wherein, CListenSocket and CConnectSocket derive from the class from CSocket, and m_ListenSocket is the monitoring Socket of service end, monitor the connection of client; M_connectSocket has preserved all client socket that connected; Service end after client receives message, can use the Broadcast function with this information broadcast to all other client; Simple relatively in the client data structure, it only needs a socket that is connected with service end, can receive simultaneously from the message of service end with to service end and send message.
The transmission of message realizes by the WinSock technology, CSocketFile and the CArchive class of fully having used MFC to provide realize the data communication of CSocket class, the data message that transmits on the network all sends to data in the network file by serializing, when having readable information to arrive on the corresponding socket, Windows Sockets DLL will send the corresponding function of WM_READ message informing application call reading of data on this cover joint word.In the transmission and receiving course of data, call corresponding separately serializing function network file is operated, alleviated development workload.
Key relates to following several message in the operation of collaborative template:
PublicMission: overall design end release tasks is given the message of son design end
Figure A20051004041100232
DisplayPublicInfo: overall design end notice design end shows the message of release tasks
AssignMission: overall design end allocating task is given the message of son design end
ApplyMission: son design end is to the message of overall design end application task
ShowMsg: the message of notifying task process and design point between the design end mutually
Figure A20051004041100244
AquireStatus: son design end is to the message of overall design end inquiry task status
Figure A20051004041100245
StatusBack: the overall design end transmits the message of the task status of inquiry to son design end
Figure A20051004041100246
ChangeAfterMission: son design end is finished the message of the state of the follow-up task of upgrading its constraint behind the design objective
ChangeStatus: the overall design end notifies each son design end to change the message of the state of corresponding task
CompleteMission: overall design end notice submits to the son design end design result of finishing design objective by checking, determine the message of finishing
CancelMission: son design end is abandoned the message of task design
Figure A200510040411002410
CheckJoinAfterPublic: son design end adds the message of checking the mission bit stream that whether received the issue of overall design end when working in coordination with
The design termination receives and operates accordingly according to the type of message after the message and react that to reach the purpose of communication for coordination and control, handling function mainly contains:
BOOL?HandlePublicMsg(CMsg*Msg);
Son designs the handling function after termination is received the release task message of overall design end
BOOL?HandleApplyMsg(CMsg*Msg);
The overall design termination is received the handling function after the son design end application information
Figure A200510040411002413
BOOL?HandleAssignMissionMsg(CMsg*Msg);
Client receives the handling function after the task that the overall design end distributes
BOOL?HandleShowMsg(CMsg*Msg);
Son design termination is received the handling function after the overall design end display message
BOOL?HandleAquireStatusMsg(CMsg*Msg);
The overall design termination is received the handling function that receives after task status information is obtained in the requirement of son design end
BOOL?HandleStatusBackMsg(CMsg*Msg);
Son design termination receipts receive the handling function after the overall design end task status information
BOOL?HandleChangeAfterMissionMsg(CMsg*Msg);
After finishing, the subtask changes the related data and the interface function of its constraint task
BOOL?HandleChangeStatusMsg(CMsg*Msg);
Each designs the handling function after termination is received task status change message
Figure A200510040411002419
BOOL?HandleDisplayPublicInfoMsg(CMsg*Msg);
Son design termination is received the handling function after the release tasks message
BOOL?HandleCompleteMissionMsg(CMsg*Msg);
Son design termination receives that design objective is by the handling function after passing through
BOOL?HandleCancelMissionMsg(CMsg*Msg);
The overall design termination receives that son designs the handling function that end abandons carrying out design objective message
Figure A20051004041100253
BOOL?HandleCheckJoinAfterPublicMsg(CMsg*Msg);
The overall design termination receives that son design end adds the handling function that collaborative back requires to check the message that whether adds in the back that releases news
The communication of file
In order to realize designing the interchange of file between the end, set up file Socket.The transmission of file mainly is to realize the transmission of the template associated documents of xml form between the design end, comprises the transmission of demand file, design result Parameter File and template file.
The issue of task
Overall design person is distributed to task the son design end of each connection by function C Commission ∷ Public () after the task precedence graph produces.The process of issue is as follows, at first utilize transmission of messages mission bit stream to be transferred to each son design end by the mode that circulation sends, the content of the mission bit stream of transmission: task ID, be subjected to the ID of the task of its constraint, the component names of this task design, the order of task, the type of constraint, number of task lock or the like.Secondly, notice design end shows release task message.The issue of task is to hold at the son design of each connection to carry out, and the mission bit stream of issue is initial task status.When the user add to connect after overall design end release tasks again, can receive equally and release news, this moment, this information then reflected current up-to-date task status.
The application of task and distribution
After son design termination is received the mission bit stream of issue, can be by function C Commission ∷ Apply () according to self-demand to overall design end application design objective, for application, the status of each son design end is an equality, Hostname and ip address with this locality during application reach the overall design end, for its reference and choice.The overall design end can distribute its corresponding subtask according to sub-designer's request after the application information that receives from various places, perhaps according to each subtask of Task Distribution of dividing.Assigning process is mainly realized by function C Commission ∷ Assign (): write down local distribution state, upgrade local the demonstration, inform the son design end that is assigned with and notify each son design end to change task status, then with it corresponding designing requirement file transfer.
The application of overall design end and assignment information are recorded in task application information chained list CArray<ApplyCommission.ApplyCommission separately〉m_applyList and task allocation information chained list CArray<AssignCommission, AssignCommission〉among the m_assignList.
The interchange of collaborative serial parallel parameter
The task precedence graph has reflected the serial parallel relation of task and the precursor task restriction relation for follow-up task.There is the interchange of parameter between the task of the serial of existence constraint and the parallel task, each task all is limited by the precursor task of its some design parameters of constraint, be that finishing of precursor task drives follow-up constraint task, the stepchild designs the completed message of end task by just notifying thereafter after having checked when design objective, son design end is opened corresponding task lock, after all task locks are opened, the subtask is activated, the constrained parameters that promptly need all design finish, and sub-designer can begin design objective.Parameter transmission between the serial task mainly is the transmission by program control message, does not need the interchange between the designer.Parameter between the parallel task exchanges then mainly to be passed through optionally to link up with mutual between the designer, and flexibility is stronger.

Claims (4)

1, a kind of collaborative design method based on collaborative template, it is characterized in that: in computer, search for template and corresponding task match condition earlier to build up ATL, there is template to exist, in computer, carry out the work of template collaborative editing, there is not template to exist, concern, be operatively connected information according to the external constraint of design objective, whole constraint rule, component locations, in computer, create corresponding assignment database and create interface by assignment database; The overall design end is divided into design objective and a series ofly is made up of one or several associated components in computer, and the corresponding sub-design objective of corresponding subtemplate is arranged, constraint information according to assignment database, produce the serial parallel relation of reflection task and the task precedence graph that carry out the control subtask, release tasks is to can the demonstration task releasing news and precedence graph information in computer, and carries out the son design end of the application and the competition of subtask; Computer carries out the distribution of task or carries out the distribution of subtask by force according to the subtask application status; After computer task distributes, the son design terminates to the subtask and the subtask designing requirement file of distribution, this subtask does not have precursor task or its precursor task all to finish, then sub-designer can carry out the design of subtask, otherwise sub-designer carries out the design of subtask after all precursor tasks of its subtask have all been finished; Sub-designer carries out the design of subtask according to subtemplate structured file and subtask designing requirement file, obtains and submits the subtemplate Parameter File to the overall design end; It is compound that the overall design end carries out template, the real-time interpretation design result, detect to submit the correctness of subtask to, error-freely then confirm the subtask result, the subtask becomes completion status by submit state, after the subtask is confirmed, activate the follow-up subtask of this task and relevant information is passed to other subtasks of the constraint that is subjected to, after active information is received in other subtasks, judge whether its precursor task is all finished, then do not continue to wait for, otherwise this subtask begins to design; In design process, between the parallel task, exist between the subtask of ring constraint and carry out information interchange between the designer by collaborative communication means such as textcommunication, voice communication, whiteboard system; After finish all subtasks, the overall design end is checked, is verified and see whether the result adheres to specification in the computer, satisfied then task is finished the template of preserving design result, otherwise, computer is return those subtasks that do not meet designing requirement again and is designed, repeat the process of front, till design result meets the requirements.
2, a kind of collaborative design method according to claim 1 based on collaborative template, it is characterized in that: the structure of described collaborative template is separated with parameter, in computer, the structure and parameter of template is separated, data with template parameter representation of file design object, the frame structure of representing design object with the formwork structure file, represent a class design object with a formwork structure, and represent the different instances of this design object with different Parameter Files, son design end will represent that the template parameter file transfers of design result is to the overall design end, the overall design end obtains and template parameter file formwork structure file one to one according to the template parameter file, remove to resolve the template parameter file according to formwork structure by the template interpreter, draw the complete information of design result, and the moulding result is shown by the moulding explanation module.
3, a kind of collaborative design method according to claim 1 based on collaborative template, it is characterized in that: the compound and assembling of described collaborative template, comprise when the overall design end is initiated task and create subtemplate Parameter File and the structured file that interface produces by assignment database, the design constraint file, the position relational file, operation and threaded file, computer judges that at first there is situation in template file, template file does not exist, computer produces template file and basic templates element framework, produce the design constraint file of general assignment to the translation interface of XML according to assignment database, the position relational file, be operatively connected file, and be compound in total template, when the subtemplate file is Parameter File, with subtemplate Parameter File and structured file combine produce can be compound the subtemplate file, preliminary treatment subtemplate file, handle the compound subtemplate file of parts Name Conflict problem in repeatedly compound problem of subtemplate and the template, compound tense is according to the subtemplate compound corresponding action of doing whether, the compound sign of task in the compound back change of the subtemplate assignment database, preserve template, it is compound to finish a subtemplate.
4, a kind of collaborative design method according to claim 1 based on collaborative template, it is characterized in that: described collaborative design method based on collaborative template adopts the stencil design SGML, it comprises seven big elementary field input parameter sections, component information section, attribute expression formula section, rule section, component locations assembly relation section, operative relationship field, annexation section based on the description rule of extend markup language.
CNB2005100404114A 2005-06-01 2005-06-01 Collaborative design method based on collaborative template Expired - Fee Related CN100367712C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100404114A CN100367712C (en) 2005-06-01 2005-06-01 Collaborative design method based on collaborative template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100404114A CN100367712C (en) 2005-06-01 2005-06-01 Collaborative design method based on collaborative template

Publications (2)

Publication Number Publication Date
CN1700652A true CN1700652A (en) 2005-11-23
CN100367712C CN100367712C (en) 2008-02-06

Family

ID=35476527

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100404114A Expired - Fee Related CN100367712C (en) 2005-06-01 2005-06-01 Collaborative design method based on collaborative template

Country Status (1)

Country Link
CN (1) CN100367712C (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102053825A (en) * 2009-10-30 2011-05-11 国际商业机器公司 Method and system for processing software design conflicts
CN102216910A (en) * 2007-06-06 2011-10-12 雅典娜电信实验有限公司 Database parallel editing method
CN101308518B (en) * 2008-06-11 2011-11-02 武汉大学 Topology element name corresponding method for copy type synergic modeling system
CN102387208A (en) * 2011-10-21 2012-03-21 百度在线网络技术(北京)有限公司 Distribution type task scheduling method and system
CN102782686A (en) * 2009-11-04 2012-11-14 数码成型有限公司 Improvements relating to user interfaces for designing objects
CN105809411A (en) * 2016-03-02 2016-07-27 广州支点网络科技股份有限公司 Plan controlling method and apparatus
CN106775963A (en) * 2016-10-28 2017-05-31 武汉开目信息技术股份有限公司 A kind of method of target constraint in task
CN107656723A (en) * 2017-08-17 2018-02-02 成都好医生医学检验所有限公司 A kind of flow engine frame design method based on WF4.5
CN110020838A (en) * 2019-04-18 2019-07-16 贺中彬 A kind of method and system for realizing efficient synergetic office work
CN110309987A (en) * 2019-07-10 2019-10-08 成都希盟泰克科技发展有限公司 The Optimization Work method of magnanimity document piecemeal distribution editor's collaboration processing
CN111158877A (en) * 2019-12-28 2020-05-15 山东爱德邦智能科技有限公司 Event management method and device for big data platform and computer readable storage medium
CN111931466A (en) * 2020-10-12 2020-11-13 北京联想协同科技有限公司 Document processing method and device
CN113434659A (en) * 2021-06-17 2021-09-24 天津大学 Implicit conflict sensing method in collaborative design process
CN115081369A (en) * 2022-08-16 2022-09-20 中国电子科技集团公司信息科学研究院 Micro-system collaborative design method
CN115758500A (en) * 2022-11-11 2023-03-07 南京维拓科技股份有限公司 Off-line mode design method in industrial design process
CN115858408A (en) * 2022-12-29 2023-03-28 南京维拓科技股份有限公司 Method for transmitting design parameters in industrial design process
WO2023165073A1 (en) * 2022-03-01 2023-09-07 北京奇燧科技有限公司 Digital work collaborative creation method, task release method and apparatuses, electronic device and computer-readable storage medium
CN117611101A (en) * 2023-12-15 2024-02-27 济南中建建筑设计院有限公司 Engineering design project flow management system and method thereof

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102216910A (en) * 2007-06-06 2011-10-12 雅典娜电信实验有限公司 Database parallel editing method
CN102216910B (en) * 2007-06-06 2014-05-14 雅典娜电信实验有限公司 Database parallel editing method
CN101308518B (en) * 2008-06-11 2011-11-02 武汉大学 Topology element name corresponding method for copy type synergic modeling system
CN102053825A (en) * 2009-10-30 2011-05-11 国际商业机器公司 Method and system for processing software design conflicts
CN102782686A (en) * 2009-11-04 2012-11-14 数码成型有限公司 Improvements relating to user interfaces for designing objects
CN102387208A (en) * 2011-10-21 2012-03-21 百度在线网络技术(北京)有限公司 Distribution type task scheduling method and system
CN105809411A (en) * 2016-03-02 2016-07-27 广州支点网络科技股份有限公司 Plan controlling method and apparatus
CN106775963A (en) * 2016-10-28 2017-05-31 武汉开目信息技术股份有限公司 A kind of method of target constraint in task
CN107656723A (en) * 2017-08-17 2018-02-02 成都好医生医学检验所有限公司 A kind of flow engine frame design method based on WF4.5
CN110020838A (en) * 2019-04-18 2019-07-16 贺中彬 A kind of method and system for realizing efficient synergetic office work
CN110309987A (en) * 2019-07-10 2019-10-08 成都希盟泰克科技发展有限公司 The Optimization Work method of magnanimity document piecemeal distribution editor's collaboration processing
CN111158877A (en) * 2019-12-28 2020-05-15 山东爱德邦智能科技有限公司 Event management method and device for big data platform and computer readable storage medium
CN111931466A (en) * 2020-10-12 2020-11-13 北京联想协同科技有限公司 Document processing method and device
CN111931466B (en) * 2020-10-12 2021-02-09 北京联想协同科技有限公司 Document processing method and device
CN113434659A (en) * 2021-06-17 2021-09-24 天津大学 Implicit conflict sensing method in collaborative design process
WO2023165073A1 (en) * 2022-03-01 2023-09-07 北京奇燧科技有限公司 Digital work collaborative creation method, task release method and apparatuses, electronic device and computer-readable storage medium
CN115081369A (en) * 2022-08-16 2022-09-20 中国电子科技集团公司信息科学研究院 Micro-system collaborative design method
CN115081369B (en) * 2022-08-16 2022-11-15 中国电子科技集团公司信息科学研究院 Micro-system collaborative design method
CN115758500A (en) * 2022-11-11 2023-03-07 南京维拓科技股份有限公司 Off-line mode design method in industrial design process
CN115758500B (en) * 2022-11-11 2023-10-20 南京维拓科技股份有限公司 Off-line mode design method in industrial design flow
CN115858408A (en) * 2022-12-29 2023-03-28 南京维拓科技股份有限公司 Method for transmitting design parameters in industrial design process
CN117611101A (en) * 2023-12-15 2024-02-27 济南中建建筑设计院有限公司 Engineering design project flow management system and method thereof
CN117611101B (en) * 2023-12-15 2024-04-26 济南中建建筑设计院有限公司 Engineering design project flow management system and method thereof

Also Published As

Publication number Publication date
CN100367712C (en) 2008-02-06

Similar Documents

Publication Publication Date Title
CN1700652A (en) Collaborative design method based on collaborative template
CN1082208C (en) Language neutral objects
CN1096637C (en) Managing class method manes
CN1280716C (en) Computer processing and programming method using autonomous data handlers
CN101052948A (en) Object process graph application development system
CN1601483A (en) Automation software testing system based on script explanatory tool
CN1271545C (en) Language translation system
CN1558348A (en) Method and system for converting a schema-based hierarchical data structure into a flat data structure
CN1573759A (en) Common query runtime system and application programming interface
CN1818897A (en) Production of multi-media network electronic publication
CN1310173C (en) Table format data presenting method, inserting method, deleting method, and updating method
CN1302401A (en) Visual data integration system and method
CN1992728A (en) Systems and methods for facilitating group collaborations
CN1609856A (en) Query intermediate language method and system
CN1578949A (en) Integrated data processing system with links
CN101044498A (en) Workflow services architecture
CN1773508A (en) Method for converting source file to target web document
CN1276575A (en) Database access system
CN1821956A (en) Using existing content to generate active content wizard executables for execution of tasks
CN1841328A (en) Automaton method for script language
CN1266512A (en) Hardware acceleration for an object-oriented programming language
CN1209893A (en) Method and apparatus for graphically displaying hierarchical structure
CN1379882A (en) Method for converting two-dimensional data canonical representation
CN1731733A (en) Method for model postil and operation transmission in universal type synergic communion system
CN1098501C (en) simulator and method for SQL relational database

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: Hefei Derun Electronic Device Co., Ltd.

Assignor: Hefei University of Technology

Contract fulfillment period: 2008.2.9 to 2013.2.8 contract change

Contract record no.: 2009340000338

Denomination of invention: Collaborative design method based on collaborative template

Granted publication date: 20080206

License type: Exclusive license

Record date: 20091110

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2008.2.9 TO 2013.2.8; CHANGE OF CONTRACT

Name of requester: HEFEI DERUN ELECTRONIC DEVICES CO., LTD.

Effective date: 20091110

C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080206

Termination date: 20140601