CN109447406A - A kind of method of visioning procedure and the device of visioning procedure - Google Patents

A kind of method of visioning procedure and the device of visioning procedure Download PDF

Info

Publication number
CN109447406A
CN109447406A CN201811101519.3A CN201811101519A CN109447406A CN 109447406 A CN109447406 A CN 109447406A CN 201811101519 A CN201811101519 A CN 201811101519A CN 109447406 A CN109447406 A CN 109447406A
Authority
CN
China
Prior art keywords
node
difference
benchmark
newly
identification code
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
CN201811101519.3A
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.)
Wuhan Dameng Database Co Ltd
Original Assignee
Wuhan Dameng Database 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 Wuhan Dameng Database Co Ltd filed Critical Wuhan Dameng Database Co Ltd
Priority to CN201811101519.3A priority Critical patent/CN109447406A/en
Publication of CN109447406A publication Critical patent/CN109447406A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of method of visioning procedure and the device of visioning procedure, the method for the visioning procedure includes: to obtain benchmark flow object, and benchmark flow object constructs the reference templates of preset format;The process change directive that user is inputted is received, and constructs difference template according to process change directive and reference templates;Difference template is handled, difference object is obtained;Difference object is compared with benchmark flow object, and is modified according to difference object to benchmark flow object, new flow object is created, to realize the business demand to match with new flow object.The method of the visioning procedure can generate new flow object based on benchmark process object batch, to meet the needs of different business, save the time, can greatly improve efficiency.

Description

A kind of method of visioning procedure and the device of visioning procedure
[technical field]
The present invention relates to flow processing fields, the dress of method and visioning procedure more particularly to a kind of visioning procedure It sets.
[background technique]
As what the expansion of business, demand changed increases, often leading to service code becomes too fat to move, at the same time, business Service logic in code also becomes complicated, so that software developer also be made to be not easy to safeguard service code.
In order to solve the problems, such as that service code is not convenient for safeguarding, currently, (e.g., many application systems pass through some workflow tools Jbpm and activity open source process frame) implementation process business.But it inventors have found that is configured in data relay process In, it usually needs many related procedures are configured, and have great similarity in these processes, generally in certain data sources It is had differences in configuration or flow nodes parameter.When similar process reaches certain amount, on process is configured and is managed all It is to be modified by manual operations, workload is huge, when no matter modification process or newly-increased process will all spend a large amount of Between, extreme influence efficiency.
In consideration of it, overcoming defect present in the prior art is the art urgent problem to be solved.
[summary of the invention]
Aiming at the above defects or improvement requirements of the prior art, the present invention provides a kind of method of visioning procedure and wounds The device for building process, its object is to the methods of the visioning procedure to generate new process pair based on benchmark process object batch As to meet the needs of different business, saving the time, can greatly improve efficiency;Thus it solves to match to process at present It sets and manages, workload is huge, and no matter modification process or newly-increased process will all devote a tremendous amount of time, extreme influence efficiency The problem of.
The embodiment of the present invention adopts the following technical scheme that
In a first aspect, the present invention provides a kind of method of visioning procedure, the method for the visioning procedure includes:
Obtain benchmark flow object, and the reference templates according to benchmark flow object building preset format;
The process change directive that user is inputted is received, and according to the process change directive and the reference templates structure Build difference template;
The difference template is handled, difference object is obtained;
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark Flow object is modified, and new flow object is created, to realize the business demand to match with the new flow object.
Preferably, the method for the visioning procedure further include:
According to the format of the reference templates, create with the reference template of variable label preset attribute object's property value;
The process change directive for receiving user and being inputted, and according to the process change directive and the benchmark mould Plate constructs difference template
The process change directive that user is inputted is received, according to the process change directive and the preset attribute object Determine variance data;
It is the variable assignments by the variance data, by described referring to template instances, to construct difference mould Plate.
Preferably, the benchmark flow object includes the line between multiple nodes and node, and each node has each From nodal community, wherein the nodal community includes node identification code and nodename;Each line has respective company Line attribute, wherein the line attribute includes the node identification code for the destination node that line identification code and line are correspondingly connected with.
Preferably, the process change directive is attribute replacement instruction, wherein carries section in the attribute replacement instruction Point identification code;
The process change directive for receiving user and being inputted, and according to the process change directive and the benchmark mould Plate constructs difference template
The attribute replacement instruction that user is inputted is received, and determines node identification code according to the attribute replacement instruction;
The position for positioning respective nodes on the reference templates by the node identification code is replaced according to the attribute Instruction is replaced the attribute of respective nodes, constructs difference template;
It is described to be compared the difference object with the benchmark flow object, and according to the difference object to described Benchmark flow object is modified, and is created new flow object and is included:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark Flow object carries out attribute replacement, creates new flow object.
Preferably, the process change directive is deletion of node instruction, is carried in the deletion of node instruction deleted The line attribute of the node identification code of node and target link associated with deleted node;
The process change directive for receiving user and being inputted, and according to the process change directive and the benchmark mould Plate constructs difference template
The deletion of node instruction that user is inputted is received, and determines the section of deleted node according to deletion of node instruction The line attribute of point identification code and target link associated with deleted node;
The position for being deleted node is positioned on the reference templates by the node identification code, according to it is described with deleted The line attribute of the associated target link of the node removed determines the identification code and/or needs for needing connected destination node Deleted line constructs difference template;
It is described to be compared the difference object with the benchmark flow object, and according to the difference object to described Benchmark flow object is modified, and is created new flow object and is included:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark Flow object executes deletion of node operation;
Line associated with deleted node is deleted, and is needing to add new company between connected destination node Line creates new flow object.
Preferably, the process change directive is newly-increased node instruction, wherein carried in the newly-increased node instruction with The node identification code of the newly-increased associated destination node of node;
The process change directive for receiving user and being inputted, and according to the process change directive and the benchmark mould Plate constructs difference template
The newly-increased node instruction that user is inputted is received, and related to newly-increased node according to the newly-increased node instruction determination The node identification code of the destination node of connection;
Node identification code according to the destination node determines the node location of newly-increased node, and increases the newly-increased node With the line between the destination node, difference template is constructed.
Preferably, interstitial content associated with the newly-increased node is two, is carried in the newly-increased node instruction The node identification code of previous destination node associated with newly-increased node, and latter object node associated with newly-increased node Node identification code;
The node identification code according to the destination node determines the node location of newly-increased node, and increases described newly-increased Line between node and the destination node, building difference template include:
According to the node identification code of previous destination node and the node identification code of latter object node, determine that connection is previous The line of destination node and latter object node;
Delete the line between previous destination node and latter object node;
Previous destination node and newly-increased node are established into connection, newly-increased node and latter object node are established into connection, with Construct difference template.
Preferably, the acquisition benchmark flow object, and the reference templates of benchmark flow object building preset format Include:
Benchmark flow object is obtained, serializing processing is carried out to the benchmark flow object, constructs the benchmark mould of XML format Plate.
Preferably, described to handle the difference template, obtaining difference object includes:
Unserializing processing is carried out to the difference template, obtains difference object.
Second aspect, the present invention provide a kind of device of visioning procedure, including at least one processor;And with it is described The memory of at least one processor communication connection;Wherein, the memory, which is stored with, to be held by least one described processor Capable instruction, the method that described instruction is arranged to carry out visioning procedure described in first aspect by program.
The third aspect, the present invention also provides a kind of nonvolatile computer storage media, the computer storage medium Computer executable instructions are stored with, which is executed by one or more processors, for completing first The method of visioning procedure described in aspect.
Compared with prior art, the beneficial effect of the embodiment of the present invention is: the method for visioning procedure of the invention, first Benchmark flow object is converted into reference templates, user is on the basis of reference templates, according to actual demand input process change Instruction.Then, the process change directive and reference templates inputted according to user constructs difference template, and difference template is turned Turn to difference object.Finally, modifying again according to difference object to benchmark flow object, new flow object is obtained.Pass through The purpose that mass creates new flow object may be implemented in the method for the visioning procedure, to realize and new flow object phase Matched business.The method of the visioning procedure is easy to operate, applicability is wide, can be generated newly based on benchmark process object batch Flow object saves the time to meet the needs of different business, can greatly improve efficiency.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present invention Attached drawing is briefly described.It should be evident that drawings described below is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow diagram of the method for visioning procedure provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of benchmark flow object provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of another benchmark flow object provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another benchmark flow object provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the method for another visioning procedure provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the device of visioning procedure provided in an embodiment of the present invention.
[specific embodiment]
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Embodiment 1:
Currently, in the configuration of data relay process, it usually needs configure many related procedures, and deposited between these processes In great similarity, for example, being had differences in the configuration of certain data sources or flow nodes parameter.When similar process It on process is configured and managed is modified by manual operations, workload is huge, no matter repairs when reaching certain amount Changing process or newly-increased process will all devote a tremendous amount of time, extreme influence efficiency.In order to solve foregoing problems, the present invention is proposed A kind of method of visioning procedure, the purpose that mass creates new flow object may be implemented in the method for the visioning procedure, with reality The business now to match with new flow object.The method of the visioning procedure is easy to operate, applicability is wide, can be based on reference flow Journey object batch generates new flow object, to meet the needs of different business, saves the time, can greatly improve efficiency.
Illustrate the method for the present embodiment visioning procedure below with reference to FIG. 1 to FIG. 4, the method specific steps of the visioning procedure are such as Under:
Step 10: obtaining benchmark flow object, and the reference templates according to benchmark flow object building preset format.
In practical application scene, operation flow, and the process progress of visualization display business are created according to business demand And the state of operation flow.For example, data cleansing process, Project-developing process and bonus calculate process etc..
In actual use, there are a large amount of similar processes (for example, the big multiphase of many processes of the same department Seemingly, same type of process is mostly similar), for the ease of management process business, while for the ease of being needed according to new business It asks and creates new flow object, in the present embodiment, can be configured corresponding according to factors such as the type of business and business departments Benchmark operation flow, and benchmark operation flow obtain benchmark flow object, wherein the benchmark flow object covers base This business demand can modify on the basis of benchmark flow object in business demand change, obtain new process Object, to realize the business demand to match with new flow object.
Since the form of expression of benchmark flow object is code, for example, java object, user can not intuitively get phase The content answered, so can not benchmark flow object modify, and obtain with the matched flow object of new business demand, Therefore, it is necessary to handle benchmark flow object, to obtain the reference templates of preset format, wherein the reference templates have Man-machine readable feature (that is, machine and with can identify per family).In the present embodiment, benchmark flow object is serialized Processing constructs the reference templates of XML (eXtensibleMarkupLanguage is abbreviated as XML) format.
For example, operation flow is ETL (Extract-Transform-Load writes a Chinese character in simplified form ETL) process, the ETL process For realizing data are extracted, cleaned and are loaded etc. with processes.When data source configuration is different, ETL process also can be corresponding Ground has differences, and in order to improve efficiency, in practical application scene, benchmark ETL stream can be created according to the primary demand of ETL Journey can determine that new ETL process and benchmark ETL flow according to the configuration of data source during carrying out ETL processing to data Then difference between journey modifies to benchmark ETL process according to the difference, obtains new ETL process, thus to data into Row processing.
Step 11: receiving the process change directive that user is inputted, and according to the process change directive and the base Quasi-mode plate constructs difference template.
In the present embodiment, user inputs process change directive, the format of benchmark template according to practical business demand And attributes object label is (for example, the attribute of the attributes object of the title for indicating node, identification code for indicating node Object etc.), construct difference template.Wherein, difference template is identical as the format of reference templates and attributes object label, to guarantee Difference template can be converted to corresponding java object after carrying out unserializing processing, and then carry out to benchmark flow object Modification, to obtain new flow object.
In practical application scene, each process is actually to have multiple nodes, nodal community, line and line category The data such as property bind the affairs/operation flow to be formed according to certain incidence relation, to realize corresponding affairs/business demand. Therefore, the benchmark flow object includes the line between multiple nodes and node, and each node has respective node category Property, wherein the nodal community includes node identification code and nodename;Each line has respective line attribute, In, the line attribute includes the node identification code for the destination node that line identification code and line are correspondingly connected with.
Wherein, process change directive can need for modification nodal community, deletion of node, newly-increased node or other changes It asks, according to depending on actual conditions.
Step 12: the difference template being handled, difference object is obtained.
In the present embodiment, unserializing processing is carried out to the difference template, obtains difference object.For example, by XML lattice The template switch of formula is java object.
Step 13: the difference object being compared with the benchmark flow object, and according to the difference object pair The benchmark flow object is modified, and new flow object is created, to realize the industry to match with the new flow object Business demand.
In the present embodiment, the difference object is compared with the benchmark flow object first, and according to described Difference object modifies to the benchmark flow object, creates new flow object, to realize and the new flow object The business demand to match.
In practical application scene, according to the difference of process change directive, based on the new process of benchmark process Object Creation The mode of object also accordingly has differences, specific as follows:
(1) in one of them embodiment, process change directive is attribute replacement instruction, wherein the attribute replacement Node identification code is carried in instruction.
Step 11: the process change directive for receiving user and being inputted, and according to the process change directive and institute Reference templates building difference template is stated to specifically comprise the following steps:
Firstly, receiving the attribute replacement instruction that user is inputted, and node identification is determined according to the attribute replacement instruction Code.Then, the position for positioning respective nodes on the reference templates by the node identification code is replaced according to the attribute Instruction is replaced the attribute of respective nodes, constructs difference template.Specifically, including corresponding with the node under each node Essential attribute information, for example, including character name, personage's age and personage address etc. under some node, attribute replacement refers to The attribute replacement instruction for some node is enabled, for example, replacement character name, personage's age and personage address etc..
After obtaining difference template, unserializing is carried out to difference template, obtains difference object, then executes step 13, Create new flow object.
Step 13: it is described to be compared the difference object with the benchmark flow object, and according to the difference pair As modifying to the benchmark flow object, creates new flow object and specifically comprise the following steps:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark Flow object carries out attribute replacement, creates new flow object.
For example, the attribute value under some node of benchmark flow object corresponds to name=tom, age=100, p= Hb, c=js, the attribute value under difference object respective nodes is name=jack, age=90, p=ppp, then according to difference object Attribute replacement is carried out to benchmark flow object, creating the attribute value under new flow object respective nodes is name=jack, age =90, p=ppp, c=js.Specific code is as follows:
(2) in another embodiment, process change directive is deletion of node instruction, is carried in the deletion of node instruction There are the node identification code of deleted node and the line attribute of target link associated with deleted node.
Step 11: the process change directive for receiving user and being inputted, and according to the process change directive and institute Reference templates building difference template is stated to specifically comprise the following steps:
Firstly, receiving the deletion of node instruction that user is inputted, and is determined according to deletion of node instruction and be deleted section The node identification code of point and the line attribute of target link associated with deleted node;Pass through the node identification code The position for being deleted node is positioned on the reference templates, according to the target link associated with deleted node Line attribute determines the identification code for needing connected destination node and/or needs deleted line, constructs difference template.
After obtaining difference template, unserializing is carried out to difference template, obtains difference object, then executes step 13, Create new flow object.
Step 13: it is described to be compared the difference object with the benchmark flow object, and according to the difference pair As modifying to the benchmark flow object, creates new flow object and specifically comprise the following steps:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark Flow object executes deletion of node operation;Line associated with deleted node is deleted, and is needing connected target section New line is added between point, creates new flow object.
For example, as shown in Fig. 2, benchmark flow object includes three nodes, specifically: table/view reads node, row Sequence node and text file load node;Benchmark flow object further includes two lines, and table/view reads node and sequence saves Line between point, the line between ordering joint and loading node.Each node has corresponding node identification code, often A line has corresponding identification code.The corresponding reference templates of benchmark flow object are as follows:
<Activity id=" 17425552681795584 " type=tableSource .../>// table/view is read Node
< Activity id=" 15325522221565523 " type=" SUCCESS_CONNECTION " sourceId =" 17425552681795584 " targetId=" 12425552812492637 " .../> // table/view reads node and row Line between sequence node
<Activity id=" 12425552812492637 " type=" sort " .../>// ordering joint
< Activity id=" 18936552827352618 " type=" SUCCESS_CONNECTION " sourceId =" 12425552812492637 " targetId=" 11956782822232348 " .../> // ordering joint and loading node Between line
<Activity id=" 11956782822232348 " type=tableDestination .../>// text text Part loads node
User inputs the deletion of node instruction for deleting ordering joint, carries deletion mark information in deletion instruction (modifytype=" delete ") executes delete operation after detecting deletion mark information.Specifically, deleting instruction In also carry the node identification code of ordering joint, and need deleted line.Difference template is as follows:
< Activity modifytype=" delete " id=" 15325522221565523 " type=" SUCCESS_ 17425552681795584 " targetId=" 12425552812492637 " of CONNECTION " sourceId="/> // it deletes Read the line between node and ordering joint
< Activity modifytype=" delete " id=" 12425552812492637 " type=" Sort " .../> // delete ordering joint
< Activity modifytype=" delete " id=" 18936552827352618 "
Type=" SUCCESS_CONNECTION " sourceId=" 12425552812492637 "
TargetId=" 11956782822232348 " .../> // it deletes ordering joint and loads the line between node
< Activity modifytype=" add " id=" 13457552822910862 "
Type=" SUCCESS_CONNECTION " sourceId=" 17425552681795584 "
TargetId=" 11956782822232348 " .../> // addition reads node to the line loaded between node
Actual treatment process are as follows: successively delete the line between reading node and ordering joint, delete ordering joint, delete Except ordering joint and the line between node is loaded, then adds again and reads node to the line loaded between node.It is obtaining Step 13 is executed after difference template, obtains new flow object, it is specific as shown in Figure 3.
(3) In yet another embodiment, process change directive is newly-increased node instruction, wherein the newly-increased node instruction In carry the node identification code of destination node associated with newly-increased node.
Step 11: the process change directive for receiving user and being inputted, and according to the process change directive and institute Reference templates building difference template is stated to specifically comprise the following steps:
Firstly, receiving the newly-increased node instruction that user is inputted, and according to the newly-increased node instruction determination and newly-increased section The node identification code of the associated destination node of point, then, the node identification code according to the destination node determine newly-increased node Node location, and increase the line between the newly-increased node and the destination node, construct difference template.
For example, interstitial content associated with the newly-increased node is two, is carried in the newly-increased node instruction There are the node identification code of previous destination node associated with newly-increased node, and latter object section associated with newly-increased node The node identification code of point.Firstly, according to the node identification code of previous destination node and the node identification code of latter object node, Determine the line for connecting previous destination node and latter object node;Then, previous destination node and latter object are deleted Line between node;Finally, previous destination node and newly-increased node are established connection, by newly-increased node and latter object node Connection is established, to construct difference template.
After obtaining difference template, unserializing is carried out to difference template, obtains difference object, then executes step 13, Create new flow object.
In conjunction with Fig. 2 and Fig. 4, for example, user, which inputs, increases data cleansing switching node, data cleansing conversion section The previous destination node of point is that table/view reads node, and the latter object node of the data cleansing switching node is ordering joint, The position of data cleansing switching node can be then determined according to reading node and the corresponding identification code of ordering joint.Due to reading There are lines between node and ordering joint, will read the line between node and ordering joint first and delete, then again The line between node and data cleansing switching node, the company between data cleansing switching node and loading node are read in addition Line, to obtain new flow object (as shown in Figure 4).About the concrete operations of addition node and the process class of above-mentioned deletion of node Seemingly, it can refer to foregoing description, here, repeating no more.
Embodiment 2:
In practical application scene, exists while creating multiple new flow objects, and each new flow object is opposite Identical in the difference of benchmark flow object, the difference between new flow object is that the corresponding attribute value of same alike result is different, For the ease of creating new flow object in batches, unnecessary repetitive operation is avoided, improves working efficiency, the present embodiment is above-mentioned It is improved on the basis of embodiment 1, proposes the method for another visioning procedure.
It is different from embodiment 1, the method for the visioning procedure of the present embodiment is created by the way of variable expression referring to mould Plate, then again according to the variable progress assignment that actual demand is in variable expression, so as to be obtained referring to template embodiment Corresponding difference template.The method of the visioning procedure of the present embodiment can carry out dynamic replacement according to variable expression, and batch is created Build multiple new flow objects.Illustrate that the method for visioning procedure, the method for the visioning procedure specifically include as follows referring next to Fig. 5 Step:
Step 20: obtaining benchmark flow object, and the reference templates according to benchmark flow object building preset format.
Step 21: according to the format of the reference templates, creating with the ginseng of variable label preset attribute object's property value According to template.
In the present embodiment, the format according to the reference templates, creation is referring to template, wherein it is described referring to template with The format and attributes object label of the reference templates are identical.Described referring in template, the corresponding category of each attributes object Property value is with variable label.For example, using variable expression for { }, with the corresponding attribute value of variable label attributes object, (e.g., Person name=" { name } ", person name is attributes object, and { name } is corresponding with variable label attributes object Attribute value).In addition, some of attributes object and flow object attributes have unique corresponding relation, can batch to variable into Row assignment obtains corresponding difference template to instantiate referring to template.
Step 22: the process change directive that is inputted of user is received, according to the process change directive and described default Attributes object determines variance data.
In the present embodiment, process change directive carries unique attribute information such as nodename or node identification code, Mapping relations one by one are formed by the attribute information and preset attributes object, to obtain variance data.
Step 23: being the variable assignments by the variance data, by described referring to template instances, to construct difference Anomalous mode plate.
It in the present embodiment, is the variable assignments by the variance data, by described referring to template instances, thus Construct difference template.
Step 24: the difference template being handled, difference object is obtained.
Step 25: the difference object being compared with the benchmark flow object, and according to the difference object pair The benchmark flow object is modified, and new flow object is created, to realize the industry to match with the new flow object Business demand.
Wherein, step 20, step 24 and step 25 are identical as the corresponding steps of embodiment 1, and details are not described herein.
In a concrete application scene, preset attribute object is person name, age and address p is (referring to mould Shown in the following code of plate), that is, the variable for needing to instantiate is { name }, { age } and p_value;Then, then to variable into Row assignment, name=Jack, age=22, p_value=pp obtain corresponding difference to instantiate to referring to template Template.
In another application scene, preset attribute object is id, activityNum and name (referring to template following generation Shown in code), that is, the variable for needing to instantiate is { num }, { activityNum } and { name }.
Input needs the data modified in a text file or excel, as follows:
Num=1, activityNum=1, name=text file 2;Num=2, activityNum=1, name=text This document 3;Num=3, activityNum=1, name=text file 4;Num=4, activityNum=1, name=text This document 5.
After reading the content in text file or excel, it is followed successively by num, activityNum and name tax Value to instantiate referring to template, and then obtains four different difference templates, then executes step 24 and step 25 again, obtain The flow object new to four, to realize the business demand to match with new flow object.
Dynamic replacement can be carried out according to variable expression by the above method, create multiple new flow objects in batches, To meet different business demands, working efficiency is improved.
It is different from the prior art, the method for visioning procedure of the invention, first converts benchmark flow object for benchmark mould Plate, user input process change directive on the basis of reference templates, according to actual demand.Then, more according to the process of user Change instruction and reference templates building difference template, and converts difference object for difference template.Finally, again according to difference object It modifies to benchmark flow object, obtains new flow object.By the method for the visioning procedure, mass wound may be implemented The purpose of new flow object is built, to realize the business to match with new flow object.The method of the visioning procedure operates letter List, applicability are wide, can generate new flow object based on benchmark process object batch, to meet the needs of different business, section It saves time, can greatly improve efficiency.
Embodiment 3:
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram of the device of visioning procedure provided in an embodiment of the present invention.This reality The device for applying the visioning procedure of example includes one or more processors 61 and memory 62.Wherein, with a processor in Fig. 6 For 61.
Processor 61 can be connected with memory 62 by bus or other modes, to be connected as by bus in Fig. 6 Example.
Memory 62 can be used for storing non-as a kind of non-volatile computer readable storage medium storing program for executing based on visioning procedure Volatibility software program, non-volatile computer executable program and module, as the visioning procedure in embodiment 1 method with And corresponding program instruction.Processor 61 by operation be stored in memory 62 non-volatile software program, instruction and Module realizes embodiment 1 and/or embodiment 2 thereby executing the various function application and data processing of the method for visioning procedure Visioning procedure method function.
Wherein, memory 62 may include high-speed random access memory, can also include nonvolatile memory, such as At least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, it stores Optional device 62 includes the memory remotely located relative to processor 61, these remote memories can pass through network connection to place Manage device 61.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Method about visioning procedure please refers to FIG. 1 to FIG. 5 and relevant verbal description here, repeating no more.
It is worth noting that in information exchange, implementation procedure between module, unit in above-mentioned apparatus and system etc. Hold, due to being based on same design with processing method embodiment of the invention, particular content be can be found in embodiment of the present invention method Narration, details are not described herein again.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of embodiment is can to lead to Program is crossed to instruct relevant hardware and complete, which can be stored in a computer readable storage medium, storage medium It may include: read-only memory (Read Only Memory, be abbreviated as ROM), random access memory (Random Access Memory is abbreviated as RAM), disk or CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (10)

