CN105094845A - Process modeling device and method - Google Patents

Process modeling device and method Download PDF

Info

Publication number
CN105094845A
CN105094845A CN201510520382.5A CN201510520382A CN105094845A CN 105094845 A CN105094845 A CN 105094845A CN 201510520382 A CN201510520382 A CN 201510520382A CN 105094845 A CN105094845 A CN 105094845A
Authority
CN
China
Prior art keywords
attribute
model
configuration file
type
user
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.)
Pending
Application number
CN201510520382.5A
Other languages
Chinese (zh)
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou Network 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201510520382.5A priority Critical patent/CN105094845A/en
Publication of CN105094845A publication Critical patent/CN105094845A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention provides a process modeling device which comprises a platform establishment unit, an attribute configuration unit, an attribute expanding unit and a model output unit, wherein the platform establishment unit is used for establishing an attribute expanding platform, and a user can input an attribute name and an attribute type to enter the attribute expanding platform; the attribute configuration unit is used for searching for the attribute name and the attribute type input by the user in a preset configuration file, and element expanding based on the configuration file is conducted according to the searched result; the attribute expanding unit is used for generating expanding attribute based on the configuration file obtained after element expanding is conducted and setting an expanding mark; the model output unit is used for storing the generated expanding attribute and set expanding mark in the form of model and leading out the expanding attribute and the expanding mark in the form of model. The invention further provides the process modeling method. By means of the technical scheme, single object types are fully utilized to finish multi-object type process modeling based on an existing process modeling mode, and a universal and unified modeling thought with multi-object type metadata participated and facing the complex type process modeling is established.

Description

Process modeling apparatus and method
Technical field
The present invention relates to field of computer technology, particularly, relate to a kind of process modeling device and a kind of flow modeling method.
Background technology
In process modeling process, the element property that system provides is difficult to the demand meeting client completely, is the major issue that process modeling must be considered to the expansion of element property.Current process modeling instrument, major part does not provide the expansion of user, and element property is all fixing.There is extension mechanism in some modeling tool, uses also more complicated, or extendability is not enough.In realization in the past, the following several mode of main employing:
Redundant attributes mode, reserved several attribute uses to user, and the method realizes simple, but extendability is bad, still may not meet consumers' demand;
Configuration file mode, user closes the configuration file of certain format according to specification escape character, and program reads and generates User Defined attribute, the method favorable expandability, but requires higher to user, and Consumer's Experience is bad.
Therefore, need a kind of new process modeling technology, on existing process modeling mode basis, the process modeling that single object type completes multi-object type can be made full use of, set up general, unified Modeling thinking towards complicated type process modeling that multi-object genre metadata participates in.
Summary of the invention
The present invention is just based on the problems referred to above, propose a kind of new process modeling technology, can on existing process modeling mode basis, make full use of the process modeling that single object type completes multi-object type, set up general, unified Modeling thinking towards complicated type process modeling that multi-object genre metadata participates in.
In view of this, the present invention proposes a kind of process modeling device, comprising: unit set up by platform, for setting up attribute extension platform, the Property Name inputted by user and type enter attribute extension platform; Attribute configuration unit, for searching Property Name and the type of user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result; Attribute extension unit, for based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking; Model output unit, for the extended attribute that will generate and the extending marking of setting, preserves with model form, and derives with model form.In this technical scheme, when process modeling, can directly use the expansion being completed element property by the mode of configuration.
In technique scheme, preferably, unit set up by described platform, specifically comprises: Expansion Interface provides module, for setting up attribute extension platform, for attribute extension; Expansion Interface enters module, for the Property Name that inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.In this technical scheme, user is configured on interface, namely can complete attribute extension.
In technique scheme, preferably, described attribute configuration unit, specifically comprises: attribute searches module, for the Property Name that inputs based on user and type, searches in the configuration file pre-set; Lookup result processing module, for carrying out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.In this technical scheme, the attribute of the recording user expansion when export and property value, with reach in export comprise user's extended attribute and to import after file can in model engineer the object of reproducing extended attribute.
In technique scheme, preferably, described attribute extension unit, specifically comprises: extended attribute generation module, for automatically refreshing the element expanded based on configuration file, reloads, and produces extended attribute; Extending marking arranges module, for the extended attribute that will produce, shows in the attribute of corresponding element in a model, and arranges extending marking.In this technical scheme, when not needing redundancy and do not need user profile, adopt a kind of simple effectively and the expansion of the user property of Highly Scalable.
In technique scheme, preferably, described model output unit, specifically comprises: module preserved by model, for preserving the model of display corresponding element attribute; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background; Module derived by model, for deriving the model of display corresponding element attribute; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.In this technical scheme, analyze according to user's request, provide interface to allow user carry out attribute extension, the information that then system is filled according to user is expanded configuration file.
According to a further aspect of the invention, also proposed a kind of flow modeling method, comprising: step 202: set up attribute extension platform, the Property Name inputted by user and type enter attribute extension platform; Step 204: Property Name and the type of searching user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result; Step 206: based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking; Step 208: by the extended attribute of generation and the extending marking of setting, preserve with model form, and derive with model form.In this technical scheme, when process modeling, can directly use the expansion being completed element property by the mode of configuration.
In technique scheme, preferably, described step 202, specifically comprises: step 302: set up attribute extension platform, for attribute extension; Step 304: the Property Name inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.In this technical scheme, user is configured on interface, namely can complete attribute extension.
In technique scheme, preferably, described step 204, specifically comprises: step 402: based on Property Name and the type of user's input, search in the configuration file pre-set; Step 404: carry out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.In this technical scheme, the attribute of the recording user expansion when export and property value, with reach in export comprise user's extended attribute and to import after file can in model engineer the object of reproducing extended attribute.
In technique scheme, preferably, described step 206, specifically comprises: step 502: automatically refresh the element expanded based on configuration file, reload, and produces extended attribute; Step 504: by the extended attribute produced, show in the attribute of corresponding element in a model, and extending marking is set.In this technical scheme, when not needing redundancy and do not need user profile, adopt a kind of simple effectively and the expansion of the user property of Highly Scalable.
In technique scheme, preferably, described step 208, specifically comprises: step 602: preserve the model of display corresponding element attribute; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background; Step 604: the model of display corresponding element attribute is derived; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.In this technical scheme, analyze according to user's request, provide interface to allow user carry out attribute extension, the information that then system is filled according to user is expanded configuration file.
By above technical scheme, on existing process modeling mode basis, the process modeling that single object type completes multi-object type can be made full use of, set up general, unified Modeling thinking towards complicated type process modeling that multi-object genre metadata participates in.
Accompanying drawing explanation
Fig. 1 shows the block diagram of process modeling device according to an embodiment of the invention;
Fig. 2 shows the process flow diagram of flow modeling method according to an embodiment of the invention;
Fig. 3 shows the process flow diagram that unit set up by platform according to an embodiment of the invention;
Fig. 4 shows the process flow diagram of attribute configuration unit according to an embodiment of the invention;
Fig. 5 shows the process flow diagram of attribute extension unit according to an embodiment of the invention;
Fig. 6 shows the process flow diagram of model output unit according to an embodiment of the invention;
Fig. 7 shows the detail flowchart of flow and method according to an embodiment of the invention;
Fig. 8 shows the surface chart of attribute extension according to an embodiment of the invention;
Fig. 9 shows the process flow diagram of configuration file according to an embodiment of the invention;
Figure 10 show user according to an embodiment of the invention need the expansion of extended model designer one application scenarios before surface chart;
Figure 11 show user according to an embodiment of the invention need the expansion of extended model designer one application scenarios after surface chart;
Figure 12 show user according to an embodiment of the invention need the expansion of extended model designer Another Application scene before surface chart;
Figure 13 show user according to an embodiment of the invention need the expansion of extended model designer Another Application scene after surface chart.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in the embodiment of the application and embodiment can combine mutually.
Set forth a lot of detail in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not by the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of process modeling device according to an embodiment of the invention.
As shown in Figure 1, process modeling device 100 according to an embodiment of the invention, comprising: unit 102 set up by platform, and for setting up attribute extension platform, the Property Name inputted by user and type enter attribute extension platform; Attribute configuration unit 104, for searching Property Name and the type of user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result; Attribute extension unit 106, for based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking; Model output unit 108, for the extended attribute that will generate and the extending marking of setting, preserves with model form, and derives with model form.In this technical scheme, when process modeling, can directly use the expansion being completed element property by the mode of configuration.
In technique scheme, preferably, unit 102 set up by platform, specifically comprises: Expansion Interface provides module 1022, for setting up attribute extension platform, for attribute extension; Expansion Interface enters module 1024, for the Property Name that inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.In this technical scheme, user is configured on interface, namely can complete attribute extension.
In technique scheme, preferably, attribute configuration unit 104, specifically comprises: attribute searches module 1042, for the Property Name that inputs based on user and type, searches in the configuration file pre-set; Lookup result processing module 1044, for carrying out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.In this technical scheme, the attribute of the recording user expansion when export and property value, with reach in export comprise user's extended attribute and to import after file can in model engineer the object of reproducing extended attribute.
In technique scheme, preferably, attribute extension unit 106, specifically comprises: extended attribute generation module 1062, for automatically refreshing the element expanded based on configuration file, reloads, and produces extended attribute; Extending marking arranges module 1064, for the extended attribute that will produce, shows in the attribute of corresponding element in a model, and arranges extending marking.In this technical scheme, when not needing redundancy and do not need user profile, adopt a kind of simple effectively and the expansion of the user property of Highly Scalable.
In technique scheme, preferably, model output unit 108, specifically comprises: module 1082 preserved by model, for preserving the model of display corresponding element attribute; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background; Module 1084 derived by model, for deriving the model of display corresponding element attribute; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.In this technical scheme, analyze according to user's request, provide interface to allow user carry out attribute extension, the information that then system is filled according to user is expanded configuration file.
Fig. 2 shows the process flow diagram of flow modeling method according to an embodiment of the invention.
As shown in Figure 2, flow modeling method according to an embodiment of the invention, comprising: step 202: set up attribute extension platform, and the Property Name inputted by user and type enter attribute extension platform; Step 204: Property Name and the type of searching user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result; Step 206: based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking; Step 208: by the extended attribute of generation and the extending marking of setting, preserve with model form, and derive with model form.In this technical scheme, when process modeling, can directly use the expansion being completed element property by the mode of configuration.
In technique scheme, preferably, see Fig. 3, step 202, specifically comprises: step 302: set up attribute extension platform, for attribute extension; Step 304: the Property Name inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.In this technical scheme, user is configured on interface, namely can complete attribute extension.
In technique scheme, preferably, see Fig. 4, step 204, specifically comprises: step 402: based on Property Name and the type of user's input, search in the configuration file pre-set; Step 404: carry out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.In this technical scheme, the attribute of the recording user expansion when export and property value, with reach in export comprise user's extended attribute and to import after file can in model engineer the object of reproducing extended attribute.
In technique scheme, preferably, see Fig. 5, step 206, specifically comprises: step 502: automatically refresh the element expanded based on configuration file, reload, and produces extended attribute; Step 504: by the extended attribute produced, show in the attribute of corresponding element in a model, and extending marking is set.In this technical scheme, when not needing redundancy and do not need user profile, adopt a kind of simple effectively and the expansion of the user property of Highly Scalable.
In technique scheme, preferably, see Fig. 6, step 208, specifically comprises: step 602: preserve the model of display corresponding element attribute; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background; Step 604: the model of display corresponding element attribute is derived; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.In this technical scheme, analyze according to user's request, provide interface to allow user carry out attribute extension, the information that then system is filled according to user is expanded configuration file.
Based on lacking a kind of effective element property expansion scheme at present, technical scheme of the present invention puts forward a kind of high configurable flow process attribute extension scheme, i.e. a kind of configurable process modeling mechanism with height extendability.Technical scheme of the present invention is mainly used in solving the extension mechanism in process modeling process, when process modeling, directly can use the expansion being completed element property by the mode of configuration.Based on technical scheme of the present invention, user is configured on interface, namely can complete attribute extension.
in order to clearly describe the implementation of user's easily extensible attribute, technical scheme of the present invention will be described for process modeling instrument, introduce several important concept below:
Attribute: each attribute is a description to flow process element belonging to it, such as: start by set date unit have a date-time attribute, the value of this attribute determines when start by set date element starts.
Flow process element: each element is a figure in modeling tool in simple terms, and this graphical representation specific meanings, has a series of attribute, can convert one section of xml to.
Procedural model: a kind of model that can use process modeling instrument to draw, comprises beginning, terminate, the elements such as user task, can be stored as xml formatted file after having designed.
In modeling tool, in order to realize user's easily extensible of attribute, in realization in the past, the following several scheme of main employing:
(1) by increasing redundant attributes mode to element, but this realization adds the complicacy of element, if particularly certain user needs the attribute of expansion a lot, so certainly will need to increase a lot of redundant attributes to element, which adds the complicacy of model, improve the difficulty that user uses, causing puzzlement to not needing the user carrying out too many attribute extension.
(2) developer defines configuration file, when user needs to expand, needs carry out the configuration of attribute, this method favorable expandability in configuration file by certain form, but write configuration file and there are certain requirements user, use to user and bring inconvenience, ease for use is poor.
How when not needing redundancy and do not need user profile, adopt a kind of effectively simple and the expansion of the user property of Highly Scalable is technical scheme of the present invention needs a major issue solving.
In order to realize above-mentioned target, technical scheme of the present invention proposes a kind of user carries out attribute extension scheme by visualization interface, and main performing step is as follows:
(1) user is certain element definition attribute extension in interface.
(2) search in configuration file and whether comprise this attribute.
If (3) (2) set up, in configuration file by this attribute logging in this element.
If be (4) (2) false, first in configuration file, define this attribute, then by this attribute logging in this element.
(5) automatically refresh this element, the attribute of display user expansion.
(6) user is extended attribute settings.
(7) when modelling completes preservation, by extended attribute and value stored in json file.
(8) when resolving json file, extended attribute and value thereof are resolved in the community set of model model corresponding element.
(9) during user's reduced model, under the extended attribute of element each in model is written to the extend label of element x ml by system.Concrete flow process as shown in Figure 7.
We are described in detail this mechanism below:
Step one: be supplied to user one succinct, easy-to-use interface is used for attribute extension; As shown in Figure 8, user clicks " increasing new extended attribute " link can enter Expansion Interface at the interface of user's extended attribute, and here user must the title of input attributes and type, and type supports text, numeral, date-time, the types such as image.
Step 2: according to user input Property Name and type to configuration file in search, if this Property Name exists, but type and user input different, then prompting user revise Property Name; If this Property Name existed and type and user input identical, but need expansion this attribute of element registration useless, then register this attribute in element; If Property Name does not exist, then need configure this attribute in configuration file, and by this attribute logging in this element; Process flow diagram as shown in Figure 9.
Step 3: needing the element to expanding automatically to refresh, reloading, to produce extended attribute, and demonstrates extended attribute in the attribute of corresponding element in model, and arranges extending marking;
Step 4: when model is preserved, extended attribute in model can be stored in the attribute of json file and import backstage into json file, then the conversion of json file to background model model is completed in the background, at this moment the extended attribute in json and the information of value thereof can be deposited in the properties of model corresponding element with the form of key-value pair, and with extend prefix; When model is derived, in model, all properties of each element can be written in xml file, under wherein extended attribute will be written to the extends label of corresponding element in xml file.Like this, when model needs amendment, when again importing, the attribute after expansion and value thereof just can show by configuration file through expansion smoothly, and expansion completes.Meanwhile, because configuration file is expanded, the element of the same type newly increased will have the extended attribute of this element automatically.
the application of user property extension mechanism
Application scenarios 1: user needs the date-time attribute of start by set date element in extended model designer, increasing by one can the date-time attribute of input parameter; Now only need to click expansion to connect, input attributes name " date-time (parameter) ", attribute type " text box ", a new attribute " date-time (parameter) " can be increased, as shown in Figure 10 (before expansion) and Figure 11 (expansion is rear).
Application scenarios 2: user needs " title " attribute of " activity " element in extended model designer, increases a declared attribute, is used for supplementary name attribute, makes other people can the clearer implication understanding each activity; Now only need to click expansion to connect, input attributes name " explanations ", attribute type " textview field ", a new attribute " explanations " can be increased, as shown in Figure 12 (before expansion) and Figure 13 (expanding rear).
Compared with prior art, technical scheme of the present invention, analyze according to user's request, interface is provided to allow user carry out attribute extension, then the information that system is filled according to user is expanded configuration file, the attribute of the simultaneously recording user expansion when export and property value, with reach in export comprise user's extended attribute and after importing file can in model engineer the object of reproducing extended attribute; Exceeding under the prerequisite improving exploitation amount, meet user arranges additional attribute requirement when designing a model.Concerning user, only need the interpolation carrying out attribute at configuration interface, do not need to increase extra work amount completely.
Generally speaking, technical scheme of the present invention, makes the easily extensible attribute mechanism of user property add the dirigibility of system, robustness, ease for use, decreases code maintenance amount and exploitation amount.
More than be described with reference to the accompanying drawings technical scheme of the present invention, considered in correlation technique there is no easy, the unified solution for complicated type process modeling.Existing process modeling cannot complete the process modeling process that complicated type participates in.Therefore, the present invention proposes a kind of process modeling device and a kind of flow modeling method, can on existing process modeling mode basis, make full use of the process modeling that single object type completes multi-object type, set up general, unified Modeling thinking towards complicated type process modeling that multi-object genre metadata participates in.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a process modeling device, is characterized in that, comprising:
Unit set up by platform, and for setting up attribute extension platform, the Property Name inputted by user and type enter attribute extension platform;
Attribute configuration unit, for searching Property Name and the type of user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result;
Attribute extension unit, for based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking;
Model output unit, for the extended attribute that will generate and the extending marking of setting, preserves with model form, and derives with model form.
2. process modeling device according to claim 1, is characterized in that, unit set up by described platform, specifically comprises:
Expansion Interface provides module, for setting up attribute extension platform, for attribute extension;
Expansion Interface enters module, for the Property Name that inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.
3. process modeling device according to claim 1 and 2, is characterized in that, described attribute configuration unit, specifically comprises:
Attribute searches module, for the Property Name that inputs based on user and type, searches in the configuration file pre-set;
Lookup result processing module, for carrying out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.
4. process modeling device according to claim 1 and 2, is characterized in that, described attribute extension unit, specifically comprises:
Extended attribute generation module, for automatically refreshing the element expanded based on configuration file, reloads, and produces extended attribute;
Extending marking arranges module, for the extended attribute that will produce, shows in the attribute of corresponding element in a model, and arranges extending marking.
5. process modeling device according to claim 1 and 2, is characterized in that, described model output unit, specifically comprises:
Module preserved by model, for preserving the model of display corresponding element attribute; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background;
Module derived by model, for deriving the model of display corresponding element attribute; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.
6. a flow modeling method, is characterized in that, comprising:
Step 202: set up attribute extension platform, the Property Name inputted by user and type enter attribute extension platform;
Step 204: Property Name and the type of searching user's input in the configuration file pre-set, carries out the elements extend based on configuration file according to lookup result;
Step 206: based on the configuration file carried out after elements extend, generates extended attribute, and arranges extending marking;
Step 208: by the extended attribute of generation and the extending marking of setting, preserve with model form, and derive with model form.
7. flow modeling method according to claim 6, is characterized in that, described step 202, specifically comprises:
Step 302: set up attribute extension platform, for attribute extension;
Step 304: the Property Name inputted by user and type, enters attribute extension platform; The type comprises text, numeric type, date-time type and image type.
8. the flow modeling method according to claim 6 or 7, is characterized in that, described step 204, specifically comprises:
Step 402: based on Property Name and the type of user's input, search in the configuration file pre-set;
Step 404: carry out the elements extend based on configuration file according to lookup result; This carries out comprising based on the operation of the elements extend of configuration file according to lookup result: when this Property Name in configuration file existed but type and user input different time, prompting user revise Property Name; When this Property Name in configuration file existed and the element expanded of input identical of type and user but need in advance for register this attribute time, register this attribute in the element needing to expand; When this Property Name does not exist in configuration file, this attribute need be configured in configuration file, and by this attribute logging in the element needing expansion.
9. the flow modeling method according to claim 6 or 7, is characterized in that, described step 206, specifically comprises:
Step 502: automatically refresh the element expanded based on configuration file, reload, produces extended attribute;
Step 504: by the extended attribute produced, show in the attribute of corresponding element in a model, and extending marking is set.
10. the flow modeling method according to claim 6 or 7, is characterized in that, described step 208, specifically comprises:
Step 602: the model of display corresponding element attribute is preserved; When model is preserved, the extended attribute in model can be stored in json file and import backstage into json file, completes the conversion of json file to background model in the background;
Step 604: the model of display corresponding element attribute is derived; When model is derived, in model, all properties of each element is written in xml file; The operation that in model, all properties of each element is written in xml file comprises: under extended attribute is written to the extension tag of corresponding element in xml file; Meanwhile, along with the expansion of configuration file, the element of the same type newly increased will have the extended attribute of this element automatically.
CN201510520382.5A 2015-08-24 2015-08-24 Process modeling device and method Pending CN105094845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510520382.5A CN105094845A (en) 2015-08-24 2015-08-24 Process modeling device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510520382.5A CN105094845A (en) 2015-08-24 2015-08-24 Process modeling device and method

Publications (1)

Publication Number Publication Date
CN105094845A true CN105094845A (en) 2015-11-25

Family

ID=54575373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510520382.5A Pending CN105094845A (en) 2015-08-24 2015-08-24 Process modeling device and method

Country Status (1)

Country Link
CN (1) CN105094845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117207A (en) * 2017-06-21 2019-01-01 深圳联友科技有限公司 A kind of data processing method of business process model
CN110956413A (en) * 2019-12-17 2020-04-03 国家体育总局体育科学研究所 Inspection system based on fixed flow

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
US20110208765A1 (en) * 2010-02-23 2011-08-25 Fujitsu Limited User information management device for content provision, processing method, and computer-readable non transitory storage medium storing a program
CN103164413A (en) * 2011-12-09 2013-06-19 金蝶软件(中国)有限公司 Method and system for dynamic extension of service objects

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101158896A (en) * 2007-08-31 2008-04-09 南京联创科技股份有限公司 Service assemblage based on MVC and method for page moulding development WEB platform
US20110208765A1 (en) * 2010-02-23 2011-08-25 Fujitsu Limited User information management device for content provision, processing method, and computer-readable non transitory storage medium storing a program
CN103164413A (en) * 2011-12-09 2013-06-19 金蝶软件(中国)有限公司 Method and system for dynamic extension of service objects

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117207A (en) * 2017-06-21 2019-01-01 深圳联友科技有限公司 A kind of data processing method of business process model
CN109117207B (en) * 2017-06-21 2021-11-23 深圳联友科技有限公司 Data processing method of business process model
CN110956413A (en) * 2019-12-17 2020-04-03 国家体育总局体育科学研究所 Inspection system based on fixed flow

Similar Documents

Publication Publication Date Title
CN102609402B (en) Device and method for generation and management of ontology model based on real-time strategy
US10198411B2 (en) Storing additional document information through change tracking
CN111124379B (en) Page generation method and device, electronic equipment and storage medium
CN106775770A (en) The lookup method of query statement is built based on category information
CN102968306A (en) Method and system for automatically generating code based on data model drive
CN104731588B (en) Page layout document generating method and page layout file creating apparatus
CN103810152A (en) Visualized formula editor
CN111078094B (en) Distributed machine learning visualization device
CN108776702A (en) A kind of data make a report on page user-defined visual configuration method
CN108509599B (en) Data model creating method and device
CN106502680B (en) A method of pel extension is carried out by visualization interface
CN104298705A (en) Converting method of relational data and unstructured data
US8732655B2 (en) Systems and methods for metamodel transformation
CN105094845A (en) Process modeling device and method
CN104484156B (en) The edit methods of multilingual formula, editing system and multilingual formula editors
CN108255486B (en) View conversion method and device for form design and electronic equipment
CN103699746A (en) CADDS5 piping three-dimensional design method and system based on database
CN111126961B (en) Full life cycle digital main line service system for complex products
JP4906424B2 (en) Web service design method and apparatus
CN115705375A (en) Tree component rendering method and device
CN113128184A (en) Document content screening method and device for multi-person collaborative editing document
US9052906B2 (en) Modularized customization of a model in a model driven development environment
KR101765324B1 (en) Sources code generating apparatus using structured query language and diagram, and method for processing thereof
JP5189880B2 (en) Class structure generation method, class structure generation program, and class structure generation apparatus
JP2013148953A (en) Program template automatic generation program and program template automatic generation device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125

RJ01 Rejection of invention patent application after publication