WO2020015215A1 - 工作流引擎的管理方法及装置、存储介质、计算机设备 - Google Patents
工作流引擎的管理方法及装置、存储介质、计算机设备 Download PDFInfo
- Publication number
- WO2020015215A1 WO2020015215A1 PCT/CN2018/110908 CN2018110908W WO2020015215A1 WO 2020015215 A1 WO2020015215 A1 WO 2020015215A1 CN 2018110908 W CN2018110908 W CN 2018110908W WO 2020015215 A1 WO2020015215 A1 WO 2020015215A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- code
- logic
- workflow
- content
- class
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Definitions
- the present application relates to the field of communication technologies, and in particular, to a method and device for managing a workflow engine, a storage medium, and a computer device.
- Workflow engine refers to using workflow as a part of the application system and providing it with a core solution that plays a decisive role in each application system. It can determine information delivery routes, content, etc. according to different roles, division of labor, and conditions. Among them, the workflow engine includes important functions such as node management, flow management, and process sample management.
- this application provides a method and device for managing a workflow engine, a storage medium, and a computer device.
- the main purpose is that when most existing companies use the workflow engine, the project teams of various parts are in the process of project development. , It will require a large number of developers to be familiar with the code of the relevant part of the workflow, so that the developers of each project team will repeatedly write a part of the code of the same process.
- a method for managing a workflow engine including:
- a management device for a workflow engine including:
- a searching unit configured to, when a management request for a workflow is received, search for a workflow interface that matches the content of the request carried in the management request;
- An extraction unit configured to extract a logic code and code parameters matching the request content from a preset workflow system through the workflow interface, and the preset workflow system stores logic codes corresponding to different workflows and Code parameters
- the management unit is configured to perform process management on the logic code and the code parameters according to the request content.
- a non-volatile readable storage medium stores at least one computer-readable instruction, and the computer-readable instruction causes a processor Perform operations corresponding to the management methods of the workflow engine described above.
- a computer device including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete each other through the communication bus.
- the memory is used to store at least one computer-readable instruction, and the computer-readable instruction causes the processor to perform an operation corresponding to the management method of the workflow engine.
- This application provides a method and device for managing a workflow engine, a storage medium, and a computer device.
- a management request for a workflow is received, first, a workflow interface matching the request content carried in the management request is found; The workflow interface extracts logic codes and code parameters matching the request content from a preset workflow system, and the preset workflow system stores logic codes and code parameters corresponding to different workflows; according to the The request content performs flow management on the logic code and the code parameters.
- the embodiment of the present application finds the workflow interface corresponding to the management request of the workflow, and obtains the logic code and code parameters from the preset workflow system through this workflow interface, and according to the content of the request Carry out process management, save human resources, simplify project code change speed, and facilitate process management.
- FIG. 1 shows a flowchart of a method for managing a workflow engine according to an embodiment of the present application
- FIG. 2 shows a flowchart of another method for managing a workflow engine according to an embodiment of the present application
- FIG. 3 shows a block diagram of a management device for a workflow engine according to an embodiment of the present application
- FIG. 4 shows a block diagram of a management device for another workflow engine according to an embodiment of the present application
- FIG. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
- An embodiment of the present application provides a method for managing a workflow engine. As shown in FIG. 1, the method includes:
- the workflow is a business sequence required to execute different businesses during the business project development process
- the management request includes obtaining the workflow code, modifying the workflow code, and deleting the workflow code.
- the examples in this application are not specifically limited.
- the content of the request is a management request for the work flow of a specific business, such as obtaining a work flow code of a loan project, etc., which are not specifically limited in the embodiment of the present application.
- the workflow interface includes interfaces corresponding to different business items, and each workflow interface can be connected with different workflow codes.
- the workflow interface can include publishing flowcharts, starting tasks, transferring tasks, and suspending tasks. , Activation task, termination task, task reassignment, setting task parameters and other interfaces are not specifically limited in the embodiment of the present application.
- the workflow interface since the workflow interface is configured in the preset workflow system, when searching for the corresponding workflow interface, it is to find that the matching code can be directly obtained from the preset workflow system. Workflow interface.
- the preset workflow system stores logic codes and code parameters corresponding to different workflows, and the logic codes are codes related to the workflow in all business projects and can execute business logic. Repeatedly written portions of code for all project developers. For example, in a loan project and an insurance project, the process code for sending relevant information to the bank for review is a process common to both a loan project and an insurance project. Therefore, the code of this process is a logical code. In contrast, code parameters are used to reflect the parameters of different project operations. Combining logical codes and changing different code parameters can obtain work process codes for different business projects.
- the preset workflow system is a pre-configured independent system, and specifically includes the logic codes and code parameters corresponding to all the business items extracted in advance, and the logic code of each business item matches a separate Workflow interface, so as to directly obtain the logic code-level code parameters corresponding to the requested content through the workflow interface.
- the process management is processing according to the management content such as the acquisition of the specific workflow code in the request content, the modification of the workflow code, and the deletion of the workflow code.
- the process management directly extracts the corresponding workflow code, that is, the logic code content is not changed, and the code parameters are filled in according to the specific workflow, so that the logic code and the code parameters are composed
- a set of process code corresponding to the business item of the requested content so that the project developer can directly obtain it, which is not specifically limited in the embodiment of the present application.
- step 103 can be performed through a preset workflow system, that is, the corresponding code parameters can be passed in according to the content of the request to execute the work flow of the specific business item that can be performed by passing the code parameters.
- This application provides a method for managing a workflow engine.
- the project team in each part will require a large number of developers to be familiar with writing the relevant parts of the workflow during the project development process.
- Code so that developers of each project group will repeatedly write a part of the code of the same process.
- the workflow interface corresponding to the management request of the workflow is searched. From this workflow interface, the preset workflow system is used. Obtain the logic code and code parameters, and perform process management according to the requested content, saving human resources, simplifying the code change speed of the project, and facilitating process management.
- An embodiment of the present application provides another method for managing a workflow engine. As shown in FIG. 2, the method includes:
- the preset workflow system in order to store the logic codes of different workflows in the preset workflow system in advance, after receiving the management request, directly extract the corresponding logic codes from the preset workflow through the workflow interface, and Reduce the repetitiveness of writing changes to code development, and extract logic code from business projects.
- the extracted logic code includes logic code that can perform different workflows.
- the preset workflow system will automatically supplement the code parameters of different business items that are missing in the logic code, so as to change the different code parameters and combine the logic codes to implement the workflow of different business items.
- step 201 further includes: classifying the code content of different workflows according to the type of business project, and obtaining the code content of the workflows of statistics, information transmission, and command execution.
- the code content includes a tag for code with process logic execution; a tag search method is used to extract the process logic from the code content of the workflow of the statistics class, the information transfer class, and the command execution class Extract the logic code in the execution order, and add the position parameter of the code parameter to the extracted logic code; write the logic code and the position parameter of the code parameter to a preset workflow system in.
- the codes corresponding to different business item types can extract different logics
- the corresponding logical codes are also different.
- the code content is divided according to the types of business items, and statistical classes, The code content of the workflow of the information transfer class and the command execution class.
- each type can be extracted a set of logical codes.
- the logical code for counting the customer group buying an insurance is the same as the logical code for counting the user group buying a loan. You only need to modify the corresponding Code parameters can be implemented using the same set of logic code.
- the location of the code that belongs to the process logic may be labeled.
- the code belonging to the process logic may be code that performs an action class, and the form of the label is not specifically limited in the embodiment of the present application.
- the tag search method is adopted to extract process logic from the code content of the workflow of the statistics class, the information transfer class, and the command execution class.
- the logic code includes: Obtaining a logic code with process logic by finding the position of a tag in the code content of the workflow of the statistics class, the information transfer class, and the command execution class, and the tag is used to indicate the acquisition logic. The location of the code.
- the way of using tag search is to extract the corresponding code according to the position of the tag in the code content, so that the extracted logic code is an accurate code that can execute the logic of the process.
- searching by tags in addition to extracting the logic code, you need to determine the position of the code parameters other than the logic code, and write the position parameters together with the code parameters into the preset workflow system in order to obtain the logic codes and codes.
- the code parameters can be accurately added to the corresponding positions of the logic code to achieve the correct execution of the entire code.
- the code parameters are file ID, page number, etc.
- the positions of these code parameters are located at the third bit in the first line of the logic code, the second bit in the third line of the code, etc.
- This step is the same as the method of step 101 shown in FIG. 1, and details are not described herein again.
- the call of the workflow interface means that no matter what logic code corresponding to the business item is called, the entire flowchart of the corresponding workflow needs to be executed, or the workflow task is transferred, suspended, and terminated, and then passed
- the http request calls the interface.
- the requested content is published content, and the thread 2 is used to call the workflow interface of the information transfer type, and then the logic code is obtained in step 204 as a code parameter, and the parameter file ID and page number can be passed in.
- step 102 is the same as the method of step 102 shown in FIG. 1, and details are not described herein again.
- the content of the request is to modify the logic code of the statistics class, the information transfer class, and the command execution class, the class, the information transfer class, and the command are modified according to the request content. Modify the code logic and code parameters of the execution class, and update the modified code logic and code parameters to the preset workflow system.
- the code parameter content needs to be adjusted, including the position of the code parameter in the logical code, and the code parameter is executable in the logical code.
- Specific functions and the like are not specifically limited in the embodiments of the present application.
- the user can grasp the progress of the management process in the workflow engine in real time.
- the results of process management include the results of execution, modification, and viewing of different workflows.
- the progress list is the specific situation of the execution of the preset workflow system through the workflow interface at different times, such as passing information at 8:20
- the release process interface in the delivery class interface publishes 1 piece of information, and the progress of this process is fed back to the front end of the system, so that developers can grasp the work progress of each business project and the management process in the workflow engine in real time.
- This application provides another method for managing a workflow engine.
- a logic interface and a code parameter are obtained from a preset workflow system by searching a workflow interface corresponding to a management request of a workflow. , And perform process management according to the requested content, saving human resources, simplifying the speed of project code changes, and facilitating process management.
- an embodiment of the present application provides a management device for a workflow engine.
- the device includes a search unit 31, an extraction unit 32, and a management unit 33. .
- a search unit 31 is configured to search for a workflow interface that matches the content of the request carried in the management request when a management request for the workflow is received; the search unit 31 executes the received work for the management device of the workflow engine When a process management request is made, a module of a workflow interface that matches the content of the request carried in the management request is found.
- the extraction unit 32 is configured to extract a logic code and a code parameter matching the request content from a preset workflow system through the workflow interface, and the preset workflow system stores logic codes corresponding to different workflows. And code parameters; the extraction unit 32 is a module for executing a workflow engine management device to extract logic codes and code parameters that match the request content from a preset workflow system through the workflow interface.
- the management unit 33 is configured to perform process management on the logic code and the code parameters according to the request content.
- the management unit 33 is a module that executes a process management for the logic code and the code parameters according to the request content, for a management device of a workflow engine.
- This application provides a management device for a workflow engine.
- the project team in each part will require a large number of developers to be familiar with writing the relevant parts of the workflow during the project development process.
- Code so that developers of each project group will repeatedly write a part of the code of the same process.
- the workflow interface corresponding to the management request of the workflow is searched. From this workflow interface, the preset workflow system is used. Obtain the logic code and code parameters, and perform process management according to the requested content, saving human resources, simplifying the code change speed of the project, and facilitating process management.
- an embodiment of the present application provides another management device for a workflow engine.
- the device includes a search unit 41, an extraction unit 42, and a management unit. 43. Extraction unit 44, call unit 45, and feedback unit 46.
- a searching unit 41 configured to, when receiving a management request for a workflow, search for a workflow interface that matches the content of the request carried in the management request;
- An extraction unit 42 is configured to extract a logic code and a code parameter matching the request content from a preset workflow system through the workflow interface, and the preset workflow system stores logic codes corresponding to different workflows. And code parameters;
- the management unit 43 is configured to perform process management on the logic code and the code parameters according to the request content.
- the apparatus further includes:
- the extraction unit 44 is configured to extract logic codes for performing different work processes from a business project, and write the logic codes into a preset workflow system.
- the extraction unit 44 includes:
- a classification module 4401 is configured to classify code content of different workflows according to a type of a business project, to obtain code content of a workflow of a statistical type, an information transmission type, or a command execution type.
- the code content includes a code that executes a process logic The label of the code;
- An extraction module 4402 configured to extract a logic code with process logic from code content of a workflow of the statistics class, the information transfer class, and the command execution class by using a tag search method;
- An adding module 4403 configured to extract the logic code in an execution order, and add a position parameter of a code parameter to the extracted logic code;
- the writing module 4404 is configured to write the logic code and the position parameter of the code parameter into a preset workflow system.
- the extraction module 4402 is specifically configured to obtain a logic code with process logic by searching for a position of a tag in a code content of a workflow of the statistics class, the information transfer class, and the command execution class, so that The label is used to indicate where to obtain the logic code.
- the management unit 43 is specifically configured to modify the statistical class according to the requested content if the requested content is a modification of the logical code of the statistical class, the information transfer class, or the command execution class. , Modify the code logic and code parameters of the information passing class and the command execution class, and update the modified code logic and code parameters to the preset workflow system.
- the apparatus further includes:
- the calling unit 45 is configured to analyze the type of the workflow interface, and call the workflow interface in a multi-threaded calling manner according to statistics, information transmission, and command execution.
- the apparatus further includes:
- the feedback unit 46 is configured to feed back the result of the process management to the front end of the system in the form of a progress list, so that the user can grasp the progress of the management process in the workflow engine in real time.
- This application provides another management device for a workflow engine.
- a logic interface and a code parameter are obtained from a preset workflow system by searching a workflow interface corresponding to a management request of a workflow. , And perform process management according to the requested content, saving human resources, simplifying the speed of project code changes, and facilitating process management.
- a non-volatile readable storage medium stores at least one computer-readable instruction, and the computer-readable instruction can execute any of the foregoing methods. Management method of the workflow engine in the example.
- FIG. 5 shows a schematic structural diagram of a computer device according to an embodiment of the present application, which may specifically be a terminal.
- the specific embodiment of the present application does not limit the specific implementation of the terminal.
- the terminal may include a processor (processor) 502, a communication interface (504), a memory (506), and a communication bus (508).
- processor processor
- the terminal may include a communication interface (504), a memory (506), and a communication bus (508).
- the processor 502, the communication interface 504, and the memory 506 complete communication with each other through the communication bus 508.
- the communication interface 504 is configured to communicate with a network element of another device, such as a client or another server.
- the processor 502 is configured to execute computer-readable instructions 510, and may specifically perform related steps in the foregoing management method embodiment of the workflow engine.
- the computer-readable instructions 510 may include computer-readable instruction codes, where the computer-readable instruction codes include computer-readable instructions.
- the processor 502 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
- the terminal includes one or more processors, which may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.
- the memory 506 is configured to store computer-readable instructions 510.
- the memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), for example, at least one disk memory.
- the computer-readable instructions 510 may be specifically configured to cause the processor 502 to perform the following operations:
- modules or steps of the present application may be implemented by a general-purpose computing device, and they may be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
- they can be implemented with computer-readable instruction code executable by the computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be different from this
- the steps shown or described are performed in sequence, either by making them into individual integrated circuit modules, or by making multiple modules or steps into a single integrated circuit module. As such, this application is not limited to any particular combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Game Theory and Decision Science (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种工作流引擎的管理方法及装置、非易失性可读存储介质、计算机设备,涉及通信技术领域,主要目的在于现有大部分公司在使用工作流引擎时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码的问题。包括:当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口(101);通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数(102);根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理(103)。
Description
本申请要求与2018年7月19日提交中国专利局、申请号为2018107964345、申请名称为“工作流引擎的管理方法及装置、存储介质、终端”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
本申请涉及一种通信技术领域,特别是涉及一种工作流引擎的管理方法及装置、存储介质、计算机设备。
工作流引擎是指将workflow作为应用系统的一部分,并为之提供对各应用系统起决定作用的核心解决方案,它可以根据角色、分工和条件的不同决定信息传递路由、内容等。其中,工作流引擎包括了流程的节点管理、流向管理、流程样例管理等重要功能。
目前,现有大部分公司在使用工作流引擎时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码,大大浪费人力资源,影响项目开发进度。
发明内容
有鉴于此,本申请提供一种工作流引擎的管理方法及装置、存储介质、计算机设备,主要目的在于现有大部分公司在使用工作流引擎时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码的问题。
依据本申请一个方面,提供了一种工作流引擎的管理方法,包括:
当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;
通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;
根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
依据本申请一个方面,提供了一种工作流引擎的管理装置,包括:
查找单元,用于当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;
提取单元,用于通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;
管理单元,用于根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
根据本申请的又一方面,提供了一种非易失性可读存储介质,所述非易失性可读存储介质中存储有至少一计算机可读指令,所述计算机可读指令使处理器执行如上述工作流引擎的管理方法对应的操作。
根据本申请的再一方面,提供了一种计算机设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;
所述存储器用于存放至少一计算机可读指令,所述计算机可读指令使所述处理器执行上述工作流引擎的管理法对应的操作。
借由上述技术方案,本申请实施例提供的技术方案至少具有下列优点:
本申请提供了一种工作流引擎的管理方法及装置、存储介质、计算机设备,首先当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。与现有大部分公司在使用工作流引擎时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码相比,本申请实施例通过查找工作流程的管理请求对应的工作流程接口,通过这个工作流程接口从预置工作流程系统中获取到逻辑代码以及代码参数,并根据请求的内容进行流程管理,节约人力资源,简化项目更改代码速度,便于流程管理。
上述说明仅是本申请技术方案的概述,为了能够更清楚了解本申请的技术手段,而可依照说明书的内容予以实施,并且为了让本申请的上述和其它目的、特征和优点能够更明显易懂,以下特举本申请的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本申请实施例提供的一种工作流引擎的管理方法流程图;
图2示出了本申请实施例提供的另一种工作流引擎的管理方法流程图;
图3示出了本申请实施例提供的一种工作流引擎的管理装置框图;
图4示出了本申请实施例提供的另一种工作流引擎的管理装置框图;
图5示出了本申请实施例提供的一种计算机设备的结构示意图。
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
本申请实施例提供了一种工作流引擎的管理方法,如图1所示,所述方法包括:
101、当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口。
其中,所述工作流程即为在业务项目开发过程中,执行不同业务时所需要的业务顺序,所述管理请求包括对工作流程代码的获取、对工作流程代码的修改、对工作流程代码的删除等,本申请实施例不做具体限定。所述请求内容即为对具体业务的工作流程的管理请求,例如对贷款项目的工作流程代码的获取等,本申请实施例不做具体限定。
需要说明的是,工作流程接口包括不同业务项目对应的接口,每个工作流程接口都可以对接不同工作流程的代码,例如,工作流程接口可以包括发布流程图、启动任务、流转任务、挂起任务、激活任务、终止任务、任务改派、设置任务参数等接口,本申请实施例不做具体限定。另外,本申请实施例中,由于工作流程接口为配置于预置工作流程系统中的,因此,在查找对应的工作流程接口时,即是查找可以直接从预置工作流程系统中获取到匹配代码的工作流程接口。
102、通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑 代码以及代码参数。
其中,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数,所述逻辑代码即为所有业务项目中与工作流程相关,且可以执行业务逻辑的代码,如这些代码时所有项目开发人员重复编写的代码部分。例如,贷款项目与保险项目中,向银行发送相关信息进行审核的流程代码是贷款项目与保险项目所共同的流程,因此,这个过程的代码即为逻辑代码。相对的,代码参数用于体现不同项目业务的参数,结合逻辑代码,更改不同的代码参数可以得到不同业务项目的工作流程代码。
需要说明的是,所述预置工作流系统为预先配置的独立系统,具体包括了预先抽取的所有业务项目对应的逻辑代码以及代码参数,且对于每一个业务项目的逻辑代码均匹配一个单独的工作流程接口,以便通过工作流程接口直接获取到于请求内容对应的逻辑代码级代码参数。
103、根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
其中,所述流程管理为根据请求内容中具体的工作流程代码的获取、对工作流程代码的修改、对工作流程代码的删除等管理内容进行处理。例如,请求内容为对工作流程代码的获取,则进行的流程管理直接提取对应的工作流程代码,即不更改逻辑代码内容,并按照具体的工作流程填写代码参数,从而根据逻辑代码与代码参数组成一套对应请求内容的业务项目的流程代码,以便项目开发人员直接进行获取,本申请实施例不做具体限定。
需要说明的是,步骤103中的流程管理可以通过预置工作流程系统进行执行,即可以根据请求内容传入对应的代码参数来执行传入代码参数可执行的具体业务项目的工作流程。
本申请提供了一种工作流引擎的管理方法,与现有大部分公司在使用工作流引擎 时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码相比,本申请实施例通过查找工作流程的管理请求对应的工作流程接口,通过这个工作流程接口从预置工作流程系统中获取到逻辑代码以及代码参数,并根据请求的内容进行流程管理,节约人力资源,简化项目更改代码速度,便于流程管理。
本申请实施例提供了另一种工作流引擎的管理方法,如图2所示,所述方法包括:
201、从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中。
对于本申请实施例,为了预先将不同工作流程的逻辑代码存储至预置工作流程系统中,以便当接收到管理请求后直接通过工作流程接口从预置工作流程中进行提取对应的逻辑代码,并减少更改代码开发的编写重复性,从业务项目中抽取逻辑代码,抽取的逻辑代码包括了可以执行不同工作流程的逻辑代码。另外,预置工作流系统会自动将逻辑代码中缺少的不同业务项目的代码参数自动进行补充,以实现更改不同的代码参数结合逻辑代码实现不同业务项目的工作流程。
对于本申请实施例,为了详细描述并进一步扩展,步骤201还包括:按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
其中,由于不同业务项目类型对应的代码可以提取的逻辑不同,对应的逻辑代码也 不同,为了简化抽取逻辑代码过程的复杂程度,按照业务项目的类型对代码内容进行划分,即可以得到统计类、信息传递类、命令执行类的工作流程的代码内容。针对上述的不同类型的代码内容,每一种类型都可以抽取一套逻辑代码,例如,统计购买某保险的客户人群的逻辑代码与统计贷款买房的用户群体的逻辑代码相同,只需要修改对应的代码参数既可以使用同一套逻辑代码得以实现。另外,对于本申请实施例,为了提高抽取逻辑代码的准确性,并区分执行业务流程中,逻辑代码与代码参数的区别,可以对属于流程逻辑的代码的所在位置进行标记标签。其中,属于流程逻辑的代码可以为执行动作类的代码,且本申请实施例对于标签的形式不做具体限定。
对于本申请实施例,为了详细描述并进一步细化,所述采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码包括:通过查找所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中标签所在的位置获取具有流程逻辑的逻辑代码,所述标签用于指示获取逻辑代码的位置。
其中,采用标签查找的方式即为根据代码内容中进行标签的位置提取对应的代码,以便提取的逻辑代码为准确的、可执行流程逻辑的代码。在按照标签查找时,除了抽取逻辑代码,还需要确定除了逻辑代码之外的代码参数的位置,以位置参数的形式与代码参数一起写入预置工作流程系统中,以便在获取逻辑代码与代码参数时,可以准确的将代码参数添加至逻辑代码对应的位置中,以实现整套代码的正确执行。
例如,在抽取一组逻辑代码时,代码参数为文件ID、页码等,这些代码参数的位置分别位于逻辑代码中的第1行代码中的第3位、第3行代码中的第2位等,在写入预置工作流程系统时,按照文件ID-1-3、页码-3-2的形式一起进行写入。
202、当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹 配的工作流程接口。
本步骤与图1所示的步骤101方法相同,在此不再赘述。
203、解析所述工作流程接口的类型,以多线程的调用方式按照统计类、信息传递类、命令执行类调用所述工作流程接口。
对于本申请实施例,为了按照不同的工作流程的分类进行配置工作流程接口,以便在接口调用时准确从同类型工作流程接口中找到准确的请求内容对应的接口,当查找工作流程接口之后,需要解析工作流程接口的类型,并按照多线程的调用方式对应类型的工作流程接口,即每一个工作流程接口在就那些调用时使用一个单独的线程,以避免在调用多个工作流程接口时产生线程拥挤的情况。
另外,为了降低接口调用时发生负载过量的情况,以多线程的方式来调用不同类型的工作流程接口,即统计类、信息传递类、命令执行类分别调用分配好的3个线程,以避免不同类型之间接口调用产生系统运行过慢。本实施例中,工作流程接口调用即是指无论调用什么业务项目对应的逻辑代码时,都需要执行对应工作流程的整个流程图,或者对工作流程任务进行流转、挂起、终止操作,然后通过http请求调用接口即可。例如,请求内容为发布内容,利用线程2调用信息传递类型的工作流程接口,然后通过步骤204获取到逻辑代码以代码参数,传入参数文件ID、页码即可。
204、通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数。
本步骤与图1所示的步骤102方法相同,在此不再赘述。
205、若所述请求内容为对所述统计类、所述信息传递类、所述命令执行类的逻辑代码进行修改,则根据请求内容对所述所类、所述信息传递类、所述命令执行类的代码逻辑及代码参数的修改内容进行修改,并将修改后的代码逻辑及代码参数更新至所述预 置工作流系统中。
对于本申请实施例,为了避免在修改工作流程代码时,开发人员重复对相同代码段进行编写,并减少人力资源的浪费,在请求内容为对逻辑代码修改时,即是对业务流程进行更改时,则根据请求内容中需要修改的具体流程中的具体的步骤进行更改,以及对代码参数进行调整,需要调整代码参数内容包括代码参数位于逻辑代码的位置,以及代码参数在逻辑代码中可执行的具体功能等,本申请实施例不做具体限定。另外,为了便于将更改后的逻辑代码级代码参数应用至以后的流程管理中,还需要将修改后的逻辑代码级代码参数更新至预置工作流程系统中。
206、将流程管理的结果以进度列表形式反馈至系统前端。
对于本申请实施例,以使得用户实时掌握工作流引擎中的管理流程进度。其中,流程管理的结果包括对不同工作流程的执行、修改、查看等结果,所述进度列表为不同时间下,预置工作流程系统通过工作流程接口执行的具体情况,如8点20分通过信息传递类接口中的发布流程接口发布了1条信息,则将这个流程的进度反馈至系统前端,以便开发人员实时掌握各个业务项目的工作进度以及工作流引擎中的管理流程。
本申请提供了另一种工作流引擎的管理方法,本申请实施例通过查找工作流程的管理请求对应的工作流程接口,通过这个工作流程接口从预置工作流程系统中获取到逻辑代码以及代码参数,并根据请求的内容进行流程管理,节约人力资源,简化项目更改代码速度,便于流程管理。
进一步的,作为对上述图1所示方法的实现,本申请实施例提供了一种工作流引擎的管理装置,如图3所示,该装置包括:查找单元31、提取单元32、管理单元33。
查找单元31,用于当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;所述查找单元31为工作流引擎的管理装置执行当接收 到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口的模块。
提取单元32,用于通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;所述提取单元32为工作流引擎的管理装置执行通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数的模块。
管理单元33,用于根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。所述管理单元33为工作流引擎的管理装置执行根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理的模块。
本申请提供了一种工作流引擎的管理装置,与现有大部分公司在使用工作流引擎时,各个部分的项目组在项目开发过程中,都会需要大量开发人员熟悉编写工作流相关部分的代码,使得每个项目组的开发人员都会重复编写一部分相同流程的代码相比,本申请实施例通过查找工作流程的管理请求对应的工作流程接口,通过这个工作流程接口从预置工作流程系统中获取到逻辑代码以及代码参数,并根据请求的内容进行流程管理,节约人力资源,简化项目更改代码速度,便于流程管理。
进一步的,作为对上述图2所示方法的实现,本申请实施例提供了另一种工作流引擎的管理装置,如图4所示,该装置包括:查找单元41、提取单元42、管理单元43、抽取单元44、调用单元45、反馈单元46。
查找单元41,用于当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;
提取单元42,用于通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻 辑代码以及代码参数;
管理单元43,用于根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
进一步地,所述装置还包括:
抽取单元44,用于从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中。
进一步地,所述抽取单元44包括:
分类模块4401,用于按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;
提取模块4402,用于采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;
添加模块4403,用于将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;
写入模块4404,用于将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
进一步地,所述提取模块4402,具体用于通过查找所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中标签所在的位置获取具有流程逻辑的逻辑代码,所述标签用于指示获取逻辑代码的位置。
进一步地,所述管理单元43,具体用于若所述请求内容为对所述统计类、所述信息传递类、所述命令执行类的逻辑代码进行修改,则根据请求内容对所述统计类、所述信息传递类、所述命令执行类的代码逻辑及代码参数的修改内容进行修改,并将修改后的 代码逻辑及代码参数更新至所述预置工作流系统中。
进一步地,所述装置还包括:
调用单元45,用于解析所述工作流程接口的类型,以多线程的调用方式按照统计类、信息传递类、命令执行类调用所述工作流程接口。
进一步地,所述装置还包括:
反馈单元46,用于将流程管理的结果以进度列表形式反馈至系统前端,以使得用户实时掌握工作流引擎中的管理流程进度。
本申请提供了另一种工作流引擎的管理装置,本申请实施例通过查找工作流程的管理请求对应的工作流程接口,通过这个工作流程接口从预置工作流程系统中获取到逻辑代码以及代码参数,并根据请求的内容进行流程管理,节约人力资源,简化项目更改代码速度,便于流程管理。
根据本申请一个实施例提供了一种非易失性可读存储介质,所述非易失性可读存储介质存储有至少一计算机可读指令,该计算机计算机可读指令可执行上述任意方法实施例中的工作流引擎的管理方法。
图5示出了根据本申请一个实施例提供的一种计算机设备的结构示意图,具体可以为一种终端,本申请具体实施例并不对终端的具体实现做限定。
如图5所示,该终端可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。
其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。
通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。
处理器502,用于执行计算机可读指令510,具体可以执行上述工作流引擎的管理方法实施例中的相关步骤。
具体地,计算机可读指令510可以包括计算机可读指令代码,该计算机可读指令代码包括计算机可读指令。
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本申请实施例的一个或多个集成电路。终端包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。
存储器506,用于存放计算机可读指令510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。
计算机可读指令510具体可以用于使得处理器502执行以下操作:
当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;
通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;
根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的计算机可读指令代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。
Claims (20)
- 一种工作流引擎的管理方法,其特征在于,包括:当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中。
- 根据权利要求2所述的方法,其特征在于,所述从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中包括:按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
- 根据权利要求3所述的方法,其特征在于,所述采用标签查找的方式,从所述 统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码包括:通过查找所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中标签所在的位置获取具有流程逻辑的逻辑代码,所述标签用于指示获取逻辑代码的位置。
- 根据权利要求3所述的方法,其特征在于,所述根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理包括:若所述请求内容为对所述统计类、所述信息传递类、所述命令执行类的逻辑代码进行修改,则根据请求内容对所述统计类、所述信息传递类、所述命令执行类的代码逻辑及代码参数的修改内容进行修改,并将修改后的代码逻辑及代码参数更新至所述预置工作流系统中。
- 根据权利要求3所述的方法,其特征在于,所述当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口之后,所述方法还包括:解析所述工作流程接口的类型,以多线程的调用方式按照统计类、信息传递类、命令执行类调用所述工作流程接口。
- 根据权利要求1所述的方法,其特征在于,所述根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理之后,所述方法还包括:将流程管理的结果以进度列表形式反馈至系统前端,以使得用户实时掌握工作流引擎中的管理流程进度。
- 一种工作流引擎的管理装置,其特征在于,包括:查找单元,用于当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;提取单元,用于通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;管理单元,用于根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
- 根据权利要求8所述的装置,其特征在于,所述装置还包括:抽取单元,用于从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中。
- 根据权利要求9所述的装置,其特征在于,所述抽取单元包括:分类模块,用于按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;提取模块,用于采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;添加模块,用于将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;写入模块,用于将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
- 根据权利要求10所述的装置,其特征在于,所述提取模块,具体用于通过查找所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中标签所在的位置获取具有流程逻辑的逻辑代码,所述标签用于指示获取逻辑代码的位置。
- 根据权利要求10所述的装置,其特征在于,所述管理单元,具体用于若所述 请求内容为对所述统计类、所述信息传递类、所述命令执行类的逻辑代码进行修改,则根据请求内容对所述统计类、所述信息传递类、所述命令执行类的代码逻辑及代码参数的修改内容进行修改,并将修改后的代码逻辑及代码参数更新至所述预置工作流系统中。
- 根据权利要求10所述的装置,其特征在于,所述装置还包括:调用单元,用于解析所述工作流程接口的类型,以多线程的调用方式按照统计类、信息传递类、命令执行类调用所述工作流程接口。
- 根据权利要求8所述的装置,其特征在于,所述装置还包括:反馈单元,用于将流程管理的结果以进度列表形式反馈至系统前端,以使得用户实时掌握工作流引擎中的管理流程进度。
- 一种非易失性可读存储介质,所述非易失性可读存储介质中存储有至少一计算机可读指令,所述计算机可读指令使处理器执行工作流引擎的管理方法,包括:当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
- 根据权利要求15所述的非易失性可读存储介质,其特征在于,所述计算机可读指令使处理器执行所述方法还包括:从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中。
- 根据权利要求16所述的非易失性可读存储介质,其特征在于,所述计算机可读指令使处理器执行所述从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中包括:按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
- 一种计算机设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;所述存储器用于存放至少一计算机可读指令,所述计算机可读指令使所述处理器执行工作流引擎的管理方法,包括:当接收到工作流程的管理请求时,查找与所述管理请求中携带的请求内容匹配的工作流程接口;通过所述工作流程接口从预置工作流系统中提取与所述请求内容匹配的逻辑代码以及代码参数,所述预置工作流程系统中存储有不同工作流程对应的逻辑代码以及代码参数;根据所述请求内容对所述逻辑代码以及所述代码参数进行流程管理。
- 根据权利要求18所述的计算机设备,其特征在于,所述计算机可读指令使所述处理器执行所述方法还包括:从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置 工作流系统中。
- 根据权利要求19所述的计算机设备,其特征在于,所述计算机可读指令使所述处理器执行所述从业务项目中抽取用于执行不同工作流程的逻辑代码,并将所述逻辑代码写入预置工作流系统中包括:按照业务项目类型对不同工作流程的代码内容进行分类,得到统计类、信息传递类、命令执行类的工作流程的代码内容,所述代码内容中包括对具有流程逻辑执行的代码的标签;采用标签查找的方式,从所述统计类、所述信息传递类、所述命令执行类的工作流程的代码内容中提取具有流程逻辑的逻辑代码;将所述逻辑代码按照执行顺序进行抽取,并在抽取的逻辑代码中添加代码参数的位置参数;将所述逻辑代码以及所述代码参数的位置参数写入至预置工作流程系统中。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810796434.5A CN108762735B (zh) | 2018-07-19 | 2018-07-19 | 工作流引擎的管理方法及装置、存储介质、终端 |
| CN201810796434.5 | 2018-07-19 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020015215A1 true WO2020015215A1 (zh) | 2020-01-23 |
Family
ID=63970663
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/110908 Ceased WO2020015215A1 (zh) | 2018-07-19 | 2018-10-18 | 工作流引擎的管理方法及装置、存储介质、计算机设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108762735B (zh) |
| WO (1) | WO2020015215A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114756737A (zh) * | 2021-01-08 | 2022-07-15 | 腾讯科技(北京)有限公司 | 一种应用于业务推荐的特征提取方法、装置、设备和介质 |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109377186A (zh) * | 2018-11-14 | 2019-02-22 | 北京中电普华信息技术有限公司 | 一种流程管理装置及方法 |
| CN109918126A (zh) * | 2019-01-28 | 2019-06-21 | 平安普惠企业管理有限公司 | 代码编辑的方法、装置、计算机设备和存储介质 |
| CN109976724A (zh) * | 2019-03-16 | 2019-07-05 | 平安城市建设科技(深圳)有限公司 | 租赁系统的开发方法、装置、设备及计算机可读存储介质 |
| CN110321111B (zh) * | 2019-06-28 | 2026-01-23 | 深圳前海微众银行股份有限公司 | 系统流程控制方法、装置、设备及计算机存储介质 |
| CN110428216B (zh) * | 2019-07-03 | 2024-07-12 | 平安科技(深圳)有限公司 | 业务流程管控方法、装置、计算机设备和存储介质 |
| CN111526049B (zh) * | 2020-04-16 | 2023-04-07 | 中国工商银行股份有限公司 | 运维系统、运维方法、电子设备和存储介质 |
| CN119512525B (zh) * | 2025-01-15 | 2025-04-29 | 神州灵云(北京)科技有限公司 | 一种参数管道传输方法、系统及设备 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6052684A (en) * | 1998-03-24 | 2000-04-18 | Hewlett-Packard Company | System and method for performing consistent workflow process execution in a workflow management system |
| CN1766835A (zh) * | 2004-10-01 | 2006-05-03 | 微软公司 | 用于在设计和运行时间无缝制作和编辑工作流的框架 |
| CN101661582A (zh) * | 2009-09-28 | 2010-03-03 | 浙江大学 | 工作流管理系统及实现工作流定义工具的方法 |
| CN102456185A (zh) * | 2010-10-29 | 2012-05-16 | 金蝶软件(中国)有限公司 | 一种分布式工作流处理方法及分布式工作流引擎系统 |
| CN104915193A (zh) * | 2015-05-04 | 2015-09-16 | 北京奇艺世纪科技有限公司 | 一种流程引擎的处理方法和装置 |
| CN106873957A (zh) * | 2016-06-23 | 2017-06-20 | 阿里巴巴集团控股有限公司 | 一种业务流程的处理方法和设备 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5064964B2 (ja) * | 2006-11-10 | 2012-10-31 | 株式会社リコー | ワークフロー管理方法 |
| JP5605963B2 (ja) * | 2013-01-31 | 2014-10-15 | キヤノンソフトウェア株式会社 | 帳票システムおよび帳票システムの制御方法およびプログラムおよび記録媒体 |
| CN107153898A (zh) * | 2016-03-03 | 2017-09-12 | 上海幻鱼信息科技有限公司 | 一种基于XML和Flash技术栈引擎的工作流程 |
| CN106022726B (zh) * | 2016-05-20 | 2019-10-22 | 中国农业银行股份有限公司 | 一种工作流系统的部署仿真方法及装置 |
| CN107767008A (zh) * | 2017-03-03 | 2018-03-06 | 平安医疗健康管理股份有限公司 | 流程配置方法及装置 |
-
2018
- 2018-07-19 CN CN201810796434.5A patent/CN108762735B/zh active Active
- 2018-10-18 WO PCT/CN2018/110908 patent/WO2020015215A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6052684A (en) * | 1998-03-24 | 2000-04-18 | Hewlett-Packard Company | System and method for performing consistent workflow process execution in a workflow management system |
| CN1766835A (zh) * | 2004-10-01 | 2006-05-03 | 微软公司 | 用于在设计和运行时间无缝制作和编辑工作流的框架 |
| CN101661582A (zh) * | 2009-09-28 | 2010-03-03 | 浙江大学 | 工作流管理系统及实现工作流定义工具的方法 |
| CN102456185A (zh) * | 2010-10-29 | 2012-05-16 | 金蝶软件(中国)有限公司 | 一种分布式工作流处理方法及分布式工作流引擎系统 |
| CN104915193A (zh) * | 2015-05-04 | 2015-09-16 | 北京奇艺世纪科技有限公司 | 一种流程引擎的处理方法和装置 |
| CN106873957A (zh) * | 2016-06-23 | 2017-06-20 | 阿里巴巴集团控股有限公司 | 一种业务流程的处理方法和设备 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114756737A (zh) * | 2021-01-08 | 2022-07-15 | 腾讯科技(北京)有限公司 | 一种应用于业务推荐的特征提取方法、装置、设备和介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108762735B (zh) | 2021-06-25 |
| CN108762735A (zh) | 2018-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020015215A1 (zh) | 工作流引擎的管理方法及装置、存储介质、计算机设备 | |
| US11580107B2 (en) | Bucket data distribution for exporting data to worker nodes | |
| US10831562B2 (en) | Method and system for operating a data center by reducing an amount of data to be processed | |
| US9183107B2 (en) | Management of stream operators with dynamic connections | |
| US9218395B2 (en) | Managing attributes in stream processing | |
| WO2023109964A1 (zh) | 一种数据分析方法、装置、设备及计算机可读存储介质 | |
| CN112000350B (zh) | 一种动态规则更新方法、装置及存储介质 | |
| US9262223B2 (en) | Lazy initialization of operator graph in a stream computing application | |
| US12579596B2 (en) | Managing artificial intelligence derived image attributes | |
| WO2018036342A1 (zh) | 基于csar的模型文件的可视化设计方法及装置 | |
| CN114064026A (zh) | 一种业务处理模型生成方法、装置、电子设备和存储介质 | |
| CN106873957A (zh) | 一种业务流程的处理方法和设备 | |
| US8271768B2 (en) | Concurrent handling of exceptions in received aggregate exception structure with supplied exception handlers and marking handled exceptions | |
| CN112882994A (zh) | 一种日志提取方法和装置 | |
| CN117724874B (zh) | 用于管理共享接收队列的方法、计算机设备及介质 | |
| CN114691766B (zh) | 数据采集方法、装置及电子设备 | |
| CN110517079B (zh) | 数据处理方法、装置、电子设备和存储介质 | |
| CN108399095B (zh) | 支持动态管理定时任务的方法、系统、设备和存储介质 | |
| US10997057B2 (en) | Debugging asynchronous functions | |
| CN114265959A (zh) | 数据标注方法及装置、存储介质、终端 | |
| CN116795858B (zh) | 链路调用检索方法、装置、设备、介质及产品 | |
| CN117312307A (zh) | 业务数据处理方法、装置、计算机设备和存储介质 | |
| US20140201721A1 (en) | Framework and repository for analysis of software products | |
| CN113434466B (zh) | 文件查看处理方法、装置、设备及存储介质 | |
| CN112181937A (zh) | 一种结转数据的方法和装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18926470 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18926470 Country of ref document: EP Kind code of ref document: A1 |