CN107133052A - The method and device that flow is created - Google Patents
The method and device that flow is created Download PDFInfo
- Publication number
- CN107133052A CN107133052A CN201710395641.5A CN201710395641A CN107133052A CN 107133052 A CN107133052 A CN 107133052A CN 201710395641 A CN201710395641 A CN 201710395641A CN 107133052 A CN107133052 A CN 107133052A
- Authority
- CN
- China
- Prior art keywords
- flow
- attribute
- selection instruction
- operator
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/44—Encoding
- G06F8/447—Target code generation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/54—Link editing before load time
Abstract
The embodiment of the present invention provides the method and device that a kind of flow is created, and methods described includes:Configuration file is obtained, the configuration file includes multiple Business Entities, each Business Entity includes Business Entity title, attribute list, and judges operator list;Obtain the selection instruction of user, and according to the configuration file and the selection instruction of the user, product process template, the flow template includes multiple flow nodes, the one or more activation conditions of each flow nodes correspondence, each activation condition includes attribute and the operation of multiple Business Entities;The activation condition of each flow nodes in the data and flow template that are inputted according to user, instantiates the flow template, the flow of generation user's customization.Methods described, without carrying out recompility issue, can realize online updating for the different demands for customizing flow of enterprise.
Description
Technical field
The present invention relates to computer application field, the method and device created in particular to a kind of flow.
Background technology
At present, the mode that flow is created is to predefine conventional data and conventional decision logic operator, it is allowed to user
Selected in predefined data and opereating specification, once beyond this scope, just can only customized development.
But, the mode that this flow is created is inconceivable for the software of SAAS operation modes:For an enterprise
Customized development, issue compiler server code and again, the normal of other clients can be interrupted and used, and worse
There are different flows in different enterprises, and these flows also usually change, and customized development will be very frequent.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide the method and device that a kind of flow is created, with solution
State problem.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiments of the invention provide a kind of method that flow is created, methods described includes:Obtain configuration text
Part, the configuration file includes multiple Business Entities, and each Business Entity includes Business Entity title, attribute list,
And judge operator list;The selection instruction of user is obtained, and according to the configuration file and the selection instruction of the user, it is raw
Into flow template, the flow template includes multiple flow nodes, and each flow nodes correspond to one or more activation conditions,
Each activation condition includes attribute and the operation of multiple Business Entities;Each in the data and flow template that are inputted according to user flows
Cheng Jiedian activation condition, instantiates the flow template, the flow of generation user's customization.
Second aspect, the embodiments of the invention provide the device that a kind of flow is created, described device includes:Acquisition module,
For obtaining configuration file, the configuration file includes multiple Business Entities, and each Business Entity includes Business Entity
Title, attribute list, and judge operator list;First generation module, the selection instruction for obtaining user, and according to described
Configuration file and the selection instruction of the user, product process template, the flow template include multiple flow nodes, each
The one or more activation conditions of flow nodes correspondence, each activation condition includes attribute and the operation of multiple Business Entities;Second
Generation module, for the activation condition of each flow nodes in the data and flow template that are inputted according to user, instantiation is described
Flow template, the flow of generation user's customization.
Compared with prior art, the method and device that a kind of flow provided in an embodiment of the present invention is created, is matched somebody with somebody by obtaining
File is put, the configuration file includes multiple Business Entities, each Business Entity includes Business Entity title, attribute column
Table, and judge operator list;The selection instruction of user is obtained, and is referred to according to the selection of the configuration file and the user
Order, product process template, the flow template includes multiple flow nodes, the one or more activation of each flow nodes correspondence
Condition, each activation condition includes attribute and the operation of multiple Business Entities;In the data and flow template that are inputted according to user
The activation condition of each flow nodes, instantiates the flow template, and the flow of generation user's customization, this programme uses configuration text
The mode of part solves the matter of semantics of User Defined data, and flexibly defines decision logic, by the code logic in configuration
Dynamic loading is directly performed to the memory headroom that program is run, for the different demands for customizing flow of enterprise, without being weighed
Newly compiled is issued, and can realize online updating.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is a kind of structured flowchart of user terminal provided in an embodiment of the present invention.
Fig. 2 is the flow chart for the method that a kind of flow that first embodiment of the invention is provided is created.
Fig. 3 is the first pass figure for the method that a kind of flow that first embodiment of the invention is provided is created.
Fig. 4 is the second flow chart for the method that a kind of flow that first embodiment of the invention is provided is created.
Fig. 5 is the structured flowchart for the device that a kind of flow that second embodiment of the invention is provided is created.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, term " first ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows a kind of structured flowchart for the user terminal 100 that can be applied in the embodiment of the present invention.As shown in figure 1,
User terminal 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, outer
If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication
Line/signal wire 116 is mutually communicated.
The method that the flow that memory 102 can be used in storage software program and module, such as embodiment of the present invention is created
And the corresponding programmed instruction/module of device, processor 106 by operation be stored in software program in memory 102 and
Module, so that various function application and data processing are performed, the method that such as flow provided in an embodiment of the present invention is created.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage
The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations
In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality
In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with
Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user COBBAIF, and it may include one or more microphones, one or more raises
Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between user terminal 100 and user.Specifically,
Touch Screen 114 shows video frequency output to user, and the contents of these video frequency outputs may include word, figure, video and its any
Combination.
It is appreciated that the structure shown in Fig. 1 be only signal, user terminal 100 may also include it is more more than shown in Fig. 1 or
Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its
Combination is realized.
The method that flow provided in an embodiment of the present invention is created can be run in the user terminal 100 shown in Fig. 1.The party
Method includes multiple Business Entities by obtaining configuration file, the configuration file, and it is real that each Business Entity includes business
Body title, attribute list, and judge operator list;The selection instruction of user is obtained, and according to the configuration file and described
The selection instruction of user, product process template, the flow template includes multiple flow nodes, each flow nodes correspondence one
Individual or multiple activation conditions, each activation condition includes attribute and the operation of multiple Business Entities;The data inputted according to user
And the activation condition of the flow nodes of each in flow template, instantiate the flow template, the flow of generation user's customization, we
Case solves the matter of semantics of User Defined data by the way of configuration file, and flexibly defines decision logic, will configure
In code logic dynamic loading directly performed to the memory headroom that program is run, for the different need for customizing flows of enterprise
Ask, without carrying out recompility issue, online updating can be realized.The method that the flow is created is described in detail below.
Fig. 2 shows the flow chart for the method that a kind of flow that first embodiment of the invention is provided is created, referring to Fig. 2,
The method that the flow is created is run in above-mentioned user terminal, and this method includes:
Step S210, obtains configuration file, and the configuration file includes multiple Business Entities, each Business Entity
Including Business Entity title, attribute list, and judge operator list.
Business Entity has three kinds of modes to define.First, the Business Entity of system default, for example, the individual of flow submitter
Information, position, affiliated function etc., these Business Entities are directly used in definitim flow template by system, it is not necessary in configuration text
Defined in part.Second, direct editing configuration file, defines Business Entity.Third, providing user by GUI defines Business Entity
Graphic interface, operating result write-in configuration file in.
As a kind of embodiment, each attribute includes Property Name and judges operator name in the attribute list;Institute
State and judge each to judge that operator includes judging operator name, the corresponding condition pair of judgement operator name in operator list
As, and operator business arithmetic logic.
Wherein, one or more attributes can be included in attribute list.Each Property Name is corresponding to judge operation
It can be zero or more to accord with name.Judge that operator name can be judged in operator list including zero or more.It is each to judge
The corresponding conditional object of operator name can also be zero or more.
The similar program code logic of operator business arithmetic logic, using text written, handles the judgement operator name right
The pass of the conditional object (assignment in visioning procedure template) and Business Entity attribute (assignment when instantiating flow template) answered
System.
Step S220, obtains the selection instruction of user, and according to the configuration file and the selection instruction of the user, it is raw
Into flow template, the flow template includes multiple flow nodes, and each flow nodes correspond to one or more activation conditions,
Each activation condition includes attribute and the operation of multiple Business Entities.
Product process template includes Establishing process link, distribution processing people, defines list, treatment button, branch condition etc.
Step, wherein, the service logic of self-defining data and branch condition is realized by defining Business Entity in flow template.
Referring to Fig. 3, as a kind of embodiment, the selection instruction of the user includes first choice instruction, the second choosing
Instruction, the 3rd selection instruction, input information and the 4th selection instruction are selected, step S320 can include:
Step S221, obtains the first choice instruction, and the first choice is instructed for being selected from the configuration file
Select required Business Entity.
Step S222, shows the attribute list with the corresponding Business Entity of first choice instruction.
Step S223, obtains second selection instruction, and second selection instruction is used to select from the attribute list
Select required attribute, wherein, selected attribute include for the corresponding activation condition of flow nodes attribute and for for
The attribute that flow nodes processing people fills in.
Step S224, if selected attribute is the attribute for the corresponding activation condition of flow nodes, display is selected
Attribute it is corresponding judge operator name.
As a kind of embodiment, if selected attribute is for so that flow nodes handle the attribute that people fills in, inciting somebody to action
Selected attribute is used as user-defined data table forms data.
Step S225, obtains the 3rd selection instruction and input information.
Step S226, from the corresponding judgement operator name for judging that operator name selection is required of selected attribute, and will
The value for entering information as the corresponding conditional object of selected judgement operator name.
Step S227, obtains the 4th selection instruction.
Step S228, according to the 4th selection instruction, by selected attribute, selected judgement operator name and its
The value of corresponding conditional object is grasped as the corresponding activation condition of flow nodes, or by selected attribute, selected judgement
The value for making symbol name and its corresponding conditional object adds flow monitor list.
Step S229, after the corresponding activation condition of each flow nodes and flow monitor list are provided with, flow
Template generation.
The activation condition of each flow nodes in step S230, the data inputted according to user and flow template, instantiation
The flow template, the flow of generation user's customization.
Referring to Fig. 3, as a kind of embodiment, the flow template is text formatting, and the step S230 can be wrapped
Include:
Step S231, the flow template of text formatting is read in the data of internal memory formation structuring, by the operator industry
Business arithmetic logic parses and is compiled as dynamic code.
As a kind of embodiment, the operator of the text formatting is realized that logic is parsed and compiled by text resolver
JAVA codes are translated into, and the JAVA codes dynamic loading is entered into the program space.
Text resolver, which translates into operator business arithmetic logic in the flow template of text formatting, meets JAVA grammers
JAVA codes, and call JAVA compiler, such as JAVAC is compiled into JAVA bytecode, recycles JAVA reflection function,
JAVA bytecode is loaded into the program space directly to perform.
Step S232, the data inputted according to the user, when the business in the flow monitor list that listens to is real
When the attribute of body changes, the dynamic code is called, logic judgment generation corresponding with the attribute of the Business Entity is performed
Code, the logic judgment code is corresponding with the operator business arithmetic logic.
Notify the processing people of current activation process node to fill in the form data needed for the flow nodes, i.e., for for
The property value that flow nodes processing people fills in, when receiving the data of user's input, swashs according to each flow nodes is corresponding
Condition living, loads the corresponding logic judgment code of the flow nodes, the flow nodes institute that the processing people of flow nodes is filled in
The form data needed, brings into the logic judgment code and carries out computing, it is determined whether the activation condition for having other flow nodes is obtained
To satisfaction.
Step S233, if the activation condition for having flow nodes is met, is activated in the flow template with meeting sharp
At least one corresponding example of flow nodes of condition living.
It is understood that the flow nodes for meeting activation condition can be one or more.
When activating a flow instance, Business Entity can also be created an example, and the Business Entity is in whole flow process
Keep unique in example, can be shared by different flow nodes, this allows the self-defining data of different flow nodes whole
Act on flow instance.
The mode of examples detailed above flow template is, come the instantiation of activation process template, to make according to the mode of data-driven
The mode of the flow template is instantiated for another, can be in the way of artificial activation, for example, application process template of asking for leave
Instantiation, which is different from the trigger condition of the mode of above-mentioned data-driven, similar the step of subsequent instance, herein no longer
Repeat, belong to the scope of protection of the invention.
The method that flow provided in an embodiment of the present invention is created, by obtaining configuration file, the configuration file includes
Multiple Business Entities, each Business Entity includes Business Entity title, attribute list, and judges operator list;Obtain
The selection instruction of user, and according to the configuration file and the selection instruction of the user, product process template, the flow mould
Plate includes multiple flow nodes, and each flow nodes correspond to one or more activation conditions, and each activation condition includes multiple
The attribute of Business Entity and operation;The activation condition of each flow nodes in the data and flow template that are inputted according to user, it is real
The exampleization flow template, the flow of generation user's customization, this programme solves User Defined by the way of configuration file
The matter of semantics of data, and flexibly define decision logic, the internal memory that the code logic dynamic loading in configuration is run to program
Space is directly performed, and for the different demands for customizing flow of enterprise, without carrying out recompility issue, can be realized online more
Newly.
Refer to the high-level schematic functional block diagram that Fig. 4 is the device 300 that the flow that second embodiment of the invention is provided is created.Institute
Stating the device 300 of flow establishment includes acquisition module 310, the first generation module 320, the second generation module 330.
Acquisition module 310, for obtaining configuration file, the configuration file includes multiple Business Entities, each described
Business Entity includes Business Entity title, attribute list, and judges operator list.
First generation module 320, the selection instruction for obtaining user, and according to the configuration file and the user
Selection instruction, product process template, the flow template includes multiple flow nodes, each flow nodes correspondence one or many
Individual activation condition, each activation condition includes attribute and the operation of multiple Business Entities.
As a kind of embodiment, each attribute includes Property Name and judges operator name in the attribute list;Institute
State and judge each to judge that operator includes judging operator name, the corresponding condition pair of judgement operator name in operator list
As, and operator business arithmetic logic;The selection instruction of the user includes first choice instruction, the second selection instruction, the 3rd
Selection instruction, the 4th selection instruction and input information;First generation module 320, is additionally operable to obtain the first choice and refers to
Order, the first choice is instructed for selecting required Business Entity from the configuration file;Display and the first choice
Instruct the attribute list of corresponding Business Entity;Second selection instruction is obtained, second selection instruction is used for from described
Required attribute is selected in attribute list, wherein, selected attribute includes the category for the corresponding activation condition of flow nodes
Property and for handling the attribute filled in of people for flow nodes;If selected attribute is for the corresponding activation bar of flow nodes
The attribute of part, shows that selected attribute is corresponding and judges operator name;Obtain the 3rd selection instruction and input information;From
The corresponding judgement operator name judged needed for operator name selection of selected attribute, and by it is described enter information as it is selected
The value for the corresponding conditional object of judgement operator name selected;Obtain the 4th selection instruction;According to the 4th selection instruction, by institute
The value of the attribute of selection, selected judgement operator name and its corresponding conditional object is used as the corresponding activation bar of flow nodes
Part, or the value of selected attribute, selected judgement operator name and its corresponding conditional object is added into flow monitor
List;After the corresponding activation condition of each flow nodes and flow monitor list are provided with, flow template generation.
Second generation module 330, the activation for each flow nodes in the data and flow template that are inputted according to user
Condition, instantiates the flow template, the flow of generation user's customization.
As a kind of embodiment, the flow template is text formatting, second generation module 330, be additionally operable to by
The flow template of text formatting reads in the data of internal memory formation structuring;The operator business arithmetic logic is parsed and compiled
For dynamic code;The data inputted according to the user, when the category for listening to the Business Entity in the flow monitor list
Property when changing, call the dynamic code, perform logic judgment code corresponding with the attribute of the Business Entity, it is described
Logic judgment code is corresponding with the operator business arithmetic logic;If there are flow nodes to meet activation condition, institute is activated
State at least one example corresponding with meeting the flow nodes of activation condition in flow template.
As a kind of embodiment, the dynamic code is JAVA codes, second generation module 330, be additionally operable to by
The operator of the text formatting realizes that logic is parsed by text resolver and is compiled as JAVA codes, and by the JAVA generations
Code dynamic loading enters the program space.
As a kind of embodiment, described device also includes processing module 340, for obtaining second selection instruction
Afterwards, if selected attribute is for so that flow nodes handle the attribute filled in of people, using selected attribute as making by oneself
Adopted form data.
Each module can be that now, above-mentioned each module can be stored in user terminal 100 by software code realization above
In memory 102.Each module can equally be realized by hardware such as IC chip above.
The device that the flow that the embodiment of the present invention is provided is created, the technique effect and foregoing side of its realization principle and generation
Method embodiment is identical, to briefly describe, and device embodiment part does not refer to part, refers in corresponding in preceding method embodiment
Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through
Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing
Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code
Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more
Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from
The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes
It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action
Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion
Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access
Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need
It is noted that herein, such as first and 3rd or the like relational terms be used merely to an entity or operation
Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this
Actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, article or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, article or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of method that flow is created, it is characterised in that methods described includes:
Configuration file is obtained, the configuration file includes multiple Business Entities, each Business Entity includes Business Entity
Title, attribute list, and judge operator list;
The selection instruction of user is obtained, and according to the configuration file and the selection instruction of the user, product process template, institute
Stating flow template includes multiple flow nodes, the one or more activation conditions of each flow nodes correspondence, each activation condition
Attribute and operation including multiple Business Entities;
The activation condition of each flow nodes in the data and flow template that are inputted according to user, instantiates the flow template,
Generate the flow of user's customization.
2. according to the method described in claim 1, it is characterised in that in the attribute list each attribute include Property Name and
Judge operator name;It is each in the judgement operator list to judge that operator includes judging operator name, the judgement operator
The corresponding conditional object of name, and operator business arithmetic logic;The selection instruction of the user includes first choice instruction, second
Selection instruction, the 3rd selection instruction, the 4th selection instruction and input information;
The selection instruction for obtaining user, and according to the configuration file and the selection instruction of the user, product process mould
Plate, including:
The first choice instruction is obtained, the first choice is instructed for selecting required business real from the configuration file
Body;
Show the attribute list with the corresponding Business Entity of first choice instruction;
Second selection instruction is obtained, second selection instruction is used to select required attribute from the attribute list,
Wherein, selected attribute is included for the attribute of the corresponding activation condition of flow nodes and for so that flow nodes handle people
The attribute filled in;
If selected attribute is the attribute for the corresponding activation condition of flow nodes, shows that selected attribute is corresponding and sentence
Disconnected operator name;
Obtain the 3rd selection instruction and input information;
From the corresponding judgement operator name for judging that operator name selection is required of selected attribute, and the input information is made
For the value of the corresponding conditional object of selected judgement operator name;
Obtain the 4th selection instruction;
According to the 4th selection instruction, by selected attribute, selected judgement operator name and its corresponding condition pair
The value of elephant as the corresponding activation condition of flow nodes, or by selected attribute, selected judgement operator name and its it is right
The value for the conditional object answered adds flow monitor list;
After the corresponding activation condition of each flow nodes and flow monitor list are provided with, flow template generation.
3. method according to claim 2, it is characterised in that the flow template is text formatting, described according to user
The activation condition of each flow nodes in the data and flow template of input, instantiates the flow template, including:
The flow template of text formatting is read in the data of internal memory formation structuring;
The operator business arithmetic logic is parsed and dynamic code is compiled as;
The data inputted according to the user, when the attribute for listening to the Business Entity in the flow monitor list becomes
During change, the dynamic code is called, logic judgment code corresponding with the attribute of the Business Entity, the logic judgment is performed
Code is corresponding with the operator business arithmetic logic;
If there are flow nodes to meet activation condition, activate corresponding with meeting the flow nodes of activation condition in the flow template
At least one example.
4. method according to claim 3, it is characterised in that the dynamic code is JAVA codes, described by the behaviour
Make symbol business arithmetic logic to parse and be compiled as dynamic code, including:
The operator of the text formatting is realized that logic is parsed by text resolver and is compiled as JAVA codes, and will be described
JAVA code dynamic loadings enter the program space.
5. method according to claim 2, it is characterised in that after second selection instruction is obtained, methods described
Also include:
If selected attribute is for so that flow nodes handle the attribute filled in of people, using selected attribute as self-defined
Form data.
6. the device that a kind of flow is created, it is characterised in that described device includes:
Acquisition module, for obtaining configuration file, the configuration file includes multiple Business Entities, each Business Entity
Including Business Entity title, attribute list, and judge operator list;
First generation module, the selection instruction for obtaining user, and referred to according to the selection of the configuration file and the user
Order, product process template, the flow template includes multiple flow nodes, the one or more activation of each flow nodes correspondence
Condition, each activation condition includes attribute and the operation of multiple Business Entities;
Second generation module, it is real for the activation condition of each flow nodes in the data and flow template that are inputted according to user
The exampleization flow template, the flow of generation user's customization.
7. device according to claim 6, it is characterised in that in the attribute list each attribute include Property Name and
Judge operator name;It is each in the judgement operator list to judge that operator includes judging operator name, the judgement operator
The corresponding conditional object of name, and operator business arithmetic logic;The selection instruction of the user includes first choice instruction, second
Selection instruction, the 3rd selection instruction, the 4th selection instruction and input information;First generation module, is additionally operable to obtain described
First choice is instructed, and the first choice is instructed for selecting required Business Entity from the configuration file;Display and institute
State the attribute list that first choice instructs corresponding Business Entity;Obtain second selection instruction, second selection instruction
For selecting required attribute from the attribute list, wherein, selected attribute includes corresponding sharp for flow nodes
The attribute of condition living and for handling the attribute that people fills in for flow nodes;If selected attribute is for flow nodes pair
The attribute for the activation condition answered, shows that selected attribute is corresponding and judges operator name;Obtain the 3rd selection instruction and
Input information;From the corresponding judgement operator name judged needed for operator name selection of selected attribute, and by the input
Information is used as the selected value for judging the corresponding conditional object of operator name;Obtain the 4th selection instruction;According to the described 4th
Selection instruction, regard the value of selected attribute, selected judgement operator name and its corresponding conditional object as flow section
The corresponding activation condition of point, or by the value of selected attribute, selected judgement operator name and its corresponding conditional object
Add flow monitor list;After the corresponding activation condition of each flow nodes and flow monitor list are provided with, stream
Journey template generation.
8. device according to claim 7, it is characterised in that the flow template is text formatting, second generation
Module, is additionally operable to read in the flow template of text formatting the data of internal memory formation structuring;By the operator business computing
Logical analysis are simultaneously compiled as dynamic code;The data inputted according to the user, when listening in the flow monitor list
The attribute of Business Entity when changing, call the dynamic code, perform patrols corresponding with the attribute of the Business Entity
Collect and judge code, the logic judgment code is corresponding with the operator business arithmetic logic;If there is the activation of flow nodes
Condition is met, then activates at least one example corresponding with meeting the flow nodes of activation condition in the flow template.
9. device according to claim 8, it is characterised in that the dynamic code is JAVA codes, second generation
Module, is additionally operable to the operator of the text formatting realizing that logic is parsed by text resolver and is compiled as JAVA codes,
And the JAVA codes dynamic loading is entered into the program space.
10. device according to claim 7, it is characterised in that described device also includes processing module, for obtaining institute
, will be selected if selected attribute is for so that flow nodes handle the attribute that people fills in after stating the second selection instruction
Attribute be used as user-defined data table forms data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710395641.5A CN107133052B (en) | 2017-05-27 | 2017-05-27 | Flow creation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710395641.5A CN107133052B (en) | 2017-05-27 | 2017-05-27 | Flow creation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107133052A true CN107133052A (en) | 2017-09-05 |
CN107133052B CN107133052B (en) | 2021-01-05 |
Family
ID=59734058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710395641.5A Active CN107133052B (en) | 2017-05-27 | 2017-05-27 | Flow creation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107133052B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038665A (en) * | 2017-12-08 | 2018-05-15 | 平安科技(深圳)有限公司 | Business Rule Management method, apparatus, equipment and computer-readable recording medium |
CN108984155A (en) * | 2018-05-17 | 2018-12-11 | 阿里巴巴集团控股有限公司 | Flow chart of data processing setting method and device |
CN109145100A (en) * | 2018-08-24 | 2019-01-04 | 深圳追科技有限公司 | A kind of the Task customer service robot system and its working method of customizable process |
CN109377177A (en) * | 2018-10-18 | 2019-02-22 | 东软集团股份有限公司 | Flow path processing method, device, equipment and computer readable storage medium |
CN109447406A (en) * | 2018-09-20 | 2019-03-08 | 武汉达梦数据库有限公司 | A kind of method of visioning procedure and the device of visioning procedure |
CN109597873A (en) * | 2018-11-21 | 2019-04-09 | 腾讯科技(深圳)有限公司 | Processing method, device, computer-readable medium and the electronic equipment of corpus data |
CN109933314A (en) * | 2017-12-15 | 2019-06-25 | 上海智臻智能网络科技股份有限公司 | The generating means of more wheel question answering systems |
CN110032360A (en) * | 2019-04-19 | 2019-07-19 | 成都四方伟业软件股份有限公司 | Flow of transactions creation method, device and server |
CN111523860A (en) * | 2020-04-23 | 2020-08-11 | 北京思特奇信息技术股份有限公司 | Method and system for managing agricultural product production process in modularization mode |
CN111967849A (en) * | 2020-08-19 | 2020-11-20 | 支付宝(杭州)信息技术有限公司 | Task processing flow arrangement method and device and electronic equipment |
CN112183982A (en) * | 2020-09-21 | 2021-01-05 | 中国建设银行股份有限公司 | Workflow creating method and device, computer equipment and storage medium |
CN112330306A (en) * | 2020-12-02 | 2021-02-05 | 中国联合网络通信集团有限公司 | Business processing method and device based on business process |
CN112561386A (en) * | 2020-12-24 | 2021-03-26 | 建信金融科技有限责任公司 | Method, device and equipment for acquiring business process |
CN112884427A (en) * | 2021-01-13 | 2021-06-01 | 中国建设银行股份有限公司 | Process management method and device supporting multiple service sources |
CN112951397A (en) * | 2021-03-29 | 2021-06-11 | 深圳市科曼医疗设备有限公司 | Perioperative period process management system and method |
CN113377371A (en) * | 2021-06-02 | 2021-09-10 | 五八到家有限公司 | Multi-scene configuration method, system, device and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7107574B1 (en) * | 2002-03-07 | 2006-09-12 | Mcafee, Inc. | Managing computer program configuration data |
CN101604241A (en) * | 2009-07-10 | 2009-12-16 | 杭州电子科技大学 | A kind of code generating method of embedded system |
CN101968740A (en) * | 2010-09-28 | 2011-02-09 | 中国工商银行股份有限公司 | Service data dynamic adjustment server and system on basis of JAVA CLASS compilation |
CN102033748A (en) * | 2010-12-03 | 2011-04-27 | 中国科学院软件研究所 | Method for generating data processing flow codes |
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN103617047A (en) * | 2013-12-16 | 2014-03-05 | 北京中电普华信息技术有限公司 | Method, device and processor for developing business processes |
CN103729171A (en) * | 2012-10-11 | 2014-04-16 | 三亚中兴软件有限责任公司 | Generating method and device of service workflow codes |
CN103793223A (en) * | 2013-12-27 | 2014-05-14 | 远光软件股份有限公司 | Rule creating method and system |
CN106126215A (en) * | 2016-06-17 | 2016-11-16 | 深圳市麦斯杰网络有限公司 | Business rule scenario generation method and device |
-
2017
- 2017-05-27 CN CN201710395641.5A patent/CN107133052B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7107574B1 (en) * | 2002-03-07 | 2006-09-12 | Mcafee, Inc. | Managing computer program configuration data |
CN101604241A (en) * | 2009-07-10 | 2009-12-16 | 杭州电子科技大学 | A kind of code generating method of embedded system |
CN101968740A (en) * | 2010-09-28 | 2011-02-09 | 中国工商银行股份有限公司 | Service data dynamic adjustment server and system on basis of JAVA CLASS compilation |
CN102033748A (en) * | 2010-12-03 | 2011-04-27 | 中国科学院软件研究所 | Method for generating data processing flow codes |
CN102486730A (en) * | 2010-12-06 | 2012-06-06 | 上海协讯软件有限公司 | Workflow realization method and workflow system capable of customizing flow in user-defined manner |
CN103729171A (en) * | 2012-10-11 | 2014-04-16 | 三亚中兴软件有限责任公司 | Generating method and device of service workflow codes |
CN103617047A (en) * | 2013-12-16 | 2014-03-05 | 北京中电普华信息技术有限公司 | Method, device and processor for developing business processes |
CN103793223A (en) * | 2013-12-27 | 2014-05-14 | 远光软件股份有限公司 | Rule creating method and system |
CN106126215A (en) * | 2016-06-17 | 2016-11-16 | 深圳市麦斯杰网络有限公司 | Business rule scenario generation method and device |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108038665B (en) * | 2017-12-08 | 2020-01-24 | 平安科技(深圳)有限公司 | Business rule management method, device, equipment and computer readable storage medium |
WO2019109519A1 (en) * | 2017-12-08 | 2019-06-13 | 平安科技(深圳)有限公司 | Service rule management method, apparatus and device, and computer-readable storage medium |
CN108038665A (en) * | 2017-12-08 | 2018-05-15 | 平安科技(深圳)有限公司 | Business Rule Management method, apparatus, equipment and computer-readable recording medium |
CN109933314A (en) * | 2017-12-15 | 2019-06-25 | 上海智臻智能网络科技股份有限公司 | The generating means of more wheel question answering systems |
CN109933314B (en) * | 2017-12-15 | 2022-10-28 | 上海智臻智能网络科技股份有限公司 | Generation device of multi-turn question-answering system |
CN108984155A (en) * | 2018-05-17 | 2018-12-11 | 阿里巴巴集团控股有限公司 | Flow chart of data processing setting method and device |
CN109145100A (en) * | 2018-08-24 | 2019-01-04 | 深圳追科技有限公司 | A kind of the Task customer service robot system and its working method of customizable process |
CN109447406A (en) * | 2018-09-20 | 2019-03-08 | 武汉达梦数据库有限公司 | A kind of method of visioning procedure and the device of visioning procedure |
CN109377177A (en) * | 2018-10-18 | 2019-02-22 | 东软集团股份有限公司 | Flow path processing method, device, equipment and computer readable storage medium |
CN109377177B (en) * | 2018-10-18 | 2020-12-01 | 东软集团股份有限公司 | Flow processing method, device, equipment and computer readable storage medium |
CN109597873A (en) * | 2018-11-21 | 2019-04-09 | 腾讯科技(深圳)有限公司 | Processing method, device, computer-readable medium and the electronic equipment of corpus data |
CN109597873B (en) * | 2018-11-21 | 2022-02-08 | 腾讯科技(深圳)有限公司 | Corpus data processing method and device, computer readable medium and electronic equipment |
CN110032360A (en) * | 2019-04-19 | 2019-07-19 | 成都四方伟业软件股份有限公司 | Flow of transactions creation method, device and server |
CN111523860A (en) * | 2020-04-23 | 2020-08-11 | 北京思特奇信息技术股份有限公司 | Method and system for managing agricultural product production process in modularization mode |
CN111967849A (en) * | 2020-08-19 | 2020-11-20 | 支付宝(杭州)信息技术有限公司 | Task processing flow arrangement method and device and electronic equipment |
CN112183982A (en) * | 2020-09-21 | 2021-01-05 | 中国建设银行股份有限公司 | Workflow creating method and device, computer equipment and storage medium |
CN112330306A (en) * | 2020-12-02 | 2021-02-05 | 中国联合网络通信集团有限公司 | Business processing method and device based on business process |
CN112561386A (en) * | 2020-12-24 | 2021-03-26 | 建信金融科技有限责任公司 | Method, device and equipment for acquiring business process |
CN112884427A (en) * | 2021-01-13 | 2021-06-01 | 中国建设银行股份有限公司 | Process management method and device supporting multiple service sources |
CN112951397A (en) * | 2021-03-29 | 2021-06-11 | 深圳市科曼医疗设备有限公司 | Perioperative period process management system and method |
CN113377371A (en) * | 2021-06-02 | 2021-09-10 | 五八到家有限公司 | Multi-scene configuration method, system, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN107133052B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107133052A (en) | The method and device that flow is created | |
US11386893B2 (en) | Human-computer interaction processing system, method, storage medium, and electronic device | |
CN108280119A (en) | Page generation method, device and user terminal | |
CN105988665B (en) | Information dubbing system, information duplicating method and electronic equipment | |
CN105493032A (en) | Cross-device user interface selection | |
CN113655999B (en) | Page control rendering method, device, equipment and storage medium | |
CN108717853A (en) | A kind of man machine language's exchange method, device and storage medium | |
CN107015791B (en) | Processing method, device and system for generating chart component system | |
CN108984369A (en) | Caton prediction technique, device and mobile terminal | |
CN109635211A (en) | Promote the implementation method and server of the page | |
CN107516267A (en) | Evaluation method and evaluation system, computer installation and computer-readable recording medium | |
CN110059267A (en) | Methods of exhibiting, device, computer equipment and the storage medium of data analysis result | |
CN110458646A (en) | Page display method, device, computer equipment and storage medium | |
CN108319377B (en) | Method and system, terminal and the computer readable storage medium of displaying text input | |
CN109710250A (en) | It is a kind of for constructing the visualization engine system and method for user interface | |
CN107632973A (en) | The input method and device of assets | |
CN106919406A (en) | A kind of desktop application component issue, update method and device | |
CN108197002A (en) | Mobile equipment is without burying point data statistical method, system, terminal and medium | |
CN108153465A (en) | Label setting method and device based on enterprise SaaS applications | |
CN107679889A (en) | The recognition methods of potential customers a kind of and terminal device | |
US10628179B2 (en) | Universal graphical user interface objects | |
CN114970544A (en) | Information processing method, information processing device, storage medium and server | |
CN113076262A (en) | Automatic webpage testing method and device | |
CN104866359A (en) | Webpage loading method and device | |
CN110334177A (en) | The training of semantic scale model, semantic similar recognition methods, device and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |