Summary of the invention
This application provides a kind of based on the workflow processing method and its processing system that change request.According to the application,
When user or administrator request are changed software facility, execute in change course, can judge that change course whether can
It whether there is anomalous effects in execution and implementation procedure, request and change course to be managed to changing.
A kind of workflow processing method based on change request, comprising the following steps: receive and change request;In response to receiving
Change request, calls workflow corresponding with request is changed;Inquire workflow in regulations corresponding with workflow whether with it is prefabricated
Regulations meet;If regulations corresponding with workflow meet with prefabricated regulations, judge whether have in executing change course
Workflow violates;If there is workflow violation, it is determined that the workflow of violation is repaired it or checked and approved;If receiving approval
Notice, the then workflow violated are approved, and initiating determining action allows to continue to execute.
As above, wherein if regulations corresponding with workflow are not met with prefabricated regulations, refuses to execute to change and request
And it is repaired.
As above, wherein it is repaired by autonomous form request to request is changed.
It is as above, wherein to be issued to itself and repair request repair mechanism that instruction calls self EMS memory to have to complete to changing
Become the reparation of request.
As above, wherein workflow violates if it does not exist, then initiates determining action.
As above, wherein if the workflow violated need to be repaired, enables violation repair mechanism and repaired.
As above, wherein it calls and violates processing strategie, determine that the workflow violated is repaired or checked and approved.
As above, wherein changing course has multiple stages, and at least a determination in access workflow is between the stage
Workflow is with the presence or absence of violation in transformation.
As above, wherein processor, regulations assessment processing device, regulations unit, policy unit, violation are received including calling
Processing unit and approved unit;It calls and receives processor for receiving change request, call workflow, regulations assessment processing device
And policy unit executes change course;In response to calling workflow, regulations assessment processing device is for calling regulations unit searches
Statute database is inquired, judges whether the regulations in workflow meet with prefabricated regulations;Policy unit is for determining that change is gone through
Whether the workflow in the execution stage of journey has violation, and violates processing unit according to call by result is violated;In response to called,
Processing unit is violated for determining the workflow violated, and it is repaired or is checked and approved, and calls approved unit;Approved unit
Confirmation for being checked and approved the workflow of violation.
As above, wherein if the regulations in workflow are not met with prefabricated regulations, changing request does not allow to execute,
Regulations assessment processing device is repaired to request is changed.
Specific embodiment
Below with reference to the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Ground description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on the application
In embodiment, those skilled in the art's every other embodiment obtained without making creative work, all
Belong to the range of the application protection.
The application is a kind of based on the workflow processing method and its processing system that change request.According to the application, when with
Family or administrator request are changed software facility, execute in change course, can judge whether change course is able to carry out
And whether there is anomalous effects in implementation procedure, it requests and changes course to be managed to changing.
It is as shown in Figure 1 the schematic diagram of internal structure provided by the present application based on the workflow processing system for changing request.
Workflow processing system includes that calling receives processor 110, one or more requests caching 120, at regulations assessment
Device 130 is managed, regulations unit 140, policy unit 150, processing unit 160 is violated, approved unit 170, changes storage queue 180.
It calls to receive processor 110 and receive and changes request, call workflow, regulations assessment processing device 130, policy unit
150 execute change courses, and by after execution change request storage with this just in storage queue 180.
Specifically, it is corresponding with the one or more of workflow to change request.
Request caching 120 is for storing the change request called and received after processor 110 receives.
It illustratively, include multiple entries in request caching 120, each entry is used to accommodate the reality for changing request
Example, the example sort according to the sequence for the request caching being added to, and change request from tail of the queue and are added to request caching 120
In, and request caching is taken out from team's head.
As one embodiment, periodically, it is added in response to changing request, calls and receive processor 110 according to asking
Seek the change request call workflow in caching 120.
Optionally, it calls and receives processor 110 to choose request caching 120 at random, in a manner of rotation, weighted round robin, ask
Ask caching 120 that priority can be set and be adjusted.
Regulations assessment processing device 130 calls 140 search inquiry statute database of regulations unit in response to calling workflow,
Judge whether workflow meets regulation, whether change request allows to execute, when changing request allows to execute to calling receiving area
It manages device 110 and sends instruction, repaired and analyzed when changing request and forbidding and executing.
Policy unit 150 determines whether workflow corresponding with request is changed has violation in the execution stage of change course,
And processing unit 160 is violated according to call by result is violated.
It violates processing unit 160 and determines that the workflow violated is repaired or checked and approved, selectively call approved unit
170。
Specifically, it is the change request being not carried out that regulations assessment processing device 130, which is repaired, violates processing unit reparation
Allow to execute to change request, but finds the workflow violated in the process of implementation, and repair to workflow.
If violating processing unit determines that the workflow violated at this time need to be checked and approved, approved unit 170 is called to carry out core
Quasi- confirmation.
Change storage queue 180 and be performed in response to changing request, storage changes request, specifically, not with request caching
Together, change the change request stored in storage queue 180 to be allowed to, be allowed to go through thereby executing change in response to changing request
Journey.
Fig. 2 is according to the method flow diagram provided by the present application for changing request strategy management.
In the present embodiment, it provides calling and receives processor to execute change course, call and receive processor and management
Other units of change course connect, and when one or more components request changes in software facility, call reception processor
Execute change course.
(210) are requested in the change for receiving software facility, request the target changed for the application program in software facility, operation
The combination of one in system, driver or multiple components.
It receives and requests and execute change course, as one embodiment, change request and be stored in request caching 120.
Specifically, change course includes multiple stages, and each stage corresponds to the multiple tasks for changing and including in request, when more
A stage is performed, and corresponding task is also changed execution.Such as multiple stages illustratively may include initialization rank
Section, Qualify Phase allow the execution stage, change stage and ending phase etc., multiple stages can be according to the standard that can be performed
It executes, which can be the standard pre-established by user.
Change request in response to receiving, reception processor 110 is called to call one or more work corresponding with the request
It flows (220).According to the present embodiment, workflow, each corresponding one or more work of change request are established to change request in advance
Stream.More specifically, include regulations corresponding with its condition in workflow, the condition in workflow for example can be and change and request
The identity of the corresponding administrator for being allowed to execute changes the environment for requesting to allow to operate and changes and requests corresponding component
The quantity of particular state etc., regulations can be one or more, and specifically, definition regulations are 110,111 ... 11n.
Further, in response to calling workflow, 130 search inquiry statute database of regulations assessment processing device inquires item
Whether prefabricated regulations regulations corresponding with workflow meet (230) in example database.Illustrate that workflow accords with if the two meets
Regulation is closed, changing request allows to execute, the work flow anomalies if not meeting, and changes request refusal and executes.
Further, regulations assessment processing device 130 carrys out search inquiry in a number of cases using one or more regulations units 140
According to one or all regulations in library.Engine unit in the prior art can be used in regulations unit 140, passes through regulations unit 140
Can specifically accurately query execution change request necessary to condition, that is, item included in the corresponding regulations of workflow
Part, such as changing in request includes multiple conditions, the quantity of multiple conditions and the quantity of regulations are identical, as another example,
The quantity of multiple conditions is more than or less than the quantity of regulations, and multiple conditions, which are stored in the same regulations or regulations, stores quantity not
Deng condition.
If included condition is to change to request necessary condition in the corresponding regulations of workflow, workflow meets rule
It is fixed, change and request to allow to execute, regulations assessment processing device 130 can indicate to be somebody's turn to do to calling reception processor 110 to send an instruction
Changing request allows to execute.
As one embodiment, regulations assessment processing device 130 not only receives processor to calling and sends a dial gauge
Show that change request allows or refusal executes, when changing request and being rejected, can be requested by autonomous form to forbidding changing
Become request to be repaired and analyze (240).
130 retrieval and inquisition of regulations assessment processing device is prohibited to request is changed, and regulations assessment processing device 130 will be forbidden
Reason, which returns, calls reception processor 110, informs that calling receives processor 110 and changes the forbidden reason of request and request to repair
It is multiple, change request if repairing successfully and be allowed to execute, regulations assessment processing device 130 receives the transmission of processor 110 to calling and refers to
Show.Still refusal changes the execution of request if changing request and not being repaired.
Illustratively, 130 memory of regulations assessment processing device has request repair mechanism, if detecting, change request is rejected,
Then repairing instruction to itself sending by autonomous type calls self EMS memory some to request repair mechanism to complete to change request
It repairs, further, repair mechanism is customized by the user, and can be modified.Illustratively, it has been repaired in response to changing request
At, it is not immediately performed, but analyze request is changed, specifically, it is prohibited to execute if changing request, regulations unit
140 will be sent to the analysis engine of regulations assessment processing device coupling the reason of forbidding, it is notable that regulations unit 140 is only
Only to request progress condition Verification is changed, any reparation and analysis can not be carried out to request is changed, analysis engine combination changes
Change requests forbidden reason to analyze the change request after reparation, if changing the condition in requesting after analysis and being prohibited
Condition be not inconsistent, then allow to change request and pass through, and return to regulations unit 140 and verified again, similarly, analysis engine is only
The change after reparation can be requested to analyze, and condition Verification independently cannot be carried out to the change request after reparation.
Change request in response to executing, reception 110 regulative strategy unit 150 of processor is called to judge changing holding for course
Row order Duan Zhongyu, which changes, requests whether corresponding workflow has violation (250).Specifically, changing course includes at least accessing work
One in stream to determine that whether workflow, which allows, executes when a transition stage is to next stage.Allow a stage
It is converted to next stage, calling and receiving processor 110 be that transformation allows using at least one workflow, if based on workflow
Policy unit 150 determine there is no violating in the workflow of scheduling, then policy unit 150 initiates determining action
(260), further, it is determined that action be finger that transformation in change course between the stage allows to execute the determination for sending
Show, to continue to execute change course.One of them stage belongs to any in change course in multiple stages with next stage
Stage.
If the policy unit 150 based on workflow determines that at least one violation occurs for the workflow of scheduling, change course
It further include determine a workflow illegal due to specific one in transformation, policy unit 150, which enables, violates processing plan
Slightly, the workflow for violating the determining violation of processing unit 160 is called to be repaired or checked and approved (270).As one embodiment, if
Transformation before current generation to next stage has corresponding workflow to violate, then calls for each workflow and violate processing unit
160, the violation of determining workflow can be found and be handled by violating processing unit 160.
Specifically, violating the violation processing strategie that processing unit 16000 executes is the stage carried out according to change course, disobeys
What the type and workflow of anti-workflow were configured.Violating processing strategie can protect after the workflow that discovery violates
Card allows the change course executed to be converted to before next stage, meets the violation item in the workflow of violation, disobeys if meeting it
The workflow that anti-item then violates can be checked and approved, to continue to execute.Illustratively, violating item may include that workflow is all
The notice that person issues has at least one to violate approval person and allow to violate and passes through or some other violation items.Implement as one
Example, violating approval person can be user, administrator or automation tools.
If finding the violation of at least one workflow before the transformation of current generation to next stage to need to check and approve, processing is violated
Unit 160 can be used as a part violated in processing strategie to call approved unit, and approved unit 140 is disobeyed to one or more
The quasi- person of antinucleus sends the notice (280) that information is violated comprising workflow, violates information in response to violating approval person's reception workflow
Notice, issue and check and approve or the notice do not checked and approved to approved unit 140.Specifically, whether checked and approved in the reception of approved unit 140
Before notice, verifying violates whether approval person meets scheduled rule, if issuing the violation approval person checked and approved meets pre-defined rule,
Approval passes through, and the workflow of violation continues to execute.Illustratively, pre-defined rule is that the sending violated in approval person is checked and approved,
As another example, pre-defined rule is all to violate approval person to issue approval, and as further example, pre-defined rule is predetermined
The violation approval person of quantity, which issues, to be checked and approved, and the predetermined quantity is limited without row herein.
If approved unit 140 receives the notice checked and approved and passed through, approved unit 140 is forwarded to policy unit 150 and is checked and approved
By notice, policy unit 150 executes determining movement (290).
If violating before current generation to next stage changes need to be repaired, violates processing unit 160 and call to repair and draw
It holds up and is repaired (2100), wherein current generation and next stage belong to the either phase in change course in multiple stages.It repairs
It is similar to the Principles for changing request to restore reason, illustratively, repairs the violation repair machine violated in engine comprising workflow
System, the violation repair mechanism can be set by the user or modify.It is repaired success in response to violating, the change request after restoration updating
Request caching 120 can be provided to for by calling reception processor 110 to be further processed.Specifically, restoration updating
Change request afterwards can continue to be responded.
Further, it is performed in response to changing request, calls reception processor 110 that change request is stored in change and deposit
It stores up in queue 180, the change request changed in storage queue 180 can be mentioned by the component in software facility administrator or software facility
It hands over.Power down preventing strategy can be used, such as when system is powered down, the execution for changing request is interrupted, and is powered on again in response to system,
Change storage queue 180 and the change request after interruption is sent to calling reception processor 110, accordingly even when system is powered down
When, each change request can also be supplied to calling and receive processor 110, call reception processor 110 to continue to execute work, adjust
The regulations unit 140 based on change is triggered with processor 110 is received to determine the change request after powering on again in response to system
It is performed, whether the current generation leads to the violation of at least one relevant work stream to the transformation between next stage, executes step
260-290。
Although the example of present application reference is described, it is intended merely to the purpose explained rather than the limit to the application
System, the change to embodiment, increase and/or deletion can be made without departing from scope of the present application.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any
Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain
Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.