CN114462859A - Workflow processing method and device, computer equipment and storage medium - Google Patents

Workflow processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114462859A
CN114462859A CN202210125180.0A CN202210125180A CN114462859A CN 114462859 A CN114462859 A CN 114462859A CN 202210125180 A CN202210125180 A CN 202210125180A CN 114462859 A CN114462859 A CN 114462859A
Authority
CN
China
Prior art keywords
work processing
processing flow
flow
identification information
information
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
CN202210125180.0A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210125180.0A priority Critical patent/CN114462859A/en
Publication of CN114462859A publication Critical patent/CN114462859A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or 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
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

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

Abstract

The application relates to a workflow processing method and a workflow processing device, which can be used in the technical field of finance to improve the business processing efficiency of workflow. The method comprises the following steps: responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information; screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows; inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing flow, the historical work processing flow, and the newly added work processing flow is constructed through a work processing flow newly added instruction of the second terminal.

Description

Workflow processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a workflow processing method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
In a scenario where a service flow is complex and a service is frequently circulated, a workflow technology is often used to supervise a circulation process of the service. Especially in a bank system, the business requirements change frequently, and the workflow also needs to change correspondingly along with the business requirements.
In the traditional technology, when a new version of workflow appears, the new version of workflow can be used for replacing the old version of workflow after the business of the old version of workflow is completely finished, so that the business processing efficiency of the workflow is low; or, the new version workflow is used to replace the old version workflow, but this method easily causes version iteration errors of the unfinished old version workflow, and further needs to spend more time to repair the erroneous workflow, resulting in lower workflow service processing efficiency.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a workflow processing method, apparatus, computer device, computer readable storage medium and computer program product capable of improving efficiency of workflow service processing.
In a first aspect, the present application provides a workflow processing method. The method comprises the following steps:
responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing process, the historical work processing process, and the newly added work processing process is constructed through a work processing process newly added instruction of the second terminal.
In one embodiment, screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows includes:
acquiring the generation time of the identification information of the work processing flow;
and screening out the work processing flow with the latest generation time from the work processing flows as the target work processing flow.
In one embodiment, after responding to the work processing flow calling instruction sent by the first terminal, the method further comprises the following steps:
acquiring target identification information in the work processing flow calling instruction;
querying a database to obtain a work processing flow corresponding to the identification information matched with the target identification information as the target work processing flow; a plurality of work processing flows are stored in the database, and each work processing flow carries corresponding identification information.
In one embodiment, in response to a work processing flow calling instruction sent by a first terminal, a work processing flow corresponding to the work processing flow calling instruction is obtained; before the work processing flow carries the identification information, the method further comprises the following steps:
responding to a work processing flow adding instruction sent by the second terminal, and sending a flow component corresponding to the work processing flow adding instruction to the second terminal;
receiving a newly added work processing flow constructed by the second terminal according to the flow component;
or the like, or, alternatively,
responding to a work processing flow modification instruction sent by the second terminal, and sending a historical work processing flow corresponding to the work processing flow modification instruction to the second terminal; the second terminal is used for modifying the historical work processing flow;
and receiving the modified work processing flow returned by the second terminal as the newly added work processing flow.
In one embodiment, the method further comprises:
generating identification information of the newly added work processing flow;
performing flow analysis processing on the newly added work processing flow to obtain flow information of the newly added work processing flow;
constructing a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow;
constructing a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow;
and generating the mapping relation according to the first mapping relation and the second mapping relation.
In one embodiment, the performing process analysis processing on the newly added work processing flow to obtain the process information of the newly added work processing flow includes:
performing data analysis on the newly added work processing flow to obtain initial flow information of the newly added work processing flow;
and according to a preset flow information storage format, carrying out format conversion on the initial flow information to obtain the flow information of the newly-added work processing flow.
In a second aspect, the present application further provides a workflow processing apparatus. The device comprises:
the flow acquisition module is used for responding to a work processing flow calling instruction sent by a first terminal and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
the flow screening module is used for screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
the information acquisition module is used for inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the newly added work processing flow, the identification information of the historical work processing flow and the flow information, and the newly added work processing flow is constructed through a work processing flow newly added instruction of the second terminal.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing process, the historical work processing process, and the newly added work processing process is constructed through a work processing process newly added instruction of the second terminal.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing process, the historical work processing process, and the newly added work processing process is constructed through a work processing process newly added instruction of the second terminal.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing process, the historical work processing process, and the newly added work processing process is constructed through a work processing process newly added instruction of the second terminal.
The workflow processing method, the workflow processing device, the computer equipment, the storage medium and the computer program product respond to a workflow calling instruction sent by the first terminal, and acquire a workflow corresponding to the workflow calling instruction; then screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows; and inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process, and executing corresponding process operation by the user through the first terminal according to the process information of the target work processing process. By adopting the method, the old version of the work processing flow does not need to be replaced, and the corresponding flow information is obtained through the mapping relation between the identification information and the flow information of the work processing flow, so that the multi-version work processing flows can be used in parallel, and the service processing efficiency of the work processing flows is improved.
Drawings
FIG. 1 is a diagram of an application environment of a workflow processing method in one embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a method for workflow processing in one embodiment;
FIG. 3 is a schematic block diagram illustrating the flow of multi-version work processing in one embodiment;
FIG. 4 is a schematic flow chart diagram illustrating a workflow processing method according to another embodiment;
FIG. 5 is a block diagram showing a configuration of a workflow processing apparatus in one embodiment;
FIG. 6 is a general block diagram of a workflow processing apparatus in another embodiment;
FIG. 7 is a generalized block diagram of a visualization configuration module in one embodiment;
FIG. 8 is a generalized block diagram of a definition publish module in one embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that the workflow processing method and apparatus provided by the present application may be used in the financial field to improve the workflow service processing efficiency, and may also be used in any fields other than the financial field, for example, the field of visualization technology.
The workflow processing method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. Wherein, the first terminal 101 and the second terminal 102 communicate with the server 103 through the network, respectively. The data storage system may store data that the server needs to process. The data storage system can be integrated on a server, and can also be placed on a cloud or other network server. The first terminal is used for operating the constructed work processing flow, and the second terminal is used for developing the work processing flow, for example, the second terminal is used for performing construction operation, modification operation or deletion operation on the work processing flow. The server 103 responds to the work processing flow calling instruction sent by the first terminal 101 to obtain a work processing flow corresponding to the work processing flow calling instruction; then screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows; according to the identification information of the target work processing flow, the mapping relation between the identification information and the flow information is inquired, the flow information of the target work processing flow is obtained, and then the user executes corresponding flow operation according to the flow information of the target work processing flow through the first terminal 101. The first terminal 101 and the second terminal 102 may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices. The server 103 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a workflow processing method is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step S201, responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information.
The work processing flow calling instruction may carry identification information of the work processing flow to be called, and may also carry requirement information of the work processing flow to be called.
The requirement information comprises information such as the type, name, keyword and business requirement of the work processing flow.
The work processing flow is used for describing the implementation process of the work flow and condition information among the flow steps. The expression form of the work processing flow comprises a visual topological graph and a flow chart.
Specifically, if a user needs to execute a relevant service process by a work process flow, a call request may be triggered on the first terminal, the first terminal responds to the call request, generates and sends a work process flow call instruction to the server, and the server queries the database according to the demand information carried by the work process flow call instruction, and acquires the work process flow corresponding to the demand information.
Step S202, screening out a target work processing flow of which the identification information meets the preset condition from the work processing flows.
The preset condition is a screening condition which is set in advance aiming at the identification information of the work processing flow.
Specifically, the number of the work processing flows obtained by the server according to the work processing flow calling instruction may be multiple, and then the server obtains a preset condition, determines whether the identification information of the work processing flow meets the preset condition, and obtains a target work processing flow of which the identification information meets the preset condition.
For example, the preset condition may be a preset range of the identification information, and when the identification information of the work processing flow is within the preset range, the work processing flow is taken as the target work processing flow.
Step S203, according to the identification information of the target work processing flow, inquiring the mapping relation between the identification information and the flow information to obtain the flow information of the target work processing flow; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing flow, the historical work processing flow, and the newly added work processing flow is constructed through a work processing flow newly added instruction of the second terminal.
Specifically, the server queries a mapping relation between the identification information and the process information in the database according to the identification information of the target work processing process, obtains the process information of the target work processing process according to the mapping relation, sends the process information to the first terminal, and the user executes corresponding process operation according to the process information through the first terminal. The database stores the process information and the identification information of the newly added workflow and the process information and the identification information of the historical workflow.
For example, in a banking system, a historical work processing flow of an approval business includes two nodes: teller application- > supervisor approval; due to the change of the requirement, the newly added work processing flow of the approval business is expanded to three nodes: teller application- > supervisor approval- > network manager examination and check; the newly-added work processing flow and the historical work processing flow are simultaneously stored in a database, when a user has a use requirement of an approval service, a work processing flow calling instruction is sent to a server through a first terminal, after the server acquires a target work processing flow, the server identifies whether the target work processing flow belongs to a new version or a historical version according to identification information of the detected target processing flow, then flow information corresponding to the target work processing flow is determined, and finally the flow information is provided for the user, so that the parallel use of the multi-version work processing flows is realized; therefore, even if the service of the historical work processing flow is not finished, the flow information of the first terminal for executing the newly added work processing flow is not influenced.
In the workflow processing method, a workflow corresponding to a workflow calling instruction is obtained in response to the workflow calling instruction sent by a first terminal; then screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows; and inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process, and executing corresponding process operation by the user through the first terminal according to the process information of the target work processing process. By adopting the method, the old version of the work processing flow does not need to be replaced, and the corresponding flow information is obtained through the mapping relation between the identification information and the flow information of the work processing flow, so that the multi-version work processing flows can be used in parallel, and the service processing efficiency of the work processing flows is improved.
In one embodiment, a target work processing flow with identification information meeting a preset condition is screened from work processing flows, and the method specifically includes the following steps:
acquiring the generation time of the identification information of the work processing flow; and screening the work processing flow with the latest generation time from the work processing flows as a target work processing flow.
The generation time is a time when the identification information of the work processing flow is generated. Since the generation order of the identification information is related to the generation order of the work process flows, the generation order of the work process flows can be distinguished even in the morning and evening of the generation time of the identification information.
Specifically, the preset condition may also be set to generate the identification information with the latest time; and querying the database to obtain the generation time of the identification information of the work processing flow, judging the generation time of the identification information to obtain the work processing flow with the latest generation time of the identification information, namely the latest generated work processing flow, and taking the work processing flow as a target work processing flow.
In this embodiment, the corresponding process information is obtained by screening out the target work processing process and then by mapping the identification information of the target work processing process with the process information. By adopting the method, the old version of the work processing flow does not need to be replaced, and the multi-version of the work processing flow can be used in parallel through the mapping relation between the identification information of the work processing flow and the flow information, so that the service processing efficiency of the work processing flow is improved.
In one embodiment, after responding to the work processing flow calling instruction sent by the first terminal, the method further comprises the following steps:
acquiring target identification information in a work processing flow calling instruction; querying a database to obtain a work processing flow corresponding to the identification information matched with the target identification information as a target work processing flow; a plurality of work processing flows are stored in the database, and each work processing flow carries corresponding identification information.
The database stores data related to the work processing flow in the form of a table or a file, for example, the database stores flow information, association, user authority, operation flow instance, flow state of the work processing flow, operation user and time, and history of the work processing flow.
Specifically, when a work processing flow calling instruction sent by the first terminal carries target identification information of a required work processing flow, the target identification information in the work processing flow calling instruction is obtained, the database is queried, identification information matched with the target identification information is obtained, according to the identification information matched with the target identification information, the association relation in the database is queried, and the work processing flow corresponding to the identification information is obtained and used as the target work processing flow.
In the embodiment, the target identification information is obtained from the work processing flow calling instruction, and the corresponding target work processing flow can be directly obtained from the database according to the target identification information; therefore, under the condition that the work processing flows of multiple versions of the service are stored in the database, the target work processing flow corresponding to the work processing flow calling instruction can still be obtained.
In one embodiment, in response to a work processing flow calling instruction sent by a first terminal, a work processing flow corresponding to the work processing flow calling instruction is obtained; before the work processing flow carries the identification information, the method further comprises the following steps:
responding to a new work processing flow adding instruction sent by the second terminal, and sending a flow component corresponding to the new work processing flow adding instruction to the second terminal; receiving a newly added work processing flow constructed by the second terminal according to the flow component; or, responding to a work processing flow modification instruction sent by the second terminal, and sending a historical work processing flow corresponding to the work processing flow modification instruction to the second terminal; the second terminal is used for modifying the historical work processing flow; and receiving the modified work processing flow returned by the second terminal as a new work processing flow.
The flow components comprise a flow node, an authority control component, a driving condition component, a flow gateway node and the like of the work processing flow.
The flow node assembly is in a visual graph form, comprises a flow starting node, a flow ending node, a flow condition node, a flow connecting line and the like, and can be subjected to custom design and expansion according to requirements.
Specifically, if a research and development staff or a management staff needs to newly add a work processing flow, a work processing flow newly adding request can be triggered on the second terminal, the second terminal responds to the work processing flow newly adding request, generates a corresponding work processing flow newly adding instruction and sends the work processing flow newly adding instruction to the server, the server receives the work processing flow newly adding instruction sent by the second terminal, obtains a flow component corresponding to the work processing flow newly adding instruction, and sends the flow component to the second terminal; and then, the research and development personnel or the management personnel construct a newly-added work processing flow through the second terminal, and after the construction of the newly-added work processing flow is completed, the second terminal constructs and sends the newly-added work processing flow to the server.
Furthermore, if a research and development staff or a management staff needs to modify a work processing flow, a work processing flow modification request can be triggered on the second terminal, the second terminal responds to the work processing flow modification request, generates a corresponding work processing flow modification instruction and sends the corresponding work processing flow modification instruction to the server, the server sends a flow component and a historical work processing flow corresponding to the work processing flow modification instruction to the second terminal, so that the second terminal can modify the historical work processing flow, the modified work processing flow returned by the second terminal is used as a newly added work processing flow, and the historical work processing flow is still stored in the database so that the first terminal can obtain the new work processing flow.
It should be noted that the newly added work processing flow may be constructed by dragging and moving by a preset unit distance, and may also be constructed based on a preset work processing flow template in the flow component.
In the embodiment, the second terminal is used for newly increasing or modifying the work processing flow, so that a friendly visual editing interface is provided for a user, the work processing flow is newly increased or modified in a visual form, the processing difficulty of the work processing flow is reduced, and the processing efficiency of the work processing flow in the development aspect is effectively improved; by introducing the pre-defined various types of flow components, the operation of a user of the second terminal is facilitated, the reuse rate of the flow components is improved, redundant processing work is reduced, and the service processing efficiency of the work processing flow is improved.
In one embodiment, the workflow processing method further comprises:
generating identification information of the newly added work processing flow; performing flow analysis processing on the newly added work processing flow to obtain flow information of the newly added work processing flow; constructing a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow; constructing a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow; and generating a mapping relation according to the first mapping relation and the second mapping relation.
The identification information refers to a unique identification for describing the workflow version of the work processing.
Specifically, when the server receives the newly added work processing flows, unique identification information is generated for each newly added work processing flow, and the identification information is stored in a data table of a database; analyzing the newly added work processing flow in the visual form into flow information; generating a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow, generating a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow, generating a mapping relation according to the first mapping relation and the second mapping relation, and storing the flow information, the identification information and the mapping relation in a database.
The process information refers to data describing steps and implementation processes of the work processing process, and for example, the process information may be information of a start node, information of a termination node, information of an event node, condition information and operation authority of node flow, and the like.
For example, assuming that the identification information of the original work processing flow is V1, when the work processing flow is modified, the identification information V2 is regenerated for the modified work processing flow, and then when the work processing flow is operated, the flow information corresponding to the V1 version or the V2 version can be obtained according to the corresponding identification information, and then the first terminal performs circulation according to the flow information.
Further, in addition to the manner in which the work process flow is processed by communication between the terminal and the server in the above embodiment, the work process flow in the database may be packaged into a Software Development Kit (SDK) and provided to the terminal, and then the terminal operates through an interface of the SDK to adapt to access of different terminal devices by providing SDKs of different frameworks, so that the terminal devices may use the work process flow in the SDK.
For example, fig. 3 is a schematic structure diagram of a multi-version work processing flow processed by an SDK, when a user has a use requirement of an approval service, the first terminal sends a work processing flow call instruction to the SDK, and the SDK obtains corresponding work processing flows, which are labeled as a V1 version and a V2 version, according to the work processing flow call instruction of the user; after the V1 version or the V2 version is confirmed to be the target work processing flow, the identification information of the target work processing flow is judged through the SDK, then the flow information of the target work processing flow is obtained, and the flow information is sent to a service system; and displaying the flow information on the business system in a visual form. In addition, the work processing flow can also be deployed on the terminal through the forms of Web (Web page), Integrated Development Environment (IDE), and the like.
In this embodiment, unique identification information is generated for each newly added work processing flow, a mapping relationship between the identification information of the work processing flow and the flow information of the work processing flow is generated, and then a target work processing flow is obtained through the mapping relationship without replacing an old version work processing flow.
In one embodiment, the process analyzing processing is performed on the newly added work processing flow to obtain the process information of the newly added work processing flow, and the process information includes:
performing data analysis on the newly added work processing flow to obtain initial flow information of the newly added work processing flow; and according to a preset flow information storage format, carrying out format conversion on the initial flow information to obtain the flow information of the newly added work processing flow.
The preset flow information storage format is a storage format of flow information in a database, and comprises a lightweight data format such as XML or JSON.
Specifically, the newly added work processing flow in a visual form is analyzed into flow information according to a preset analysis algorithm to obtain initial flow information of the newly added work processing flow, format conversion processing is respectively carried out on different types of data in the initial flow information according to a preset flow information storage format to obtain flow information, and the flow information is stored in a database.
The preset analysis algorithm refers to an analysis algorithm of a work processing flow preset in the server, and includes an analysis mode of a flow component in the work processing flow.
In this embodiment, the target work processing flow is obtained through the mapping relationship, the old version work processing flow does not need to be replaced, and the multi-version work processing flows can be used in parallel through the mapping relationship between the identification information of the work processing flows and the flow information, so that the service processing efficiency of the work processing flows is improved.
In one embodiment, as shown in fig. 4, another workflow processing method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
step S401, responding to the work processing flow adding instruction sent by the second terminal, and sending a flow component corresponding to the work processing flow adding instruction to the second terminal.
And step S402, receiving a newly added work processing flow constructed by the second terminal according to the flow components.
Step S403, generating identification information of the newly added work processing flow; performing data analysis on the newly added work processing flow to obtain initial flow information of the newly added work processing flow; and according to a preset flow information storage format, carrying out format conversion on the initial flow information to obtain the flow information of the newly added work processing flow.
Step S404, a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow is established; constructing a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow; and generating a mapping relation according to the first mapping relation and the second mapping relation.
Step S405, responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
step S406, acquiring the generation time of the identification information of the work processing flow; and screening the work processing flow with the latest generation time from the work processing flows as a target work processing flow.
Step S407, according to the identification information of the target work processing flow, inquiring the mapping relation between the identification information and the flow information to obtain the flow information of the target work processing flow.
In step S408, the process information of the target work processing process is used to instruct the first terminal to execute the corresponding process operation.
The workflow processing method responds to a work processing flow calling instruction sent by a first terminal, and obtains a work processing flow corresponding to the work processing flow calling instruction; then screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows; and inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process, and executing corresponding process operation by the user through the first terminal according to the process information of the target work processing process. By adopting the method, the old version of the work processing flow does not need to be replaced, and the corresponding flow information of the work processing flow is obtained through the mapping relation between the identification information and the flow information of the work processing flow, so that the multi-version work processing flows can be used in parallel, and the service processing efficiency of the work processing flows is improved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a workflow processing apparatus for implementing the above-mentioned workflow processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in one or more embodiments of the workflow processing device provided below can refer to the limitations on the workflow processing method in the foregoing, and details are not described herein again.
In one embodiment, as shown in fig. 5, there is provided a workflow processing apparatus 500 comprising: a flow obtaining module 501, a flow screening module 502 and an information obtaining module 503, wherein:
a flow obtaining module 501, configured to respond to a work processing flow call instruction sent by a first terminal, and obtain a work processing flow corresponding to the work processing flow call instruction; the work processing flow carries identification information.
The process screening module 502 is configured to screen out a target work processing process whose identification information meets a preset condition from the work processing processes.
The information obtaining module 503 is configured to query a mapping relationship between the identification information and the process information according to the identification information of the target work processing flow, so as to obtain the process information of the target work processing flow; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing flow, the historical work processing flow, and the newly added work processing flow is constructed through a work processing flow newly added instruction of the second terminal.
In one embodiment, the process filtering module 502 is further configured to obtain a generation time of the identification information of the work processing process; and screening the work processing flow with the latest generation time from the work processing flows as a target work processing flow.
In one embodiment, the workflow processing apparatus 500 further includes a flow query module, configured to obtain target identification information in the workflow call instruction; querying a database to obtain a work processing flow corresponding to the identification information matched with the target identification information as a target work processing flow; a plurality of work processing flows are stored in the database, and each work processing flow carries corresponding identification information.
In one embodiment, the workflow processing apparatus 500 further includes a flow adding module, configured to send, in response to a new work processing flow adding instruction sent by the second terminal, a flow component corresponding to the new work processing flow adding instruction to the second terminal; receiving a newly added work processing flow constructed by the second terminal according to the flow component; the workflow processing apparatus 500 further includes a flow modification module, configured to send a historical workflow corresponding to the workflow modification instruction to the second terminal in response to the workflow modification instruction sent by the second terminal; the second terminal is used for modifying the historical work processing flow; and receiving the modified work processing flow returned by the second terminal as a new work processing flow.
In one embodiment, the workflow processing apparatus 500 further includes a mapping construction module, configured to generate identification information of the newly added workflow processing flow; performing flow analysis processing on the newly added work processing flow to obtain flow information of the newly added work processing flow; constructing a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow; constructing a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow; and generating a mapping relation according to the first mapping relation and the second mapping relation.
In one embodiment, the workflow processing apparatus 500 further includes a flow analysis module, configured to perform data analysis on the newly added workflow processing flow to obtain initial flow information of the newly added workflow processing flow; and according to a preset flow information storage format, carrying out format conversion on the initial flow information to obtain the flow information of the newly added work processing flow.
In one embodiment, the present disclosure also provides a workflow processing apparatus, the overall framework of which is shown in fig. 6, the workflow processing apparatus including: the visualization configuration module 700, the definition publishing module 800, the engine interface module 900, the external adaptation module 1000, and the storage medium module 1100.
The visual configuration module 700 is configured to provide a process component for the second terminal, so as to implement online configuration of a work processing process; as shown in fig. 7, the worker visualization configuration module 700 includes a flow component unit 701, a dynamic configuration unit 702, a data generation unit 703, an interface unit 704, and a monomer deployment unit 705; wherein:
a component unit 701 for providing a flow component;
a dynamic configuration unit 702, configured to implement construction of a work processing flow in response to an operation of the terminal on a flow component;
a data generating unit 703 for converting the data flow form of the work processing flow;
an interface unit 704, configured to provide a component interface of the work processing flow, so that the work processing flow can be operated through the component interface;
the single deployment unit 705 is configured to provide independent deployment modes of the work processing flow, such as a Web deployment mode and an IDE deployment mode, and may be selected according to an application scenario.
A definition issuing module 800, configured to analyze the generated work processing flow and store the flow information obtained through the analysis in a storage medium, where the storage medium includes a database, a file, and the like; as shown in fig. 8, the definition issuing apparatus module 800 includes a version control unit 801, a flow reading unit 802, a data conversion unit 803, and a data storage unit 804, in which:
a version control unit 801 for generating identification information of a work processing flow;
a flow reading unit 802, configured to perform flow analysis processing on the work processing flow to obtain flow information of the work processing flow;
the data conversion unit 803 is configured to perform data analysis on the work processing flow to obtain initial flow information of the work processing flow;
the data storage unit 804 is configured to perform format conversion on the initial process information according to a preset process information storage format, obtain process information of a work processing process, and store the process information in a storage medium.
An engine interface module 900, configured to provide an SDK interface of the work processing flow, so that the terminal operates the work processing flow through the SDK interface;
the external adaptation module 1000 is configured to provide multiple adaptation frames for the SDK, so as to implement configuration of the SDK.
The storage medium module 1100 is configured to store related information of the work process flow, such as flow information, identification information, generation time, an operator, and the like of the work process flow in the form of a database or a file.
The respective modules in the workflow processing apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as work processing flow, identification information, flow information and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a workflow processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method of workflow processing, the method comprising:
responding to a work processing flow calling instruction sent by a first terminal, and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the identification information and the process information of the newly added work processing process, the historical work processing process, and the newly added work processing process is constructed through a work processing process newly added instruction of the second terminal.
2. The method according to claim 1, wherein the screening out, from the work processing flows, a target work processing flow whose identification information meets a preset condition includes:
acquiring the generation time of the identification information of the work processing flow;
and screening out the work processing flow with the latest generation time from the work processing flows as the target work processing flow.
3. The method of claim 1, further comprising, after responding to the work process flow call instruction sent by the first terminal:
acquiring target identification information in the work processing flow calling instruction;
querying a database to obtain a work processing flow corresponding to the identification information matched with the target identification information as the target work processing flow; a plurality of work processing flows are stored in the database, and each work processing flow carries corresponding identification information.
4. The method according to any one of claims 1 to 3, characterized in that in response to a work processing flow call instruction sent by a first terminal, a work processing flow corresponding to the work processing flow call instruction is obtained; before the work processing flow carries the identification information, the method further comprises the following steps:
responding to a work processing flow adding instruction sent by the second terminal, and sending a flow component corresponding to the work processing flow adding instruction to the second terminal;
receiving a newly added work processing flow constructed by the second terminal according to the flow component;
or the like, or a combination thereof,
responding to a work processing flow modification instruction sent by the second terminal, and sending a historical work processing flow corresponding to the work processing flow modification instruction to the second terminal; the second terminal is used for modifying the historical work processing flow;
and receiving the modified work processing flow returned by the second terminal as the newly added work processing flow.
5. The method of claim 4, further comprising:
generating identification information of the newly added work processing flow;
performing flow analysis processing on the newly added work processing flow to obtain flow information of the newly added work processing flow;
constructing a first mapping relation between the identification information of the newly added work processing flow and the flow information of the newly added work processing flow;
constructing a second mapping relation between the identification information of the historical work processing flow and the flow information of the historical work processing flow;
and generating the mapping relation according to the first mapping relation and the second mapping relation.
6. The method according to claim 5, wherein the performing a process analysis process on the newly added work processing flow to obtain process information of the newly added work processing flow comprises:
performing data analysis on the newly added work processing flow to obtain initial flow information of the newly added work processing flow;
and according to a preset flow information storage format, carrying out format conversion on the initial flow information to obtain the flow information of the newly-added work processing flow.
7. A workflow processing apparatus, characterized in that the apparatus comprises:
the flow acquisition module is used for responding to a work processing flow calling instruction sent by a first terminal and acquiring a work processing flow corresponding to the work processing flow calling instruction; the work processing flow carries identification information;
the flow screening module is used for screening out a target work processing flow of which the identification information meets a preset condition from the work processing flows;
the information acquisition module is used for inquiring the mapping relation between the identification information and the process information according to the identification information of the target work processing process to obtain the process information of the target work processing process; the process information of the target work processing process is used for indicating the first terminal to execute corresponding process operation; the mapping relation is constructed according to the newly added work processing flow, the identification information of the historical work processing flow and the flow information, and the newly added work processing flow is constructed through a work processing flow newly added instruction of the second terminal.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210125180.0A 2022-02-10 2022-02-10 Workflow processing method and device, computer equipment and storage medium Pending CN114462859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210125180.0A CN114462859A (en) 2022-02-10 2022-02-10 Workflow processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210125180.0A CN114462859A (en) 2022-02-10 2022-02-10 Workflow processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114462859A true CN114462859A (en) 2022-05-10

Family

ID=81413468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210125180.0A Pending CN114462859A (en) 2022-02-10 2022-02-10 Workflow processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114462859A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116128448A (en) * 2023-01-09 2023-05-16 苏州异格技术有限公司 Design data processing method and device for FPGA engineering project and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008461A (en) * 2014-06-13 2014-08-27 国家电网公司 Workflow processing method and system
CN109214785A (en) * 2018-10-23 2019-01-15 北京奇艺世纪科技有限公司 Implementation method, server and the system of workflow
CN109472540A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method and device for business processing
CN110764839A (en) * 2019-09-24 2020-02-07 苏宁云计算有限公司 Business processing flow configuration method, business request processing method and device
CN111338689A (en) * 2020-03-05 2020-06-26 网易(杭州)网络有限公司 File calling method, device and equipment
US20200242530A1 (en) * 2019-01-24 2020-07-30 Salesforce.Com, Inc. Workflow version management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008461A (en) * 2014-06-13 2014-08-27 国家电网公司 Workflow processing method and system
CN109472540A (en) * 2017-09-07 2019-03-15 北京京东尚科信息技术有限公司 Method and device for business processing
CN109214785A (en) * 2018-10-23 2019-01-15 北京奇艺世纪科技有限公司 Implementation method, server and the system of workflow
US20200242530A1 (en) * 2019-01-24 2020-07-30 Salesforce.Com, Inc. Workflow version management
CN110764839A (en) * 2019-09-24 2020-02-07 苏宁云计算有限公司 Business processing flow configuration method, business request processing method and device
CN111338689A (en) * 2020-03-05 2020-06-26 网易(杭州)网络有限公司 File calling method, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116128448A (en) * 2023-01-09 2023-05-16 苏州异格技术有限公司 Design data processing method and device for FPGA engineering project and electronic equipment
CN116128448B (en) * 2023-01-09 2023-10-17 苏州异格技术有限公司 Design data processing method and device for FPGA engineering project and electronic equipment

Similar Documents

Publication Publication Date Title
CN110472068A (en) Big data processing method, equipment and medium based on heterogeneous distributed knowledge mapping
CN110109656B (en) Interface simulation method, device, computer equipment and storage medium
CN110188135A (en) Document generating method and equipment
CN112433712A (en) Report display method and device, computer equipment and storage medium
CN114968739A (en) Operation and maintenance task management method, operation and maintenance method, device, equipment and medium
CN114238085A (en) Interface testing method and device, computer equipment and storage medium
CN118152243A (en) Data verification method, device, computer equipment, storage medium and program product
CN114462859A (en) Workflow processing method and device, computer equipment and storage medium
CN112035366B (en) Test case generation method, device and equipment
CN112328575B (en) Data asset blood-edge generation method and device and electronic equipment
CN111680478B (en) Report generation method, device, equipment and storage medium based on configuration software
CN114860346A (en) Management method of modeling task and operation method of modeling task
CN112231377A (en) Data mapping method, system, device, server and storage medium
CN116880927A (en) Rule management method, device, computer equipment and storage medium
CN113867975B (en) Quick response method and device for command line and computer equipment
US20210256028A1 (en) Intelligent and automatic exception handling
CN116451965A (en) Service request processing method and device, computer equipment and storage medium
CN118260075A (en) Data processing method, apparatus, computer device, readable storage medium, and product
CN106687999B (en) Generating a set of instructions implementing rules designed to update objects specified according to an application data model
CN117971649A (en) Data processing method, device, computer equipment and storage medium
CN117495518A (en) Method, device, equipment and storage medium for managing articles of bank point system
CN115220657A (en) Method and device for acquiring hierarchical data relationship and computer equipment thereof
Silva et al. Enhancing Organizational Data Integrity and Efficiency through Effective Data Lineage
CN116992291A (en) Workflow management method and device based on width learning, electronic equipment and storage medium
CN117785939A (en) Data analysis method and device based on rule engine and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination