WO2021139778A1 - System scheduling workflow generation method, system, apparatus, and computer readable storage medium - Google Patents

System scheduling workflow generation method, system, apparatus, and computer readable storage medium Download PDF

Info

Publication number
WO2021139778A1
WO2021139778A1 PCT/CN2021/070904 CN2021070904W WO2021139778A1 WO 2021139778 A1 WO2021139778 A1 WO 2021139778A1 CN 2021070904 W CN2021070904 W CN 2021070904W WO 2021139778 A1 WO2021139778 A1 WO 2021139778A1
Authority
WO
WIPO (PCT)
Prior art keywords
process activity
module
node
modules
business
Prior art date
Application number
PCT/CN2021/070904
Other languages
French (fr)
Chinese (zh)
Inventor
刘振涛
方思行
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021139778A1 publication Critical patent/WO2021139778A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Definitions

  • the embodiments of the present application relate to the field of cloud technology, and in particular, to a method, system, device, and computer-readable storage medium for generating a system scheduling workflow.
  • Workflow technology is the core technology for realizing business process automation.
  • the main problem that the workflow solves is to use computers to automatically transfer documents, information or tasks among multiple participants in accordance with predetermined rules in order to achieve a certain business goal.
  • a method for generating a system scheduling workflow includes: providing a configuration interface for users to configure various business modules that are required to implement financial services, the parameters of the various business modules, and all The connection relationship between the various service modules; after the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation, and the configuration file includes the various service modules that need to be called to realize the financial service , The parameter configuration information of each service module, and the connection relationship between the various service modules; and converting the configuration file into an XML file executable by the workflow engine, wherein the parameter configuration information includes the various The invocation type information of the business module, said converting the configuration file into an XML file executable by the workflow engine includes: converting each business module that needs to be invoked into a corresponding process according to the invocation type information of each business module An activity node, wherein the process activity node is an executable XML fragment; adding parameter configuration information of the parameter configuration information of each service module except the call type information to the
  • the system scheduling workflow generating device includes: a providing module for providing a configuration interface for a user to configure various business modules required to implement financial services.
  • the generating module is used to generate a configuration file for realizing financial services according to the configuration operation after the user completes the configuration operation, and the configuration file includes the realization of all The various business modules that need to be called by the financial business, the parameter configuration information of the various business modules, and the connection relationship between the various business modules; and a conversion module for converting the configuration file into a workflow engine executable XML file, wherein the parameter configuration information includes the call type information of each service module, and the conversion module is also used to convert each service module that needs to be called into The corresponding process activity node, where the process activity node is an executable XML fragment; the parameter configuration information of each service module except the call type information is added to the process activity node In; the obtained process activity nodes are concatenated according to the connection relationship, and the final executable
  • a computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor is used to implement the following steps when the computer program is executed:
  • the configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules;
  • the configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
  • the obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  • the configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules;
  • the configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
  • the obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  • This application can obtain a configuration file for realizing financial services, and then can convert the obtained configuration file into an XML file executable by the workflow engine. There is no need for developers to develop code, which saves the development time needed to achieve business goals, reduces costs, and has high flexibility.
  • FIG. 1 schematically shows a flowchart of a method for generating a system scheduling workflow according to Embodiment 1 of the present application
  • Fig. 2 schematically shows a detailed flow chart of the steps of converting the configuration file into an XML file executable by the workflow engine in this application;
  • FIG. 3 schematically shows a detailed flow chart of the steps of connecting each process activity node obtained in this application according to the connection relationship to obtain a final executable XML file;
  • Fig. 4 schematically shows a block diagram of an apparatus for generating a system scheduling workflow according to a second embodiment of the present application.
  • FIG. 5 schematically shows a schematic diagram of the hardware architecture of a computer device suitable for implementing the method for generating a system scheduling workflow according to the third embodiment of the present application.
  • Fig. 1 schematically shows a flowchart of a method for generating a system scheduling workflow according to Embodiment 1 of the present application. It can be understood that the flowchart in this method embodiment is not used to limit the order of execution of the steps. The following exemplarily describes the computer device 2 as the execution subject.
  • the system scheduling workflow generation method may include steps S100 to S102, where:
  • step S100 a configuration interface is provided for the user to configure various service modules required to implement financial services, the parameters of the various service modules, and the connection relationship between the various service modules.
  • Step S102 After the user completes the configuration operation, generate a configuration file for realizing financial services according to the configuration operation.
  • the configuration file includes various business modules that need to be called to implement the financial business. Parameter configuration information of and the connection relationship between the various service modules.
  • the financial services in this embodiment may be services such as internal monitoring, approval, and operation of the enterprise, such as loan approval services, credit card application services, loan lending services, and so on.
  • the realization of each financial business needs to be processed in accordance with a specific process through multiple business modules in the internal management process of the financial business to realize the financial business.
  • each business module (or business system) can implement a business function.
  • the following business modules are generally required to complete the loan lending business according to the following process: 1) The quota system needs to be transferred to verify the lender’s quota; 2) if the quota system checks the lender After successfully completing the verification of the loan amount, the loan system needs to be called for loan; 3) After the loan system has released the loan, the loan system needs to call back the loan result; 4) When the loan system’s loan result is successful, the loan needs to be called again The system deducts the lender’s limit; 5) After the limit deduction is completed, the system needs to call the order system to record the lender’s loan order to update the loan order; 6) Finally, it needs to call the SMS system to send SMS to notify the lender to complete the loan disbursement.
  • a configuration interface can be provided on the computer device 2.
  • the user (which can be a non-developer, such as a product manager) can configure various business modules that need to be called to realize the financial service through the configuration interface, and configure each business module Configure the parameters of, and configure the connection relationship between the various business modules.
  • a configuration file for realizing the financial service is generated, and the configuration file is stored, so that the computer device 2 can obtain the configuration file.
  • the configuration file includes various service modules that are required to implement the financial service, the parameter configuration information of each service module, and the connection relationship between the various service modules.
  • the parameter configuration information may include invocation type information of the service module, logical judgment information, interface invocation address information, interface invocation method information, and in and out parameter configuration information of the service module.
  • the service call type information is information used to characterize whether the service interface provided to the service module is a synchronous interface call or an asynchronous interface call.
  • the logical judgment information is information used to set different return results of business modules to go through different process branches.
  • the logical judgment information is generally an IF logical judgment statement.
  • the IF logical judgment statement can be used to set if the business module A’s If the return value contained in the return result is 1, the calling process is ended, and if the return value contained in the return result of business module A is 0, then the process of calling business module B is followed. For another example, if the business module A does not return a result within 10 hours, the calling process is ended. If the business module A returns a result within 10 hours, the process of calling business module C is followed.
  • the interface calling address information is the address to be pointed to when calling the business interface provided by the business module, for example, the identification code ID of the external system module.
  • the interface invocation mode information is whether the service interface provided by the invoking service module is invoked in an http request method or in a cloud transmission method.
  • the input and output parameter configuration information of the business module is the configuration information of the output and input parameters of the business module, including the field type conversion, field format conversion, parameter assignment, etc. of the output parameter and the input parameter.
  • Step S104 Convert the configuration file into an XML file executable by the workflow engine.
  • the computer device 2 When the computer device 2 obtains the configuration file, it can convert the configuration file into an XML (Extensible Markup Language) file executable by the workflow engine, where XML can be used to mark data and define data.
  • XML Extensible Markup Language
  • Type is a source language that allows users to define their own markup language.
  • the workflow engine may be a jbpm workflow engine, an Activiti workflow engine, and the like.
  • jBpm is a flexible and extensible workflow engine system.
  • the business process input by the server as jBpm runtime is expressed in a simple and powerful language and packaged in the process archive.
  • jBmp combines the convenience of workflow application development with outstanding enterprise application integration (EAI) capabilities.
  • jBmp includes a web application and a scheduler.
  • jBmp is a set of J2SE components that can be deployed as a J2EE application cluster.
  • Activiti is a lightweight, embeddable BPM engine, and it is also designed for a scalable cloud architecture.
  • the call type information includes synchronous interface call and asynchronous interface call.
  • the step S104 may include the following steps:
  • Step S200 Convert each business module to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment.
  • Each business module has corresponding call type information.
  • the call type information of different business modules can be the same or different.
  • the call type information of business module A is synchronous interface call
  • the call type information of business module B is synchronous Interface call
  • the call type information of service module C is asynchronous interface call.
  • the invocation process of the business module can be converted into the corresponding process activity node (Task).
  • the call to business module A is converted to Task1
  • the call to business module B is converted to Task2
  • the call to business module C is converted to Task3.
  • IDs node identifiers
  • the transformed process activity node conforms to the BPMN standard.
  • the BPMN standard is defined by BPMI (The Business Process Management Initiative has developed a set of standards called Business Process Modeling Notation (BPMN-Business Process Modeling Notation).
  • the step S200 may include the following steps: if the call type of the business module that needs to be called currently is a synchronous interface call, then the business module that needs to be called currently is converted into an atomic process activity Node (serviceTask0); if the call type of the business module that needs to be called currently is asynchronous interface call, then the business module that needs to be called currently is converted into three atomic process activity nodes, each of which is a call-out process activity node ( serviceTask1), a process activity node waiting for the callback (receiveTask), and a process activity node (serviceTask2) for processing the callback result.
  • the process of calling out the process activity node (serviceTask1) is the same as the process of invoking the corresponding process activity node (serviceTask0) of the synchronization interface. If the process activity node (serviceTask1) is called successfully to call the business module, By waiting for the callback process activity node (receiveTask) to be in the waiting state, waiting to be awakened, and waiting for the callback process activity node (receiveTask) to receive interface callback information, and after receiving the interface callback information, the callback parameters are passed to the callback result processing process
  • the activity node (serviceTask2) performs processing, and after the callback result processing flow activity node (serviceTask2) processes the callback result, the processed result is carried by the process and passed to the next process activity node.
  • Step S202 Add parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node.
  • the computer device 2 After the computer device 2 converts each business module that needs to be called into the corresponding process activity node, it needs to add the parameter configuration information of each business module except the call type information to the process activity. In the node, so that when the workflow engine executes the process activity node, it can correspondingly convert the output and input parameters of the business module according to the parameter configuration information to convert them into parameters that meet the system specifications.
  • scheduling exceptions may occur in the process of invoking service modules, in order to deal with the scheduling exceptions, in an exemplary embodiment, after the step S200, the following steps may be further included: adding to the process activity node The transaction rollback operation that needs to be executed when the call to each service module fails.
  • the workflow engine can capture the call failure/abnormal message when executing the process activity node, and call back according to the provided failure rollback interface, and the process activity node itself Things are also rolled back to the state before the execution of this process activity node.
  • the parameter configuration information includes logical judgment information
  • different return results of the business modules will follow different process branches.
  • the following step may be further included: generating branch judgments according to the logical judgment information Condition, and add the branch judgment condition to the process activity node.
  • the workflow engine can decide which process branch to execute afterwards according to different return results when executing the process activity node, so that the return result can be transferred to The next process activity node.
  • the service module scheduling can be configured according to the timeout period.
  • the timeout processing information includes the specific time for the service module to process the timeout, such as 5 days, and the service module scheduled after the service module processing timeout, for example, after the service module A processes the timeout, the call to the service module B is executed. Therefore, in order to implement the configuration of the service module scheduling according to the timeout period, in an exemplary embodiment, after the step S200, the following steps may be further included: generating a timed task according to the timeout processing information, and combining the timed task The task is added to the process activity node.
  • the workflow engine can determine whether the processing of the business module has timed out according to the timed task when executing the process activity node, and execute the next process activity node after the timeout.
  • step S204 the obtained process activity nodes are concatenated according to the connection relationship to obtain a final executable XML file.
  • each process activity node is an XML fragment
  • a complete XML file can be obtained by splicing each XML fragment according to the connection relationship.
  • the connection relationship is the calling sequence of each service module.
  • the computer equipment 2 can connect various process activity nodes in series in various ways.
  • the step S204 includes:
  • each obtained process activity node is divided into multiple groups of process activity node pairs to be connected, wherein each group of process activity node pairs includes a source node and a target node.
  • S302 Connect the source node of each group of process activity node pairs to the target node through a preset function.
  • each process activity node in each process activity node except the start activity node and the end activity node will exist in two pairs of process activity nodes to be connected, and in one of the process activity nodes to be connected
  • the pair of activity nodes act as the source node
  • the pair of process activity nodes to be connected acts as the target node. Therefore, the source node in each group of process activity node pairs can be connected to the target node through a preset function.
  • the source node of each set of process activity node pairs can be connected to the target node through the SourceRef function and the TargetRef function.
  • the first process activity node and the second process activity node are connected in series. Then the second process activity node and the third process activity node are connected in series to obtain a complete XML file.
  • the method further includes:
  • the XML file is executed to realize the financial service.
  • the computer device 2 is converting the configuration file into an XML file executable by the workflow engine, that is, the XML file can be executed by the workflow engine to realize the financial service.
  • the workflow engine in the process of executing the XML file, can record the time spent in the process of invoking each business module, and record the parameters in the invoking process, so that the system can perform the invoking process monitor.
  • a configuration file used to implement financial services can be obtained, and the obtained configuration file can be converted into an XML file executable by the workflow engine.
  • the embodiments of the present application do not require developers to perform code development, which saves development time required to achieve business goals, reduces costs, and has higher flexibility.
  • FIG. 4 schematically shows a block diagram of a system scheduling workflow generation device according to the second embodiment of the present application.
  • the system scheduling workflow generation device can be divided into one or more program modules, and one or more program modules are stored in In a storage medium, and executed by one or more processors, to complete the embodiments of the present application.
  • the program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the function of each program module in this embodiment.
  • the system scheduling workflow generating device 400 may include a providing module 410, a generating module 420, and a conversion module 430, where:
  • the providing module 410 is configured to provide a configuration interface for the user to configure various service modules required to implement financial services, the parameters of the various service modules, and the connection relationship between the various service modules.
  • the generating module 420 is configured to generate a configuration file for realizing financial services according to the configuration operation after the user completes the configuration operation, and the configuration file includes various business modules that need to be called to realize the financial service. Parameter configuration information of each service module, and the connection relationship between the various service modules
  • the conversion module 430 is used to convert the configuration file into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the conversion module is also used to
  • the call type information of each business module converts each business module that needs to be called into a corresponding process activity node, where the process activity node is an executable XML fragment; the parameter configuration information of each business module is divided by Parameter configuration information other than the call type information is added to the process activity node; each obtained process activity node is connected in series according to the connection relationship to obtain a final executable XML file.
  • the conversion module 430 is also used to: if the invocation type of the service module that needs to be invoked is synchronous interface invocation, then The current business module that needs to be called is converted into an atomic process activity node; if the calling type of the current business module that needs to be called is asynchronous interface calling, then the current business module that needs to be called is converted into three atomic processes
  • the activity nodes are respectively a callout process activity node, a waiting callback process activity node, and a callback result processing process activity node.
  • the conversion module 430 is further configured to: add a transaction rollback operation that needs to be performed when invoking the various business modules fails in the process activity node.
  • the conversion module 430 is further configured to: generate a branch judgment condition according to the logical judgment information, and add the branch judgment condition to the process activity node.
  • the conversion module 430 is further configured to: generate a timed task according to the timeout processing information, and add the timed task to the process activity Node.
  • the conversion module 420 is further configured to: divide the obtained process activity nodes into multiple groups of process activity node pairs to be connected according to the connection relationship, wherein each group of process activity node pairs includes a source Nodes and target nodes; the source node in each pair of process activity nodes is connected to the target node through a preset function.
  • the preset functions are SourceRef function and TargetRef function.
  • system scheduling workflow generation device 400 further includes:
  • the execution module is used to execute the XML file to realize the financial service.
  • FIG. 5 schematically shows a schematic diagram of the hardware architecture of a computer device 2 suitable for implementing the method for generating a system scheduling workflow according to the third embodiment of the present application.
  • the computer device 2 is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • it can be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers) with a gateway function.
  • the computer device 6 at least includes but is not limited to: a memory 510, a processor 520, and a network interface 530 that can communicate with each other through a system bus. among them:
  • the memory 510 includes at least one type of computer-readable storage medium.
  • the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), and static random access memory.
  • SRAM read-only memory
  • ROM read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • PROM programmable read-only memory
  • magnetic memory magnetic disks, optical disks, etc.
  • the memory 510 may be an internal storage module of the computer device 2, for example, the hard disk or memory of the computer device 2.
  • the memory 510 may also be an external storage device of the computer device 2, for example, a plug-in hard disk equipped on the computer device 2, a smart memory card (Smart Media Card, referred to as SMC), and a secure digital (Secure Digital). Digital, abbreviated as SD) card, flash card (Flash Card), etc.
  • the memory 510 may also include both the internal storage module of the computer device 2 and its external storage device.
  • the memory 510 is generally used to store the operating system and various application software installed in the computer device 2, such as the program code of the system scheduling workflow generation method.
  • the memory 510 may also be used to temporarily store various types of data that have been output or will be output.
  • the processor 520 may be a central processing unit (Central Processing Unit, CPU for short), a controller, a microcontroller, a microprocessor, or other data processing chips.
  • the processor 520 is generally used to control the overall operation of the computer device 2, for example, to perform data interaction or communication-related control and processing with the computer device 2.
  • the processor 520 is configured to run program codes stored in the memory 510 or process data.
  • the network interface 530 may include a wireless network interface or a wired network interface, and the network interface 530 is generally used to establish a communication link between the computer device 2 and other computer devices.
  • the network interface 530 is used to connect the computer device 2 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 2 and the external terminal.
  • the network can be Intranet, Internet, Global System of Mobile communication, GSM for short), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access) Access, referred to as WCDMA for short), 4G network, 5G network, Bluetooth (Bluetooth), Wi-Fi and other wireless or wired networks.
  • FIG. 5 only shows a computer device with components 510-530, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
  • system scheduling workflow generation method stored in the memory 510 can also be divided into one or more program modules and executed by one or more processors (in this embodiment, the processor 520). To achieve the following steps:
  • the configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules;
  • the configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
  • the obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  • This embodiment also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
  • the configuration file including the various service modules that need to be called to realize the financial service, the parameter configuration information of the various service modules, and the connection relationship between the various service modules;
  • the configuration file is converted into an XML file executable by the workflow engine.
  • the computer-readable storage medium may be volatile or non-volatile.
  • the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.) , Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Disk, CD etc.
  • the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device.
  • the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, referred to as SMC), a secure digital ( Secure Digital, abbreviated as SD) card, flash card (Flash Card), etc.
  • the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device.
  • the computer-readable storage medium is generally used to store the operating system and various application software installed in the computer device, such as the program code of the system scheduling workflow generation method in the embodiment.
  • the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
  • all the above-mentioned data can also be stored in a node of a blockchain.
  • the parameters of each business module, XML files, etc., these data can be stored in the blockchain node.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • modules or steps of the embodiments of the present application described above can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed among multiple computing devices.
  • they can be implemented by the program code executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, they can be different from here
  • the steps shown or described are executed in the order of, or they are respectively fabricated into individual integrated circuit modules, or multiple modules or steps of them are fabricated into a single integrated circuit module to achieve. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A system scheduling workflow generation method, a system, an apparatus, and a computer readable storage medium. The method comprises: providing a configuration interface to a user for configuring various service modules required to be scheduled to carry out a financial service, parameters of the various service modules, and a connection relationship between the various service modules (S100); after the user has completed a configuration operation, generating, according to the configuration operation, a configuration file used to carry out the financial service, the configuration file comprising the various service modules required to be scheduled for carrying out the financial service, parameter configuration information of the various service modules, and the connection relationship between the various service modules (S102); and converting the configuration file into an XML file executable by a workflow engine (S104). The method saves development time required for achieving a service objective, reduces costs, and improves flexibility.

Description

系统调度工作流生成方法、系统、设备及计算机可读存储介质System scheduling workflow generation method, system, equipment and computer readable storage medium
本申请要求于2020年1月10日提交中国专利局、申请号为CN202010027930.1,发明名称为“系统调度工作流生成方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on January 10, 2020, the application number is CN202010027930.1, and the invention title is "System Scheduling Workflow Generation Method and System", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请实施例涉及云技术领域,尤其涉及一种系统调度工作流生成方法、系统、设备及计算机可读存储介质。The embodiments of the present application relate to the field of cloud technology, and in particular, to a method, system, device, and computer-readable storage medium for generating a system scheduling workflow.
背景技术Background technique
工作流技术是实现业务过程自动化的核心技术。工作流主要解决的问题是,为了实现某个业务目标,利用计算机在多个参与者之间按照预定规则自动传递文档、信息或任务。Workflow technology is the core technology for realizing business process automation. The main problem that the workflow solves is to use computers to automatically transfer documents, information or tasks among multiple participants in accordance with predetermined rules in order to achieve a certain business goal.
技术问题technical problem
发明人意识到传统的工作流技术只能在单独的系统中串接不同的功能接口实现某个业务目标,如果需要串接外部系统实现业务目标,则需要进行定制化代码开发,成本较高,且灵活性较差。The inventor realizes that traditional workflow technology can only connect different functional interfaces in a separate system to achieve a certain business goal. If you need to connect an external system to achieve business goals, you need to develop customized code, which is costly. And the flexibility is poor.
技术解决方案Technical solutions
一种系统调度工作流生成方法,所述系统调度工作流生成方法包括:提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。A method for generating a system scheduling workflow. The method for generating a system scheduling workflow includes: providing a configuration interface for users to configure various business modules that are required to implement financial services, the parameters of the various business modules, and all The connection relationship between the various service modules; after the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation, and the configuration file includes the various service modules that need to be called to realize the financial service , The parameter configuration information of each service module, and the connection relationship between the various service modules; and converting the configuration file into an XML file executable by the workflow engine, wherein the parameter configuration information includes the various The invocation type information of the business module, said converting the configuration file into an XML file executable by the workflow engine includes: converting each business module that needs to be invoked into a corresponding process according to the invocation type information of each business module An activity node, wherein the process activity node is an executable XML fragment; adding parameter configuration information of the parameter configuration information of each service module except the call type information to the process activity node; The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
一种系统调度工作流生成装置,所述系统调度工作流生成装置包括:提供模块,用于提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;生成模块,用于在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及转换模块,用于将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述转换模块,还用于根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。A system scheduling workflow generating device. The system scheduling workflow generating device includes: a providing module for providing a configuration interface for a user to configure various business modules required to implement financial services. The various business modules And the connection relationship between the various service modules; the generating module is used to generate a configuration file for realizing financial services according to the configuration operation after the user completes the configuration operation, and the configuration file includes the realization of all The various business modules that need to be called by the financial business, the parameter configuration information of the various business modules, and the connection relationship between the various business modules; and a conversion module for converting the configuration file into a workflow engine executable XML file, wherein the parameter configuration information includes the call type information of each service module, and the conversion module is also used to convert each service module that needs to be called into The corresponding process activity node, where the process activity node is an executable XML fragment; the parameter configuration information of each service module except the call type information is added to the process activity node In; the obtained process activity nodes are concatenated according to the connection relationship, and the final executable XML file is obtained.
一种计算机设备,所述计算机设备包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时用于实现如下步骤:A computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor is used to implement the following steps when the computer program is executed:
提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序可被至少一个处理器所执行,以使所述至少一个处理器执行如下步骤:A computer-readable storage medium in which a computer program is stored, and the computer program can be executed by at least one processor, so that the at least one processor executes the following steps:
提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
本申请可以通过获取用于实现金融业务的配置文件,进而可以将获取到的配置文件转换为工作流引擎可执行的XML文件。无需开发人员进行代码开发,节省了实现业务目标需要的开发时间,降低了成本,且灵活性较高。This application can obtain a configuration file for realizing financial services, and then can convert the obtained configuration file into an XML file executable by the workflow engine. There is no need for developers to develop code, which saves the development time needed to achieve business goals, reduces costs, and has high flexibility.
附图说明Description of the drawings
图1示意性示出了根据本申请实施例一的系统调度工作流生成方法的流程图;FIG. 1 schematically shows a flowchart of a method for generating a system scheduling workflow according to Embodiment 1 of the present application;
图2示意性示出了本申请中将所述配置文件转换为工作流引擎可执行的XML文件的步骤细化流程图;Fig. 2 schematically shows a detailed flow chart of the steps of converting the configuration file into an XML file executable by the workflow engine in this application;
图3示意性示出了本申请中将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件的步骤细化流程图;FIG. 3 schematically shows a detailed flow chart of the steps of connecting each process activity node obtained in this application according to the connection relationship to obtain a final executable XML file;
图4示意性示出了根据本申请实施例二的系统调度工作流生成装置的框图;以及Fig. 4 schematically shows a block diagram of an apparatus for generating a system scheduling workflow according to a second embodiment of the present application; and
图5示意性示出了根据本申请实施例三的适于实现系统调度工作流生成方法的计算机设备的硬件架构示意图。FIG. 5 schematically shows a schematic diagram of the hardware architecture of a computer device suitable for implementing the method for generating a system scheduling workflow according to the third embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请实施例的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请实施例,并不用于限定本申请实施例。基于本申请实施例中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请实施例保护的范围。In order to make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following further describes the embodiments of the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the embodiments of the present application.
需要说明的是,在本申请实施例中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请实施例要求的保护范围之内。It should be noted that the descriptions related to "first", "second", etc. in the embodiments of this application are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly specifying the indicated technical features quantity. Therefore, the features defined with "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on what can be achieved by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that this combination of technical solutions does not exist. , Also does not fall within the scope of protection required by the embodiments of this application.
实施例一Example one
图1示意性示出了根据本申请实施例一的系统调度工作流生成方法的流程图。可以理解,本方法实施例中的流程图不用于对执行步骤的顺序进行限定。下面以计算机设备2为执行主体进行示例性描述。Fig. 1 schematically shows a flowchart of a method for generating a system scheduling workflow according to Embodiment 1 of the present application. It can be understood that the flowchart in this method embodiment is not used to limit the order of execution of the steps. The following exemplarily describes the computer device 2 as the execution subject.
如图1所示,该系统调度工作流生成方法可以包括步骤S100~S102,其中:As shown in Figure 1, the system scheduling workflow generation method may include steps S100 to S102, where:
步骤S100,提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系。In step S100, a configuration interface is provided for the user to configure various service modules required to implement financial services, the parameters of the various service modules, and the connection relationship between the various service modules.
步骤S102,在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系。Step S102: After the user completes the configuration operation, generate a configuration file for realizing financial services according to the configuration operation. The configuration file includes various business modules that need to be called to implement the financial business. Parameter configuration information of and the connection relationship between the various service modules.
本实施例中的金融业务可以是企业内部的监控、审批、运营等业务,例如可以是贷款审批业务、信用卡申请业务、贷款放款业务等等。每个金融业务的实现在金融业务内部管理过程中都需要通过多个业务模块按照特定的流程进行处理以实现该金融业务。其中,每一个业务模块(或业务系统)可以实现一项业务功能。The financial services in this embodiment may be services such as internal monitoring, approval, and operation of the enterprise, such as loan approval services, credit card application services, loan lending services, and so on. The realization of each financial business needs to be processed in accordance with a specific process through multiple business modules in the internal management process of the financial business to realize the financial business. Among them, each business module (or business system) can implement a business function.
例如,在实现贷款放款业务时,一般需要经过以下业务模块按照如下流程处理才能完成贷款放款业务:1)需要调取额度系统对贷款人的额度进行额度校验;2)若额度系统对贷款人的额度成功完成校验之后,需要调取放款系统进行放款;3)在放款系统放款之后,需要放款系统对放款结果进行回调;4)当放款系统的放款结果为放款成功之后,需要再次调用额系统对贷款人的额度进行扣减;5)在完成额度扣减之后,需要调取订单系统对贷款人放款的订单进行记录,以更新放款的订单;6)最后,还需要调取短信系统发送短信以通知贷款人完成贷款的放款。For example, when realizing the loan lending business, the following business modules are generally required to complete the loan lending business according to the following process: 1) The quota system needs to be transferred to verify the lender’s quota; 2) if the quota system checks the lender After successfully completing the verification of the loan amount, the loan system needs to be called for loan; 3) After the loan system has released the loan, the loan system needs to call back the loan result; 4) When the loan system’s loan result is successful, the loan needs to be called again The system deducts the lender’s limit; 5) After the limit deduction is completed, the system needs to call the order system to record the lender’s loan order to update the loan order; 6) Finally, it needs to call the SMS system to send SMS to notify the lender to complete the loan disbursement.
为了实现该金融业务,可以在计算机设备2上提供配置界面,用户(可以是非开发人员,比如产品经理)可以通过该配置界面对实现该金融业务需要调用的各个业务模块进行配置,对各个业务模块的参数进行配置,以及对各个业务模块间的连接关系进行配置。在用户完成上述配置操作之后,生成实现该金融业务的配置文件,并将该配置文件进行存储,以便计算机设备2可以获取到该配置文件。相应地,该配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系。其中,该参数配置信息可以包括业务模块的调用类型信息,逻辑判断信息,接口调用地址信息,接口调用方式信息,业务模块的出入参数配置信息。In order to realize the financial service, a configuration interface can be provided on the computer device 2. The user (which can be a non-developer, such as a product manager) can configure various business modules that need to be called to realize the financial service through the configuration interface, and configure each business module Configure the parameters of, and configure the connection relationship between the various business modules. After the user completes the above configuration operation, a configuration file for realizing the financial service is generated, and the configuration file is stored, so that the computer device 2 can obtain the configuration file. Correspondingly, the configuration file includes various service modules that are required to implement the financial service, the parameter configuration information of each service module, and the connection relationship between the various service modules. Wherein, the parameter configuration information may include invocation type information of the service module, logical judgment information, interface invocation address information, interface invocation method information, and in and out parameter configuration information of the service module.
业务调用类型信息为用于表征对业务模块提供的业务接口属于同步接口调用还是异步接口调用的信息。The service call type information is information used to characterize whether the service interface provided to the service module is a synchronous interface call or an asynchronous interface call.
所述逻辑判断信息为用于设置业务模块的不同返回结果走不同流程分支的信息,具体地,该逻辑判断信息一般为IF逻辑判断语句,比如,可以通过IF逻辑判断语句设置若业务模块A的返回结果包含的返回值为1,则结束调用流程,若业务模块A的返回结果包含的返回值为0,则走调用业务模块B的流程。又比如,通过IF逻辑判断语句设置若业务模块A在10个小时内都没有返回结果,则结束调用流程,若业务模块A在10个小时内返回结果,则走调用业务模块C的流程。The logical judgment information is information used to set different return results of business modules to go through different process branches. Specifically, the logical judgment information is generally an IF logical judgment statement. For example, the IF logical judgment statement can be used to set if the business module A’s If the return value contained in the return result is 1, the calling process is ended, and if the return value contained in the return result of business module A is 0, then the process of calling business module B is followed. For another example, if the business module A does not return a result within 10 hours, the calling process is ended. If the business module A returns a result within 10 hours, the process of calling business module C is followed.
接口调用地址信息为调用业务模块提供的业务接口时所需指向的地址,比如,外部系统模块的标识码ID。The interface calling address information is the address to be pointed to when calling the business interface provided by the business module, for example, the identification code ID of the external system module.
接口调用方式信息为调用业务模块提供的业务接口是属于http请求的方式调用,还是云传输的方式进行调用。The interface invocation mode information is whether the service interface provided by the invoking service module is invoked in an http request method or in a cloud transmission method.
业务模块的出入参数配置信息为对业务模块的出参和入参的配置信息,包括出参和入参的字段类型转换、字段格式转换、参数赋值等。The input and output parameter configuration information of the business module is the configuration information of the output and input parameters of the business module, including the field type conversion, field format conversion, parameter assignment, etc. of the output parameter and the input parameter.
步骤S104,将所述配置文件转换为工作流引擎可执行的XML文件。Step S104: Convert the configuration file into an XML file executable by the workflow engine.
所述计算机设备2在获取到该配置文件,即可以通过将该配置文件转换为工作流引擎可执行的XML(Extensible Markup Language,可扩展标记语言)文件,其中XML可以用来标记数据和定义数据类型,是一种允许用户对自己的标记语言进行定义的源语言。When the computer device 2 obtains the configuration file, it can convert the configuration file into an XML (Extensible Markup Language) file executable by the workflow engine, where XML can be used to mark data and define data. Type is a source language that allows users to define their own markup language.
所述工作流引擎可以为jbpm工作流引擎和Activiti工作流引擎等。其中,jBpm是一个灵活可扩展的工作流引擎系统,作为jBpm运行时server输入的业务流程使用简单强大的语言表达并打包在流程档案中。jBmp将工作流应用开发的便利性和杰出的企业应用集成(EAI)能力结合了起来。jBmp包括一个Web应用程序和一个日程安排程序。jBmp是一组J2SE组件,可以作为J2EE应用集群部署。Activiti是一种轻量级,可嵌入的BPM引擎,而且还设计适用于可扩展的云架构。The workflow engine may be a jbpm workflow engine, an Activiti workflow engine, and the like. Among them, jBpm is a flexible and extensible workflow engine system. The business process input by the server as jBpm runtime is expressed in a simple and powerful language and packaged in the process archive. jBmp combines the convenience of workflow application development with outstanding enterprise application integration (EAI) capabilities. jBmp includes a web application and a scheduler. jBmp is a set of J2SE components that can be deployed as a J2EE application cluster. Activiti is a lightweight, embeddable BPM engine, and it is also designed for a scalable cloud architecture.
由于在对各个业务模块的调用转换是根据参数配置信息中包括的各个业务模块的调用类型信息来进行转换的,所述调用类型信息包括同步接口调用与异步接口调用。在示例性的实施例中,参照图2,所述步骤S104可以包括如下步骤:Since the call conversion of each service module is performed according to the call type information of each service module included in the parameter configuration information, the call type information includes synchronous interface call and asynchronous interface call. In an exemplary embodiment, referring to FIG. 2, the step S104 may include the following steps:
步骤S200,根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段。Step S200: Convert each business module to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment.
每一个业务模块都具有对应的调用类型信息,不同的业务模块的调用类型信息可以相同,也可以不同,比如,业务模块A的调用类型信息为同步接口调用,业务模块B的调用类型信息为同步接口调用,业务模块C的调用类型信息为异步接口调用。Each business module has corresponding call type information. The call type information of different business modules can be the same or different. For example, the call type information of business module A is synchronous interface call, and the call type information of business module B is synchronous Interface call, the call type information of service module C is asynchronous interface call.
在获取到各个业务模块的调用类型信息之后,即可以将对该业务模块的调用过程转换为对应的流程活动节点(Task)。比如,将对业务模块A的调用转换为Task1,将对业务模块B的调用转换为Task2,将对业务模块C的调用转换为Task3。需要说明的是,为了区分不同的流程活动节点,不同的流程活动节点具有不同的节点标识(ID)。转换得到的流程活动节点符合遵循BPMN标准。其中,BPMN标准为由BPMI(The Business Process Management Initiative)开发了一套标准叫业务流程建模符号(BPMN - Business Process Modeling Notation)。After obtaining the invocation type information of each business module, the invocation process of the business module can be converted into the corresponding process activity node (Task). For example, the call to business module A is converted to Task1, the call to business module B is converted to Task2, and the call to business module C is converted to Task3. It should be noted that, in order to distinguish different process activity nodes, different process activity nodes have different node identifiers (IDs). The transformed process activity node conforms to the BPMN standard. Among them, the BPMN standard is defined by BPMI (The Business Process Management Initiative has developed a set of standards called Business Process Modeling Notation (BPMN-Business Process Modeling Notation).
由于不同的调用类型转换的流程活动节点不同。在示例性的实施例中,所述步骤S200可以包括如下步骤:若当前所需调用的业务模块的调用类型为同步接口调用,则将当前所需调用的业务模块转换为一个原子性的流程活动节点(serviceTask0);若当前所需调用的业务模块的调用类型为异步接口调用,则将当前所需调用的业务模块转换为三个原子性的流程活动节点,分别为一个调出流程活动节点(serviceTask1),一个等待回调流程活动节点(receiveTask),以及一个回调结果处理流程活动节点(serviceTask2)。Because of different call types, the process activity nodes of the conversion are different. In an exemplary embodiment, the step S200 may include the following steps: if the call type of the business module that needs to be called currently is a synchronous interface call, then the business module that needs to be called currently is converted into an atomic process activity Node (serviceTask0); if the call type of the business module that needs to be called currently is asynchronous interface call, then the business module that needs to be called currently is converted into three atomic process activity nodes, each of which is a call-out process activity node ( serviceTask1), a process activity node waiting for the callback (receiveTask), and a process activity node (serviceTask2) for processing the callback result.
在本实施例中,调出流程活动节点(serviceTask1)的处理跟同步接口调用对应的流程活动节点(serviceTask0)的处理一致,若调出流程活动节点(serviceTask1)对业务模块的调取成功后,通过等待回调流程活动节点(receiveTask)处于等待状态,等待被唤起,并在等待回调流程活动节点(receiveTask)接收接口回调信息,并在接收到接口回调信息后,将回调参数传给回调结果处理流程活动节点(serviceTask2)进行处理,回调结果处理流程活动节点(serviceTask2)处理完回调结果后,将处理后的结果进行流程承载传递到下个流程活动节点。In this embodiment, the process of calling out the process activity node (serviceTask1) is the same as the process of invoking the corresponding process activity node (serviceTask0) of the synchronization interface. If the process activity node (serviceTask1) is called successfully to call the business module, By waiting for the callback process activity node (receiveTask) to be in the waiting state, waiting to be awakened, and waiting for the callback process activity node (receiveTask) to receive interface callback information, and after receiving the interface callback information, the callback parameters are passed to the callback result processing process The activity node (serviceTask2) performs processing, and after the callback result processing flow activity node (serviceTask2) processes the callback result, the processed result is carried by the process and passed to the next process activity node.
步骤S202,将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中。Step S202: Add parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node.
计算机设备2在将所需调用的各个业务模块转换为对应的流程活动节点之后,需要将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中,以便工作流引擎在执行该流程活动节点时,可以根据这些参数配置信息对业务模块的出参和入参进行相应的转换,以转换成符合系统规范的参数。After the computer device 2 converts each business module that needs to be called into the corresponding process activity node, it needs to add the parameter configuration information of each business module except the call type information to the process activity. In the node, so that when the workflow engine executes the process activity node, it can correspondingly convert the output and input parameters of the business module according to the parameter configuration information to convert them into parameters that meet the system specifications.
由于在对业务模块调用的过程中,可能出现调度异常,为了处理该调度异常情况,在示例性的实施例中,所述步骤S200之后,还可以包括如下步骤:在所述流程活动节点中添加调用所述各个业务模块失败时所需执行的事务回滚操作。Since scheduling exceptions may occur in the process of invoking service modules, in order to deal with the scheduling exceptions, in an exemplary embodiment, after the step S200, the following steps may be further included: adding to the process activity node The transaction rollback operation that needs to be executed when the call to each service module fails.
通过在流程活动节点中添加事务回滚操作,使得工作流引擎在执行该流程活动节点时可以抓取判调用失败/异常的消息,并根据提供的失败回滚接口进行回调,同时流程活动节点本身也进行事物回滚,回滚到此流程活动节点执行前的状态。By adding a transaction rollback operation to the process activity node, the workflow engine can capture the call failure/abnormal message when executing the process activity node, and call back according to the provided failure rollback interface, and the process activity node itself Things are also rolled back to the state before the execution of this process activity node.
由于当参数配置信息包括逻辑判断信息时,业务模块不同的返回结果会走不同的流程分支。为了在对业务模块的调用之后,可以根据不同的返回结果走不同的流程分支,在示例性的实施例中,所述步骤S200之后,还可以包括如下步骤:根据所述逻辑判断信息生成分支判断条件,并将所述分支判断条件添加至所述流程活动节点中。Because when the parameter configuration information includes logical judgment information, different return results of the business modules will follow different process branches. In order to take different process branches according to different return results after invoking the business module, in an exemplary embodiment, after the step S200, the following step may be further included: generating branch judgments according to the logical judgment information Condition, and add the branch judgment condition to the process activity node.
通过在流程活动节点中添加所述分支判断条件(exclusiveGateway),使得工作流引擎在执行该流程活动节点时可以根据不同的返回结果决定之后执行哪个流程分支,以便可以将返回结果进行流程承载传递到下个流程活动节点。By adding the branch judgment condition (exclusiveGateway) to the process activity node, the workflow engine can decide which process branch to execute afterwards according to different return results when executing the process activity node, so that the return result can be transferred to The next process activity node.
由于当参数配置信息包括超时处理信息时,可以根据超时时间对业务模块调度的进行配置。其中,所述超时处理信息包括业务模块处理超时的具体时间,比如5天,以及业务模块处理超时之后调度的业务模块,比如业务模块A处理超时之后,执行对业务模块B的调用。因此,为了实现根据超时时间对业务模块调度的进行配置,在示例性的实施例中,所述步骤S200之后,还可以包括如下步骤:根据所述超时处理信息生成定时任务,并将所述定时任务添加至所述流程活动节点中。Because when the parameter configuration information includes timeout processing information, the service module scheduling can be configured according to the timeout period. Wherein, the timeout processing information includes the specific time for the service module to process the timeout, such as 5 days, and the service module scheduled after the service module processing timeout, for example, after the service module A processes the timeout, the call to the service module B is executed. Therefore, in order to implement the configuration of the service module scheduling according to the timeout period, in an exemplary embodiment, after the step S200, the following steps may be further included: generating a timed task according to the timeout processing information, and combining the timed task The task is added to the process activity node.
通过在流程节点中添加定时任务,使得工作流引擎在执行该流程活动节点时可以根据定时任务来判定对业务模块的处理是否已经超时,并在超时之后,执行下一个流程活动节点。By adding a timed task to the process node, the workflow engine can determine whether the processing of the business module has timed out according to the timed task when executing the process activity node, and execute the next process activity node after the timeout.
步骤S204,将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。In step S204, the obtained process activity nodes are concatenated according to the connection relationship to obtain a final executable XML file.
由于各个流程活动节点是一个XML片段,通过对各个XML片段按照连接关系进行拼接,可以得到完整的XML文件。其中,所述连接关系为各个业务模块的调用顺序。Since each process activity node is an XML fragment, a complete XML file can be obtained by splicing each XML fragment according to the connection relationship. Wherein, the connection relationship is the calling sequence of each service module.
计算机设备2可以通过各种方式来将各个流程活动节点串接起来。在示例性的实施例中,参照图3,所述步骤S204包括:The computer equipment 2 can connect various process activity nodes in series in various ways. In an exemplary embodiment, referring to FIG. 3, the step S204 includes:
S300,根据所述连接关系将得到的各个流程活动节点分成多组待连接的流程活动节点对,其中,每组流程活动节点对均包括源节点和目标节点。S300: According to the connection relationship, each obtained process activity node is divided into multiple groups of process activity node pairs to be connected, wherein each group of process activity node pairs includes a source node and a target node.
S302,通过预设的函数将每组流程活动节点对中的源节点连接至目标节点。S302: Connect the source node of each group of process activity node pairs to the target node through a preset function.
需要说明的是,由于各个流程活动节点中除了开始活动节点以及结束活动节点之外的每一个流程活动节点都会存在于两组待连接的流程活动节点对中,并在其中一组待连接的流程活动节点对中充当源节点,在一组待连接的流程活动节点对中充当目标节点。因此,可以通过预设的函数将每组流程活动节点对中的源节点连接至目标节点。在示例性的实施例中,可以通过SourceRef函数以及TargetRef函数将每组流程活动节点对的源节点连接至目标节点。It should be noted that each process activity node in each process activity node except the start activity node and the end activity node will exist in two pairs of process activity nodes to be connected, and in one of the process activity nodes to be connected The pair of activity nodes act as the source node, and the pair of process activity nodes to be connected acts as the target node. Therefore, the source node in each group of process activity node pairs can be connected to the target node through a preset function. In an exemplary embodiment, the source node of each set of process activity node pairs can be connected to the target node through the SourceRef function and the TargetRef function.
例如,需要将第一流程活动节点(serviceTask1)、第二流程活动节点(serviceTask2)以及第三流程活动节点(receiveTask1)串接起来,则可以通过如下函数实现:For example, if the first process activity node (serviceTask1), the second process activity node (serviceTask2), and the third process activity node (receiveTask1) need to be connected in series, this can be achieved through the following function:
sourceRef=“serviceTask1”targetRef“serviceTask2”sourceRef="serviceTask1" targetRef "serviceTask2"
sourceRef=“serviceTask2”targetRef“receiveTask1”sourceRef="serviceTask2" targetRef "receiveTask1"
上述函数实现过程,先将第一流程活动节点与第二流程活动节点串接起来。然后再将第二流程活动节点与第三流程活动节点串接起来,从而可以得到一个完整的XML文件。In the above-mentioned function realization process, the first process activity node and the second process activity node are connected in series. Then the second process activity node and the third process activity node are connected in series to obtain a complete XML file.
在示例性的实施例中,所述步骤S102之后,还包括:In an exemplary embodiment, after the step S102, the method further includes:
执行所述XML文件,以实现所述金融业务。The XML file is executed to realize the financial service.
计算机设备2在将所述配置文件转换为工作流引擎可执行的XML文件,即可以通过工作流引擎执行该XML文件,以实现所述金融业务。The computer device 2 is converting the configuration file into an XML file executable by the workflow engine, that is, the XML file can be executed by the workflow engine to realize the financial service.
在示例性的实施例中,工作流引擎在执行该XML文件的过程中,可以记录调用各个业务模块的过程所耗费的时间、以及对调用过程中的参数进行记录,以便系统可以对调用过程进行监控。In an exemplary embodiment, in the process of executing the XML file, the workflow engine can record the time spent in the process of invoking each business module, and record the parameters in the invoking process, so that the system can perform the invoking process monitor.
本申请实施例可以通过获取用于实现金融业务的配置文件,进而可以将获取到的配置文件转换为工作流引擎可执行的XML文件。相对于传统的需要定制化代码开发的方式,本申请实施例无需开发人员进行代码开发,节省了实现业务目标需要的开发时间,降低了成本,且灵活性较高。In the embodiment of the present application, a configuration file used to implement financial services can be obtained, and the obtained configuration file can be converted into an XML file executable by the workflow engine. Compared with the traditional method that requires customized code development, the embodiments of the present application do not require developers to perform code development, which saves development time required to achieve business goals, reduces costs, and has higher flexibility.
实施例二Example two
图4示意性示出了根据本申请实施例二的系统调度工作流生成装置的框图,该系统调度工作流生成装置可以被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请实施例。本申请实施例所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,以下描述将具体介绍本实施例中各程序模块的功能。Figure 4 schematically shows a block diagram of a system scheduling workflow generation device according to the second embodiment of the present application. The system scheduling workflow generation device can be divided into one or more program modules, and one or more program modules are stored in In a storage medium, and executed by one or more processors, to complete the embodiments of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the function of each program module in this embodiment.
如图4所示,该系统调度工作流生成装置400可以包括提供模块410、生成模块420、转换模块430,其中:As shown in FIG. 4, the system scheduling workflow generating device 400 may include a providing module 410, a generating module 420, and a conversion module 430, where:
提供模块410,用于提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系。The providing module 410 is configured to provide a configuration interface for the user to configure various service modules required to implement financial services, the parameters of the various service modules, and the connection relationship between the various service modules.
生成模块420,用于在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系The generating module 420 is configured to generate a configuration file for realizing financial services according to the configuration operation after the user completes the configuration operation, and the configuration file includes various business modules that need to be called to realize the financial service. Parameter configuration information of each service module, and the connection relationship between the various service modules
转换模块430,用于将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述转换模块,还用于根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The conversion module 430 is used to convert the configuration file into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the conversion module is also used to The call type information of each business module converts each business module that needs to be called into a corresponding process activity node, where the process activity node is an executable XML fragment; the parameter configuration information of each business module is divided by Parameter configuration information other than the call type information is added to the process activity node; each obtained process activity node is connected in series according to the connection relationship to obtain a final executable XML file.
在示例性的实施例中,在所述调用类型信息包括同步接口调用与异步接口调用时,转换模块430,还用于:若当前所需调用的业务模块的调用类型为同步接口调用,则将当前所需调用的业务模块转换为一个原子性的流程活动节点;若当前所需调用的业务模块的调用类型为异步接口调用,则将当前所需调用的业务模块转换为三个原子性的流程活动节点,分别为一个调出流程活动节点,一个等待回调流程活动节点,以及一个回调结果处理流程活动节点。In an exemplary embodiment, when the invocation type information includes synchronous interface invocation and asynchronous interface invocation, the conversion module 430 is also used to: if the invocation type of the service module that needs to be invoked is synchronous interface invocation, then The current business module that needs to be called is converted into an atomic process activity node; if the calling type of the current business module that needs to be called is asynchronous interface calling, then the current business module that needs to be called is converted into three atomic processes The activity nodes are respectively a callout process activity node, a waiting callback process activity node, and a callback result processing process activity node.
在示例性的实施例中,转换模块430,还用于:在所述流程活动节点中添加调用所述各个业务模块失败时所需执行的事务回滚操作。In an exemplary embodiment, the conversion module 430 is further configured to: add a transaction rollback operation that needs to be performed when invoking the various business modules fails in the process activity node.
在示例性的实施例中,转换模块430,还用于:根据所述逻辑判断信息生成分支判断条件,并将所述分支判断条件添加至所述流程活动节点中。In an exemplary embodiment, the conversion module 430 is further configured to: generate a branch judgment condition according to the logical judgment information, and add the branch judgment condition to the process activity node.
在示例性的实施例中,在所述参数配置信息包括超时处理信息时,转换模块430,还用于:根据所述超时处理信息生成定时任务,并将所述定时任务添加至所述流程活动节点中。In an exemplary embodiment, when the parameter configuration information includes timeout processing information, the conversion module 430 is further configured to: generate a timed task according to the timeout processing information, and add the timed task to the process activity Node.
在示例性的实施例中,转换模块420,还用于:根据所述连接关系将得到的各个流程活动节点分成多组待连接的流程活动节点对,其中,每组流程活动节点对均包括源节点和目标节点;通过预设的函数将每组流程活动节点对中的源节点连接至目标节点。In an exemplary embodiment, the conversion module 420 is further configured to: divide the obtained process activity nodes into multiple groups of process activity node pairs to be connected according to the connection relationship, wherein each group of process activity node pairs includes a source Nodes and target nodes; the source node in each pair of process activity nodes is connected to the target node through a preset function.
在示例性的实施例中,所述预设的函数为SourceRef函数以及TargetRef函数。In an exemplary embodiment, the preset functions are SourceRef function and TargetRef function.
在示例性的实施例中,系统调度工作流生成装置400还包括:In an exemplary embodiment, the system scheduling workflow generation device 400 further includes:
执行模块,用于执行所述XML文件,以实现所述金融业务。The execution module is used to execute the XML file to realize the financial service.
实施例三Example three
图5示意性示出了根据本申请实施例三的适于实现系统调度工作流生成方法的计算机设备2的硬件架构示意图。本实施例中,计算机设备2是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。例如,可以是具有网关功能的机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图5所示,计算机设备6至少包括但不限于:可通过系统总线相互通信链接存储器510、处理器520、网络接口530。其中:FIG. 5 schematically shows a schematic diagram of the hardware architecture of a computer device 2 suitable for implementing the method for generating a system scheduling workflow according to the third embodiment of the present application. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. For example, it can be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers) with a gateway function. As shown in FIG. 5, the computer device 6 at least includes but is not limited to: a memory 510, a processor 520, and a network interface 530 that can communicate with each other through a system bus. among them:
存储器510至少包括一种类型的计算机可读存储介质,可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器510可以是计算机设备2的内部存储模块,例如该计算机设备2的硬盘或内存。在另一些实施例中,存储器510也可以是计算机设备2的外部存储设备,例如该计算机设备2上配备的插接式硬盘,智能存储卡(Smart Media Card,简称为SMC),安全数字(Secure Digital,简称为SD)卡,闪存卡(Flash Card)等。当然,存储器510还可以既包括计算机设备2的内部存储模块也包括其外部存储设备。本实施例中,存储器510通常用于存储安装于计算机设备2的操作系统和各类应用软件,例如系统调度工作流生成方法的程序代码等。此外,存储器510还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 510 includes at least one type of computer-readable storage medium. The readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), and static random access memory. (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 510 may be an internal storage module of the computer device 2, for example, the hard disk or memory of the computer device 2. In other embodiments, the memory 510 may also be an external storage device of the computer device 2, for example, a plug-in hard disk equipped on the computer device 2, a smart memory card (Smart Media Card, referred to as SMC), and a secure digital (Secure Digital). Digital, abbreviated as SD) card, flash card (Flash Card), etc. Of course, the memory 510 may also include both the internal storage module of the computer device 2 and its external storage device. In this embodiment, the memory 510 is generally used to store the operating system and various application software installed in the computer device 2, such as the program code of the system scheduling workflow generation method. In addition, the memory 510 may also be used to temporarily store various types of data that have been output or will be output.
处理器520在一些实施例中可以是中央处理器(Central Processing Unit,简称为CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器520通常用于控制计算机设备2的总体操作,例如执行与计算机设备2进行数据交互或者通信相关的控制和处理等。本实施例中,处理器520用于运行存储器510中存储的程序代码或者处理数据。In some embodiments, the processor 520 may be a central processing unit (Central Processing Unit, CPU for short), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 520 is generally used to control the overall operation of the computer device 2, for example, to perform data interaction or communication-related control and processing with the computer device 2. In this embodiment, the processor 520 is configured to run program codes stored in the memory 510 or process data.
网络接口530可包括无线网络接口或有线网络接口,该网络接口530通常用于在计算机设备2与其他计算机设备之间建立通信链接。例如,网络接口530用于通过网络将计算机设备2与外部终端相连,在计算机设备2与外部终端之间的建立数据传输通道和通信链接等。网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,简称为GSM)、宽带码分多址(Wideband Code Division Multiple Access,简称为WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 530 may include a wireless network interface or a wired network interface, and the network interface 530 is generally used to establish a communication link between the computer device 2 and other computer devices. For example, the network interface 530 is used to connect the computer device 2 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 2 and the external terminal. The network can be Intranet, Internet, Global System of Mobile communication, GSM for short), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access) Access, referred to as WCDMA for short), 4G network, 5G network, Bluetooth (Bluetooth), Wi-Fi and other wireless or wired networks.
需要指出的是,图5仅示出了具有部件510-530的计算机设备,但是应理解的是,并不要求实施所有示出的部件,可以替代的实施更多或者更少的部件。It should be pointed out that FIG. 5 only shows a computer device with components 510-530, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
在本实施例中,存储于存储器510中的系统调度工作流生成方法还可以被分割为一个或者多个程序模块,并由一个或多个处理器(本实施例为处理器520)所执行,以实现如下步骤:In this embodiment, the system scheduling workflow generation method stored in the memory 510 can also be divided into one or more program modules and executed by one or more processors (in this embodiment, the processor 520). To achieve the following steps:
提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
本申请之计算机设备的具体实施方式与上述系统调度工作流生成方法的具体实施方式大致相同,在此不再赘述。The specific implementation of the computer device of the present application is substantially the same as the specific implementation of the foregoing system scheduling workflow generation method, and will not be repeated here.
实施例四Example four
本实施例还提供一种计算机可读存储介质,计算机可读存储介质其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:This embodiment also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
获取用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及Obtaining a configuration file for realizing the financial service, the configuration file including the various service modules that need to be called to realize the financial service, the parameter configuration information of the various service modules, and the connection relationship between the various service modules; and
将所述配置文件转换为工作流引擎可执行的XML文件。The configuration file is converted into an XML file executable by the workflow engine.
本实施例中,计算机可读存储介质可以是易失性的,也可以是非易失性的,计算机可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,计算机可读存储介质可以是计算机设备的内部存储单元,例如该计算机设备的硬盘或内存。在另一些实施例中,计算机可读存储介质也可以是计算机设备的外部存储设备,例如该计算机设备上配备的插接式硬盘,智能存储卡(Smart Media Card,简称为SMC),安全数字(Secure Digital,简称为SD)卡,闪存卡(Flash Card)等。当然,计算机可读存储介质还可以既包括计算机设备的内部存储单元也包括其外部存储设备。本实施例中,计算机可读存储介质通常用于存储安装于计算机设备的操作系统和各类应用软件,例如实施例中系统调度工作流生成方法的程序代码等。此外,计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.) , Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Disk, CD etc. In some embodiments, the computer-readable storage medium may be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, referred to as SMC), a secure digital ( Secure Digital, abbreviated as SD) card, flash card (Flash Card), etc. Of course, the computer-readable storage medium may also include both the internal storage unit and the external storage device of the computer device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed in the computer device, such as the program code of the system scheduling workflow generation method in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or will be output.
在另一个实施例中,本申请所提供的系统调度工作流生成方法,为进一步保证上述所有出现的数据的私密和安全性,上述所有数据还可以存储于一区块链的节点中。例如各个业务模块的参数、XML文件等,这些数据均可存储在区块链节点中。In another embodiment, in the system scheduling workflow generation method provided by the present application, in order to further ensure the privacy and security of all the above-mentioned data, all the above-mentioned data can also be stored in a node of a blockchain. For example, the parameters of each business module, XML files, etc., these data can be stored in the blockchain node.
需要说明的是,本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。It should be noted that the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
显然,本领域的技术人员应该明白,上述的本申请实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the modules or steps of the embodiments of the present application described above can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed among multiple computing devices. Optionally, they can be implemented by the program code executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, they can be different from here The steps shown or described are executed in the order of, or they are respectively fabricated into individual integrated circuit modules, or multiple modules or steps of them are fabricated into a single integrated circuit module to achieve. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.
以上仅为本申请实施例的优选实施例,并非因此限制本申请实施例的专利范围,凡是利用本申请实施例说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请实施例的专利保护范围内。The above are only the preferred embodiments of the embodiments of the application, and do not limit the scope of the patents of the embodiments of the application. Any equivalent structure or equivalent process transformation made by using the description and drawings of the embodiments of the application, or directly or indirectly used In other related technical fields, the same is included in the scope of patent protection of the embodiments of this application.

Claims (20)

  1. 一种系统调度工作流生成方法,其中,所述方法包括:A method for generating system scheduling workflow, wherein the method includes:
    提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
    在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
    将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
    根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
    将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
    将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  2. 根据权利要求1所述的系统调度工作流生成方法,其中,所述调用类型信息包括同步接口调用与异步接口调用,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点包括: The method for generating a system scheduling workflow according to claim 1, wherein the invocation type information includes synchronous interface invocation and asynchronous interface invocation, and according to the invocation type information of each service module, the various service modules that need to be invoked are The conversion to the corresponding process activity node includes:
    若当前所需调用的业务模块的调用类型为同步接口调用,则将当前所需调用的业务模块转换为一个原子性的流程活动节点;If the call type of the currently required business module is a synchronous interface call, then the currently required business module is converted into an atomic process activity node;
    若当前所需调用的业务模块的调用类型为异步接口调用,则将当前所需调用的业务模块转换为三个原子性的流程活动节点,分别为一个调出流程活动节点,一个等待回调流程活动节点,以及一个回调结果处理流程活动节点。If the call type of the business module that needs to be called is asynchronous interface call, the business module that needs to be called currently is converted into three atomic process activity nodes, which are respectively a call-out process activity node and a waiting callback process activity Node, and a callback result processing flow activity node.
  3. 根据权利要求1所述的系统调度工作流生成方法,其中,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,还包括: The system scheduling workflow generation method according to claim 1, wherein after the step of converting each business module to be called into a corresponding process activity node according to the calling type information of each business module, the method further comprises:
    在所述流程活动节点中添加调用所述各个业务模块失败时所需执行的事务回滚操作。In the process activity node, a transaction rollback operation that needs to be executed when the call to each service module fails is added.
  4. 根据权利要求1所述的系统调度工作流生成方法,其中,所述参数配置信息包括逻辑判断信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,还包括: The method for generating a system scheduling workflow according to claim 1, wherein the parameter configuration information includes logical judgment information, and the various business modules that need to be called are converted into corresponding ones according to the calling type information of the various business modules. After the steps of the process activity node, it also includes:
    根据所述逻辑判断信息生成分支判断条件,并将所述分支判断条件添加至所述流程活动节点中。A branch judgment condition is generated according to the logical judgment information, and the branch judgment condition is added to the process activity node.
  5. 根据权利要求1所述的系统调度工作流生成方法,其中,所述参数配置信息包括超时处理信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,还包括: The method for generating a system scheduling workflow according to claim 1, wherein the parameter configuration information includes timeout processing information, and the various business modules that need to be called are converted into corresponding ones according to the calling type information of the various business modules. After the steps of the process activity node, it also includes:
    根据所述超时处理信息生成定时任务,并将所述定时任务添加至所述流程活动节点中。Generate a timed task according to the timeout processing information, and add the timed task to the process activity node.
  6. 根据权利要求1至5任一项所述的系统调度工作流生成方法,其中,所述将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件包括: The method for generating a system scheduling workflow according to any one of claims 1 to 5, wherein said concatenating the obtained process activity nodes according to the connection relationship to obtain the final executable XML file comprises:
    根据所述连接关系将得到的各个流程活动节点分成多组待连接的流程活动节点对,其中,每组流程活动节点对均包括源节点和目标节点;Dividing each obtained process activity node into multiple groups of process activity node pairs to be connected according to the connection relationship, wherein each group of process activity node pairs includes a source node and a target node;
    通过预设的函数将每组流程活动节点对中的源节点连接至目标节点。The source node in each pair of process activity nodes is connected to the target node through a preset function.
  7. 根据权利要求6所述的系统调度工作流生成方法,其中,所述预设的函数为SourceRef函数以及TargetRef函数。 The method for generating a system scheduling workflow according to claim 6, wherein the preset function is a SourceRef function and a TargetRef function.
  8. 一种系统调度工作流生成装置,其中,包括: A system scheduling workflow generating device, which includes:
    提供模块,用于提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;A providing module is used to provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
    生成模块,用于在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及The generating module is used to generate a configuration file for realizing financial services according to the configuration operation after the user completes the configuration operation, and the configuration file includes various business modules called for realizing the financial service. Parameter configuration information of the service modules, and the connection relationship between the various service modules; and
    转换模块,用于将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述转换模块,还用于根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The conversion module is used to convert the configuration file into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the conversion module is also used to convert the configuration file according to the The call type information of each business module converts each business module that needs to be called into a corresponding process activity node, where the process activity node is an executable XML fragment; the parameter configuration information of each business module is divided by The parameter configuration information other than the call type information is added to the process activity node; the obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  9. 一种计算机设备,所述计算机设备包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时用于实现以下步骤: A computer device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor is used to implement the following steps when the computer program is executed:
    提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
    在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
    将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
    根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
    将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
    将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  10. 根据权利要求9所述的计算机设备,其中,所述调用类型信息包括同步接口调用与异步接口调用,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点包括:The computer device according to claim 9, wherein the call type information includes synchronous interface call and asynchronous interface call, and the call type information of each service module converts each service module that needs to be called into a corresponding Process activity nodes include:
    若当前所需调用的业务模块的调用类型为同步接口调用,则将当前所需调用的业务模块转换为一个原子性的流程活动节点;If the call type of the currently required business module is a synchronous interface call, then the currently required business module is converted into an atomic process activity node;
    若当前所需调用的业务模块的调用类型为异步接口调用,则将当前所需调用的业务模块转换为三个原子性的流程活动节点,分别为一个调出流程活动节点,一个等待回调流程活动节点,以及一个回调结果处理流程活动节点。If the call type of the business module that needs to be called is asynchronous interface call, the business module that needs to be called currently is converted into three atomic process activity nodes, which are respectively a call-out process activity node and a waiting callback process activity Node, and a callback result processing flow activity node.
  11. 根据权利要求9所述的计算机设备,其中,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述处理器执行所述计算机程序时还实现以下步骤: The computer device according to claim 9, wherein after the step of converting each business module to be called into a corresponding process activity node according to the calling type information of each business module, the processor executes the The computer program also implements the following steps:
    在所述流程活动节点中添加调用所述各个业务模块失败时所需执行的事务回滚操作。In the process activity node, a transaction rollback operation that needs to be executed when the call to each service module fails is added.
  12. 根据权利要求9所述的计算机设备,其中,所述参数配置信息包括逻辑判断信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述处理器执行所述计算机程序时还实现以下步骤: The computer device according to claim 9, wherein the parameter configuration information includes logical judgment information, and the various business modules that need to be called are converted into corresponding process activity nodes according to the calling type information of the various business modules. After the steps, the processor further implements the following steps when executing the computer program:
    根据所述逻辑判断信息生成分支判断条件,并将所述分支判断条件添加至所述流程活动节点中。A branch judgment condition is generated according to the logical judgment information, and the branch judgment condition is added to the process activity node.
  13. 根据权利要求9所述的计算机设备,其中,所述参数配置信息包括超时处理信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述处理器执行所述计算机程序时还实现以下步骤: The computer device according to claim 9, wherein the parameter configuration information includes timeout processing information, and the various service modules that need to be called are converted into corresponding process activity nodes according to the invocation type information of the various service modules. After the steps, the processor further implements the following steps when executing the computer program:
    根据所述超时处理信息生成定时任务,并将所述定时任务添加至所述流程活动节点中。Generate a timed task according to the timeout processing information, and add the timed task to the process activity node.
  14. 根据权利要求9至13任一项所述的计算机设备,其中,所述将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件包括: The computer device according to any one of claims 9 to 13, wherein said concatenating the obtained process activity nodes according to the connection relationship to obtain the final executable XML file comprises:
    根据所述连接关系将得到的各个流程活动节点分成多组待连接的流程活动节点对,其中,每组流程活动节点对均包括源节点和目标节点;Dividing each obtained process activity node into multiple groups of process activity node pairs to be connected according to the connection relationship, wherein each group of process activity node pairs includes a source node and a target node;
    通过预设的函数将每组流程活动节点对中的源节点连接至目标节点。The source node in each pair of process activity nodes is connected to the target node through a preset function.
  15. 根据权利要求14所述的计算机设备,其中,所述预设的函数为SourceRef函数以及TargetRef函数。 The computer device according to claim 14, wherein the preset function is a SourceRef function and a TargetRef function.
  16. 一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序可被至少一个处理器所执行,以使所述至少一个处理器执行以下步骤: A computer-readable storage medium in which a computer program is stored, and the computer program can be executed by at least one processor, so that the at least one processor executes the following steps:
    提供配置界面,以供用户配置用于实现金融业务所需调用的各个业务模块,所述各个业务模块的参数,以及所述各个业务模块间的连接关系;Provide a configuration interface for the user to configure the various business modules required to implement financial services, the parameters of the various business modules, and the connection relationship between the various business modules;
    在所述用户完成配置操作后,根据所述配置操作生成用于实现金融业务的配置文件,所述配置文件包括实现所述金融业务所需调用的各个业务模块,所述各个业务模块的参数配置信息,以及所述各个业务模块间的连接关系;及After the user completes the configuration operation, a configuration file for realizing financial services is generated according to the configuration operation. The configuration file includes various business modules that are required to implement the financial services, and the parameter configuration of each business module Information, and the connection relationship between the various business modules; and
    将所述配置文件转换为工作流引擎可执行的XML文件,其中,所述参数配置信息包括所述各个业务模块的调用类型信息,所述将所述配置文件转换为工作流引擎可执行的XML文件,包括:The configuration file is converted into an XML file executable by the workflow engine, wherein the parameter configuration information includes the invocation type information of each service module, and the configuration file is converted into an XML file executable by the workflow engine Documents, including:
    根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点,其中,所述流程活动节点是一个可执行的XML片段;Converting each business module that needs to be called into a corresponding process activity node according to the call type information of each business module, where the process activity node is an executable XML fragment;
    将所述各个业务模块的参数配置信息除所述调用类型信息之外的参数配置信息添加至所述流程活动节点中;Adding parameter configuration information of the parameter configuration information of each service module other than the call type information to the process activity node;
    将得到的各个流程活动节点按照所述连接关系进行串接,得到最终可执行的XML文件。The obtained process activity nodes are connected in series according to the connection relationship to obtain the final executable XML file.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述调用类型信息包括同步接口调用与异步接口调用,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点包括: The computer-readable storage medium according to claim 16, wherein the call type information includes synchronous interface call and asynchronous interface call, and the various service modules to be called are converted according to the call type information of the various service modules The corresponding process activity nodes include:
    若当前所需调用的业务模块的调用类型为同步接口调用,则将当前所需调用的业务模块转换为一个原子性的流程活动节点;If the call type of the currently required business module is a synchronous interface call, then the currently required business module is converted into an atomic process activity node;
    若当前所需调用的业务模块的调用类型为异步接口调用,则将当前所需调用的业务模块转换为三个原子性的流程活动节点,分别为一个调出流程活动节点,一个等待回调流程活动节点,以及一个回调结果处理流程活动节点。If the call type of the business module that needs to be called is asynchronous interface call, the business module that needs to be called currently is converted into three atomic process activity nodes, which are respectively a call-out process activity node and a waiting callback process activity Node, and a callback result processing flow activity node.
  18. 根据权利要求16所述的计算机可读存储介质,其中,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述至少一个处理器还执行以下步骤: The computer-readable storage medium according to claim 16, wherein after the step of converting each business module to be called into a corresponding process activity node according to the calling type information of each business module, the at least one The processor also performs the following steps:
    在所述流程活动节点中添加调用所述各个业务模块失败时所需执行的事务回滚操作。In the process activity node, a transaction rollback operation that needs to be executed when the call to each service module fails is added.
  19. 根据权利要求16所述的计算机可读存储介质,其中,所述参数配置信息包括逻辑判断信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述至少一个处理器还执行以下步骤: The computer-readable storage medium according to claim 16, wherein the parameter configuration information includes logical judgment information, and the respective service modules that need to be called are converted into corresponding processes according to the calling type information of the respective service modules After the step of the active node, the at least one processor further executes the following steps:
    根据所述逻辑判断信息生成分支判断条件,并将所述分支判断条件添加至所述流程活动节点中。A branch judgment condition is generated according to the logical judgment information, and the branch judgment condition is added to the process activity node.
  20. 根据权利要求16所述的计算机可读存储介质,其中,所述参数配置信息包括超时处理信息,所述根据所述各个业务模块的调用类型信息将所需调用的各个业务模块转换为对应的流程活动节点的步骤之后,所述至少一个处理器还执行以下步骤: The computer-readable storage medium according to claim 16, wherein the parameter configuration information includes timeout processing information, and each service module to be called is converted into a corresponding process according to the call type information of each service module After the step of the active node, the at least one processor further executes the following steps:
    根据所述超时处理信息生成定时任务,并将所述定时任务添加至所述流程活动节点中。Generate a timed task according to the timeout processing information, and add the timed task to the process activity node.
PCT/CN2021/070904 2020-01-10 2021-01-08 System scheduling workflow generation method, system, apparatus, and computer readable storage medium WO2021139778A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010027930.1 2020-01-10
CN202010027930.1A CN111208992A (en) 2020-01-10 2020-01-10 System scheduling workflow generation method and system

Publications (1)

Publication Number Publication Date
WO2021139778A1 true WO2021139778A1 (en) 2021-07-15

Family

ID=70786065

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/070904 WO2021139778A1 (en) 2020-01-10 2021-01-08 System scheduling workflow generation method, system, apparatus, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111208992A (en)
WO (1) WO2021139778A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111208992A (en) * 2020-01-10 2020-05-29 深圳壹账通智能科技有限公司 System scheduling workflow generation method and system
CN111708545B (en) * 2020-06-17 2023-09-22 北京同邦卓益科技有限公司 Service flow deployment method and device, electronic equipment and storage medium
CN112035367B (en) * 2020-09-02 2023-08-18 中国银行股份有限公司 Method and system for checking workflow correctness of big data platform
CN112148353B (en) * 2020-09-22 2024-05-17 京东科技控股股份有限公司 Data processing method and device
CN113239670A (en) * 2021-05-11 2021-08-10 鸬鹚科技(深圳)有限公司 Method and device for uploading service template, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788319B2 (en) * 2003-05-16 2010-08-31 Sap Ag Business process management for a message-based exchange infrastructure
CN108255467A (en) * 2016-12-27 2018-07-06 北京京东尚科信息技术有限公司 The method, apparatus and system of service are performed according to workflow sequence
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN110428216A (en) * 2019-07-03 2019-11-08 平安科技(深圳)有限公司 Operation flow management-control method, device, computer equipment and storage medium
CN111208992A (en) * 2020-01-10 2020-05-29 深圳壹账通智能科技有限公司 System scheduling workflow generation method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314349B (en) * 2011-09-16 2014-07-09 武汉中地数码科技有限公司 Spatial information functional plug-in workflow construction method
CN103617066B (en) * 2013-12-16 2016-08-24 中国农业银行股份有限公司 A kind of workflow engine and its implementation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7788319B2 (en) * 2003-05-16 2010-08-31 Sap Ag Business process management for a message-based exchange infrastructure
CN108255467A (en) * 2016-12-27 2018-07-06 北京京东尚科信息技术有限公司 The method, apparatus and system of service are performed according to workflow sequence
CN109636301A (en) * 2018-10-16 2019-04-16 深圳壹账通智能科技有限公司 Workflow configuration method, system, terminal and the readable storage medium storing program for executing of financial business
CN110428216A (en) * 2019-07-03 2019-11-08 平安科技(深圳)有限公司 Operation flow management-control method, device, computer equipment and storage medium
CN111208992A (en) * 2020-01-10 2020-05-29 深圳壹账通智能科技有限公司 System scheduling workflow generation method and system

Also Published As

Publication number Publication date
CN111208992A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
WO2021139778A1 (en) System scheduling workflow generation method, system, apparatus, and computer readable storage medium
US9558465B1 (en) Annotations-based generic load generator engine
CN112667414A (en) Message queue-based message consumption method and device, computer equipment and medium
US20120246122A1 (en) Integrating data-handling policies into a workflow model
CN111078745A (en) Data uplink method and device based on block chain technology
CN113704665B (en) Dynamic service release method and device, electronic equipment and storage medium
CN112559635B (en) Service processing method, device, equipment and medium for Ethernet alliance chain node
CN111861482A (en) Block chain account checking method and system
CN109032590B (en) Configuration method, device, terminal and storage medium of visual development environment
CN112764902B (en) Task scheduling method and system
CN111767144A (en) Transaction routing determination method, device, equipment and system for transaction data
CN113110963A (en) Service processing method, service processing device, electronic equipment and readable storage medium
CN110955724A (en) Data processing method and device based on block chain, node equipment and storage medium
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
CN111951112A (en) Intelligent contract execution method based on block chain, terminal equipment and storage medium
CN112181599A (en) Model training method, device and storage medium
EP4365808A1 (en) Data verification method and apparatus
US20120331486A1 (en) Selective link aggregation in a virtualized environment
CN110908644A (en) Configuration method and device of state node, computer equipment and storage medium
CN116185242A (en) Service arrangement method and device and electronic equipment
CN116997895A (en) Reducing transaction aborts in an execution ordering validation blockchain model
CN113360558B (en) Data processing method, data processing device, electronic equipment and storage medium
WO2022241945A1 (en) Data processing method and device, and computer-readable storage medium
CN112650911A (en) Service message issuing method, device, computer equipment and storage medium

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: 21738756

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 10/11/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 21738756

Country of ref document: EP

Kind code of ref document: A1