CN105225066A - The verification method of workflow legitimacy and demo plant - Google Patents

The verification method of workflow legitimacy and demo plant Download PDF

Info

Publication number
CN105225066A
CN105225066A CN201510707579.XA CN201510707579A CN105225066A CN 105225066 A CN105225066 A CN 105225066A CN 201510707579 A CN201510707579 A CN 201510707579A CN 105225066 A CN105225066 A CN 105225066A
Authority
CN
China
Prior art keywords
file
flow
logic
xmlschema
workflow
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510707579.XA
Other languages
Chinese (zh)
Other versions
CN105225066B (en
Inventor
张�浩
刘作坤
赵振国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201510707579.XA priority Critical patent/CN105225066B/en
Publication of CN105225066A publication Critical patent/CN105225066A/en
Application granted granted Critical
Publication of CN105225066B publication Critical patent/CN105225066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Does the invention discloses a kind of verification method and device of workflow legitimacy, wherein the method comprise: receive user and to be correlated with XML in flow process in advance? does logic checking class coherent element and/or attribute configured in Schema file to be correlated with XML with more new technological process? Schema file; Receive the design content that user inputs when flow scheme design, and generate work process flow file according to design content; The operation flow XML file corresponding according to work process flow file generated; And obtain flow process and to be correlated with XML? Schema file, and according to XML? Schema file carries out flow format legitimate verification and service logic legitimate verification to operation flow XML file.The method had both supported traditional flow verification method, again the checking of support process service logic, improve the accuracy of the result, enhanced the participation of business personnel, improve the accuracy of System Implementation.

Description

The verification method of workflow legitimacy and demo plant
Technical field
The present invention relates to operation flow verification technique field, particularly relate to a kind of verification method and demo plant of workflow legitimacy.
Background technology
At present, in the production and operating activities of modern enterprise, new business continues to bring out, and existing business process also can become more complicated because of continuous evolution.In this case, enterprise needs to make response fast to business reorganization, thus Information System configuration be it is also proposed to the requirements at the higher level of " becoming with needing ".The changeable business demand of BPM (BusinessProcessManagement, be called for short BPM) To enterprises, provide flow scheme design and with needing configuration feature flexibly.
Business process designer is the process analysis design tool of BPM product, for service-user and system research and development personnel provide unified communications interface, eliminates the obstacle of business personnel and system designer's communication, and then can guarantee the accurate enforcement of operation system.In the process using business process designer, legitimate verification is carried out to flow process, can bring great convenience for relevant staff.Based on the demand, existing workflow legitimate verification scheme generally has following two kinds:
1) work process flow file is converted to XML file according to certain standard, and by introducing XMLSchema framework, legitimate verification is carried out to this XML file, and exports the result;
2) be XML file by work process flow file according to certain standard handovers, and self-defined XML parser, then execute file legitimate verification while resolving this XML file by this self-defined XML parser, and export the result.
But Problems existing is: above-mentioned two kinds of modes all only carry out legitimate verification for the XML format aspect of flow file, whether as whether legal in the legal occurrence number of element, attribute and data type is correct etc., this legitimacy just considering flow file form from the angle of developer, verification mode is more unilateral, causes the result possibility inaccurate.
Summary of the invention
Object of the present invention is intended to solve one of above-mentioned technical matters at least to a certain extent.
For this reason, first object of the present invention is the verification method proposing a kind of workflow legitimacy.The method is when carrying out legitimate verification to operation flow XML file, both support traditional flow verification method, again the checking of support process service logic, improve the accuracy of the result, enhance the participation of business personnel, improve the accuracy of System Implementation.
Second object of the present invention is the demo plant proposing a kind of workflow legitimacy.
To achieve these goals, the verification method of the workflow legitimacy of first aspect present invention embodiment, comprising: receive logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance and to be correlated with XMLSchema file to upgrade described flow process; Receive the design content that described user inputs when flow scheme design, and generate work process flow file according to described design content; The operation flow XML file corresponding according to described work process flow file generated; And obtain described flow process and to be correlated with XMLSchema file, and according to described XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to described operation flow XML file.
According to the verification method of the workflow legitimacy of the embodiment of the present invention, first can receive logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance to be correlated with XMLSchema file with more new technological process, after the design content inputted when receiving user in flow scheme design, work process flow file can be generated according to design content, and the operation flow XML file corresponding according to work process flow file generated, afterwards, flow process can be obtained to be correlated with XMLSchema file, and according to XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to operation flow XML file, namely when carrying out legitimate verification to operation flow XML file, both traditional flow verification method had been supported, the checking of support process service logic again, improve the accuracy of the result, enhance the participation of business personnel, improve the accuracy of System Implementation.
To achieve these goals, the demo plant of the workflow legitimacy of second aspect present invention embodiment, comprising: the first receiver module, to be correlated with XMLSchema file to upgrade described flow process for receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance; Second receiver module, for receiving the design content that described user inputs when flow scheme design; First generation module, for generating work process flow file according to described design content; Second generation module, for the operation flow XML file corresponding according to described work process flow file generated; And authentication module, to be correlated with XMLSchema file for obtaining described flow process, and according to described XMLSchema file, flow format legitimate verification and service logic legitimate verification to be carried out to described operation flow XML file.
According to the demo plant of the workflow legitimacy of the embodiment of the present invention, receive by the first receiver module logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance to be correlated with XMLSchema file with more new technological process, after the design content inputted when the second receiver module receives user in flow scheme design, first generation module generates work process flow file according to design content, the operation flow XML file that second generation module is corresponding according to work process flow file generated, authentication module obtains flow process and to be correlated with XMLSchema file, and according to XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to operation flow XML file, namely when carrying out legitimate verification to operation flow XML file, both traditional flow verification method had been supported, the checking of support process service logic again, improve the accuracy of the result, enhance the participation of business personnel, improve the accuracy of System Implementation.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage will become obvious and easy understand from accompanying drawing below combining to the description of embodiment, wherein:
Fig. 1 is the process flow diagram of the verification method of workflow legitimacy according to an embodiment of the invention;
Fig. 2 is the exemplary plot of the self defined interface of logic checking rule according to an embodiment of the invention;
Fig. 3 is the exemplary plot of the verification method of workflow legitimacy according to an embodiment of the invention;
Fig. 4 is the structured flowchart of the demo plant of workflow legitimacy according to an embodiment of the invention;
Fig. 5 is the structured flowchart of authentication module according to an embodiment of the invention; And
Fig. 6 is the structured flowchart of the demo plant of workflow legitimacy in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings verification method and the demo plant of the workflow legitimacy of the embodiment of the present invention are described.
Fig. 1 is the process flow diagram of the verification method of workflow legitimacy according to an embodiment of the invention.As shown in Figure 1, the verification method of this workflow legitimacy can comprise:
S101, receives logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance and to be correlated with XMLSchema file with more new technological process.
It should be noted that, in an embodiment of the present invention, above-mentioned flow process XMLSchema file of being correlated with can be predefined, namely be based on extend markup language (subset of standard generalized markup language), for defining the legal ones group of a XML document, such as, a flow process is correlated with XMLSchema file definable: can appear at the element in document, the attribute in document can be appeared at, which element is daughter element, the order of daughter element, the quantity of daughter element, whether an element should can comprise text should be maybe empty, the data type of element and attribute, the default value of element and attribute and fixed value etc.
Be appreciated that, the verification method of the workflow legitimacy that the present invention proposes with the addition of the checking for service logic legitimacy, therefore, in an embodiment of the present invention, when describing each element and attribute in flow process is correlated with XMLSchema file, the identification information of the logic checking class for service logic can be added, this identification information may correspond to logic checking class, this logic checking class defines specifically verifies interface, can in advance to configuration logic checking interface on coherent element and/or attribute in flow process is correlated with XMLSchema file, to realize the checking for service logic legitimacy.
S102, receives the design content that user inputs when flow scheme design, and generates work process flow file according to design content.
User carries out business Process Design by business process designer.When detecting that flow scheme design completes and preserves, the operation flow template that user selects can be obtained, and receive the design content that user carries out for this operation flow template inputting, and generate work process flow file according to operation flow template and design content.
S103, the operation flow XML file corresponding according to work process flow file generated.
Specifically, in an embodiment of the present invention, according to XMLSchema standard, work process flow file transform can be become operation flow XML file.That is, after generation work process flow file, executable file transfer process, namely this work process flow file is converted into the XML file meeting specific criteria (as XMLSchema).
S104, obtains flow process and to be correlated with XMLSchema file, and carry out flow format legitimate verification and service logic legitimate verification according to XMLSchema file to operation flow XML file.
Specifically, flow format legitimate verification can be carried out to operation flow XML file according to XMLSchema file, in the process of carrying out flow format legitimate verification, also can obtain the identification information of logic checking class in XMLSchema file, and corresponding logic checking rule can be obtained according to this identification information, and according to this logic checking rule, service logic legitimate verification is carried out to operation flow XML file.
It should be noted that, the verification method of the workflow legitimacy of the embodiment of the present invention supports the checking of traditional flow file format and content validity, consider that existing XML framework is more stable relative to self-defined XML parser, and the former is less than the latter to the invasive of program in proof rule customization procedure, later maintenance is also convenient, so the present invention is directed to the checking of traditional flow data correctness, the form of integrated XMLSchema framework is adopted to verify.
That is, by adopting the form of integrated XMLSchema framework, above-mentioned XMLSchema file and the operation flow XML file of flow process being correlated with can be carried out pattern match, to realize the format content legitimate verification to operation flow XML file, and generate corresponding format verification result.Operation flow XML file is being carried out in the process of flow format legitimate verification, also can obtain the identification information of logic checking class in XMLSchema file, and relevant logic checking rule can be loaded according to this identification information, the element in operation flow XML file and/or attributes object can be obtained afterwards, and this element and/or attributes object are inputed to logic checking rule, to verify the logic legitimacy of element and/or attributes object, and generate corresponding service logic the result, namely can element in operation flow XML file and/or attributes object be input when load logic proof rule, with whether legal in exporting, when element and/or attribute illegal time, the error message comprising authentication failed can be generated, alternatively, this error message can include but not limited to error code, failure cause, the suggestion etc. of dealing with problems.
Alternatively, after legitimate verification result, the format verification result of generation and service logic the result can be outputted to business process designer, return to user to make business process designer.
Wherein, in one embodiment of the invention, this logic checking rule can be self-defined logic checking rule or generic logic proof rule etc.
Alternatively, in one embodiment of the invention, when this logic checking rule is self-defined logic checking rule, to be correlated with before XMLSchema file with more new technological process receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance, this verification method also comprises: provide logic rules self defined interface, carries out self-defining logic checking rule, the logic checking class of self-defined logic checking rule and identification information for receiving user for traffic flow logic.
That is, in the service logic in the face of constantly change, the logic checking rule of its correspondence also should adjust adapt to needing and become at any time, therefore, the self defined interface that can carry out logic checking rule can be provided, make user can carry out the self-defined of logic checking rule by this self defined interface.User only need be regular according to the logic checking of oneself demand customization oneself, and this logic checking rule is configured in corresponding Schema file in the mode realizing class (above-mentioned logic checking class, namely realizes interface).Such as, as shown in Figure 2, user defines by self defined interface: whether flow process postcondition is legal, the whether effective logic checking rule of flow process transactor, and this logic checking rule is configured in Schema file in the mode of logic checking class.Thus, expanded the proof rule of flow process by support application program developer, improve proof scheme versatility and with needing changing capability.
It should be noted that, although each operation flow has some usually, it is specifically regular, but still therefrom can extract some general business rules, to be applicable to general flow.By introducing these general business rules, business personnel, flow scheme design personnel and system developer can be made need not to be concerned about the checking of some common-senses, and concentrated on by energy on special business rule, and then improve the efficiency of flow scheme design personnel and R&D process.Thus, by providing the realization of general service logic, multiplexing with supporting business assets.As table 1 below, show some common generic validations rules, be appreciated that these generic validations rules are given tacit consent to and should be observed in flow scheme design process, otherwise can error message be returned.
Table 1 generic logic proof rule
Be appreciated that in the design and running process of corporate process, usually have proof rule for this business event scene by constantly multiplexing.For such business rule, can find easily by scanning Schema file, so namely define a part for business events flow path resource.When enterprise needs to introduce new operation flow, by logic checking common in history rule being imported but not redesigning logic checking rule, substantially increase traffic flow logic checking extent for multiplexing, maintain the continuity of business operation.
According to the verification method of the workflow legitimacy of the embodiment of the present invention, first can receive logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance to be correlated with XMLSchema file with more new technological process, after the design content inputted when receiving user in flow scheme design, work process flow file can be generated according to design content, and the operation flow XML file corresponding according to work process flow file generated, afterwards, flow process can be obtained to be correlated with XMLSchema file, and according to XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to operation flow XML file, namely when carrying out legitimate verification to operation flow XML file, both traditional flow verification method had been supported, the checking of support process service logic again, improve the accuracy of the result, enhance the participation of business personnel, improve the accuracy of System Implementation.
In order to make those skilled in the art can clearly understand feature of the present invention, will illustrate below.
For example, the verification method that the present invention proposes, when verifying the legitimacy of flow file, verifies two aspects mainly through flow format School Affairs service logic and verifies.As shown in Figure 3, the proof procedure that the present invention is directed to operation flow can be as follows: user is carrying out in the process of flow scheme design according to operation flow template, when detecting that flow scheme design completes and preserves, work process flow file can be generated according to design content, and by this work process flow file transform for meeting the XML file of specific criteria (XMLSchema), i.e. operation flow XML file.Afterwards, XMLSchema framework can be adopted, according to flow process XMLSchema file of being correlated with, pattern match be carried out to this operation flow XML file, with the checking of realization flow form legitimacy, and generate corresponding format verification result.Operation flow XML file is being carried out in the process of flow format verification, also can obtain flow process to be correlated with the identification information of the logic checking class in XMLSchema file, and relevant logic checking rule can be loaded according to this identification information, and with the element in operation flow XML file and/or attributes object for input, with whether legal in exporting, generate corresponding service logic the result, verify with the service logic of finishing service flow process.
In order to realize above-described embodiment, the invention allows for a kind of demo plant of workflow legitimacy.
Fig. 4 is the structured flowchart of the demo plant of workflow legitimacy according to an embodiment of the invention.As shown in Figure 4, the demo plant of this workflow legitimacy can comprise: the first receiver module 10, second receiver module 20, first generation module 30, second generation module 40 and authentication module 50.
Particularly, the first receiver module 10 can be used for receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance and to be correlated with XMLSchema file with more new technological process.
It should be noted that, in an embodiment of the present invention, above-mentioned flow process XMLSchema file of being correlated with can be predefined, namely be based on extend markup language (subset of standard generalized markup language), for defining the legal ones group of a XML document, such as, a flow process is correlated with XMLSchema file definable: can appear at the element in document, the attribute in document can be appeared at, which element is daughter element, the order of daughter element, the quantity of daughter element, whether an element should can comprise text should be maybe empty, the data type of element and attribute, the default value of element and attribute and fixed value etc.
Be appreciated that, the demo plant of the workflow legitimacy that the present invention proposes with the addition of the checking for service logic legitimacy, therefore, in an embodiment of the present invention, when describing each element and attribute in flow process is correlated with XMLSchema file, the identification information of the logic checking class for service logic can be added, this identification information may correspond to logic checking class, this logic checking class defines specifically verifies interface, can in advance to configuration logic checking interface on coherent element and/or attribute in flow process is correlated with XMLSchema file, to realize the checking for service logic legitimacy.
Second receiver module 20 can be used for the design content that reception user inputs when flow scheme design.First generation module 30 can be used for generating work process flow file according to design content.
More specifically, user carries out business Process Design by business process designer.When detecting that flow scheme design completes and preserves, second receiver module 20 can obtain the operation flow template that user selects, and receiving the design content that user carries out for this operation flow template inputting, the first generation module 30 generates work process flow file according to operation flow template and design content.
Second generation module 40 can be used for the operation flow XML file corresponding according to work process flow file generated.Specifically, work process flow file transform can be become operation flow XML file according to XMLSchema standard by the second generation module 40.That is, after the first generation module 30 generates work process flow file, the second generation module 40 executable file transfer process, namely this work process flow file is converted into the XML file meeting specific criteria (as XMLSchema).
Authentication module 50 can be used for obtaining flow process and to be correlated with XMLSchema file, and carries out flow format legitimate verification and service logic legitimate verification according to XMLSchema file to operation flow XML file.
Specifically, in one embodiment of the invention, as shown in Figure 5, this authentication module 50 can comprise: the first authentication unit 51, acquiring unit 52 and the second authentication unit 53.
Particularly, the first authentication unit 51 can be used for carrying out flow format legitimate verification according to XMLSchema file to operation flow XML file.Specifically, XMLSchema file and operation flow XML file can be carried out pattern match by the first authentication unit 51, and generate corresponding format verification result.
Acquiring unit 52 can be used for the identification information obtaining logic checking class in XMLSchema file, and obtains corresponding logic checking rule according to identification information.
Second authentication unit 53 can be used for carrying out service logic legitimate verification according to logic checking rule to operation flow XML file.Specifically, second authentication unit 53 can obtain element in operation flow XML file and/or attributes object, and element and/or attributes object are inputed to logic checking rule to verify the logic legitimacy of element and/or attributes object, and generate corresponding service logic the result.
It should be noted that, the demo plant of the workflow legitimacy of the embodiment of the present invention supports the checking of traditional flow file format and content validity, consider that existing XML framework is more stable relative to self-defined XML parser, and the former is less than the latter to the invasive of program in proof rule customization procedure, later maintenance is also convenient, so the present invention is directed to the checking of traditional flow data correctness, the form of integrated XMLSchema framework is adopted to verify.
That is, above-mentioned XMLSchema file and the operation flow XML file of flow process being correlated with can be carried out pattern match by adopting the form of integrated XMLSchema framework by authentication module 50, to realize the format content legitimate verification to operation flow XML file, and generate corresponding format verification result.Operation flow XML file is being carried out in the process of flow format legitimate verification, authentication module 50 also can obtain the identification information of logic checking class in XMLSchema file, and relevant logic checking rule can be loaded according to this identification information, the element in operation flow XML file and/or attributes object can be obtained afterwards, and this element and/or attributes object are inputed to logic checking rule, to verify the logic legitimacy of element and/or attributes object, and generate corresponding service logic the result, namely can element in operation flow XML file and/or attributes object be input when load logic proof rule, with whether legal in exporting, when element and/or attribute illegal time, the error message comprising authentication failed can be generated, alternatively, this error message can include but not limited to error code, failure cause, the suggestion etc. of dealing with problems.
Alternatively, after legitimate verification result, the format verification result of generation and service logic the result can be outputted to business process designer by authentication module 50, return to user to make business process designer.
Wherein, in one embodiment of the invention, above-mentioned logic checking rule can be self-defined logic checking rule or generic logic proof rule etc.
Alternatively, in one embodiment of the invention, when logic checking rule is self-defined logic checking rule, as shown in Figure 6, this demo plant also can comprise provides module 60, there is provided module 60 to be used in the first receiver module 10 to receive logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance and be correlated with before XMLSchema file with more new technological process, logic rules self defined interface is provided to carry out self-defining logic checking rule to receive user for traffic flow logic, the logic checking class of self-defined logic checking rule and identification information.
That is, in the service logic in the face of constantly change, the logic checking rule of its correspondence also should adjust adapt to needing and become at any time, therefore, there is provided module 60 can provide the self defined interface that can carry out logic checking rule, make user can carry out the self-defined of logic checking rule by this self defined interface.User only need be regular according to the logic checking of oneself demand customization oneself, and this logic checking rule is configured in corresponding Schema file in the mode realizing class (above-mentioned logic checking class, namely realizes interface).Such as, as shown in Figure 2, user defines by self defined interface: whether flow process postcondition is legal, the whether effective logic checking rule of flow process transactor, and this logic checking rule is configured in Schema file in the mode of logic checking class.Thus, expanded the proof rule of flow process by support application program developer, improve proof scheme versatility and with needing changing capability.
It should be noted that, although each operation flow has some usually, it is specifically regular, but still therefrom can extract some general business rules, to be applicable to general flow.By introducing these general business rules, business personnel, flow scheme design personnel and system developer can be made need not to be concerned about the checking of some common-senses, and concentrated on by energy on special business rule, and then improve the efficiency of flow scheme design personnel and R&D process.Thus, by providing the realization of general service logic, multiplexing with supporting business assets.As above-mentioned table 1, show some common generic validation rules, be appreciated that these generic validation rules are given tacit consent to and should be observed in flow scheme design process, otherwise can error message be returned.
Be appreciated that in the design and running process of corporate process, usually have proof rule for this business event scene by constantly multiplexing.For such business rule, can find easily by scanning Schema file, so namely define a part for business events flow path resource.When enterprise needs to introduce new operation flow, by logic checking common in history rule being imported but not redesigning logic checking rule, substantially increase traffic flow logic checking extent for multiplexing, maintain the continuity of business operation.
According to the demo plant of the workflow legitimacy of the embodiment of the present invention, receive by the first receiver module logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance to be correlated with XMLSchema file with more new technological process, after the design content inputted when the second receiver module receives user in flow scheme design, first generation module generates work process flow file according to design content, the operation flow XML file that second generation module is corresponding according to work process flow file generated, authentication module obtains flow process and to be correlated with XMLSchema file, and according to XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to operation flow XML file, namely when carrying out legitimate verification to operation flow XML file, both traditional flow verification method had been supported, the checking of support process service logic again, improve the accuracy of the result, enhance the participation of business personnel, improve the accuracy of System Implementation.
In describing the invention, it is to be appreciated that term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the present invention, unless otherwise clearly defined and limited, the term such as term " installation ", " being connected ", " connection ", " fixing " should be interpreted broadly, and such as, can be fixedly connected with, also can be removably connect, or integral; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary, can be the connection of two element internals or the interaction relationship of two elements, unless otherwise clear and definite restriction.For the ordinary skill in the art, above-mentioned term concrete meaning in the present invention can be understood as the case may be.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this instructions or example and different embodiment or example can carry out combining and combining by those skilled in the art.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (14)

1. a verification method for workflow legitimacy, is characterized in that, comprises the following steps:
Receive logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance to be correlated with XMLSchema file to upgrade described flow process;
Receive the design content that described user inputs when flow scheme design, and generate work process flow file according to described design content;
The operation flow XML file corresponding according to described work process flow file generated; And
Obtain described flow process to be correlated with XMLSchema file, and according to described XMLSchema file, flow format legitimate verification and service logic legitimate verification are carried out to described operation flow XML file.
2. the verification method of workflow legitimacy as claimed in claim 1, it is characterized in that, the operation flow XML file corresponding according to described work process flow file generated, specifically comprises:
According to XMLSchema standard, described work process flow file transform is become described operation flow XML file.
3. the verification method of workflow legitimacy as claimed in claim 1 or 2, is characterized in that, carry out flow format legitimate verification and service logic legitimate verification, specifically comprise according to described XMLSchema file to described operation flow XML file:
According to described XMLSchema file, flow format legitimate verification is carried out to described operation flow XML file;
Obtain the identification information of logic checking class described in described XMLSchema file, and obtain corresponding logic checking rule according to described identification information;
According to described logic checking rule, service logic legitimate verification is carried out to described operation flow XML file.
4. the verification method of workflow legitimacy as claimed in claim 3, is characterized in that, carry out flow format legitimate verification, specifically comprise according to described XMLSchema file to described operation flow XML file:
Described XMLSchema file and described operation flow XML file are carried out pattern match, and generates corresponding format verification result.
5. the verification method of the workflow legitimacy as described in claim 3 or 4, is characterized in that, carries out service logic legitimate verification, specifically comprise according to described logic checking rule to described operation flow XML file:
Obtain the element in described operation flow XML file and/or attributes object;
Described element and/or attributes object are inputed to described logic checking rule, to verify the logic legitimacy of described element and/or attributes object, and generate corresponding service logic the result.
6. the verification method of the workflow legitimacy according to any one of claim 3 to 5, is characterized in that, wherein, described logic checking rule is self-defined logic checking rule or generic logic proof rule.
7. the verification method of workflow legitimacy as claimed in claim 6, it is characterized in that, when described logic checking rule is self-defined logic checking rule, be correlated with before XMLSchema file to upgrade described flow process receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance, described method also comprises:
Logic rules self defined interface being provided, carrying out self-defining logic checking rule, the logic checking class of described self-defined logic checking rule and identification information for receiving user for traffic flow logic.
8. a demo plant for workflow legitimacy, is characterized in that, comprising:
First receiver module, to be correlated with XMLSchema file to upgrade described flow process for receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance;
Second receiver module, for receiving the design content that described user inputs when flow scheme design;
First generation module, for generating work process flow file according to described design content;
Second generation module, for the operation flow XML file corresponding according to described work process flow file generated; And
Authentication module, to be correlated with XMLSchema file for obtaining described flow process, and to carry out flow format legitimate verification and service logic legitimate verification according to described XMLSchema file to described operation flow XML file.
9. the demo plant of workflow legitimacy as claimed in claim 8, is characterized in that, described second generation module specifically for: according to XMLSchema standard, described work process flow file transform is become described operation flow XML file.
10. the demo plant of workflow legitimacy as claimed in claim 8 or 9, it is characterized in that, described authentication module comprises:
First authentication unit, for carrying out flow format legitimate verification according to described XMLSchema file to described operation flow XML file;
Acquiring unit, for obtaining the identification information of logic checking class described in described XMLSchema file, and obtains corresponding logic checking rule according to described identification information;
Second authentication unit, for carrying out service logic legitimate verification according to described logic checking rule to described operation flow XML file.
The demo plant of 11. workflow legitimacies as claimed in claim 10, it is characterized in that, described first authentication unit specifically for: described XMLSchema file and described operation flow XML file are carried out pattern match, and generate corresponding format verification result.
The demo plant of 12. workflow legitimacies as described in claim 10 or 11, is characterized in that, described second authentication unit specifically for:
Obtain the element in described operation flow XML file and/or attributes object;
Described element and/or attributes object are inputed to described logic checking rule to verify the logic legitimacy of described element and/or attributes object, and generate corresponding service logic the result.
The demo plant of 13. workflow legitimacies according to any one of claim 10 to 12, is characterized in that, wherein, described logic checking rule is self-defined logic checking rule or generic logic proof rule.
The demo plant of 14. workflow legitimacies as claimed in claim 13, is characterized in that, when described logic checking rule is self-defined logic checking rule, described device also comprises:
Module is provided, be correlated with before XMLSchema file for receiving logic checking class that user in flow process is correlated with XMLSchema file, coherent element and/or attribute configures in advance at described first receiver module to upgrade described flow process, logic rules self defined interface be provided for traffic flow logic, user carries out that self-defining logic checking is regular to receive, the logic checking class of described self-defined logic checking rule and identification information.
CN201510707579.XA 2015-10-27 2015-10-27 The verification method and verifying device of workflow legitimacy Active CN105225066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510707579.XA CN105225066B (en) 2015-10-27 2015-10-27 The verification method and verifying device of workflow legitimacy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510707579.XA CN105225066B (en) 2015-10-27 2015-10-27 The verification method and verifying device of workflow legitimacy

Publications (2)

Publication Number Publication Date
CN105225066A true CN105225066A (en) 2016-01-06
CN105225066B CN105225066B (en) 2019-05-10

Family

ID=54994021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510707579.XA Active CN105225066B (en) 2015-10-27 2015-10-27 The verification method and verifying device of workflow legitimacy

Country Status (1)

Country Link
CN (1) CN105225066B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354641A (en) * 2016-08-30 2017-01-25 东软集团股份有限公司 Testing method and device for process engine
CN106844212A (en) * 2017-01-22 2017-06-13 东软集团股份有限公司 The integrated approach and device of defect management platform
CN110688823A (en) * 2019-09-20 2020-01-14 中国银行股份有限公司 XML file verification method and device
CN111427785A (en) * 2020-03-24 2020-07-17 北京金山云网络技术有限公司 Formalized task verification method and device, electronic equipment and computer readable medium
CN111709035A (en) * 2020-06-12 2020-09-25 北京思特奇信息技术股份有限公司 Business process security verification method and system
CN112035367A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Method and system for verifying correctness of workflow of big data platform
CN113672894A (en) * 2021-07-30 2021-11-19 北京达佳互联信息技术有限公司 Data processing method, device and equipment for identifying code request and storage medium
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1350200A2 (en) * 2000-11-30 2003-10-08 Handysoft Corporation System and method for automating a process of business decision and workflow
CN1825302A (en) * 2005-02-22 2006-08-30 中国电子技术标准化研究所 Method for processing XML file
CN101539861A (en) * 2009-05-04 2009-09-23 江西省电力信息通讯有限公司 Tool for graphical design and verification of general workflow
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN101706816B (en) * 2009-12-22 2011-05-04 广东电网公司电力科学研究院 Method for detecting digitized transformer station model
CN102222278A (en) * 2011-06-10 2011-10-19 成都勤智数码科技有限公司 Operation process customizing method and device
CN102387043B (en) * 2011-12-07 2014-04-16 深圳市龙视传媒有限公司 Alarm analysis method, workstation and system based on simple network management protocol

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1350200A2 (en) * 2000-11-30 2003-10-08 Handysoft Corporation System and method for automating a process of business decision and workflow
CN1825302A (en) * 2005-02-22 2006-08-30 中国电子技术标准化研究所 Method for processing XML file
CN101539861A (en) * 2009-05-04 2009-09-23 江西省电力信息通讯有限公司 Tool for graphical design and verification of general workflow
CN101882255A (en) * 2009-05-07 2010-11-10 中兴通讯股份有限公司 Workflow device, system and configuration method based on service-oriented architecture
CN101706816B (en) * 2009-12-22 2011-05-04 广东电网公司电力科学研究院 Method for detecting digitized transformer station model
CN102222278A (en) * 2011-06-10 2011-10-19 成都勤智数码科技有限公司 Operation process customizing method and device
CN102387043B (en) * 2011-12-07 2014-04-16 深圳市龙视传媒有限公司 Alarm analysis method, workstation and system based on simple network management protocol

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354641A (en) * 2016-08-30 2017-01-25 东软集团股份有限公司 Testing method and device for process engine
CN106844212A (en) * 2017-01-22 2017-06-13 东软集团股份有限公司 The integrated approach and device of defect management platform
CN110688823A (en) * 2019-09-20 2020-01-14 中国银行股份有限公司 XML file verification method and device
CN110688823B (en) * 2019-09-20 2023-08-22 中国银行股份有限公司 XML file verification method and device
CN111427785B (en) * 2020-03-24 2023-08-18 北京金山云网络技术有限公司 Formalized task verification method, formalized task verification device, electronic equipment and computer readable medium
CN111427785A (en) * 2020-03-24 2020-07-17 北京金山云网络技术有限公司 Formalized task verification method and device, electronic equipment and computer readable medium
CN111709035A (en) * 2020-06-12 2020-09-25 北京思特奇信息技术股份有限公司 Business process security verification method and system
CN111709035B (en) * 2020-06-12 2022-03-29 北京思特奇信息技术股份有限公司 Business process security verification method and system
CN112035367B (en) * 2020-09-02 2023-08-18 中国银行股份有限公司 Method and system for checking workflow correctness of big data platform
CN112035367A (en) * 2020-09-02 2020-12-04 中国银行股份有限公司 Method and system for verifying correctness of workflow of big data platform
CN113672894A (en) * 2021-07-30 2021-11-19 北京达佳互联信息技术有限公司 Data processing method, device and equipment for identifying code request and storage medium
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116661767B (en) * 2023-07-28 2023-10-27 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105225066B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN105225066A (en) The verification method of workflow legitimacy and demo plant
US9690822B2 (en) System and method for metadata level validation of custom setup objects
US20080172414A1 (en) Business Objects as a Service
CN109189379A (en) code generating method and device
US20090198727A1 (en) Trace-based database schema evolution method and system
US20130014127A1 (en) System and method for automatically generating computer code for message flows
CN109460223A (en) A kind of API gateway management system and its method
RU2662405C2 (en) Certification documents automatic generation
CN104657274A (en) Method and device for testing software interface
US20090048993A1 (en) Implementation of operating system securing
CN109063362A (en) Avionics software interface controls document design management system
CN107632973A (en) The input method and device of assets
CN110209584A (en) A kind of automatic generation of test data and relevant apparatus
CN102123099B (en) Message processing system and method
CN101334738B (en) Techniques for parsing electronic files
CN113672233B (en) Server out-of-band management method, device and equipment based on Redfish
CN115630835A (en) Activity-based workflow general parameter configuration method and system
CN104881455B (en) A kind of architectural difference processing method and system based on MYSQL
KR100993309B1 (en) System for Modeling RFID Business Events
KR20170047013A (en) Method, Apparatus and Computer-readable Medium for Generating Authority Guideline File for Vehicle
CN112000366B (en) System parameter configuration method and device based on code generator
CN110737426A (en) Program block creating method, program block creating device, computer equipment and storage medium
CN115543969B (en) Data migration method, device, equipment and medium
CN109861960A (en) Method and device for verifying the verify data of service logic is provided
CN116610345B (en) Application program upgrading method and device based on execution record table

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant