CN116932007A - Method and device for processing upgrading risk of process instance and electronic equipment - Google Patents

Method and device for processing upgrading risk of process instance and electronic equipment Download PDF

Info

Publication number
CN116932007A
CN116932007A CN202311115457.2A CN202311115457A CN116932007A CN 116932007 A CN116932007 A CN 116932007A CN 202311115457 A CN202311115457 A CN 202311115457A CN 116932007 A CN116932007 A CN 116932007A
Authority
CN
China
Prior art keywords
risk
flow
upgraded
instance
version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311115457.2A
Other languages
Chinese (zh)
Inventor
吴作鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202311115457.2A priority Critical patent/CN116932007A/en
Publication of CN116932007A publication Critical patent/CN116932007A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a process instance upgrading risk processing method, a device and electronic equipment which can be applied to the financial field or other fields, when any issued process instance to be upgraded is subjected to upgrading operation, risk analysis can be carried out on each process link in the process instance to be upgraded according to a corresponding current version process template and an upgrading version process template to obtain a risk analysis result of the corresponding process link, whether the process instance is upgraded is at risk or not is determined according to the risk analysis result, and the obtained upgrading risk information is output, so that resource waste caused by upgrading operation under the condition that the upgrading is at risk is avoided, and the process instance upgrading reliability is improved.

Description

Method and device for processing upgrading risk of process instance and electronic equipment
Technical Field
The application relates to the technical field of workflows, in particular to a method and a device for processing upgrading risk of a flow instance and electronic equipment.
Background
A workflow engine is a software application managed process that is typically capable of providing independent process engine services. As business requirements change, the corresponding version of the flow configuration file is typically continually configured to run the corresponding version of the flow instance in the workflow engine.
In practical applications, for any version (e.g., version 1.0) of the process instance created by the workflow engine, the process instance of the version is usually issued after the verification is passed through the application and approval links.
When the process instance is updated, a new version (e.g., version 1.1) of the process template can be created, and the generated old version (e.g., version 1.0) of the process instance is bound to the new version of the process template, so that the old version of the process instance in the workflow engine can be operated according to the new version of the process template to obtain the new version of the process instance.
However, in the process of upgrading the process instance, the process instance is likely to be upgraded abnormally due to incompatibility of the process instance of the old version and the process template of the new version, and for this reason, repeated modification experiments of related personnel are usually required to determine the reason for the abnormality, so that the process is very tedious, the resource consumption is greatly increased, and the process instance upgrading efficiency and reliability are reduced.
Disclosure of Invention
In order to solve the technical problems, the application provides the following technical scheme:
in one aspect, the present application provides a method for processing a risk of upgrading a flow instance, where the method includes:
Obtaining a current version flow template of a flow instance to be upgraded and an upgraded version flow template;
according to the current version flow template and the upgrading version flow template, performing risk analysis on each flow link in the flow instance to be upgraded to obtain a risk analysis result of the corresponding flow link;
determining whether the to-be-upgraded process instance has risks according to the upgrade version process template according to the risk analysis result, and obtaining corresponding upgrade risk information;
and outputting the upgrade risk information.
Optionally, the performing risk analysis on each flow link in the to-be-upgraded flow instance according to the current version flow template and the upgraded version flow template to obtain a risk analysis result of the corresponding flow link includes:
determining whether the process variables used by each process link in the process instance to be upgraded are different or not according to the current version process template and the upgrading version process template;
determining the flow variables with the differences, and obtaining first risk information of the corresponding flow links;
determining whether the process variables which are not distinguished exist or not according to the association relationship between different process links in the process instance to be upgraded, and determining whether the influence results of the process variables used by the process links in the process templates of different versions are distinguished or not;
And determining the influence result with the difference, and obtaining second risk information aiming at the corresponding flow link.
Optionally, the determining whether the process variables used by the process links in the process instance to be upgraded are different according to the current version process template and the upgrade version process template includes:
according to the current version flow template and the upgrading version flow template, carrying out different version comparison analysis on each task link, flow branching conditions, task timing events and flow variables used by a task reference script which can be executed by the to-be-upgraded flow instance, and determining whether the flow variables in the different version flow templates are the same for the same flow link;
determining whether the influence results of the process variables used by the process links in the process templates of different versions are different according to the association relationship between the process links in the process instance to be upgraded comprises the following steps:
obtaining an influence result of a process variable used by a preset process link under a corresponding version process template according to the association relation between different process links in the process instance to be upgraded and the current version process template and the upgrading version process template; the preset flow link comprises one or more of a flow branch, a flow branch condition and a task reference script;
Determining whether the influence results of the same preset flow link under different version flow templates are different or not.
Optionally, the determining, according to the risk analysis result, whether the to-be-upgraded process instance has a risk according to the to-be-upgraded version process template to upgrade, to obtain corresponding upgrade risk information includes:
determining that the process instance to be upgraded has risk according to the upgrading version process template under the condition that the process variable with distinction is determined or the process variable without distinction is determined, but the influence result with distinction is obtained;
and obtaining corresponding upgrading risk information according to the correspondingly obtained first risk information or second risk information.
Optionally, the obtaining corresponding upgrade risk information according to the first risk information or the second risk information obtained correspondingly, and outputting the upgrade risk information, includes:
determining a to-be-processed flow link with risk in the to-be-upgraded flow instance according to the obtained first risk information or the second risk information;
acquiring risk prompt information containing the flow links to be processed;
And outputting the risk prompt information according to a preset output mode to prompt whether the to-be-processed flow link has risks according to preset risk detection standards of corresponding services.
Optionally, the method further comprises:
obtaining a version upgrading instruction aiming at the process instance to be upgraded; the version upgrading instruction is generated when determining to upgrade the to-be-upgraded process instance according to the upgrade version process template under the condition that the to-be-processed process link indicated by the upgrade risk information is verified to have risk;
acquiring risk repair information aiming at the process instance to be upgraded according to the upgrade risk information;
and outputting the risk repair information to guide the modification of the corresponding flow variable information in the to-be-upgraded flow instance to obtain the to-be-upgraded flow instance without upgrading risk.
Optionally, the obtaining risk repair information for the to-be-upgraded process instance according to the upgrade risk information, and outputting the risk repair information include:
obtaining modification guide information of a flow variable used for the flow link to be processed;
outputting the modification guide information to guide maintenance personnel to modify corresponding flow variable information at an output flow variable configuration interface so as to obtain a flow instance to be upgraded without upgrading risk;
And acquiring a process instance upgrading instruction triggered by the maintainer, calling the process template of the version to be upgraded, and operating the process instance to be upgraded without upgrading risk to acquire the process instance of the upgraded version.
Optionally, the outputting the modified guiding information includes:
outputting a risk restoration interface aiming at the to-be-upgraded process instance, and displaying different process variable modification identifiers on the risk restoration interface;
displaying corresponding flow variable modification information on the flow variable modification interface according to the modification guide information so as to guide maintenance personnel to trigger corresponding flow variable modification identifiers, enter the corresponding flow variable modification interface and execute corresponding flow variable modification information;
and determining to execute all the flow variable modification information, and obtaining an upgrade version flow instance aiming at the upgrade version flow template according to the modified flow variable information.
In another aspect, the present application further provides a process instance upgrade risk processing apparatus, where the apparatus includes:
the process template obtaining module is used for obtaining a current version process template and an upgrade version process template of a process instance to be upgraded;
The risk analysis result obtaining module is used for carrying out risk analysis on each flow link in the flow instance to be upgraded according to the current version flow template and the upgrading version flow template to obtain a risk analysis result of the corresponding flow link;
the upgrade risk information obtaining module is used for determining whether the to-be-upgraded process instance is at risk according to the upgrade version process template according to the risk analysis result, and obtaining corresponding upgrade risk information;
and the upgrade risk information output module is used for outputting the upgrade risk information.
In yet another aspect, the present application also proposes an electronic device, including: at least one memory and at least one processor, wherein:
the memory is used for storing program codes for realizing the process instance upgrading risk processing method;
the processor is configured to load and execute the program code stored in the memory, so as to implement the process instance upgrade risk processing method as described above.
Therefore, when any issued flow instance to be upgraded is upgraded, risk analysis can be performed on each flow link in the flow instance to be upgraded according to the corresponding current version flow template and the corresponding upgrading version flow template, a risk analysis result of the corresponding flow link is obtained, whether the flow instance is upgraded is determined to have risks according to the risk analysis result, and the obtained upgrading risk information is output, so that resource waste caused by upgrading operation under the condition that the upgrading has risks is avoided, and the upgrading reliability of the flow instance is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an alternative embodiment of a method for processing risk of upgrading a flow example according to the present application;
FIG. 2 is a schematic flow chart of a second alternative embodiment of a method for processing risk of upgrading a flow example according to the present application;
FIG. 3 is a schematic flow chart of a third alternative embodiment of a method for processing risk of upgrading a flow example according to the present application;
FIG. 4 is a flowchart illustrating an alternative embodiment of a method for processing risk of upgrading a flow example according to the present application;
FIG. 5 is a flowchart illustrating an alternative embodiment of a method for processing risk of upgrading a process instance according to the present application;
FIG. 6 is a schematic diagram illustrating an alternative embodiment of a process example upgrade risk processing apparatus according to the present application;
fig. 7 is a schematic hardware structure of an alternative embodiment of an electronic device suitable for the process example upgrade risk processing method according to the present application.
Detailed Description
For the description content of the background art part, after a new version (for example, a configuration file of a 1.1 version after upgrading relative to a 1.0 version) of a process template (for example, a configuration file for configuring the new version of the process instance) is created under the scene that the version of the existing process instance needs to be upgraded, in order to ensure the correctness of the new version of the process template, the new version of the process template can be checked first, after checking has no problem, the new version of the process template is reported to an approval person to approve the new version of the process template, and meanwhile, whether the new version of the process template needs to be checked later or not is determined to be executed according to the checking result, but for the approval, the follow-up link is generally directly executed, and whether the new version of the process template needs to be checked or not can not be known in advance, so that the process instance may not execute the check link after upgrading, and the abnormal condition of the old version of the process instance can not be avoided when the workflow engine operates according to the new version of the process template.
In order to improve the problems, the application can provide a checking mechanism in combination with the problems possibly occurring in the process instance upgrading, and can detect whether the process instance upgrading is at risk or not before running a new version of process template and configuring a corresponding business process, if so, the application can timely perform upgrading risk early warning to related personnel to prompt the related personnel to timely repair the related personnel, thereby ensuring the process instance upgrading efficiency and reliability.
Since the new and old versions of the stream Cheng Moban used in the same process instance are different, the process instance is updated abnormally due to incompatibility and other problems. And the workflow engine generally realizes data transfer between the flow user and the workflow engine through flow variables. When the workflow engine runs inside, task allocation rules, flow branch judgment rules, flow task timing events (such as judgment for realizing task delay or overtime) and scripts and the like referenced by tasks which can be executed aiming at the created flow instance are all realized by using corresponding flow variables, that is, the flow variables influence the realization of corresponding flow links and the realization results thereof. Therefore, the application can detect the ways of detecting the process variables used by the corresponding parts and whether the influence results of the process variables are different between the new version and the old version, and the like to determine whether the current version of process instance is at risk according to the new version of process template, and can guide related personnel to adjust the new version of process variables according to the risk, so as to ensure reliable upgrading of the process version.
Because of the mutual influence among different process branches of the process operated by the workflow engine, the process variables referenced by the parts on the new version and the old version are determined to be not different according to the detection, and whether the influence results of the referenced process variables are the same can be further analyzed to determine whether the process variables of the old version are compatible with the execution results of the new version.
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is to be understood that the embodiments described are merely some, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
For convenience in describing the technical solution of the present application, a flowchart may be used to illustrate operations performed by the server according to the embodiments of the present application. It should be understood that the operations before or after the flowchart are not necessarily performed in the exact order, and that the steps may be performed in reverse order or simultaneously, as desired. In addition, other operations may be added to or removed from these processes, and the present application is not described in detail by way of example.
Referring to fig. 1, a flowchart of an alternative embodiment of a process instance upgrade risk processing method according to the present application may be applied to an electronic device, such as a service terminal or a server capable of running a workflow engine, and the reliability and security of the process instance upgrade may be improved by executing the process instance upgrade risk processing method according to the present application under a scenario that a process instance of any service running the workflow engine needs to be upgraded. As shown in fig. 1, the method may include, but is not limited to, the following steps:
Step S11, a current version flow template and an upgrade version flow template of a flow instance to be upgraded are obtained;
in practical application, for different version flow instances of each service operated by the workflow engine, upgrading processing is performed according to the created new version flow template of the corresponding service, so that when one or more flow instances are selected as flow instances to be upgraded according to service processing requirements to perform upgrading operation, for example, when a developer creates the new version flow template, one or more flow instances to be upgraded are selected from the released flow instances; or after determining the service upgrading requirement (such as a certain flow type), a to-be-upgraded flow instance meeting the service upgrading requirement from the issued flow instances, and the like. It can be seen that the present application supports the upgrading of a batch of process instances, and also supports the upgrading of a single process instance, and the method for determining the process instance to be upgraded is not limited, and may be determined according to circumstances.
Then, the published instance information of each to-be-upgraded flow instance, such as instance identifiers of a flow instance name, an id and the like, can be obtained, a corresponding currently-bound flow template of the to-be-upgraded flow instance is determined, or the to-be-upgraded flow template capable of being used for upgrading the to-be-upgraded flow instance is obtained.
Step S12, performing risk analysis on each flow link in the to-be-upgraded flow instance according to the current version flow template and the upgraded version flow template to obtain a risk analysis result of the corresponding flow link;
in practical application, the flow template used for creating the flow instance may include an overall architecture of the corresponding flow, for example, including each flow link constituting the corresponding version of the flow instance, and association relationships between different flow links, such as task allocation conditions, branching conditions, judgment rules, and the like, when the current version of the flow instance is created, configuration of flow variable information may be performed according to the current version of the flow template, so that when the version of the flow instance runs, implementation of the implementation process of the application may be performed according to the corresponding version of the flow template and the configured flow variable information, which is not described in detail.
In this way, when the upgrading operation is required to be performed on the current version of the process instance, whether the operation is problematic after the upgrading of the current version of the process instance can be analyzed according to the two versions of the process templates, and by combining the operation principle of the process instance, the comparison analysis is performed on the used process variables and the influence thereof for each process link to obtain the risk analysis result corresponding to each process link, such as the change condition of the process variables adapted to the execution of the corresponding process links between the new version and the old version, the influence results of other process links in the corresponding version of the process templates, and the like.
Step S13, determining whether a to-be-upgraded process instance is at risk according to the risk analysis result and upgrading according to an upgrade version process template, so as to obtain corresponding upgrade risk information;
step S14, outputting the upgrade risk information.
The application can determine whether the process variables used by execution of each process link are the same according to the obtained risk analysis results, if the process variables are the same, the application can further analyze risk analysis such as whether the influence results of different versions of the process templates on other process links are the same or not by using the process variables to determine whether the process instance to be upgraded is compatible with the process version to be upgraded, i.e. determine whether the process variables used by the current version (i.e. the old version) are compatible with the execution results of the new version, but is not limited to the compatibility detection method described in the embodiment.
Through risk analysis as described above, it is determined that the business process to be executed has no risk on the process configuration of the new version (i.e., the version to be upgraded), that is, the process instance to be upgraded can be normally upgraded according to the process template of the version to be upgraded, or after different risk detection results such as the risk and the risk content of the upgrade are determined, the upgrade risk information containing the corresponding content can be obtained, so that a process instance user is informed of whether the process instance to be upgraded has the risk according to the upgrade operation of the process template to be upgraded at this time, and the situation that the process instance is failed in upgrade caused by directly performing the upgrade operation under the condition that the upgrade has the risk is avoided.
The electronic device may directly output the obtained upgrade risk information for the to-be-upgraded process instance according to a preset output manner, which may be a process instance upgrade risk notification manner preconfigured by a process instance user or an upgrade operator, for example, a text and/or voice manner for a preset terminal communication account (such as one or more of a short message social account, a mailbox address, a mobile phone number, etc.), but is not limited to the process instance upgrade risk notification method described in the embodiment.
Referring to fig. 2, a flowchart of a second alternative embodiment of the method for processing a risk of upgrading a process instance according to the present application, which may be applied to an electronic device, may describe an alternative refinement implementation of the method for processing a risk of upgrading a process instance described above, as shown in fig. 2, where the method may include:
step S21, a current version flow template and an upgrade version flow template of a flow instance to be upgraded are obtained;
step S22, determining whether the process variables used by each process link in the process instance to be upgraded are different or not according to the current version process template and the upgrade version process template, and if so, entering step S23; if not, executing step S24;
Step S23, determining that a to-be-upgraded process instance is at risk according to an upgrade version process template, and obtaining first risk information of a corresponding process link;
in combination with the description of the technical solution of the present application in the foregoing embodiment, as described in the corresponding portion of step S12, each flow link of the flow instance is implemented by executing a flow variable, so the present application may distinguish between the new version and the old version (i.e. the updated version flow template and the current version flow template) by analyzing each flow link to be executed of the flow instance to be updated (which refers to a link that the workflow engine needs to implement by using the flow variable, including but not limited to one or more of each task allocation, branching condition, task timing event, etc. for implementing the corresponding service).
If different flow variables exist, such as different flow variables used by flow branching conditions, the number of flow branches obtained in different versions or the content of judging conditions are different, so that the flow variable information in the flow instance of the current version cannot be suitable for the flow variable of the corresponding flow link in the flow template of the upgrading version, the current version flow instance is upgraded according to the upgrading version flow template, risks exist in the upgrading process, and the upgrading failure of the flow instance is caused.
Based on this, in order to clearly cause the process links of the current process instance to upgrade and abnormal, to inform the maintainer (which may be a recheck person or an upgrade applicant person) to accurately adjust the process variables thereof, to rapidly and reliably implement the upgrade of the process instance to be upgraded, the first risk information obtained in the present application may include, but is not limited to, the content of the process link with risk (the present application may record it as the process link to be processed) and the process variables used by the process link, and the process variable information of the process variables in the current version process instance, etc., and the implementation method of the step S23 and the content included in the first risk information are not limited by the present application.
Step S24, determining whether the influence results of the process variables used by the process links in the process templates of different versions are different according to the association relationship between the process links in the process instance to be upgraded, and if so, entering step S25; if not, executing step S28;
step S25, determining that a to-be-upgraded process instance is at risk according to an upgrade version process template, and obtaining second risk information for corresponding process links;
and then, according to the analysis and the comparison analysis of the flow variables, determining that the flow variables used by the same flow links in the flow templates of different versions are the same, further analyzing the influence of the flow variables in the flow templates of corresponding versions, and determining whether the influence results of the corresponding flow variables are the same or not, thereby determining whether the flow variables of old versions can be compatible with the execution results of new versions or not.
For example, if the process variable used by the process branching condition is the same, but after the process variable is executed, the process branching executed in the process is different, that is, the executed process variable used by the process branching condition is executed, the entered process branching (that is, the execution result) is different, which indicates the influence result of the process variable in different versions, the process variable information of the current version process instance is still used, the execution result required by the process variable of the corresponding process link in the upgrade version cannot be compatible, and it is determined that the process instance to be upgraded according to the upgrade version process template will have a risk.
It should be noted that, regarding the content and the method for obtaining the effect result of using the flow variable in each flow link to be executed in the flow instance, including but not limited to the above example content, may be determined according to the published flow instance content of the current version and the updated version flow template, etc., which are not described in detail in the present application.
In order to clarify the upgrade analysis detection result of the process instance, in combination with the description of the corresponding part of the first risk information, according to the risk analysis result of the method, the embodiment of the application generates the second risk information including the process links with risks and the related content thereof, and the implementation process and the content thereof are not limited.
Therefore, the application determines whether the old version of the flow process variable is compatible with the execution result of the new version by analyzing the content of the flow variable used by each flow link to be executed of the flow instance to be upgraded and the difference of the influence thereof on the new version and the old version, thereby determining whether the current version of the flow instance is at risk according to the upgrading version flow template, namely whether the current version of the flow instance can be successfully upgraded, and obtaining corresponding risk information under the condition that the upgrading is at risk, thereby informing related personnel of the risk content, so as to accurately realize the modification of the corresponding flow variable information in the flow instance to be upgraded and reliably realize the upgrading of the flow instance to be upgraded.
Step S26, corresponding upgrading risk information is obtained according to the correspondingly obtained first risk information or second risk information;
step S27, outputting the upgrade risk information;
according to the analysis, the obtained risk information contains or can indicate the process links causing the risk of upgrading the process instance to be upgraded, so that the application generates and outputs the upgrading risk information according to the obtained risk information, and can accurately and timely inform related personnel of the risk of the upgrading, thereby realizing the modification of corresponding process variable information in the process instance to be upgraded, or the adjustment of an upgrading version process template and the like, avoiding the process instance to be upgraded from directly upgrading according to the upgrading version process template before adjustment, and checking and modifying after the upgrading fails.
The method for outputting the upgrade risk information is not displayed, and in order to facilitate related personnel to check the risk condition existing in the upgrade of the selected flow example, the upgrade risk information and the like can be directly displayed and output through a display screen. In the case that the selected upgraded process instance is a batch process instance, the upgrade risk detection process of each process instance is similar to the above, and the application does not need to be described in detail one by one, and the upgrade risk detection result of each process instance is obtained and then output.
Step S28, determining that the to-be-upgraded process instance is upgraded according to the upgrade version process template without risk, and operating the to-be-upgraded process instance according to the upgrade version process template to obtain the upgrade version process instance.
According to the above analysis, under the condition that the risk detection method determines that the process instance upgrade does not have risk, the interface of the upgrade version process template can be directly called to realize the upgrade of the process instance to be upgraded, and the implementation process is not described in detail.
Optionally, according to the method for detecting the upgrade risk of the process instance, under the condition that the upgrade of the process instance to be upgraded does not have a risk, upgrade risk information of corresponding content (i.e. the upgrade risk does not exist) can be obtained, and then the upgrade risk information is output, so that related personnel can trigger the upgrade operation of the process instance to be upgraded, and after an upgrade instruction for the process instance to be upgraded is obtained, the upgrade of the process instance to be upgraded is realized according to the method described in the context, and the implementation process is not described in detail.
Referring to fig. 3, a flowchart of a third alternative embodiment of the method for processing a risk of upgrading a flow instance according to the present application, which may be applicable to an electronic device, may describe another alternative refinement implementation of the method for processing a risk of upgrading a flow instance described above, as shown in fig. 3, and may include:
step S31, determining a to-be-upgraded flow instance;
step S32, a current version flow template and an upgrade version flow template of the to-be-upgraded flow instance are obtained;
step S33, according to the current version flow template and the upgrade version flow template, performing different version comparison analysis on each task link, flow branching condition, task timing event and flow variable used by the task reference script which can be executed by the flow instance to be upgraded;
step S34, determining whether the process variables in the process templates of different versions are the same for the same process link, if so, entering step S35; if both are the same, go to step S36;
in practical application, the place where the workflow engine is used usually comprises a task allocation rule, a flow branch judgment rule, a delay or timeout time of a flow task and a dynamic script in the flow, so that the application can analyze the differences of the flow variables used by the flow links such as task links to be executed, flow branch conditions, task timing events (such as task delay or timeout time) and task reference scripts in new and old versions of the to-be-upgraded flow instance.
It should be understood that, for different to-be-upgraded process instances, the process links and/or the process variables used by the to-be-upgraded process instances may be different, and the present application may directly analyze the corresponding version of the process template content and the process instance information, and the present application does not limit the process link content corresponding to the process variables to be compared and analyzed, including but not limited to the content described above.
Step S35, determining that a to-be-upgraded process instance is at risk according to an upgrade version process template, and obtaining first risk information of a corresponding process link;
step S36, obtaining an influence result of a flow variable used by a preset flow link under a corresponding version flow template according to the association relation between different flow links in the flow instance to be upgraded and the current version flow template and the upgraded version flow template; the preset flow link comprises one or more of a flow branch, a flow branch condition and a task reference script;
step S37, determining whether the influence results of the same preset flow link under different version flow templates are different, if so, entering step S38; if not, executing step S312;
step S38, determining that a to-be-upgraded process instance is at risk according to an upgrade version process template, and obtaining second risk information for corresponding process links;
Continuing the analysis, according to the difference between new and old versions of the process variables used by each process environment listed by the analysis, the risk of upgrading the process instance can be directly determined, and the first risk information containing the corresponding risk condition can be obtained by referring to the method described above.
Otherwise, the influence of the process variables used in the process branches, the judging rules and the scripts can be further analyzed, including but not limited to the preset process links listed above, whether the corresponding influence results are the same on the new and old versions is determined, that is, whether the process variable information of the current version is compatible with the execution result of the process variable of the upgrade version is determined, thereby determining whether the process instance upgrade to be upgraded has risks, and if so, the second risk information containing the process links to be processed with the risks and the related contents (such as the used process variable information and the like) can be obtained, so that the implementation process is not described in detail.
Therefore, in the embodiment, by comparing and analyzing the flow variables used in the flow environments such as the execution content, the judgment condition, etc. of the next level (i.e., the flow branches) in the to-be-upgraded flow instance, it is determined whether the flow architecture between the flow template of the upgraded version and the flow template of the current version is the same, and whether the execution process is the same under the flow architecture, so as to primarily determine whether the current version flow instance directly calls the upgraded version flow template to operate, and whether the implemented flow instance upgrading process has risk, i.e., whether the upgrading can be successfully performed.
After the fact that the risk does not exist is preliminarily determined in the mode, the influence of the process variables used in the preset process links is further analyzed, whether corresponding influence results are the same in the new version and the old version is determined, and accordingly compatible detection between the current version process instance and the upgrading version process template is accurately achieved, namely, accurate detection of whether the risk exists in upgrading the process instance to be upgraded according to the upgrading version process template is achieved, accordingly, risk information existing by related personnel is timely and accurately informed, process instance upgrading is still conducted under the condition that upgrading risks exist, and resource waste is caused.
Step S39, determining a to-be-processed flow link with risk in the to-be-upgraded flow instance according to the obtained first risk information or second risk information;
step S310, obtaining risk prompt information containing a to-be-processed flow link;
step S311, outputting the risk prompt information according to a preset output mode to prompt whether the to-be-processed flow link has risks according to a preset risk detection standard of the corresponding service;
in the embodiment of the application, under the condition that the risk exists in the direct upgrading according to the process instance upgrading risk detection, the risk-existing to-be-processed process links, such as the risk-existing task nodes, the branch conditions, the delay or overtime task nodes, the script-configured task nodes and the like, can be determined in the corresponding risk detection process, and then can be intuitively displayed to related personnel, such as checking or approving or rechecking personnel and the like, so that the related personnel can be combined with the preset risk detection standard (such as the common business judging method and the like) of the corresponding business to verify whether the risk exists in each to-be-processed process link.
Therefore, in the scene of submitting the flow template of the upgrade version and requesting to upgrade the flow instance of the current version, the method for processing the upgrade risk of the flow instance provided by the application can be executed in the approval link of the upgrade, automatically detect whether the upgrade operation has risk, and visually inform the rechecker to perform risk verification on the flow link to be processed with risk according to the method if the upgrade operation has risk, but the method is not limited to the application scene described in the embodiment.
It should be noted that the content of the risk prompt information and the preset output mode thereof are not limited, the risk prompt information can be directly sent to the preset terminal of the rechecking personnel, the risk prompt information is displayed through the display screen of the preset terminal, after the rechecking personnel sees the rechecking content, whether the to-be-processed flow link has risks can be verified in a targeted manner, verification analysis on the compatibility of the whole flow instance and the updated version flow template is not needed, the workload of the rechecking personnel is greatly reduced, and the rechecking efficiency is improved.
Under the condition that a recheck person knows that the upgrading process of the to-be-upgraded process instance has risks, the upgrading can be directly ended, if the upgrading operation is ended or not, the upgrading operation of the process instance can be directly ended by clicking to end the upgrading. Optionally, the rechecking personnel directly or notifies the applicant of performing risk repair according to the risk information, and performs step S312 after completing the repair, and the implementation process may refer to, but is not limited to, the risk repair processing method described in the following embodiments.
Step S312, determining that the to-be-upgraded process instance is not at risk for upgrading according to the upgrade version process template, and operating the to-be-upgraded process instance according to the upgrade version process template to obtain the upgrade version process instance.
According to the detection method, after the to-be-upgraded process instance is determined to be upgraded according to the upgrade version process template, the to-be-upgraded process instance and the upgrade version process template are bound, namely, the process configuration associated with the process instance is bound to the upgrade version (new version), so that the current version process instance is upgraded according to the upgrade version process template, the new version process instance is obtained, and the implementation process is not described in detail.
Referring to fig. 4, a flowchart of a fourth alternative embodiment of a method for processing a risk of upgrading a process instance according to the present application, which may be applied to an electronic device, may describe another alternative refinement implementation of the above-described method for processing a risk of upgrading a process instance, as shown in fig. 4, and the method may include:
step S41, a current version flow template and an upgrade version flow template of a flow instance to be upgraded are obtained;
step S42, according to the current version flow template and the updated version flow template, performing risk analysis on each flow link in the to-be-updated flow instance to obtain a risk analysis result of the corresponding flow link;
Step S43, determining whether the process instance to be upgraded has risk according to the upgrade version process template according to the risk analysis result, and obtaining corresponding upgrade risk information;
step S44, outputting the upgrade risk information;
regarding the implementation procedure of step S41 to step S44, reference may be made to the description of the corresponding portion of any of the above embodiments, and this embodiment is not described herein.
Step S45, a version upgrading instruction aiming at a to-be-upgraded flow instance is obtained; the version upgrading instruction is generated when determining to upgrade the to-be-upgraded process instance according to the upgrading version process template under the condition that the to-be-processed process link indicated by the upgrading risk information is verified to have risk;
in combination with the description of the corresponding parts of the above embodiments, as in the description of the corresponding contents of step S39-step S311 and the like, when it is determined that the process instance is at risk, the relevant personnel are intuitively informed of the process links to be processed with risk to verify that one or more process environments to be processed are at risk, but version upgrading of the process instance to be upgraded is still required, if the upgrade prompt information is output or not ended, the upgrade button is clicked, the version upgrading instruction for the process instance to be upgraded can be obtained, so that the electronic device knows the upgrade intention of the relevant personnel on the process instance, but the implementation method of step S45 is not limited to the obtaining method described in the embodiment.
Step S46, obtaining risk repair information aiming at a process instance to be upgraded according to the upgrade risk information;
step S47, outputting risk repair information to guide the realization of the modification of the corresponding flow variable information in the to-be-upgraded flow instance, thereby obtaining the to-be-upgraded flow instance without upgrading risk.
In combination with the analysis, in order to guide the user to correctly and quickly realize the upgrade risk repair, the electronic device can determine the to-be-processed process links and the repair content thereof which need to be repaired according to upgrade risk information obtained after the upgrade risk detection of the process instance, generate corresponding risk repair information according to the to-be-processed process links and the repair content thereof, and visually inform related personnel how to modify corresponding process variable information in the to-be-upgraded process instance after outputting the to-be-upgraded process variable information according to a preset mode, thereby reducing the requirements on the professional skills of the related personnel and improving the risk repair efficiency and accuracy.
Referring to fig. 5, a flowchart of a fifth alternative embodiment of a process instance upgrade risk processing method according to the present application may be applied to an electronic device, and in the process instance upgrade risk processing method described above, an alternative refinement implementation method for implementing risk repair in a scenario where it is determined that a process instance upgrade exists is described, and regarding a process of detecting a process instance upgrade risk, reference may be made to the description of the corresponding portion of the above embodiment, which is not described in detail in this embodiment. As shown in fig. 5, the method may include:
Step S51, under the condition that the to-be-upgraded process instance is determined to have risks in upgrading according to the upgrade version process template, corresponding upgrade risk information is output;
step S52, a version upgrading instruction aiming at a to-be-upgraded flow instance is obtained; the version upgrading instruction is generated when determining to upgrade the to-be-upgraded process instance according to the upgrading version process template under the condition that the to-be-processed process link indicated by the upgrading risk information is verified to have risk;
regarding the implementation procedure of step S51 and step S52, reference may be made to the description of the corresponding parts of the above embodiments. Optionally, in the upgrading risk detection scene of the corresponding batch process instances, when the upgrading risk information is displayed, a process instance list with upgrading risk can be displayed, and the risk detail interface displays the upgrading risk information of the corresponding process instances, for example, each process link to be processed with risk is marked by combining the processes, so that maintenance personnel can verify one by one conveniently.
Step S53, obtaining modification guide information of a flow variable used for a flow link to be processed;
step S54, outputting the modification guide information to guide maintenance personnel to modify corresponding flow variable information on an output flow variable configuration interface, so as to obtain a to-be-upgraded flow instance without upgrading risk;
In order to inform maintenance personnel (such as rechecking personnel or application personnel and the like) how to carry out risk repair on a process link to be processed with risk, the application can generate corresponding modification guide information according to the upgrade risk information, and output the modification guide information according to a preset modification guide mode, such as displaying a modification identifier, modification content and the like of a rapid modification process variable on a risk detail interface of the process example, thereby guiding non-professional personnel to complete risk repair and improving risk repair efficiency. The application does not limit the generation mode and the output mode of the modified guide information, and can be determined according to the situation.
Optionally, a risk repair interface for the to-be-upgraded process instance can be directly output in the electronic equipment of the maintainer, different process variable modification identifiers are displayed on the risk repair interface, namely, a quick entry for the maintainer to quickly enter the process variable is provided, and the electronic equipment can also display corresponding process variable modification information on the process variable modification interface according to modification guide information so as to guide the maintainer to trigger the corresponding process variable modification identifier, enter the corresponding process variable modification interface and execute the corresponding process variable modification information, thereby assisting the non-technician to operate the workflow engine and realizing quick and accurate repair of the process instance risk.
Step S55, a process instance upgrading instruction triggered by maintenance personnel is obtained, a to-be-upgraded version process template is called, and the to-be-upgraded process instance without upgrading risk is operated, so that a process instance of an upgraded version is obtained.
After the analysis is performed and the modification of all the process variables to be modified is completed according to the modification guide information, an upgrade function button displayed on the risk repair interface can be triggered, for example, the upgrade function button is clicked, the interface of the process instance upgrade module is called, and the upgrade of the process instance is completed, namely, when all the process variable modification information is confirmed to be executed, an upgrade version process instance aiming at the upgrade version process template is obtained according to the modified process variable information, and the implementation process is not described in detail.
It should be understood that, in the application scenario of upgrading a batch of process instances, after determining that there is a risk in upgrading a plurality of process instances according to the method described above, one or more process instances with risk may be selected, and the upgrading operation of the selected process instance may be completed in the forced upgrading manner, or after clicking to confirm upgrading, all the determined process instances with upgrading risk may be directly upgraded, which is not described in detail in the implementation process of the present application.
It should be noted that the risk repairing mechanism for different process instances, including but not limited to the implementation method described above, may be flexibly adjusted according to the actual situation. In addition, for various problems that cause risks in upgrading each flow instance, classification processing may be performed according to the risk content, for each type of risk problem, according to, but not limited to, the verification process described above, maintenance personnel may choose not to repair, that is, the currently existing risk may be acceptable, the flow instance may be directly determined to be upgraded, and then, a one-key upgrade operation may be used to implement version upgrade of each flow instance having a similar problem, which is not limited to this implementation method.
Referring to fig. 6, a schematic structural diagram of an alternative embodiment of a process example upgrade risk processing apparatus according to the present application, as shown in fig. 6, the apparatus may include:
the process template obtaining module 61 is configured to obtain a current version process template and an upgraded version process template of a process instance to be upgraded;
the risk analysis result obtaining module 62 is configured to perform risk analysis on each flow link in the to-be-upgraded flow instance according to the current version flow template and the upgraded version flow template, so as to obtain a risk analysis result of the corresponding flow link;
An upgrade risk information obtaining module 63, configured to determine, according to the risk analysis result, whether the to-be-upgraded process instance has a risk according to the upgrade version process template, so as to obtain corresponding upgrade risk information;
and an upgrade risk information output module 64, configured to output the upgrade risk information.
Alternatively, the risk analysis result obtaining module 62 may include:
the first determining unit is used for determining whether the process variables used by each process link in the process instance to be upgraded are different or not according to the current version process template and the upgrading version process template;
the first risk information obtaining unit is used for determining the flow variables with the differences and obtaining first risk information of the corresponding flow links;
the second determining unit is used for determining whether the process variables which are not distinguished exist or not according to the association relationship between different process links in the process instance to be upgraded and determining whether the influence results of the process variables used by the process links in the process templates of different versions are different or not;
the second risk information obtaining unit is used for determining the influence result with the difference and obtaining second risk information aiming at the corresponding flow link.
Alternatively, the first determining unit may include:
the comparison analysis unit is used for carrying out different version comparison analysis on each task link, flow branch condition, task timing event and flow variable used by the task reference script which can be executed by the to-be-upgraded flow instance according to the current version flow template and the upgrade version flow template;
the third determining unit is used for determining whether the process variables in the process templates of different versions for the same process link are the same according to the comparison analysis result of the comparison analysis unit;
optionally, the second determining unit may include:
the influence result obtaining unit is used for obtaining an influence result of a process variable used by a preset process link under a corresponding version process template according to the association relation between different process links in the process instance to be upgraded and the current version process template and the upgrading version process template; the preset flow link comprises one or more of a flow branch, a flow branch condition and a task reference script;
and the fourth determining unit is used for determining whether the influence results of the same preset flow link under different version flow templates are different or not.
Optionally, the upgrade risk information obtaining module 63 may include:
a fifth determining unit, configured to determine that, in a case where the process variable that is determined to be different exists, or in a case where the process variable that is determined to be not different exists, but the influence result that is different exists, there is a risk that the process instance to be upgraded is upgraded according to the upgrade version process template;
the upgrade risk information obtaining unit is used for obtaining corresponding upgrade risk information according to the correspondingly obtained first risk information or second risk information.
Optionally, the upgrade risk information obtaining unit may include:
a to-be-processed flow link determining unit, configured to determine, according to the obtained first risk information or the second risk information, a to-be-processed flow link having a risk in the to-be-upgraded flow instance;
the risk prompt information obtaining unit is used for obtaining risk prompt information containing the to-be-processed flow links;
and the risk prompt information output unit is used for outputting the risk prompt information according to a preset output mode so as to prompt whether the to-be-processed flow link has risks according to a preset risk detection standard of the corresponding service.
The apparatus described in connection with the above embodiments may further include:
the version upgrading instruction obtaining module is used for obtaining a version upgrading instruction aiming at the to-be-upgraded process instance; the version upgrading instruction is generated when determining to upgrade the to-be-upgraded process instance according to the upgrade version process template under the condition that the to-be-processed process link indicated by the upgrade risk information is verified to have risk;
the risk repair information obtaining module is used for obtaining risk repair information aiming at the process instance to be upgraded according to the upgrading risk information;
and the risk repair information output module is used for outputting the risk repair information so as to guide the modification of the corresponding flow variable information in the to-be-upgraded flow instance to obtain the to-be-upgraded flow instance without upgrading risk.
Optionally, the risk repair information output module may include:
the modification guide information obtaining unit is used for obtaining modification guide information of the flow variables used for the flow links to be processed;
the modification guide information output unit is used for outputting the modification guide information so as to guide maintenance personnel to modify corresponding flow variable information at an output flow variable configuration interface and obtain a flow instance to be upgraded without upgrading risk;
And the upgrade processing unit is used for obtaining a process instance upgrade instruction triggered by the maintainer, calling the process template of the version to be upgraded, and operating the process instance to be upgraded without upgrade risk to obtain the process instance of the upgraded version.
Alternatively, the modification guidance information output unit may include:
the risk repair interface output unit is used for outputting a risk repair interface aiming at the to-be-upgraded process instance, and displaying different process variable modification identifiers on the risk repair interface;
the guiding processing unit is used for displaying corresponding flow variable modification information on the flow variable modification interface according to the modification guiding information so as to guide maintenance personnel to trigger the corresponding flow variable modification identifier, enter the corresponding flow variable modification interface and execute the corresponding flow variable modification information;
and the upgrade version flow instance obtaining unit is used for determining and executing all the flow variable modification information and obtaining an upgrade version flow instance aiming at the upgrade version flow template according to the modified flow variable information.
It should be noted that, regarding the various modules, units, and the like in the foregoing embodiments of the apparatus, the various modules and units may be stored as program modules in a memory of an electronic device, the program modules stored in the memory may be executed by a processor to implement corresponding functions, or may be implemented by a combination of the program modules and hardware, and regarding the functions implemented by each program module and a combination thereof, and the achieved technical effects, the processing procedures described on the server side of the production environment of the foregoing embodiments may be referred to, which will not be described in detail.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, the computer program is loaded and executed by processors of different devices in the system, and each step of the process instance upgrade risk processing method provided by the application is implemented, and the specific implementation process can refer to the description of the corresponding parts of the above embodiment, which is not repeated.
Referring to fig. 7, a schematic hardware structure of an alternative embodiment of an electronic device suitable for the process example upgrade risk processing method according to the present application, where the electronic device may be a server or a service terminal such as a smart phone, a tablet computer, a personal computer (personal computer, PC), a netbook, an augmented Reality (Augmented Reality, AR) device, a Virtual Reality (VR) device, a robot, a desktop computer, etc., and the present application does not limit a product type of the electronic device, as shown in fig. 7, the electronic device may include at least one memory 71 and at least one processor 72, where:
the at least one memory 71 and the at least one processor 72 may be connected via a bus or other communication means for data transfer between each other, the application being illustrated by way of example only as shown in fig. 7. The buses may include address buses, data buses, control buses, etc., which are not shown in fig. 7, and may be determined according to actual requirements, and the present application is not described in detail.
The memory 71 may be used to store program codes for implementing the process instance upgrade risk processing method proposed by the embodiment of the present application; the processor 72 may be configured to load and execute the program code stored in the memory 71 to implement the method for processing a risk of upgrading a flow instance according to the embodiment of the present application, and the implementation process may be referred to above in the description of the corresponding embodiment.
In embodiments of the present application, memory 71 may comprise high-speed random access memory, and may also comprise non-volatile memory, such as at least one magnetic disk storage device or other volatile solid-state storage device. The processor 72 may be a central processing unit (Central Processing Unit, CPU), application-specific integrated circuit (ASIC), digital Signal Processor (DSP), application-specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA), or other programmable logic device, etc. The structure and the model of the memory 71 and the processor 72 are not limited, and can be flexibly adjusted according to actual requirements.
In practical applications, in order to realize communication connection between the electronic device and other devices, such as a service terminal, a database, or other servers, the electronic device may further include a wireless communication module capable of implementing data interaction by using a wireless communication network, such as a WIFI module, a 5G/6G (fifth generation mobile communication network/sixth generation mobile communication network) module, a GPRS module, and the like; or a wired communication module, etc., the application does not limit the communication modes among different devices, and the application can be determined according to the situation. It should be understood that, in order to implement communication between different components in the server, a communication interface such as a USB interface, a serial/parallel interface, etc. may be further included, which is not described in detail in the present application.
It should be understood that the structure of the electronic device shown in fig. 7 is not limited to the electronic device in the embodiment of the present application, and in practical application, the electronic device may include more components than those shown in fig. 7, or may be combined with at least one input/output component such as a display screen, a microphone, a pickup, a mouse, a keyboard, a power management module, various sensor modules, and the like, which are not specifically recited herein.
It should be noted that, the method, the device and the electronic device for processing the upgrade risk of the process instance described in the embodiments of the present application may be applied to the financial field, the cloud computing field, the internet of things field, or other communication fields, which are just examples, and the method, the device and the application field of the electronic device for processing the upgrade risk of the process instance provided in the present application are not limited.
In addition, as used in this disclosure, an "apparatus," "unit," and/or "module" is one way to distinguish between different components, elements, parts, portions, or assemblies at different levels. However, if other words can achieve the same purpose, the word can be replaced by other expressions. As used herein, the terms "a," "an," "the," and/or "the" are not specific to the singular, but may include the plural, unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that the steps and elements are explicitly identified, and they do not constitute an exclusive list, as other steps or elements may be included in a method or apparatus. The inclusion of an element defined by the phrase "comprising one … …" does not exclude the presence of additional identical elements in a process, method, article, or apparatus that comprises an element.
Also, in the description of the embodiments of the present application, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In addition, various embodiments in the present specification are described in a progressive or parallel manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the various embodiments are mutually referred. For the device and the electronic equipment disclosed by the embodiment, the description is relatively simple because the device and the electronic equipment correspond to the method disclosed by the embodiment, and the relevant parts refer to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the particular solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for processing a risk of upgrading a process instance, the method comprising:
obtaining a current version flow template of a flow instance to be upgraded and an upgraded version flow template;
according to the current version flow template and the upgrading version flow template, performing risk analysis on each flow link in the flow instance to be upgraded to obtain a risk analysis result of the corresponding flow link;
determining whether the to-be-upgraded process instance has risks according to the upgrade version process template according to the risk analysis result, and obtaining corresponding upgrade risk information;
And outputting the upgrade risk information.
2. The method of claim 1, wherein performing risk analysis on each process link in the process instance to be upgraded according to the current version process template and the upgrade version process template to obtain a risk analysis result of the corresponding process link, includes:
determining whether the process variables used by each process link in the process instance to be upgraded are different or not according to the current version process template and the upgrading version process template;
determining the flow variables with the differences, and obtaining first risk information of the corresponding flow links;
determining whether the process variables which are not distinguished exist or not according to the association relationship between different process links in the process instance to be upgraded, and determining whether the influence results of the process variables used by the process links in the process templates of different versions are distinguished or not;
and determining the influence result with the difference, and obtaining second risk information aiming at the corresponding flow link.
3. The method of claim 2, wherein determining whether there is a difference between the process variables used by the process links in the process instance to be upgraded according to the current version process template and the upgrade version process template comprises:
According to the current version flow template and the upgrading version flow template, carrying out different version comparison analysis on each task link, flow branching conditions, task timing events and flow variables used by a task reference script which can be executed by the to-be-upgraded flow instance, and determining whether the flow variables in the different version flow templates are the same for the same flow link;
determining whether the influence results of the process variables used by the process links in the process templates of different versions are different according to the association relationship between the process links in the process instance to be upgraded comprises the following steps:
obtaining an influence result of a process variable used by a preset process link under a corresponding version process template according to the association relation between different process links in the process instance to be upgraded and the current version process template and the upgrading version process template; the preset flow link comprises one or more of a flow branch, a flow branch condition and a task reference script;
determining whether the influence results of the same preset flow link under different version flow templates are different or not.
4. The method of claim 2, wherein determining, according to the risk analysis result, whether the to-be-upgraded process instance has a risk according to the to-be-upgraded version process template to obtain corresponding upgrade risk information includes:
Determining that the process instance to be upgraded has risk according to the upgrading version process template under the condition that the process variable with distinction is determined or the process variable without distinction is determined, but the influence result with distinction is obtained;
and obtaining corresponding upgrading risk information according to the correspondingly obtained first risk information or second risk information.
5. The method of claim 4, wherein the obtaining the corresponding upgrade risk information according to the first risk information or the second risk information obtained respectively, and outputting the upgrade risk information, comprises:
determining a to-be-processed flow link with risk in the to-be-upgraded flow instance according to the obtained first risk information or the second risk information;
acquiring risk prompt information containing the flow links to be processed;
and outputting the risk prompt information according to a preset output mode to prompt whether the to-be-processed flow link has risks according to preset risk detection standards of corresponding services.
6. The method according to any one of claims 1-5, further comprising:
Obtaining a version upgrading instruction aiming at the process instance to be upgraded; the version upgrading instruction is generated when determining to upgrade the to-be-upgraded process instance according to the upgrade version process template under the condition that the to-be-processed process link indicated by the upgrade risk information is verified to have risk;
acquiring risk repair information aiming at the process instance to be upgraded according to the upgrade risk information;
and outputting the risk repair information to guide the modification of the corresponding flow variable information in the to-be-upgraded flow instance to obtain the to-be-upgraded flow instance without upgrading risk.
7. The method of claim 6, wherein the obtaining risk repair information for the process instance to be upgraded according to the upgrade risk information, and outputting the risk repair information, comprises:
obtaining modification guide information of a flow variable used for the flow link to be processed;
outputting the modification guide information to guide maintenance personnel to modify corresponding flow variable information at an output flow variable configuration interface so as to obtain a flow instance to be upgraded without upgrading risk;
and acquiring a process instance upgrading instruction triggered by the maintainer, calling the process template of the version to be upgraded, and operating the process instance to be upgraded without upgrading risk to acquire the process instance of the upgraded version.
8. The method of claim 7, wherein the outputting the modified guidance information comprises:
outputting a risk restoration interface aiming at the to-be-upgraded process instance, and displaying different process variable modification identifiers on the risk restoration interface;
displaying corresponding flow variable modification information on the flow variable modification interface according to the modification guide information so as to guide maintenance personnel to trigger corresponding flow variable modification identifiers, enter the corresponding flow variable modification interface and execute corresponding flow variable modification information;
and determining to execute all the flow variable modification information, and obtaining an upgrade version flow instance aiming at the upgrade version flow template according to the modified flow variable information.
9. A process instance upgrade risk processing apparatus, the apparatus comprising:
the process template obtaining module is used for obtaining a current version process template and an upgrade version process template of a process instance to be upgraded;
the risk analysis result obtaining module is used for carrying out risk analysis on each flow link in the flow instance to be upgraded according to the current version flow template and the upgrading version flow template to obtain a risk analysis result of the corresponding flow link;
The upgrade risk information obtaining module is used for determining whether the to-be-upgraded process instance is at risk according to the upgrade version process template according to the risk analysis result, and obtaining corresponding upgrade risk information;
and the upgrade risk information output module is used for outputting the upgrade risk information.
10. An electronic device, the electronic device comprising: at least one memory and at least one processor, wherein:
the memory for storing program code for implementing the process instance upgrade risk processing method according to any one of claims 1-8;
the processor is configured to load and execute the program code stored in the memory, and implement the process instance upgrade risk processing method according to any one of claims 1-8.
CN202311115457.2A 2023-08-31 2023-08-31 Method and device for processing upgrading risk of process instance and electronic equipment Pending CN116932007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311115457.2A CN116932007A (en) 2023-08-31 2023-08-31 Method and device for processing upgrading risk of process instance and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311115457.2A CN116932007A (en) 2023-08-31 2023-08-31 Method and device for processing upgrading risk of process instance and electronic equipment

Publications (1)

Publication Number Publication Date
CN116932007A true CN116932007A (en) 2023-10-24

Family

ID=88389911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311115457.2A Pending CN116932007A (en) 2023-08-31 2023-08-31 Method and device for processing upgrading risk of process instance and electronic equipment

Country Status (1)

Country Link
CN (1) CN116932007A (en)

Similar Documents

Publication Publication Date Title
US9524229B2 (en) Testing coordinator
CN109582301B (en) Service processing method, device, equipment and medium based on task scheduling system
US11340870B2 (en) Software release workflow management
US8549483B1 (en) Engine for scalable software testing
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
US20170220324A1 (en) Data communication accelerator system
CN111045935A (en) Automatic version auditing method, device, equipment and storage medium
CN113392002A (en) Test system construction method, device, equipment and storage medium
CN110737426B (en) Program block creating method, program block creating device, computer equipment and storage medium
CN112748950A (en) Software code examination method and device
CN116069334B (en) Cloud-protogenesis-based online development and code hosting method and system
CN116599881A (en) Cloud platform tenant modeling test method, device, equipment and storage medium
CN116932007A (en) Method and device for processing upgrading risk of process instance and electronic equipment
CN114942887A (en) Program safety testing method, device, equipment and medium
US11113105B1 (en) Computer implemented system and method for generating platform agnostic digital worker
CN115934559A (en) Testing method of intelligent form testing system
KR20120111618A (en) Apparatus and method for testing plc command
CN117667643A (en) Evolution method and device of test case set, computing device cluster and storage medium
KR20200000684A (en) Test unified administration system and Controlling Method for the Same
US11740995B2 (en) Source quality check service
CN114115628A (en) U shield display information acquisition method, device, equipment, medium and program product applied to U shield test
CN115237743A (en) Code processing method, system, cluster, medium and program product
CN111881025A (en) Automatic test task scheduling method, device and system
KR102668341B1 (en) Method for managing interface, interface governance system, and a storage medium storing a computer-executable program to manage the interface
CN112000366B (en) System parameter configuration method and device based on code generator

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