1. a kind of method of visioning procedure, which is characterized in that the method for the visioning procedure includes:
Obtain benchmark flow object, and the reference templates according to benchmark flow object building preset format;
The process change directive that user is inputted is received, and poor according to the process change directive and reference templates building Anomalous mode plate;
The difference template is handled, difference object is obtained;
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark process Object is modified, and new flow object is created, to realize the business demand to match with the new flow object.
2. the method for visioning procedure according to claim 1, which is characterized in that the method for the visioning procedure further include:
According to the format of the reference templates, create with the reference template of variable label preset attribute object's property value;
The process change directive for receiving user and being inputted, and according to the process change directive and the reference templates structure Building difference template includes:
The process change directive that user is inputted is received, is determined according to the process change directive and the preset attribute object Variance data;
It is the variable assignments by the variance data, by described referring to template instances, to construct difference template.
3. the method for visioning procedure according to claim 1, which is characterized in that the benchmark flow object includes multiple sections Line between point and node, each node have respective nodal community, wherein the nodal community includes node identification Code and nodename;Each line have respective line attribute, wherein the line attribute include line identification code and The node identification code for the destination node that line is correspondingly connected with.
4. the method for visioning procedure according to claim 3, which is characterized in that the process change directive is attribute replacement Instruction, wherein carry node identification code in the attribute replacement instruction;
The process change directive for receiving user and being inputted, and according to the process change directive and the reference templates structure Building difference template includes:
The attribute replacement instruction that user is inputted is received, and determines node identification code according to the attribute replacement instruction;
The position for positioning respective nodes on the reference templates by the node identification code, according to the attribute replacement instruction The attribute of respective nodes is replaced, difference template is constructed;
It is described to be compared the difference object with the benchmark flow object, and according to the difference object to the benchmark Flow object is modified, and is created new flow object and is included:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark process Object carries out attribute replacement, creates new flow object.
5. the method for visioning procedure according to claim 3, which is characterized in that the process change directive is deletion of node Instruction carries the node identification code of deleted node and associated with deleted node in deletion of node instruction The line attribute of target link;
The process change directive for receiving user and being inputted, and according to the process change directive and the reference templates structure Building difference template includes:
The deletion of node instruction that user is inputted is received, and determines the node mark of deleted node according to deletion of node instruction Know the line attribute of code and target link associated with deleted node;
The position for being deleted node is positioned on the reference templates by the node identification code, according to it is described be deleted The line attribute of the associated target link of node determines the identification code for needing connected destination node and/or needs to be deleted The line removed constructs difference template;
It is described to be compared the difference object with the benchmark flow object, and according to the difference object to the benchmark Flow object is modified, and is created new flow object and is included:
The difference object is compared with the benchmark flow object, and according to the difference object to the benchmark process Object executes deletion of node operation;
Line associated with deleted node is deleted, and is needing to add new line between connected destination node, is created Build new flow object.
6. the method for visioning procedure according to claim 3, which is characterized in that the process change directive is newly-increased node Instruction, wherein the node identification code of destination node associated with newly-increased node is carried in the newly-increased node instruction;
The process change directive for receiving user and being inputted, and according to the process change directive and the reference templates structure Building difference template includes:
The newly-increased node instruction that user is inputted is received, and associated with newly-increased node according to the newly-increased node instruction determination The node identification code of destination node;
Node identification code according to the destination node determines the node location of newly-increased node, and increases the newly-increased node and institute The line between destination node is stated, difference template is constructed.
7. the method for visioning procedure according to claim 6, which is characterized in that node associated with the newly-increased node Number is two, and the node identification of previous destination node associated with newly-increased node is carried in the newly-increased node instruction Code, and the node identification code of latter object node associated with newly-increased node;
The node identification code according to the destination node determines the node location of newly-increased node, and increases the newly-increased node With the line between the destination node, constructing difference template includes:
According to the node identification code of previous destination node and the node identification code of latter object node, determines and connect previous target The line of node and latter object node;
Delete the line between previous destination node and latter object node;
Previous destination node and newly-increased node are established into connection, newly-increased node and latter object node are established into connection, with building Difference template.
8. the method for described in any item visioning procedures according to claim 1~7, which is characterized in that the acquisition benchmark process Object, and the reference templates of benchmark flow object building preset format include:
Benchmark flow object is obtained, serializing processing is carried out to the benchmark flow object, constructs the reference templates of XML format.
9. the method for described in any item visioning procedures according to claim 1~7, which is characterized in that described to the difference mould Plate is handled, and is obtained difference object and is included:
Unserializing processing is carried out to the difference template, obtains difference object.
10. a kind of device of visioning procedure, which is characterized in that including at least one processor;And with described at least one Manage the memory of device communication connection;Wherein, the memory is stored with the instruction that can be executed by least one described processor, institute State the method that instruction is arranged to carry out visioning procedure as described in any one of claims 1 to 9 by program.
CN201811101519.3A 2018-09-20 2018-09-20 A kind of method of visioning procedure and the device of visioning procedure Pending CN109447406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811101519.3A CN109447406A (en) 2018-09-20 2018-09-20 A kind of method of visioning procedure and the device of visioning procedure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811101519.3A CN109447406A (en) 2018-09-20 2018-09-20 A kind of method of visioning procedure and the device of visioning procedure

Publications (1)

Publication Number Publication Date
CN109447406A true CN109447406A (en) 2019-03-08

Family

ID=65530543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811101519.3A Pending CN109447406A (en) 2018-09-20 2018-09-20 A kind of method of visioning procedure and the device of visioning procedure

Country Status (1)

Country Link
CN (1) CN109447406A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007913A (en) * 2019-03-21 2019-07-12 佳都新太科技股份有限公司 Visual flow chart of data processing setting method, device, equipment and storage medium
CN110632878A (en) * 2019-10-08 2019-12-31 上海宝阶智能科技有限公司 Method and device for heterogeneous embedded tabular processing and action flow execution
CN112951397A (en) * 2021-03-29 2021-06-11 深圳市科曼医疗设备有限公司 Perioperative period process management system and method
CN114546344A (en) * 2022-02-23 2022-05-27 网银在线(北京)科技有限公司 Method and device for generating flow
CN115098093A (en) * 2022-08-24 2022-09-23 湖南云畅网络科技有限公司 Data flow expression processing method and system
CN115904572A (en) * 2022-10-26 2023-04-04 北京力控元通科技有限公司 Template creating method, template calling method, program product, template system and template device
WO2023093487A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Project stream determination method and apparatus, electronic device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599010A (en) * 2008-06-02 2009-12-09 国际商业机器公司 Flow path processing method and device
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化***设备有限公司 Work flow management system and work flow handling method
CN106648664A (en) * 2016-12-23 2017-05-10 东软集团股份有限公司 Self-service terminal business process updating method and apparatus
CN106897809A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Workflow creation method, workflow designer and workflow system
CN107133052A (en) * 2017-05-27 2017-09-05 杭州迪脉信息科技有限公司 The method and device that flow is created

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599010A (en) * 2008-06-02 2009-12-09 国际商业机器公司 Flow path processing method and device
CN104021460A (en) * 2014-06-27 2014-09-03 北京太格时代自动化***设备有限公司 Work flow management system and work flow handling method
CN106897809A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Workflow creation method, workflow designer and workflow system
CN106648664A (en) * 2016-12-23 2017-05-10 东软集团股份有限公司 Self-service terminal business process updating method and apparatus
CN107133052A (en) * 2017-05-27 2017-09-05 杭州迪脉信息科技有限公司 The method and device that flow is created

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110007913A (en) * 2019-03-21 2019-07-12 佳都新太科技股份有限公司 Visual flow chart of data processing setting method, device, equipment and storage medium
CN110632878A (en) * 2019-10-08 2019-12-31 上海宝阶智能科技有限公司 Method and device for heterogeneous embedded tabular processing and action flow execution
CN112951397A (en) * 2021-03-29 2021-06-11 深圳市科曼医疗设备有限公司 Perioperative period process management system and method
WO2023093487A1 (en) * 2021-11-26 2023-06-01 北京字跳网络技术有限公司 Project stream determination method and apparatus, electronic device, and storage medium
CN114546344A (en) * 2022-02-23 2022-05-27 网银在线(北京)科技有限公司 Method and device for generating flow
CN115098093A (en) * 2022-08-24 2022-09-23 湖南云畅网络科技有限公司 Data flow expression processing method and system
CN115098093B (en) * 2022-08-24 2022-12-02 湖南云畅网络科技有限公司 Data flow expression processing method and system
CN115904572A (en) * 2022-10-26 2023-04-04 北京力控元通科技有限公司 Template creating method, template calling method, program product, template system and template device

Similar Documents

Publication Publication Date Title
CN109447406A (en) A kind of method of visioning procedure and the device of visioning procedure
CN112561386A (en) Method, device and equipment for acquiring business process
CN104021460A (en) Work flow management system and work flow handling method
CN106775770A (en) The lookup method of query statement is built based on category information
CN106202006A (en) Document generating method and device
US20170160889A1 (en) Automatic Graphical Rendering of Processes
CN104731588B (en) Page layout document generating method and page layout file creating apparatus
CN102801565B (en) Method for carrying out centralized management on service configuration in network management system
US11556702B2 (en) Orchestration of crud operations for a hierarchical web service data model in a spreadsheet
CN111784108B (en) Modeling method and device of main data management platform
CN115495069B (en) Model-driven coal industry software process implementation method, device and equipment
CN110471754A (en) Method for exhibiting data, device, equipment and storage medium in job scheduling
CN108536718A (en) A kind of method and system for the IT application in management realized based on input and output semantization
CN108228268A (en) A kind of method and apparatus for automatically generating configuration file
CN103310304B (en) The management method of procedural model and device
CN112446625A (en) Process line generation system, method, platform and storage medium
CN107819598A (en) A kind of method and device for managing network function node
CN116610394A (en) Template and module-based data visualization page configuration method, system and device
WO2015196786A1 (en) Interface element model-based universal interface modelling method for constructing interface model
CN116033002A (en) Service field configuration method, device, equipment and readable storage medium
CN115543428A (en) Simulated data generation method and device based on strategy template
CN110956025A (en) Method based on process template multiplexing
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
CN104715122B (en) The method and apparatus that the example of the meta-model constructed based on train technical demand is operated
KR100743150B1 (en) Customized and Automated Technology Roadmapping System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 430000 16-19 / F, building C3, future technology building, 999 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan, Hubei Province

Applicant after: Wuhan dream database Co.,Ltd.

Address before: 430000 16-19 / F, building C3, future technology building, 999 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan, Hubei Province

Applicant before: WUHAN DAMENG DATABASE Co.,Ltd.

CB02 Change of applicant information
CB03 Change of inventor or designer information

Inventor after: Mei Gang

Inventor after: Zhang Zhuxi

Inventor before: Mei Gang

Inventor before: Zhang Zhuxi

Inventor before: Fu Quan

CB03 Change of inventor or designer information
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication