CN114004592A - Application approval process control method, device, equipment and storage medium - Google Patents

Application approval process control method, device, equipment and storage medium Download PDF

Info

Publication number
CN114004592A
CN114004592A CN202111277736.XA CN202111277736A CN114004592A CN 114004592 A CN114004592 A CN 114004592A CN 202111277736 A CN202111277736 A CN 202111277736A CN 114004592 A CN114004592 A CN 114004592A
Authority
CN
China
Prior art keywords
approval
branch
node
executed
state
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
CN202111277736.XA
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111277736.XA priority Critical patent/CN114004592A/en
Publication of CN114004592A publication Critical patent/CN114004592A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project 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/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes

Landscapes

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

Abstract

According to the application approval process control method, device, equipment and storage medium, after the execution branch approval process of a main process is detected to be in a passing state, at least two initial approval nodes of the branch approval process are created on the current node of the main process according to a general configuration file; determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node; if the execution state of the approval node executed in one branch approval process is detected to be in a failure state, and the number of the branch approval processes currently executed is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process. By adopting the technical scheme, the branch approval process can be effectively managed, and the efficiency and the practicability of process operation are improved.

Description

Application approval process control method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of process engine technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling an application approval process.
Background
At present, the flows of flow engines in most financial fields are bidirectional single-branch flows, operations such as starting the flow, submitting a next flow node, returning to a previous flow node, ending the flow and the like are involved in the circulation process, the operations are very convenient for the bidirectional single-branch flow, and the control on the flow can be achieved by only modifying a single state bit.
However, when the employee channel application process is involved, a plurality of branches are required to operate, the bidirectional single-branch process cannot meet the current requirement, and the management of the branch application process is disordered.
Therefore, there is a need for an application approval process control method that can effectively manage branch approval processes and improve the efficiency and practicability of process operation.
Disclosure of Invention
The application approval process control method, device, equipment and storage medium can effectively manage branch approval processes and improve the efficiency and practicability of process operation.
In a first aspect, the present application provides a method for controlling an application approval process, including:
after detecting that the execution state of the main flow is the execution branch approval flow in the passing state, creating at least two initial approval nodes of the branch approval flows on the current node of the main flow according to the total configuration file;
determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node;
if the execution state of the approval node executed in one branch approval process is detected to be in a failure state, and the number of the branch approval processes currently executed is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process.
Optionally, if it is detected that the execution state of the approval node executed in one of the branch approval processes is in a failed state, and the number of the branch approval processes currently being executed is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process, where the deleting includes:
comparing the consistency of the state codes of the approval nodes executed in each branch approval process and the state codes of the corresponding approval nodes of the sub-configuration files in the corresponding branch approval process in the state of failing to pass to obtain a comparison result;
if the comparison result representation state codes in any branch approval process are consistent, determining that the execution state of the approval nodes executed in the branch approval process is in an failed state, deleting all current branch approval processes, and returning to the current node of the main process.
Optionally, the method further includes:
and if the execution state of the termination approval node executed in each branch approval process is detected to be in a passing state, merging the branch approval processes into the main process so as to execute the next approval node of the main process.
Optionally, the method further includes:
and when the execution state of the branch approval process is detected to be the next approval node under the passing state, executing the next approval node of the branch approval process according to the distribution configuration file.
Optionally, the method further includes:
and returning the current approval node to the preset executed node in the main flow according to the general configuration file when the execution state of the main flow is detected to be returning the preset executed approval node.
In a second aspect, the present application provides an application approval process control apparatus, comprising:
the system comprises a creation module, a verification module and a verification module, wherein the creation module is used for creating at least two initial approval nodes of the branch approval process on the current node of the main process according to a total configuration file after detecting that the execution state of the main process is the execution branch approval process in a passing state;
the determining module is used for determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process and executing each approval node;
and the returning module is used for deleting all the current branch approval processes and returning to the current node of the main process if the execution state of the approval node executed in one branch approval process is detected to be in a failed state and the number of the currently executed branch approval processes is greater than one.
Optionally, the rewinding module includes:
the comparison unit is used for comparing the consistency of the state codes of the approval nodes executed in each branch approval process and the state codes of the corresponding approval nodes of the sub-configuration files in the corresponding branch approval process in the state of failing to pass, so as to obtain a comparison result;
and the returning unit is used for determining that the execution state of the approval node executed in the branch approval process is in a failed state if the comparison result representation state code in any branch approval process is consistent, deleting all the current branch approval processes, and returning to the current node of the main process.
Optionally, the apparatus further comprises:
and the merging module is used for merging the branch approval processes to the main process so as to execute the next approval node of the main process if the execution state of the termination approval node executed in each branch approval process is detected to be in a passing state.
Optionally, the apparatus further comprises:
and the execution module is used for executing the next approval node of the branch approval process according to the distribution configuration file when detecting that the execution state of the branch approval process is the next approval node in the passing state.
Optionally, the apparatus further comprises:
and the returning module is used for returning the current approval node to the preset executed node in the main flow according to the general configuration file when the execution state of the main flow is detected to be that the preset executed approval node is returned.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method of any one of the second aspects when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of the first aspect.
According to the application approval process control method, device, equipment and storage medium, after the execution branch approval process of a main process is detected to be in a passing state, at least two initial approval nodes of the branch approval process are created on the current node of the main process according to a general configuration file; determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node; if the execution state of the approval node executed in one branch approval process is detected to be in a failure state, and the number of the branch approval processes currently executed is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process. By adopting the technical scheme, the branch approval process can be effectively managed, and the efficiency and the practicability of process operation are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flow chart illustrating a method for controlling an approval process according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a method for controlling an approval process according to a second embodiment of the present application;
FIG. 3 is a schematic diagram of a main process and a branch approval process provided according to the second embodiment of the present application;
FIG. 4 is a schematic diagram of an application approval process control apparatus according to a third embodiment of the present application;
FIG. 5 is a schematic diagram of an application approval process control apparatus according to the fourth embodiment of the present application;
fig. 6 is a block diagram illustrating a terminal device according to an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terms referred to in this application are explained first:
main flow: the method refers to a main process in the application approval process, and is a process node which must be passed through each application.
Branch approval process: the process branches are flow branches requiring different level departments to examine and approve in the application and approval process, the number of the branch examination and approval flows can be two or more than three, the branch examination and approval flows can be set according to different use scenes, and the priorities of the different branch examination and approval flows are in the same level.
The total configuration file: the file contains the execution states of the approval node and the execution node of the main flow.
Initial approval node: refers to a node through which a branch approval process is divided by a main process.
According to the specific application scenario, in a bank system, employees submit personal examination and approval tickets or project examination and approval tickets through the system, at present, the employees are usually coordinated among different departments manually, and the employees among the different departments can sign the tickets through the form of table signing under the line, so that the signing conditions among the different departments can be counted on line through a branch flow mode.
The application approval process control method provided by the application aims at solving the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of an application approval process control method according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, after detecting that the execution state of the main process is the execution branch approval process in the passing state, creating at least two initial approval nodes of the branch approval process on the current node of the main process according to the total configuration file.
Illustratively, the execution state is divided into a pass state, a fail state, and a fall back to a preset executed approval node state. The passing state is divided into an execution branch approval process state and an execution next approval node state.
If the execution state of the main process is detected to be the execution branch approval process state in the passing state, the execution of the single main process is switched to the execution of at least two branch approval processes. And after detecting that the execution state of the main process is the branch approval process and acquiring a total configuration file in the main process, creating the initial approval node on the current node of the main process according to the initial approval nodes of at least two branch approval processes in the total configuration file. For example, if it is detected that the current node of the main flow is distributed to different departments, and it is detected that the execution state of the main flow at the current node is the branch approval process, and the number of the branch approval processes to be executed is 4, the initial approval nodes of the 4 branch approval processes are obtained according to the total configuration file. Further, the initial approval nodes are respectively department assignor a, department assignor B, department assignor C and department assignor D, and then the current nodes are assigned to different departments to create 4 initial approval nodes of branch approval flows.
S102, determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node.
Illustratively, each branch approval process contains an assignment profile. The distribution configuration file comprises names of each approval node and different approval nodes in the branch approval process. For example, the number of the branch approval processes is 4, and the branch approval processes may be a branch approval process a, a branch approval process B, a branch approval process C, and a branch approval process D, and accordingly, the branch approval process a corresponds to the distribution profile a, the branch approval process B corresponds to the distribution profile B, the branch approval process C corresponds to the distribution profile C, and the branch approval process D corresponds to the distribution profile D. The names of the examination and approval nodes in the branch examination and approval process A can be determined to be department assignor A, department executor A and department auditor A according to the distribution configuration file A, and after the examination and approval nodes in the branch examination and approval process A are determined, the corresponding examination and approval nodes are executed. Similarly, according to the distribution configuration file B, the names of the approval nodes in the branch approval process B can be determined as department distributor B, department executor B and department auditor B, and after the approval nodes in the branch approval process B are determined, the corresponding approval nodes are executed. The processes of the branch approval process C and the branch approval process D are similar, and are not described herein again.
And S103, if the execution state of the approval node executed in one branch approval process is detected to be in a failure state and the number of the currently executed branch approval processes is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process.
For example, if it is detected that the execution state of the approval node executed in one branch approval process is in a failed state, it indicates that the branch approval process cannot be continuously executed, and the other branch approval processes should be suspended. Therefore, if the number of currently executed branch approval processes is greater than one, all current branch processes are deleted and returned to the current node of the main process. The reason for this is that when the approval of the project is submitted, a plurality of departments are generally required to take charge of different modules of the project, and when one department cannot complete one module of the project, the project cannot be completed at present. Under the condition, the significance of the approval process is not large through other departments, when the approval node of one department does not pass, the approval nodes of all the departments are returned to the current node of the main process, the time can be saved, meanwhile, unnecessary human resources are prevented from being wasted, and further, the working efficiency is improved.
According to the application approval process control method, device, equipment and storage medium, after the execution branch approval process of the main process is detected to be in the passing state, at least two initial approval nodes of the branch approval process are created on the current node of the main process according to the total configuration file; determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node;
and if the execution state of the approval node executed in one branch approval process is detected to be in a failure state and the number of the currently executed branch approval processes is greater than one, deleting all the current branch approval processes, and returning to the current node of the main process. By adopting the technical scheme, the branch approval process can be effectively managed, and the efficiency and the practicability of process operation are improved.
Fig. 2 is a schematic flow chart of an application approval flow control method according to a second embodiment of the present application. The second embodiment comprises the following steps:
s201, after detecting that the execution state of the main process is the execution branch approval process in the passing state, creating at least two initial approval nodes of the branch approval process on the current node of the main process according to the total configuration file.
For example, this step may refer to step S101 described above, and is not described again.
S202, determining each approval node of each branch approval process according to the distribution configuration file of each branch approval process, and executing each approval node.
For example, this step may refer to step S102 described above, and is not described again.
S203, comparing the consistency of the state codes of the approval nodes executed in each branch approval process and the state codes of the corresponding approval nodes in the corresponding branch approval process in the failure state of the configuration file, and obtaining a comparison result.
Illustratively, the status code of the passing status and the status code of the failing status are different. The status code is a character with a preset number of digits, and the character can be a number or a letter. The status codes of the approval nodes in different distribution profiles are also different. For example, if the status code of the first approval node in the passing state in the distribution file a is 001, and the status code of the first approval node in the failing state in the distribution file a is 002, the status code of the first approval node executed in the branch approval process a is compared with the status code of the first approval node of the distribution file a in the branch approval process a, and a comparison result is obtained.
And S204, if the comparison result representation state codes in any branch approval process are consistent, determining that the execution state of the approval nodes executed in the branch approval process is in a failed state, deleting all current branch approval processes, and returning to the current node of the main process.
For example, if the state code of the first approval node executed by the branch approval process a is 002, the first approval node of the branch approval process a is in a failed state. And if the currently executed branch approval process is a branch approval process A, a branch approval process B, a branch approval process C and a branch approval process D, deleting the branch approval process A, the branch approval process B, the branch approval process C and the branch approval process D, and then returning to the current node of the main process.
And S205, if the execution state of the termination approval node executed in each branch approval process is detected to be in a passing state, merging the branch approval processes into the main process so as to execute the next approval node of the main process.
For example, if it is detected that the termination approval node executed in each branch approval process is in a pass state, which indicates that each branch approval process is completed, the branch approval processes may be merged into the main process, so that the main process executes the next node.
Specifically, referring to a schematic diagram of a main process and a branch approval process shown in fig. 3, a first approval node of the main process is a total executive, a second approval node is a total auditor, a third approval node is assigned to different departments, the number of branch approval processes is 3, the first approval node in the branch approval process a is a department assignor a, the second approval node is a department executive a, and the third approval node is a department auditor a; a first examination and approval node in the branch examination and approval process B is a department distributor B, a second examination and approval node is a department executor B, and a third examination and approval node is a department reviewer B; and a first examination and approval node in the branch examination and approval process C is a department distributor C, a second examination and approval node is a department executor C, a third examination and approval node is a department reviewer C, and the last examination and approval node of the main process is the end.
Optionally, the method further comprises:
and when the execution state of the branch approval process is detected to be the next approval node under the passing state, executing the next approval node of the branch approval process according to the distribution configuration file.
For example, if the execution state of the branch approval process is the next approval node executed in the pass state, the next approval node is searched in the distribution file, and it should be noted that at least one user may obtain the authority of the approval node, but after one user obtains the authority of the approval node, other users cannot obtain the approval node.
Optionally, the method further comprises:
and returning the current approval node to the executed node preset in the main flow according to the total configuration file when the execution state of the main flow is detected to be returning the preset executed approval node.
For example, the returned preset executed approval node may be the last approval node of the current approval node, or may be the last two approval nodes of the current approval node. And returning the current approval node to an approval node in the main process according to the total configuration file.
According to the application approval process control method, device, equipment and storage medium, after the execution branch approval process of the main process is detected to be in the passing state, at least two initial approval nodes of the branch approval process are created on the current node of the main process according to the total configuration file; comparing the consistency of the state codes of the approval nodes executed in each branch approval process and the state codes of the corresponding approval nodes in the corresponding branch approval process in the state of failing to pass the configuration file to obtain a comparison result; if the comparison result representation state codes in any branch approval process are consistent, determining that the execution state of the approval nodes executed in the branch approval process is in a failed state, deleting all current branch approval processes, and returning to the current node of the main process; and if the execution state of the termination approval node executed in each branch approval process is detected to be in a passing state, merging the branch approval processes into the main process so as to execute the next approval node of the main process.
By adopting the technical scheme, when the branch approval process has a problem, the branch approval process can be returned to the main process approval node, so that the waste of time caused by the problem of one approval node in the branch approval process can be avoided, and the working efficiency can be improved.
Fig. 4 is a schematic diagram of an application approval process control device according to a third embodiment of the present application. The apparatus 40 in the third embodiment includes:
the creating module 401 is configured to create, after detecting that the execution state of the main flow is an execution branch approval flow in a passing state, an initial approval node of at least two branch approval flows on a current node of the main flow according to the total configuration file.
A determining module 402, configured to determine each approval node of each branch approval process according to the distribution profile of each branch approval process, and execute each approval node.
A returning module 403, configured to delete all current branch approval flows and return to the current node of the main flow if it is detected that the execution state of the approval node executed in one branch approval flow is in a failed state and the number of the branch approval flows currently being executed is greater than one.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 5 is a schematic diagram of an application approval process control device according to the fourth embodiment of the present application. The apparatus 50 according to the fourth embodiment includes:
the creating module 501 is configured to, after detecting that the execution state of the main flow is an execution branch approval flow in a passing state, create at least two initial approval nodes of the branch approval flows on a current node of the main flow according to the total configuration file.
The determining module 502 is configured to determine each approval node of each branch approval process according to the distribution profile of each branch approval process, and execute each approval node.
A returning module 503, configured to delete all current branch approval flows and return to the current node of the main flow if it is detected that the execution state of the approval node executed in one branch approval flow is in a failed state and the number of the currently executed branch approval flows is greater than one.
Optionally, the returning module 503 includes:
a comparing unit 5031, configured to compare consistency between the status code of the approval node executed in each branch approval process and the status code of the corresponding approval node in the failed status in the corresponding branch approval process of the configuration file, so as to obtain a comparison result;
a returning unit 5032, configured to determine that the execution state of the approval node executed in the branch approval process is in a failed state if the comparison result characterization status code in any branch approval process is consistent, delete all current branch approval processes, and return to the current node of the main process.
Optionally, the apparatus further comprises:
the merging module 504 is configured to merge the branch approval flows into the main flow to execute a next approval node of the main flow if it is detected that the execution state of the termination approval node executed in each branch approval flow is in a pass state.
Optionally, the apparatus further comprises:
and the executing module 505 is configured to execute the next approval node of the branch approval process according to the distribution configuration file when it is detected that the executing state of the branch approval process is the passing state.
Optionally, the apparatus further comprises:
and a returning module 506, configured to return the current approval node to the executed node preset in the main flow according to the general configuration file when it is detected that the execution state of the main flow is that the preset executed approval node is returned.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Fig. 6 is a block diagram illustrating a terminal device, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., according to one exemplary embodiment.
Apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal device, enable the terminal device to execute a method for controlling an application approval process of the terminal device.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1.一种申请审批流程控制方法,其特征在于,所述方法包括:1. an application approval process control method, is characterized in that, described method comprises: 在检测到主流程的执行状态为通过状态下的执行分支审批流程后,根据总配置文件在所述主流程的当前节点上创建至少两个分支审批流程的起始审批节点;After detecting that the execution state of the main process is the execution branch approval process in the pass state, create at least two starting approval nodes of the branch approval process on the current node of the main process according to the general configuration file; 根据每一个所述分支审批流程的分配置文件,确定每一个分支审批流程的每一个审批节点,并执行所述每一个审批节点;According to the sub-configuration file of each branch approval process, determine each approval node of each branch approval process, and execute each approval node; 若检测到一个所述分支审批流程中所执行的审批节点的执行状态处于未通过状态,且当前正在执行的所述分支审批流程的数量大于一,则将当前所有的所述分支审批流程删除后,并重回至所述主流程的当前节点。If it is detected that the execution status of the approval node executed in one of the branch approval processes is in the failed state, and the number of the currently executing branch approval processes is greater than one, delete all the current branch approval processes , and return to the current node of the main process. 2.根据权利要求1所述的方法,其特征在于,若检测到一个所述分支审批流程中所执行的审批节点的执行状态处于未通过状态,且当前正在执行的所述分支审批流程的数量大于一,则将当前所有的所述分支审批流程删除后,并重回至所述主流程的当前节点,包括:2 . The method according to claim 1 , wherein, if it is detected that the execution status of an approval node executed in the branch approval process is in a failed state, and the number of the branch approval process currently being executed is detected. 3 . If it is greater than one, delete all the current branch approval processes and return to the current node of the main process, including: 比对每一个所述分支审批流程中所执行的审批节点的状态码、以及与其对应的所述分支审批流程中所述分配置文件的相应审批节点处于未通过状态的状态码两者的一致性,得到比对结果;Compare the consistency between the status code of the approval node executed in each of the branch approval processes and the status code that the corresponding approval node of the sub-configuration file in the corresponding branch approval process is in the failed state , get the comparison result; 若存在任一分支审批流程中的比对结果表征状态码一致,则确定所述分支审批流程中所执行的审批节点的执行状态处于未通过状态,则将当前所有的所述分支审批流程删除后,并重回至所述主流程的当前节点。If the comparison result in any branch approval process indicates the same status code, it is determined that the execution status of the approval node executed in the branch approval process is in the failed state, and all the current branch approval processes are deleted after the , and return to the current node of the main process. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises: 若检测到每一个所述分支审批流程中所执行的终止审批节点的执行状态均处于通过状态,则将所述分支审批流程合并至所述主流程,以便执行所述主流程的下一审批节点。If it is detected that the execution status of each termination approval node executed in the branch approval process is in the passed state, the branch approval process is merged into the main process, so as to execute the next approval node of the main process . 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 在检测到所述分支审批流程的执行状态为通过状态下的执行下一审批节点,则根据所述分配置文件执行所述分支审批流程的下一审批节点。When it is detected that the execution state of the branch approval process is the execution of the next approval node in the pass state, the next approval node of the branch approval process is executed according to the sub-configuration file. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括:5. The method according to claim 1, wherein the method further comprises: 在检测到所述主流程的执行状态为退回预设的已执行审批节点,则根据所述总配置文件将当前审批节点退回至所述主流程中所述预设的已执行节点。When it is detected that the execution status of the main process is returning to the preset executed approval node, the current approval node is returned to the preset executed node in the main process according to the general configuration file. 6.一种申请审批流程控制装置,其特征在于,所述装置包括:6. An application approval process control device, wherein the device comprises: 创建模块,用于在检测到主流程的执行状态为通过状态下的执行分支审批流程后,根据总配置文件在所述主流程的当前节点上创建至少两个分支审批流程的起始审批节点;The creation module is configured to create at least two starting approval nodes of the branch approval process on the current node of the main process according to the general configuration file after detecting that the execution state of the main process is the execution branch approval process in the pass state; 确定模块,用于根据每一个所述分支审批流程的分配置文件,确定每一个分支审批流程的每一个审批节点,并执行所述每一个审批节点;a determination module, configured to determine each approval node of each branch approval process according to the sub-configuration file of each of the branch approval processes, and execute each approval node; 重回模块,用于若检测到一个所述分支审批流程中所执行的审批节点的执行状态处于未通过状态,且当前正在执行的所述分支审批流程的数量大于一,则将当前所有的所述分支审批流程删除后,并重回至所述主流程的当前节点。Returning to the module, if it is detected that the execution status of an approval node executed in the branch approval process is in the failed state, and the number of the branch approval processes currently being executed is greater than one, then all current After the branch approval process is deleted, it returns to the current node of the main process. 7.根据权利要求6所述的装置,其特征在于,所述重回模块,包括:7. The apparatus according to claim 6, wherein the return module comprises: 比对单元,用于比对每一个所述分支审批流程中所执行的审批节点的状态码、以及与其对应的所述分支审批流程中所述分配置文件的相应审批节点处于未通过状态的状态码两者的一致性,得到比对结果;A comparison unit, configured to compare the status codes of the approval nodes executed in each of the branch approval processes, and the corresponding approval nodes of the sub-configuration files in the branch approval process corresponding to the status codes that are in the failed state The consistency of the two codes is obtained, and the comparison result is obtained; 重回单元,用于若存在任一分支审批流程中的比对结果表征状态码一致,则确定所述分支审批流程中所执行的审批节点的执行状态处于未通过状态,则将当前所有的所述分支审批流程删除后,并重回至所述主流程的当前节点。The return unit is used to determine that the execution status of the approval node executed in the branch approval process is in the failed state if the comparison result in any branch approval process is consistent with the state code, then all the current After the branch approval process is deleted, it returns to the current node of the main process. 8.一种电子设备,其特征在于,包括:处理器,以及与所述处理器通信连接的存储器;8. An electronic device, comprising: a processor, and a memory communicatively connected to the processor; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1-5中任一项所述的方法。The processor executes computer-implemented instructions stored in the memory to implement the method of any of claims 1-5. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1-5中任一项所述的方法。9. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used to implement any one of claims 1-5. method described in item. 10.一种计算机程序产品,其特征在于,包括计算机程序,该计算机程序被处理器执行时实现如权利要求1-5中任一项所述的方法。10. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1-5.
CN202111277736.XA 2021-10-29 2021-10-29 Application approval process control method, device, equipment and storage medium Pending CN114004592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111277736.XA CN114004592A (en) 2021-10-29 2021-10-29 Application approval process control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111277736.XA CN114004592A (en) 2021-10-29 2021-10-29 Application approval process control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114004592A true CN114004592A (en) 2022-02-01

Family

ID=79925713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111277736.XA Pending CN114004592A (en) 2021-10-29 2021-10-29 Application approval process control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114004592A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011150504A (en) * 2010-01-21 2011-08-04 Hitachi Ltd Computer system, method and program for controlling workflow
CN103413205A (en) * 2013-08-26 2013-11-27 国家电网公司 Quick develop and design method and device for SAP workflow
CN108171468A (en) * 2017-12-15 2018-06-15 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data processing
CN111047282A (en) * 2019-11-26 2020-04-21 北京天元创新科技有限公司 Method and device for executing approval process
CN111882294A (en) * 2020-07-09 2020-11-03 泰康保险集团股份有限公司 Process approval method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011150504A (en) * 2010-01-21 2011-08-04 Hitachi Ltd Computer system, method and program for controlling workflow
CN103413205A (en) * 2013-08-26 2013-11-27 国家电网公司 Quick develop and design method and device for SAP workflow
CN108171468A (en) * 2017-12-15 2018-06-15 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of data processing
CN111047282A (en) * 2019-11-26 2020-04-21 北京天元创新科技有限公司 Method and device for executing approval process
CN111882294A (en) * 2020-07-09 2020-11-03 泰康保险集团股份有限公司 Process approval method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹双: ""基于Shark的流程回退机制的研究与应用"", 《豆丁》, 28 December 2012 (2012-12-28), pages 1 - 72 *

Similar Documents

Publication Publication Date Title
EP3176709A1 (en) Video categorization method and apparatus, computer program and recording medium
CN107885571B (en) Display page control method and device
CN110704030A (en) Interface configuration information generation method and device, electronic equipment and storage medium
CN107239351B (en) Pasting method and device
CN104850643B (en) Picture comparison method and device
CN116822924A (en) Workflow configuration method, device, equipment and storage medium
EP3460717B1 (en) Method, apparatus, terminal, and computer-readable storage medium for processing fingerprints
CN115499438A (en) A task allocation method, device, electronic equipment and storage medium
CN106372943A (en) Message processing method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN114356561B (en) Data processing method, device and equipment for pipeline tasks
CN114612287B (en) Image processing method, device and storage medium
CN114004592A (en) Application approval process control method, device, equipment and storage medium
CN109409097B (en) Information management method, device and computer readable storage medium
CN114022248B (en) Product recommendation calculation method, device and equipment
CN111723353A (en) Identity authentication method, device, terminal and storage medium based on face recognition
CN116009946A (en) Git-based code statistics method and device
CN110489155B (en) Data file management method, device, electronic equipment and medium
CN114266555A (en) Project approval method, device, equipment, computer readable storage medium and product
CN106383915A (en) Label processing method and device, and terminal
CN107295144B (en) Method and device for deleting contact number
CN112581102A (en) Task management method and device, electronic equipment and storage medium
CN107728909B (en) Information processing method and device
CN106126246B (en) Item display method and device
CN106534582B (en) Short message remark method and device

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