Business process management method and storage medium

By building a process management platform and a master control process, the complexity of upgrading and managing business agents and reporting data in large Internet companies has been solved, achieving unified management of business processes and efficient data collection.

CN121900885APending Publication Date: 2026-04-21SHENZHEN TENCENT COMP SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN TENCENT COMP SYST CO LTD
Filing Date
2024-10-17
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In large internet companies, the upgrade and management of business agents is complex and data reporting is difficult, especially in complex network environments where it is difficult to achieve unified management and data reporting in isolated environments.

Method used

By building a process management platform, including an application programming interface, an upgrade management module, and a target data collection module, unified management of business processes is achieved. The main control process schedules the operation of business processes, collects business indicator data, and handles firewall isolation through shared memory and a data proxy layer.

Benefits of technology

It enables unified management of business processes, improves management efficiency, simplifies the upgrade of business agents and data reporting process, and reduces development complexity and repetitive workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121900885A_ABST
    Figure CN121900885A_ABST
Patent Text Reader

Abstract

The invention discloses a business process management method and a storage medium, and the method comprises the steps: receiving a task generation request sent by a business system through an application programming interface, and generating a to-be-processed task according to the task generation request; calling an upgrade management module to read the to-be-processed task, and obtaining business process information corresponding to the to-be-processed task; calling an upgrade management module to assemble the to-be-processed task and the business process information to obtain a data packet; calling an upgrade management module to determine a target data collection module according to access routing information of a master control process in the server, and sending a data packet to the target data collection module; calling a target data collection module to send a data packet to a master control process in the server; and the server calls the master control process to schedule the service process to run according to the data packet. The management efficiency of the business process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a business process management method and storage medium. Background Technology

[0002] In today's medium to large-sized internet companies, the number of servers often reaches hundreds of thousands or even millions. To ensure the stable operation of these massive numbers of servers, there is typically a basic monitoring team. This team develops a business process (Agent) that runs on the servers. This Agent collects various basic performance data from the servers, such as CPU utilization and memory usage. This Agent can meet basic monitoring needs, but for business-side metrics, such as online users, success rate, and request count, because these metrics are distributed across different business departments, the basic monitoring team cannot support the monitoring of business-side metrics. For these business-side metrics, each business department must develop its own business Agent to collect and report them.

[0003] But this will lead to the following problem:

[0004] 1. This business agent needs to run on a large number of servers. Obviously, the daily business agent upgrade management cannot be done manually. The agent upgrade logic can only be implemented in the business agent to support batch agent upgrade control on the server side, or a supporting server management tool is needed for agent upgrade management, which increases the complexity of the business.

[0005] 2. Business agents need to report data, which inevitably requires connecting to servers. For large internet companies, their network environments are complex, including various CDN acceleration data centers that cannot be directly connected to the company's intranet, data centers involving finance requiring multi-layered firewall isolation, and other data centers with isolation requirements. When implementing data reporting, not only disaster recovery switching and proximity access need to be considered, but also data reporting in isolated environments. Setting up a data reporting channel for each business agent would lead to a large amount of repetitive work and would hinder the management of isolated environments. Summary of the Invention

[0006] This application provides a business process management method and storage medium, which can avoid the need for separate development of business processes in business systems, realize unified management of business processes by the main control process, and improve the management efficiency of business processes.

[0007] On one hand, this application provides a business process management method, which is applied to a process management platform. The process management platform includes an application programming interface, an upgrade management module, and a target data collection module. The method includes:

[0008] The application programming interface receives a task generation request sent by the business system and generates a task to be processed based on the task generation request.

[0009] The upgrade management module is invoked to read the task to be processed and obtain the business process information corresponding to the task to be processed.

[0010] The upgrade management module is invoked to assemble the pending tasks and the business process information to obtain a data packet;

[0011] The upgrade management module determines the target data collection module based on the access routing information of the main control process in the server, and sends the data packet to the target data collection module.

[0012] The target data collection module is invoked to send the data packet to the main control process in the server; so that the server invokes the main control process to schedule the operation of the business process according to the data packet; the business process is used to collect business indicator data in the business system.

[0013] On the other hand, a business process management method is provided, which is applied to a server and includes:

[0014] The main control process receives data packets sent by the target data collection module in the process management platform. These data packets are assembled by the process management platform using the upgrade management module to retrieve pending tasks and business process information. The data packets are also sent by the process management platform to the target data collection module via the upgrade management module. The pending tasks are generated by the process management platform using the application programming interface (API) based on a task generation request. The task generation request is sent by the business system to the process management platform via the API. The business process information is obtained by the process management platform using the upgrade management module. The target data collection module is determined by the process management platform using the upgrade management module based on the access routing information of the main control process.

[0015] The main control process is invoked to schedule the execution of business processes based on the data packets; the business processes are used to collect business indicator data from the business system.

[0016] On the other hand, a business process management device is provided, the device comprising:

[0017] The task generation module is used to receive a task generation request sent by the business system through the application programming interface, and generate a task to be processed based on the task generation request.

[0018] The process information acquisition module is used to call the upgrade management module to read the task to be processed and obtain the business process information corresponding to the task to be processed.

[0019] The data packet assembly module is used to call the upgrade management module to assemble the task to be processed and the business process information to obtain a data packet;

[0020] The first sending module is used to call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server, and send the data packet to the target data collection module;

[0021] The second sending module is used to call the target data collection module to send the data packet to the main control process in the server; so that the server calls the main control process to schedule the operation of the business process according to the data packet; the business process is used to collect business indicator data in the business system.

[0022] On the other hand, a business process management device is provided, the device comprising:

[0023] The data packet receiving module is used to call the main control process to receive data packets sent by the target data collection module in the process management platform. The data packets are assembled by the process management platform calling the upgrade management module to read pending tasks and business process information. The data packets are sent by the process management platform to the target data collection module via the upgrade management module. The pending tasks are generated by the process management platform calling the application programming interface (API) based on the task generation request. The task generation request is sent by the business system to the process management platform via the API. The business process information is obtained by the process management platform calling the upgrade management module. The target data collection module is determined by the process management platform calling the upgrade management module based on the access routing information of the main control process.

[0024] The business process scheduling module is used to call the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data in the business system.

[0025] On the other hand, a business process management system is provided, which includes a business system, a process management platform, and a server, wherein...

[0026] The business system is used to send a task generation request to the process management platform through the application programming interface;

[0027] The process management platform is used to call the application programming interface to generate a task to be processed based on the task generation request; call the upgrade management module to read the task to be processed and obtain the business process information corresponding to the task to be processed; call the upgrade management module to assemble the task to be processed and the business process information to obtain a data packet; call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server and send the data packet to the target data collection module; and call the target data collection module to send the data packet to the main control process in the server.

[0028] The server is used to invoke the main control process to schedule the operation of the business process according to the data packet; the business process is used to collect business indicator data in the business system.

[0029] On the other hand, an electronic device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the business process management method described above.

[0030] On the other hand, a computer storage medium is provided, which stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the business process management method described above.

[0031] The business process management method and storage medium provided in this application have the following technical advantages:

[0032] The process management platform of this application includes an application programming interface (API), an upgrade management module, and a target data collection module. It can receive task generation requests from business systems via the API and generate pending tasks based on these requests. It then calls the upgrade management module to read the pending tasks and obtain the corresponding business process information. The upgrade management module assembles the pending tasks and business process information to obtain a data packet. Based on the access routing information of the main control process in the server, the upgrade management module determines the target data collection module and sends the data packet to it. Finally, the target data collection module sends the data packet to the main control process in the server, enabling the server to call the main control process to schedule the execution of business processes based on the data packet. These business processes are used to collect business indicator data from the business system. This application constructs a process management platform and a server including a main control process. The process management platform interfaces with the business system and generates pending tasks related to the processes, which are then executed by the main control process. This allows the main control process in the server to manage the processes corresponding to the business system, avoiding the need for separate business process development by the business system and achieving unified management of business processes by the main control process, thus improving the management efficiency of business processes. Attached Figure Description

[0033] To more clearly illustrate the technical solutions and advantages in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0034] Figure 1 This is a schematic diagram of a business process management system provided in an embodiment of this application;

[0035] Figure 2 This is a flowchart illustrating a business process management method provided in an embodiment of this application;

[0036] Figure 3 This is a flowchart illustrating a business process detection method provided in an embodiment of this application;

[0037] Figure 4 This is a flowchart illustrating a method for constructing an identifier strategy library according to an embodiment of this application;

[0038] Figure 5 This is a flowchart illustrating a method for sending current business indicator data provided in an embodiment of this application;

[0039] Figure 6This is a flowchart illustrating a method provided in this application embodiment for a server to call the aforementioned current business process and send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned main control process in the server;

[0040] Figure 7 This is a flowchart illustrating a method provided in this application embodiment for a server to call the aforementioned master control process to send the aforementioned current business indicator data to the current business system;

[0041] Figure 8 This is a flowchart illustrating another business process management method provided in an embodiment of this application;

[0042] Figure 9 This is a flowchart illustrating another business process management method provided in an embodiment of this application;

[0043] Figure 10 This is a schematic diagram of the structure of a business process management device provided in an embodiment of this application;

[0044] Figure 11 This is a schematic diagram of another business process management device provided in the embodiments of this application. Detailed Implementation

[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0046] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0047] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0048] Please see Figure 1 , Figure 1 This is a schematic diagram of a business process management system provided in an embodiment of this application, such as... Figure 1 As shown, the system can include at least a business system, a process management platform, and a server. The business system can correspond to an application in the terminal. The main control process (Agent) in the server supports receiving data from the process management platform to generate business agents and scheduling their execution. Simultaneously, the main control agent provides data reporting capabilities to each business agent via shared memory. Business agents only need to call the SDK to write collected data to shared memory, and then the main control agent reads the data from the shared memory and sends it to the data collection module (Collector) in the process management platform. The data collection module in the process management platform then sends the collected data to the corresponding business system through a data subscription strategy.

[0049] In some embodiments, when there is a firewall between the server and the process management platform, the business process management system may further include a data proxy layer. The data proxy layer can be configured with a corresponding number of data collection modules according to the number of firewalls. The server's main control process first sends the collected data of the business process to the data proxy layer, which then transmits it through each data collection module in the data proxy layer until it is transmitted to the data collection module in the process management platform.

[0050] Specifically, the terminal may include physical devices such as smartphones, tablets, laptops, digital assistants, smart wearable devices, and in-vehicle terminals, and may also include software running on the physical device.

[0051] Specifically, the server may include a standalone server, a distributed server, or a server cluster consisting of multiple servers. It may also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server may include network communication units, processors, and memory, etc.

[0052] The following describes the business process management method based on the above system in this application. Figure 2 This is a flowchart illustrating a business process management method provided in this application. This specification provides the operational steps of the method as described in the embodiments or flowcharts, but based on conventional or non-inventive labor, more or fewer operational steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the method can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment) as shown in the embodiments or drawings. Specifically, the method is applied to a business process management system, such as... Figure 1 As shown, the business process management system includes a business system, a process management platform, and a server. The process management platform includes an Application Programming Interface (API), an update management module (UpdateSvr), and a target data collection module (Collector), as follows: Figure 2 As shown, the method may include:

[0053] S201: The business system sends a task generation request to the process management platform through the application programming interface.

[0054] In the embodiments of this specification, the business system can be the system corresponding to the application in the terminal. There can be multiple business systems, and all multiple business systems can send task generation requests through the application programming interface in the process management platform, so as to generate corresponding tasks to be distributed, i.e., tasks to be processed, through the application programming interface. The task generation request may include business process information, and different tasks correspond to different business process information.

[0055] S203: The process management platform calls the application programming interface to generate tasks to be processed based on task generation requests.

[0056] In the embodiments of this specification, the task to be processed may include, but is not limited to, process deployment task, process upgrade task, and process uninstallation task.

[0057] S205: The process management platform calls the upgrade management module to read the tasks to be processed and obtain the business process information corresponding to the tasks to be processed.

[0058] In the embodiments of this specification, a business process file can be pre-set in the process management platform, and business process information can be stored in the business process file; different types of tasks correspond to different business process information; for example, when the task to be processed is a business deployment task, the business process information can be the attribute information of the business process; when the task to be processed is a process upgrade task, the business process information can include the current version of the business process and the target version information after the business process is upgraded; when the task to be processed is a process uninstallation task, the business process information can be the identification information of the business process.

[0059] S207: The process management platform calls the upgrade management module to assemble the information of the tasks to be processed and the business processes to obtain a data packet.

[0060] In the embodiments described in this specification, after receiving a task, the process management platform can call the upgrade management module to assemble the task to be processed and the business process information to obtain a data packet. When there are multiple business systems, the task to be processed can be a collection of tasks corresponding to multiple business systems. Furthermore, a corresponding data packet can be constructed separately for each business system.

[0061] S209: The process management platform calls the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server, and sends data packets to the target data collection module.

[0062] In the embodiments of this specification, the process management platform may include one or more data collection modules, which can filter out the target data collection module with a matching IP address from multiple data collection modules based on the access routing information of the main control process in the server, and send data packets to the target data collection module.

[0063] S2011: The process management platform calls the target data collection module to send data packets to the main control process in the server.

[0064] In the embodiments described in this specification, after the process management platform identifies the target data collection module, it can call the target data collection module to send data packets to the main control process in the server.

[0065] S2013: The server calls the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data in the business system.

[0066] In the embodiments of this specification, the business process corresponding to the business system is used to collect business indicator data from the business system. Through the method of this embodiment, it is possible to deploy the business processes corresponding to multiple business systems on the server, so as to achieve unified management of the business processes of different business systems.

[0067] As can be seen from the technical solutions provided in the embodiments of this specification above, the process management platform of this specification includes an application programming interface (API), an upgrade management module, and a target data collection module. It can receive task generation requests sent by the business system through the API, and generate tasks to be processed based on the task generation requests; call the upgrade management module to read the tasks to be processed and obtain the business process information corresponding to the tasks to be processed; call the upgrade management module to assemble the tasks to be processed and the business process information to obtain a data packet; call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server, and send the data packet to the target data collection module; call the target data collection module to send the data packet to the main control process in the server; so that the server calls the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data from the business system. This application constructs a process management platform and a server including a main control process. The process management platform interfaces with the business system and generates process-related tasks to be processed, which are then executed by the main control process. Thus, the main control process in the server can manage the processes corresponding to the business system; this avoids the need for the business system to develop separate business processes, achieves unified management of business processes by the main control process, and improves the management efficiency of business processes.

[0068] For example, before the business system sends a task generation request to the process management platform through the application programming interface, the above method further includes:

[0069] The business system sends business process information to the process management platform through the aforementioned application programming interface;

[0070] The process management platform stores the aforementioned business process information in the object storage module;

[0071] Correspondingly, the process management platform calls the upgrade management module to read the above-mentioned tasks to be processed and obtains the business process information corresponding to the tasks to be processed. This may include: the process management platform calls the upgrade management module to read the above-mentioned tasks to be processed and reads the business process information from the object storage module.

[0072] In the embodiments of this specification, an object storage module can be constructed, and the above-mentioned business process information can be stored in the object storage module through a process management platform; when needed later, the business process information can be quickly retrieved from the object storage module.

[0073] In the embodiments described in this specification, before the process management platform calls the upgrade management module to read the above-mentioned task to be processed, the above method further includes:

[0074] The process management platform calls the aforementioned application programming interface to write the tasks to be processed into a preset database;

[0075] Accordingly, the process management platform calls the aforementioned upgrade management module to read the tasks to be processed, including:

[0076] The process management platform calls the aforementioned upgrade management module to read the tasks to be processed from the preset database.

[0077] In the embodiments of this specification, a preset database (DB) can be built in the process management platform. Tasks to be processed are written into the preset database through the application programming interface. During the application process, the upgrade management module is called to read the tasks to be processed from the preset database. The preset database can store multiple tasks within a preset time period. The upgrade management module can periodically read all tasks to be processed from the preset database, thereby quickly obtaining batch tasks and processing them.

[0078] In an exemplary embodiment, there can be multiple business systems, and the tasks to be processed are a set of tasks sent by multiple business systems. The process management platform includes multiple target data collection modules, with each business system corresponding to one target data collection module. The process management platform calls the aforementioned upgrade management module to determine the target data collection module based on the access routing information of the master control process in the server, including:

[0079] The server sends the access routing information of the main control process to the upgrade management module in the process management platform.

[0080] The process management platform calls the upgrade management module to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system;

[0081] The process management platform calls the upgrade management module to determine the target data collection module corresponding to each subtask based on the IP address of each subtask; and sends each subtask to the target data collection module corresponding to each subtask.

[0082] In the embodiments of this specification, the process management platform can call the upgrade management module to split the task to be processed into multiple sub-tasks according to multiple IP addresses in the access routing information; wherein each IP address corresponds to one sub-task, and each sub-task corresponds to one business system; thus realizing task splitting according to IP address. Then, the process management platform calls the aforementioned upgrade management module to determine the target data collection module corresponding to each sub-task based on the IP address corresponding to each sub-task; and sends each sub-task to the target data collection module corresponding to each sub-task; according to the task splitting result, each sub-task can be sent to the corresponding target data collection module; thus, multiple target data collection modules can be used to execute multiple tasks simultaneously; wherein, one target data collection module can handle one or more tasks, and when one target data collection module fails, it can quickly switch to other available target data collection modules, thereby improving the disaster recovery performance and load balancing capability of data reported to the process management platform.

[0083] This embodiment provides a method for a process management platform to send the aforementioned data packet to the main control process in a server by calling a target data collection module. The method includes:

[0084] The process management platform calls the target data collection module corresponding to each business system and sends the data packet corresponding to each business system to the main control process in the server.

[0085] Accordingly, the server invokes the aforementioned master control process to generate the corresponding business processes for the business system based on the data packets, including:

[0086] The server calls the aforementioned master control process to generate a corresponding business process for each business system based on the data packet corresponding to each business system.

[0087] In the embodiments of this specification, when there are multiple business systems and each business system has its own corresponding task, the process management platform can call the target data collection module corresponding to each business system to send the data packet corresponding to each business system to the main control process in the server; thereby quickly generating the business process of each business system; for example, such as Figure 1 As shown, Figure 1 The system includes business system 1, business system 2, and business system 3. The main control process in the server constructs business process 1 corresponding to business system 1, business process 2 corresponding to business system 2, and business process 3 corresponding to business system 3 in the server according to the business process deployment requests sent by the three business systems, thereby realizing the rapid deployment of business processes corresponding to different business systems.

[0088] In the embodiments of this specification, calling the upgrade management module to assemble the above-mentioned tasks to be processed and the above-mentioned business process information to obtain a data packet may include: calling the upgrade management module to assemble the sub-tasks corresponding to each business system and the above-mentioned business process information corresponding to each business system to obtain a data packet corresponding to each business system.

[0089] In the embodiments of this specification, when there are multiple business systems, a corresponding data packet can be constructed for the task request of each business system, thereby facilitating the execution of the corresponding task based on the data packet corresponding to each business system.

[0090] In an exemplary embodiment, after the server invokes the aforementioned master control process to schedule the execution of the service process according to the aforementioned data packet, as follows: Figure 3 As shown, Figure 3 This is a flowchart illustrating a business process detection method. The method further includes:

[0091] S301: The server calls the aforementioned main control process to generate scheduling information corresponding to the aforementioned business processes; the aforementioned scheduling information indicates that periodic checks are performed on the aforementioned business processes;

[0092] S303: The server calls the aforementioned main control process to schedule the aforementioned business processes, and detects the running status of the aforementioned business processes based on the aforementioned scheduling information;

[0093] S305: If the server detects that the above-mentioned business process is in an abnormal running state, it calls the main control process to restart the business process.

[0094] In the embodiments of this specification, the server can call the main control process to generate scheduling information corresponding to the business process; and can further perform periodic checks on the running status of the business process according to the scheduling information; if the running status of the above-mentioned business process is detected to be abnormal, the server can call the main control process to restart the business process in a timely manner; when the main control process periodically (the period is configurable) detects that the business process is abnormal (e.g., the business process does not exist), it will restart the business process; thereby ensuring the normal operation of the business process.

[0095] In the embodiments of this specification, if an abnormal business process is detected, an early warning message can also be sent to the management user to prompt the management user to perform operations such as repairing the abnormal business process.

[0096] For example, if a firewall exists between the process management platform and the server, the aforementioned business process management system further includes a data proxy layer: the process management platform calls the aforementioned target data collection module to send the aforementioned data packet to the aforementioned master control process in the server, including:

[0097] The process management platform calls the aforementioned target data collection module to send data packets to the aforementioned data proxy layer;

[0098] The data proxy layer sends the aforementioned data packets to the aforementioned master control process in the server; the data proxy layer is built based on the aforementioned firewall.

[0099] In this embodiment of the specification, the data proxy layer may include N data collection structures connected in series, the number of data collection structures being the same as the number of firewalls; for example, the process management platform may send the data packet to the data proxy layer by calling the target data collection module, which may include:

[0100] The process management platform calls the target data collection module to send data packets to the first data collection structure in the data proxy layer; the first data collection structure in the data proxy layer sends data packets to the current data collection structure located after the first data collection structure; the current data collection structure in the data proxy layer sends data packets to the data collection structure located after the current data collection structure; the steps of the current data collection structure in the data proxy layer sending data packets to the data collection structure located after the current data collection structure are repeated until the current data collection structure is the Nth data collection structure.

[0101] Accordingly, the data proxy layer sends the aforementioned data packets to the aforementioned master control process in the server, including:

[0102] The data proxy layer sends the aforementioned data packets to the master process in the server through the Nth data collection structure.

[0103] In the embodiments of this specification, when there is a data center with multiple layers of firewalls separating the server and the process management platform, multiple serial data collection structures can be constructed to form a data proxy layer for reporting and distributing data. The relevant firewalls only need to enable the links of the data collection structures to achieve penetration of special network areas.

[0104] In one exemplary embodiment, such as Figure 4 As shown, Figure 4 This is a flowchart illustrating a method for constructing an identifier strategy library. The method further includes:

[0105] S401: The process management platform generates a data identifier corresponding to each business system, and constructs a correspondence between each business process and the data identifier based on the business process corresponding to each business system, generating a process identifier library;

[0106] S403: The process management platform generates a data subscription policy for each business system and constructs an identifier policy library based on the correspondence between the above data identifiers and the above data subscription policies;

[0107] S405: The process management platform sends the aforementioned process identifier library to the server.

[0108] In the embodiments of this specification, a business system can apply for a unique data identifier (ID) on the process management platform. This data identifier is used to determine the business system to which the collected data of the business process needs to be sent. The correspondence between business processes and data identifiers can be determined based on the correspondence between business systems and business processes, and between business systems and data identifiers. Based on this correspondence, a process identifier library is constructed, storing the correspondence between each business process and each data identifier. The process management platform can also generate a data subscription strategy for each business system according to its needs. The data subscription strategy determines how the collected data of the business process is sent to the business system. The data subscription strategy may include, but is not limited to, message queues and API callbacks. Message queues can be used for asynchronous data transmission and for transmitting large amounts of data; API callbacks are suitable for transmitting small amounts of data. During application, the data subscription strategy can also be determined based on the amount of data collected by the business process, and data transmission can then proceed accordingly.

[0109] For example, such as Figure 5 As shown, Figure 5 This is a flowchart illustrating a method for sending current business indicator data. The method further includes:

[0110] S501: The server calls each business process to collect business indicator data of the corresponding business system of each business process;

[0111] S503: For the currently invoked business process, the server calls the current business process to query the above process identifier database to determine the current data identifier corresponding to the above current business process;

[0112] S505: The server invokes the aforementioned current business process and sends the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned main control process in the server.

[0113] S507: The server calls the aforementioned master control process to send the aforementioned current business indicator data to the current business system; the current business system determines the current business based on the aforementioned current data identifier.

[0114] In the embodiments described in this specification, under the normal operation of the above-mentioned business processes, the server can call each business process to collect business indicator data of the business system corresponding to each business process; for the current business process, the server calls the main control process to query the process identifier library to obtain the current data identifier corresponding to the current business process; then, the corresponding current business system can be further determined based on the current data identifier; thereby realizing the accurate reporting of the data collected by the business process to the business system corresponding to the business process, and realizing the fast and accurate reporting of the data collected in the business process.

[0115] In one exemplary embodiment, such as Figure 6 As shown, Figure 6 A flowchart illustrating a method for a server to call the aforementioned current business process and send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned main control process in the server, including:

[0116] S601: The server calls the aforementioned current business process to collect current business indicator data and the aforementioned current data identifier;

[0117] S603: The server calls the aforementioned current business process to send the aforementioned current business indicator data and the aforementioned current data identifier to the main control process in the server through inter-process communication.

[0118] For example, inter-process communication can be implemented through shared memory. The server can call the current business process to send the current business indicator data collected by the current business process and the current data identifier to the shared memory in the server; the server sends the current business indicator data and the current data identifier to the main control process in the server through the shared memory.

[0119] In the embodiments described in this specification, a shared memory can be set up between the business processes and the main control process in the server. The business indicator data collected by each business process can be sent to the shared memory first, and then reported to the main control process in a unified manner through the shared memory. Alternatively, the main control process can periodically read the business indicator data collected by one or more business processes from the shared memory.

[0120] In the embodiments described in this specification, such as Figure 1 As shown, business processes 1, 2, and 3 all report the collected data to shared memory, and then transmit the data to the main control process via shared memory. The main control process then reports the collected data from each business process to the process management platform, which further distributes it to the corresponding business systems. It can be seen that in this embodiment, different business processes can report collected data through the same data reporting channel, avoiding the need to build different data reporting channels for different business systems, reducing the development cost of business data reporting channels, and improving the efficiency of business data reporting.

[0121] For example, such as Figure 7 As shown, Figure 7 A flowchart illustrating a method for a server to call the aforementioned master control process to send the aforementioned current business indicator data to the current business system includes:

[0122] S701: The server calls the main control process to send the current business indicator data and the current data identifier to the target data collection module of the process management platform;

[0123] S703: The process management platform calls the above target data collection module to determine the current business system corresponding to the current data identifier, and sends the current business indicator data to the current business system.

[0124] In the embodiments of this specification, after determining the current business indicator data and the current data identifier, the server can call the main control process to send the data to the target data collection module of the process management platform; wherein, the current data identifier is used to determine the current business system corresponding to the current business indicator data, so as to facilitate the accurate sending of the current business indicator data to the current business system.

[0125] In an exemplary embodiment, the process management platform invokes the aforementioned target data collection module to determine the current business system corresponding to the current data identifier, and sends the current business indicator data to the current business system, including:

[0126] The process management platform calls the aforementioned target data collection module to determine the current business system corresponding to the aforementioned current data identifier; and determines the current data subscription strategy corresponding to the aforementioned current data identifier based on the aforementioned identifier policy library.

[0127] The process management platform calls the aforementioned target data collection module and sends the aforementioned current business indicator data to the aforementioned current business system based on the aforementioned current data subscription strategy.

[0128] In the embodiments described in this specification, after obtaining the current data identifier, the process management platform can call the target data collection module to query the identifier policy library, thereby determining the current data subscription policy corresponding to the current data identifier; thus, it can send business indicator data according to the data subscription policy pre-set by the business system. Specifically, a data subscription module can be built in the process management platform to store the identifier policy library; the identifier policy library is pre-built according to the data transmission method requirements of each business system, enabling rapid matching of the current data subscription policy corresponding to the current business indicator data.

[0129] In the embodiments described in this specification, the management platform enables the upload, batch distribution, and setting of data subscription policies for services exposed on the business side via API. After receiving data reported by the business process, the Collector in the management platform writes the data to the data subscription module, which then forwards the data to the corresponding business system according to the subscription policy.

[0130] In one exemplary embodiment, the distribution channel is used for the deployment, upgrade, and uninstallation of business processes, enabling automated batch deployment operations on servers. The following describes the relevant steps using business process deployment as an example (the steps for process upgrade and uninstallation are similar):

[0131] 1. The business system uploads business process files to the object storage system via API.

[0132] 2. The business system generates and issues tasks via API. The tasks contain information on deploying, upgrading, or uninstalling specified business processes on a designated server.

[0133] 3. The API will write the task information to the database (DB).

[0134] 4. The upgrade management module (UpdateSvr) reads the database, obtains the task to be issued, reads the business process file from the object storage system, and assembles the data packet.

[0135] 5. The upgrade management module splits the assigned tasks by IP address and sends them to the corresponding Collectors based on the access routing information of the main control process.

[0136] 6. The Collector forwards the data packets to the master process.

[0137] 7. The main control process generates business process files based on data packets and generates scheduling information.

[0138] 8. The main control process schedules the business processes, and the business processes begin to run.

[0139] As can be seen from the above steps, business processes no longer need to have separate development, upgrade, and deployment functions; they can be deployed on a massive number of servers simply by calling APIs.

[0140] In one exemplary embodiment, the reporting channel provides data reporting capabilities for business processes. The business process calls the SDK to send data to the main control process, which then completes the data reporting. Finally, the data subscription module of the process management platform forwards the data to the corresponding business system. The specific steps are as follows:

[0141] 1. The business system applies for a unique data ID on the process management platform and configures a data subscription policy to identify which business system the data of that ID is forwarded to.

[0142] 2. After the business process completes data collection, it passes in the data identifier ID and the specific data, and calls the SDK interface to report the data.

[0143] 3. The SDK transmits data to the main control process via inter-process communication (e.g., shared memory).

[0144] 4. The master control process reports data to the Collector. The master control process implements disaster recovery and load balancing capabilities for reporting data to the Collector.

[0145] 5. The Collector forwards data to the subscription module.

[0146] 6. The subscription strategy specifies how the data ID is forwarded to which business system (message queue, API callback, etc.). The data subscription module will eventually report the data to the business system according to the subscription strategy.

[0147] As can be seen from the above steps, the business process does not need to implement the data reporting details; it can achieve business data reporting simply by calling the SDK.

[0148] In the embodiments described in this specification, through the distribution and reporting channels provided by the process management platform, business processes can focus only on the implementation of business logic, and no longer need to repeatedly implement the capabilities of data reporting and process deployment / unloading.

[0149] The following describes a specific embodiment of a business process management method described in this specification, using a process management platform as the execution entity. Figure 8 This is a flowchart illustrating a business process management method provided in an embodiment of this application. Specifically, in conjunction with... Figure 8 As shown, the aforementioned process management platform includes an application programming interface, an upgrade management module, and a target data collection module. The aforementioned method includes:

[0150] S801: Receives task generation requests sent by the business system through the application programming interface, and generates tasks to be processed based on the task generation requests.

[0151] S803: Call the upgrade management module to read the pending tasks and obtain the business process information corresponding to the pending tasks.

[0152] S805: Call the upgrade management module to assemble the pending tasks and business process information to obtain a data packet;

[0153] S807: The upgrade management module is invoked to determine the target data collection module based on the access routing information of the main control process in the server, and the data packet is sent to the target data collection module.

[0154] S809: The target data collection module is invoked to send the data packet to the main control process in the server, so that the server invokes the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data in the business system.

[0155] In some embodiments, before receiving the task generation request sent by the aforementioned business system via the application programming interface, the method further includes:

[0156] The application programming interface (API) is used to receive business process information sent by the business system and store the business process information in the object storage module.

[0157] The aforementioned call to the upgrade management module reads the pending tasks and obtains the corresponding business process information for the pending tasks, including:

[0158] The upgrade management module is invoked to read the pending tasks and the business process information is retrieved from the object storage module.

[0159] In some embodiments, if a firewall exists between the process management platform and the server, the above-mentioned invocation of the target data collection module to send the data packet to the main control process in the server includes:

[0160] The aforementioned target data collection module is invoked to send the aforementioned data packet to the data proxy layer; thereby enabling the aforementioned data proxy layer to send the aforementioned data packet to the aforementioned master control process in the aforementioned server; the aforementioned data proxy layer is constructed based on the aforementioned firewall.

[0161] In some embodiments, before invoking the upgrade management module to read the task to be processed, the method further includes:

[0162] The above application programming interface is invoked to write the above-mentioned task to be processed into the preset database;

[0163] The above-mentioned call to the upgrade management module to read the above-mentioned pending tasks includes:

[0164] The upgrade management module is invoked to read the tasks to be processed from the preset database.

[0165] In some embodiments, the tasks to be processed are a set of tasks sent by multiple business systems, and the process management platform includes multiple target data collection modules, with each business system corresponding to one target data collection module. The process of calling the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server includes:

[0166] The upgrade management module is invoked to receive the access routing information of the main control process sent by the server.

[0167] The upgrade management module is invoked to split the pending task into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system.

[0168] The upgrade management module is invoked to determine the target data collection module corresponding to each subtask based on the IP address corresponding to each subtask; and each subtask is sent to the target data collection module corresponding to each subtask.

[0169] The aforementioned call to the target data collection module to send the aforementioned data packet to the main control process in the aforementioned server; so that the aforementioned server calls the main control process to schedule the execution of the business process according to the aforementioned data packet, including:

[0170] The target data collection module corresponding to each business system is invoked to send the data packet corresponding to each business system to the main control process in the server; so that the server invokes the main control process to generate the business process corresponding to each business system based on the data packet corresponding to each business system.

[0171] In some embodiments, the above method further includes:

[0172] Generate a data identifier for each business system, and based on the business process corresponding to each business system, construct the correspondence between each business process and the data identifier, and generate a process identifier library;

[0173] Generate a data subscription strategy for each business system, and construct an identifier strategy library based on the correspondence between the data identifiers and the data subscription strategies mentioned above.

[0174] Send the aforementioned process identifier library to the aforementioned server.

[0175] In some embodiments, the above method further includes:

[0176] The above-mentioned target data collection module is invoked to receive the current business indicator data and current data identifier corresponding to the current business process sent by the main control process of the above-mentioned server.

[0177] The target data collection module is invoked to determine the current business system corresponding to the current data identifier, and the current business indicator data collected by the current business process is sent to the current business system.

[0178] In some embodiments, the above-mentioned invocation of the target data collection module to determine the current business system corresponding to the current data identifier and to send the current business indicator data collected by the current business process to the current business system includes:

[0179] The target data collection module is invoked to determine the current business system corresponding to the current data identifier; and the current data subscription strategy corresponding to the current data identifier is determined based on the identifier policy library.

[0180] The aforementioned target data collection module is invoked to send the aforementioned current business indicator data to the aforementioned current business system based on the aforementioned current data subscription strategy.

[0181] The following describes a specific embodiment of a business process management method described in this specification, using the server as the executing entity. Figure 9 This is a flowchart illustrating a business process management method provided in an embodiment of this application. Specifically, in conjunction with... Figure 9 As shown, the above method is applied to a server, and the method includes:

[0182] S901: The main control process is invoked to receive data packets sent by the target data collection module in the process management platform; the aforementioned data packets are obtained by the process management platform calling the upgrade management module to assemble the read pending tasks and business process information; the aforementioned data packets are sent by the process management platform calling the upgrade management module to the target data collection module; the aforementioned pending tasks are generated by the process management platform calling the application programming interface according to the aforementioned task generation request; the aforementioned task generation request is sent by the business system to the process management platform through the aforementioned application programming interface; the aforementioned business process information is obtained by the process management platform calling the upgrade management module; the aforementioned target data collection module is determined by the process management platform calling the upgrade module according to the access routing information of the main control process;

[0183] S903: Invoke the above-mentioned main control process to schedule the operation of the business process according to the above-mentioned data packet; the above-mentioned business process is used to collect business indicator data from the above-mentioned business system.

[0184] In some embodiments, the tasks to be processed are a set of tasks sent by multiple business systems, the process management platform includes multiple target data collection modules, each business system corresponds to one target data collection module, and the method further includes:

[0185] The process management platform sends the access routing information of the main control process to the upgrade management module in the process management platform. This causes the process management platform to call the upgrade management module to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information. Each IP address corresponds to one sub-task, and each sub-task corresponds to one business system. The platform also calls the upgrade management module to determine the target data collection module corresponding to each sub-task based on the IP address corresponding to each sub-task. Finally, each sub-task is sent to the target data collection module corresponding to each sub-task.

[0186] The aforementioned call to the main control process to receive data packets sent by the target data collection module in the process management platform includes:

[0187] The aforementioned main control process is invoked to receive the aforementioned data packets sent by each business system of the aforementioned process management platform, corresponding to each business system.

[0188] The aforementioned invocation of the main control process to schedule the execution of business processes based on the aforementioned data packets includes:

[0189] The aforementioned master control process is invoked to schedule the execution of business processes based on the aforementioned data packets corresponding to each business system.

[0190] In some embodiments, after the above-mentioned main control process is invoked to schedule the execution of the service process according to the above-mentioned data packet, the above method further includes:

[0191] The aforementioned main control process is invoked to generate scheduling information corresponding to the aforementioned business processes; the aforementioned scheduling information indicates that periodic checks are performed on the aforementioned business processes.

[0192] The main control process is invoked to schedule the business processes, and the running status of the business processes is detected based on the scheduling information.

[0193] If the above-mentioned business process is detected to be running abnormally, the above-mentioned main control process will be invoked to restart the business process.

[0194] In some embodiments, the above method further includes:

[0195] Call each business process to collect business indicator data from the corresponding business system;

[0196] For the currently invoked business process, query the process identifier database to determine the current data identifier corresponding to the current business process;

[0197] Invoke the aforementioned current business process and send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned master control process in the aforementioned server;

[0198] The aforementioned master control process is invoked to send the aforementioned current business indicator data to the current business system; the aforementioned current business system is identified based on the aforementioned current data identifier.

[0199] In some embodiments, the above-mentioned invocation of the current business process to send the current business indicator data and the current data identifier to the main control process in the server includes:

[0200] The aforementioned current business process is invoked to send the current business indicator data collected by the aforementioned current business process and the aforementioned current data identifier to the aforementioned server via inter-process communication.

[0201] Send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned master control process in the aforementioned server.

[0202] In some embodiments, the above-mentioned invocation of the main control process to send the current business indicator data to the current business system includes:

[0203] The aforementioned master control process is invoked to send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned target data collection module of the aforementioned process management platform; thereby enabling the aforementioned process management platform to invoke the aforementioned target data collection module, determine the current business system corresponding to the aforementioned current data identifier, and send the aforementioned current business indicator data to the aforementioned current business system.

[0204] This specification provides an electronic device, which includes a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement the business process management method described above.

[0205] In the embodiments described in this specification, the memory can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for the functions, etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.

[0206] This specification provides a computer storage medium that stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the business process management method described above.

[0207] Embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the business process management method provided in the above-described method embodiments.

[0208] This application also provides a business process management device, such as... Figure 10 As shown, the above-mentioned device may include:

[0209] The task generation module 1010 is used to receive a task generation request sent by the business system through the above application programming interface, and generate a task to be processed according to the task generation request.

[0210] The process information acquisition module 1020 is used to call the upgrade management module to read the task to be processed and obtain the business process information corresponding to the task to be processed.

[0211] The data packet assembly module 1030 is used to call the upgrade management module to assemble the tasks to be processed and the business process information to obtain data packets.

[0212] The first sending module 1040 is used to call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server, and send the data packet to the target data collection module.

[0213] The second sending module 1050 is used to call the target data collection module to send the data packet to the main control process in the server, so that the server calls the main control process to schedule the operation of the business process according to the data packet; the business process is used to collect business indicator data in the business system.

[0214] In some embodiments, the above-described apparatus further includes:

[0215] The storage module is used to receive business process information sent by the business system through the application programming interface and store the business process information in the object storage module.

[0216] The aforementioned process information acquisition module is also used to call the aforementioned upgrade management module to read the aforementioned tasks to be processed, and to read the aforementioned business process information from the aforementioned object storage module.

[0217] In some embodiments, if a firewall exists between the process management platform and the server, the second sending module is further configured to call the target data collection module to send the data packet to the data proxy layer; so that the data proxy layer sends the data packet to the master control process in the server; the data proxy layer is constructed based on the firewall.

[0218] In some embodiments, the above-described apparatus further includes:

[0219] The interface writing module is used to call the above application programming interface to write the above-mentioned task to be processed into the preset database.

[0220] The aforementioned process information acquisition module is also used to call the aforementioned upgrade management module to read the aforementioned tasks to be processed from the aforementioned preset database.

[0221] In some embodiments, the tasks to be processed are a set of tasks sent by multiple business systems, the process management platform includes multiple target data collection modules, each business system corresponds to one target data collection module, and the first sending module includes:

[0222] The information receiving unit is used to call the upgrade management module to receive the access routing information of the main control process sent by the server.

[0223] The splitting unit is used to call the upgrade management module to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system.

[0224] The target module determination unit is used to call the upgrade management module to determine the target data collection module corresponding to each subtask based on the IP address corresponding to each subtask; and to send each subtask to the target data collection module corresponding to each subtask.

[0225] The second sending module is further configured to call the target data collection module corresponding to each business system to send the data packet corresponding to each business system to the main control process in the server; so that the server calls the main control process to generate a business process corresponding to each business system based on the data packet corresponding to each business system.

[0226] In some embodiments, the above-described apparatus further includes:

[0227] The identifier library generation module is used to generate data identifiers corresponding to each business system, and to build a correspondence between each business process and data identifiers based on the business processes corresponding to each business system, thereby generating a process identifier library;

[0228] The strategy library generation module is used to generate data subscription strategies for each business system and to build an identifier strategy library based on the correspondence between the data identifiers and the data subscription strategies.

[0229] The identifier library sending module is used to send the aforementioned process identifier library to the aforementioned server.

[0230] In some embodiments, the above-described apparatus further includes:

[0231] The current identifier receiving module is used to call the target data collection module to receive the current business indicator data and current data identifier corresponding to the current business process sent by the main control process of the server.

[0232] The current data sending module is used to call the target data collection module to determine the current business system corresponding to the current data identifier, and send the current business indicator data collected by the current business process to the current business system.

[0233] In some embodiments, the aforementioned current data transmission module includes:

[0234] The current system determination unit is used to call the target data collection module to determine the current business system corresponding to the current data identifier; and to determine the current data subscription strategy corresponding to the current data identifier based on the identifier policy library.

[0235] The current data sending unit is used to invoke the aforementioned target data collection module and send the aforementioned current business indicator data to the aforementioned current business system based on the aforementioned current data subscription strategy.

[0236] This application also provides a business process management device, such as... Figure 11 As shown, the above-mentioned device may include:

[0237] The data packet receiving module 1110 is used to call the main control process to receive data packets sent by the target data collection module in the process management platform. The data packets are obtained by the process management platform calling the upgrade management module to assemble the read pending tasks and business process information. The data packets are also sent by the process management platform to the target data collection module via the upgrade management module. The pending tasks are generated by the process management platform calling the application programming interface based on the task generation request. The task generation request is sent by the business system to the process management platform through the application programming interface. The business process information is obtained by the process management platform calling the upgrade management module. The target data collection module is determined by the process management platform calling the upgrade module based on the access routing information of the main control process.

[0238] The business process scheduling module 1120 is used to call the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data from the business system.

[0239] In some embodiments, the tasks to be processed are a set of tasks sent by multiple business systems, the process management platform includes multiple target data collection modules, each business system corresponds to one target data collection module, and the apparatus further includes:

[0240] The information sending module is used to send the access routing information of the main control process to the upgrade management module in the process management platform; so that the process management platform calls the upgrade management module to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system; and calls the upgrade management module to determine the target data collection module corresponding to each sub-task according to the IP address corresponding to each sub-task; and sends each sub-task to the target data collection module corresponding to each sub-task.

[0241] The aforementioned data packet receiving module is also used to call the aforementioned main control process to receive the aforementioned data packets sent by each business system of the aforementioned process management platform, corresponding to each business system;

[0242] The aforementioned business process scheduling module is also used to call the aforementioned main control process to schedule the execution of business processes based on the aforementioned data packets corresponding to each business system.

[0243] In some embodiments, the above-described apparatus further includes:

[0244] The scheduling information generation module is used to call the main control process to generate scheduling information corresponding to the above-mentioned business processes; the scheduling information represents the periodic detection performed on the above-mentioned business processes.

[0245] The detection module is used to call the main control process to schedule the business processes and detect the running status of the business processes based on the scheduling information.

[0246] The process shutdown module is used to restart the business process by calling the main control process when an abnormal running status of the above business process is detected.

[0247] In some embodiments, the above-described apparatus further includes:

[0248] The business metrics data collection module is used to call each business process to collect business metrics data from the corresponding business system of each business process;

[0249] The current data identifier determination module is used to query the process identifier database for the currently invoked business process to determine the current data identifier corresponding to the current business process.

[0250] The current data identifier sending module is used to call the aforementioned current business process and send the aforementioned current business indicator data and the aforementioned current data identifier to the aforementioned main control process in the aforementioned server;

[0251] The current business indicator data sending module is used to call the aforementioned main control process to send the aforementioned current business indicator data to the current business system; the aforementioned current business system is determined based on the aforementioned current data identifier.

[0252] In some embodiments, the current data identifier sending module includes:

[0253] The first data sending unit is used to call the aforementioned current business process to send the current business indicator data collected by the aforementioned current business process and the aforementioned current data identifier to the aforementioned server through inter-process communication.

[0254] The second data sending unit is used to send the current business indicator data and the current data identifier to the main control process in the server.

[0255] In some embodiments, the current business indicator data sending module is further configured to call the main control process to send the current business indicator data and the current data identifier to the target data collection module of the process management platform; so that the process management platform calls the target data collection module to determine the current business system corresponding to the current data identifier and sends the current business indicator data to the current business system.

[0256] The apparatus and method embodiments described above are based on the same inventive concept.

[0257] This application also provides a business process management system, which includes a business system, a process management platform, and a server, wherein...

[0258] The aforementioned business system is used to send task generation requests to the aforementioned process management platform through the aforementioned application programming interface;

[0259] The aforementioned process management platform is used to call the application programming interface to generate a request based on the aforementioned task, thereby generating a task to be processed; call the upgrade management module to read the task to be processed and obtain the business process information corresponding to the task to be processed; call the upgrade management module to assemble the task to be processed and the business process information to obtain a data packet; call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server, and send the data packet to the target data collection module; and call the target data collection module to send the data packet to the main control process in the server.

[0260] The aforementioned server is used to invoke the aforementioned master control process to schedule the execution of business processes based on the aforementioned data packets; the aforementioned business processes are used to collect business indicator data from the aforementioned business system.

[0261] As can be seen from the embodiments of the business process management method, apparatus, storage medium, or system provided in this application, the process management platform in the embodiments of this specification includes an application programming interface (API), an upgrade management module, and a target data collection module. It can receive task generation requests sent by the business system through the API and generate tasks to be processed based on the task generation requests; call the upgrade management module to read the tasks to be processed and obtain the business process information corresponding to the tasks to be processed; call the upgrade management module to assemble the tasks to be processed and the business process information to obtain a data packet; call the upgrade management module to determine the target data collection module based on the access routing information of the main control process in the server and send the data packet to the target data collection module; call the target data collection module to send the data packet to the main control process in the server; so that the server calls the main control process to schedule the business process to run according to the data packet; the business process is used to collect business indicator data from the business system. This application constructs a process management platform and a server including a master control process. The process management platform interfaces with the business system and generates process-related pending tasks, which are then executed by the master control process. Thus, the master control process on the server can manage the processes corresponding to the business system. This avoids the need for the business system to develop its own business processes, achieves unified management of business processes by the master control process, and improves the management efficiency of business processes.

[0262] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0263] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments for servers, terminals, systems, and storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0264] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0265] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A business process management method, characterized in that, The method is applied to a process management platform, which includes an application programming interface, an upgrade management module, and a target data collection module. The method includes: The application programming interface receives a task generation request sent by the business system and generates a task to be processed based on the task generation request. The upgrade management module is invoked to read the task to be processed and obtain the business process information corresponding to the task to be processed. The upgrade management module is invoked to assemble the pending tasks and the business process information to obtain a data packet; The upgrade management module determines the target data collection module based on the access routing information of the main control process in the server, and sends the data packet to the target data collection module. The target data collection module is invoked to send the data packet to the main control process in the server; so that the server invokes the main control process to schedule the operation of the business process according to the data packet; the business process is used to collect business indicator data in the business system.

2. The method according to claim 1, characterized in that, Before receiving the task generation request sent by the business system through the application programming interface, the method further includes: The application programming interface receives business process information sent by the business system and stores the business process information in the object storage module. The step of calling the upgrade management module to read the task to be processed and obtaining the business process information corresponding to the task to be processed includes: The upgrade management module is invoked to read the task to be processed, and the business process information is read from the object storage module.

3. The method according to claim 1, characterized in that, If a firewall exists between the process management platform and the server, the step of invoking the target data collection module to send the data packet to the main control process in the server includes: The target data collection module is invoked to send the data packet to the data proxy layer; so that the data proxy layer sends the data packet to the master control process in the server; the data proxy layer is built based on the firewall.

4. The method according to claim 1, characterized in that, Before invoking the upgrade management module to read the task to be processed, the method further includes: The application programming interface is invoked to write the task to be processed into a preset database; The step of calling the upgrade management module to read the task to be processed includes: The upgrade management module is invoked to read the task to be processed from the preset database.

5. The method according to claim 1, characterized in that, The tasks to be processed are a set of tasks sent by multiple business systems. The process management platform includes multiple target data collection modules, with each business system corresponding to one target data collection module. The step of calling the upgrade management module determines the target data collection module based on the access routing information of the main control process in the server, including: The upgrade management module is invoked to receive the access routing information of the main control process sent by the server; The upgrade management module is invoked to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system; The upgrade management module is invoked to determine the target data collection module corresponding to each subtask based on the IP address corresponding to each subtask; and each subtask is sent to the target data collection module corresponding to each subtask. The step of invoking the target data collection module to send the data packet to the main control process in the server, so that the server invoking the main control process to schedule the execution of business processes according to the data packet, includes: The target data collection module corresponding to each business system is invoked to send the data packet corresponding to each business system to the main control process in the server; so that the server invokes the main control process to schedule the business process to run according to the data packet corresponding to each business system.

6. The method according to claim 1, characterized in that, The method further includes: Generate a data identifier for each business system, and based on the business process corresponding to each business system, construct the correspondence between each business process and the data identifier, and generate a process identifier library; Generate a data subscription strategy for each business system, and construct an identifier strategy library based on the correspondence between the data identifier and the data subscription strategy; Send the process identifier library to the server.

7. The method according to claim 6, characterized in that, The method further includes: The target data collection module is invoked to receive the current business indicator data and current data identifier corresponding to the current business process sent by the main control process of the server; The target data collection module is invoked to determine the current business system corresponding to the current data identifier, and the current business indicator data collected by the current business process is sent to the current business system.

8. The method according to claim 7, characterized in that, The step of invoking the target data collection module, determining the current business system corresponding to the current data identifier, and sending the current business indicator data collected by the current business process to the current business system includes: The target data collection module is invoked to determine the current business system corresponding to the current data identifier; and the current data subscription strategy corresponding to the current data identifier is determined according to the identifier policy library. The target data collection module is invoked to send the current business indicator data to the current business system based on the current data subscription strategy.

9. A business process management method, characterized in that, The method is applied to a server, and the method includes: The main control process receives data packets sent by the target data collection module in the process management platform. These data packets are assembled by the process management platform using the upgrade management module to retrieve pending tasks and business process information. The data packets are also sent by the process management platform to the target data collection module via the upgrade management module. The pending tasks are generated by the process management platform using the application programming interface (API) based on a task generation request. The task generation request is sent by the business system to the process management platform via the API. The business process information is obtained by the process management platform using the upgrade management module. The target data collection module is determined by the process management platform using the upgrade management module based on the access routing information of the main control process. The main control process is invoked to schedule the execution of business processes based on the data packets; the business processes are used to collect business indicator data from the business system.

10. The method according to claim 9, characterized in that, The tasks to be processed are a set of tasks sent by multiple business systems. The process management platform includes multiple target data collection modules, with each business system corresponding to one target data collection module. The method further includes: The process management platform sends the access routing information of the main control process to the upgrade management module in the process management platform; so that the process management platform calls the upgrade management module to split the task to be processed into multiple sub-tasks according to the multiple IP addresses in the access routing information; each IP address corresponds to one sub-task, and each sub-task corresponds to one business system; and calls the upgrade management module to determine the target data collection module corresponding to each sub-task according to the IP address corresponding to each sub-task; and sends each sub-task to the target data collection module corresponding to each sub-task; The process of invoking the main control process to receive data packets sent by the target data collection module in the process management platform includes: The main control process is invoked to receive data packets sent by each business system of the process management platform, corresponding to each business system. The step of invoking the main control process to schedule the execution of the service process according to the data packet includes: The main control process is invoked to schedule the execution of business processes based on the data packets corresponding to each business system.

11. The method according to claim 9, characterized in that, After the main control process is invoked to schedule the service process to run according to the data packet, the method further includes: The main control process is invoked to generate scheduling information corresponding to the business process; the scheduling information indicates that periodic checks are performed on the business process. The main control process is invoked to schedule the business process, and the running status of the business process is detected based on the scheduling information; If an abnormal running state of the business process is detected, the main control process is invoked to restart the business process.

12. The method according to claim 9, characterized in that, The method further includes: Call each business process to collect business indicator data from the corresponding business system; For the currently invoked business process, the process identifier database is queried to determine the current data identifier corresponding to the current business process; The current business process is invoked to send the current business indicator data and the current data identifier to the main control process in the server. The main control process is invoked to send the current business indicator data to the current business system; the current business system determines the data based on the current data identifier.

13. The method according to claim 12, characterized in that, The step of invoking the current business process and sending the current business metric data and the current data identifier to the main control process in the server includes: The current business process is invoked to collect the current business indicator data and the current data identifier; The current business process is invoked to send the current business indicator data and the current data identifier to the main control process in the server via inter-process communication.

14. The method according to claim 13, characterized in that, The step of invoking the main control process to send the current business indicator data to the current business system includes: The main control process is invoked to send the current business indicator data and the current data identifier to the target data collection module of the process management platform; so that the process management platform invokes the target data collection module to determine the current business system corresponding to the current data identifier and sends the current business indicator data to the current business system.

15. A computer storage medium, characterized in that, The computer storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the business process management method as described in any one of claims 1-14.