Unified processing method and device for batch services, equipment and medium

Through the middle platform framework technology, the problem of developers repeating pre-work when processing batch business is solved, and the efficiency of realizing business needs and processing efficiency of middle platform is improved.

CN120144251APending Publication Date: 2025-06-13INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510218782.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-06-13

AI Technical Summary

Technical Problem

In the prior art, when processing batch business, developers need to repeatedly implement a large amount of pre-work, which leads to the inability to focus on business logic implementation, spending a lot of time and manpower on processing data interaction, and being unable to effectively reuse existing functions and being unable to quickly realize business needs.

Method used

Through middle platform framework technology, unified docking application upstream and downstream is achieved, intermediate processing is blocked, and developers are allowed to focus on business logic processing. The specific method includes receiving batch service data from different upstream applications, establishing pending tasks, and performing sequential processing based on processing priorities between tasks.

Benefits of technology

This avoids complex and trivial preparation process of the preceding item, improves the efficiency of realizing business needs, and allows developers to focus on the implementation of business logic. Orderly execution between different tasks has also further improved the processing efficiency of the middle platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120144251A_ABST
    Figure CN120144251A_ABST
Patent Text Reader

Abstract

The invention discloses a unified processing method, device and equipment for batch businesses and a medium, and relates to the technical field of financial science and technology and business development. The method comprises the following steps: receiving batch service data sent by different upstream applications; the batch business data comprises batch file data, message queue data and online transaction data; establishing at least two to-be-processed tasks according to the batch service data; the to-be-processed task comprises a data persistence task and a distribution task to a corresponding downstream application; and sequentially processing the at least two to-be-processed tasks based on the processing priorities among the to-be-processed tasks. The embodiment of the invention can improve the implementation efficiency of the service demand.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of fintech and business development, and particularly relates to a unified processing method, device, equipment and medium for batch services. Background Art

[0002] In the financial industry, batch services refer to a business model that improves efficiency and service quality by processing a large number of similar transactions or operations at one time. The batch service model can reduce manual intervention, speed up processing, and at the same time reduce the possibility of human errors, improving data accuracy and consistency.

[0003] For batch services, the current technical implementation usually processes in the form of batch files. For different business requirements, developers need to implement the entire process of design, coding, testing, etc. from the upstream and downstream of the business, such as the docking of data entry, the initiation of batch jobs, business logic processing, and the registration and callback of processing results.

[0004] Since a large amount of preparatory work needs to be repeated for each business requirement, developers cannot focus on the implementation of business logic, spending a lot of time and manpower on non-business functions such as data interaction, unable to effectively reuse existing functions, and unable to quickly implement business requirements. Summary of the Invention

[0005] The present invention provides a unified processing method, device, equipment and medium for batch services to improve the implementation efficiency of business requirements.

[0006] According to one aspect of the present invention, a unified processing method for batch services is provided, including:

[0007] Receiving batch service data sent from different upstream applications; the batch service data includes batch file data, message queue data, and online transaction data;

[0008] Establishing at least two tasks to be processed according to the batch service data; the tasks to be processed include data persistence tasks and distribution tasks to corresponding downstream applications;

[0009] Sequentially processing the at least two tasks to be processed based on the processing priorities between the tasks to be processed.

[0010] According to another aspect of the present invention, a unified processing device for batch services is provided, including:

[0011] A receiving module, configured to receive batch service data sent from different upstream applications; the batch service data includes batch file data, message queue data, and online transaction data;

[0012] A building module is configured to build at least two tasks to be processed according to the batch service data; the tasks to be processed include a data persistence task and a distribution task to a corresponding downstream application;

[0013] A processing module is configured to sequentially process the at least two tasks to be processed based on the processing priorities between the tasks to be processed.

[0014] According to another aspect of the present invention, there is provided a computer program product including a computer program which, when executed by a processor, implements the unified processing method for batch services according to any embodiment of the present invention.

[0015] According to another aspect of the present invention, there is provided an electronic device including: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the unified processing method for batch services according to any embodiment of the present invention.

[0016] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for implementing the unified processing method for batch services according to any embodiment of the present invention when executed by a processor.

[0017] In the embodiments of the present invention, the middle platform framework technology is used to achieve unified docking of the upstream and downstream of the application, shielding the intermediate processing process from the actual business scenario, enabling developers to focus on business logic processing, avoiding complex and trivial pre-preparation processes, and improving the implementation efficiency of business requirements. Moreover, the orderly execution between different tasks further improves the processing efficiency of the middle platform.

[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can also obtain other drawings without creative efforts based on these drawings.

[0020] Figure 1A is a flowchart of a unified processing method for batch services according to an embodiment of the present invention;

[0021] Figure 1B It is a schematic diagram of a middle platform function module provided according to an embodiment of the present invention;

[0022] Figure 1C It is a schematic diagram of a data interaction process provided according to another embodiment of the present invention;

[0023] Figure 2A It is a flowchart of a unified processing method for batch services provided according to another embodiment of the present invention;

[0024] Figure 2B It is a schematic diagram of a priority determination logic provided according to another embodiment of the present invention;

[0025] Figure 3 It is a schematic structural diagram of a unified processing device for batch services provided according to another embodiment of the present invention;

[0026] Figure 4 It is a schematic structural diagram of an electronic device implementing the embodiment of the present invention. Detailed implementation manners

[0027] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the present invention are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0029] Figure 1AThe flowchart of a unified processing method for batch services provided by an embodiment of the present invention. This embodiment is applicable to the situation where a middle platform is established between an upstream application and a downstream application for unified processing of batch service data. This method can be executed by a unified processing device for batch services, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device with corresponding data processing capabilities, such as the middle platform of a business system. As Figure 1A shown, the method includes:

[0030] S110. Receive batch service data sent from different upstream applications.

[0031] S120. Establish at least two tasks to be processed according to the batch service data.

[0032] S130. Sequentially process the at least two tasks to be processed based on the processing priorities between the tasks to be processed.

[0033] Among them, the batch service data includes batch file data, message queue data, and online transaction data. Online transaction refers to a transaction that needs to immediately respond to user requests, usually involving operations directly initiated by customers, requiring high concurrency and fast response time. For example: account query, transfer and remittance, payment settlement, etc. Batch file processing is usually used for non-real-time data processing tasks, which can be executed during off-peak hours of the day to save resources, such as end-of-day clearing, interest calculation, report generation: generating monthly, quarterly, or annual financial statements. The tasks to be processed include data persistence tasks and distribution tasks to the corresponding downstream applications.

[0034] Specifically, as Figure 1B shown, an application-level unified batch middle platform is established between the upstream application and the downstream application. The batch middle platform is responsible for data interaction with different upstream and downstream applications, realizing unified data reception from upstream applications and unified data distribution to downstream applications, shielding the complex processing in the data interaction stage from business developers, and providing functions such as a unified batch entry, online small batch, batch runtime monitoring, runtime concurrency control, and real-time application alarm. As Figure 1CAs shown in the figure, the batch middleware will receive various batch business data sent by different upstream applications, such as batch file data, message queue data, and online transaction data. For the received batch business data, the middleware establishes corresponding tasks to be processed according to the type of the batch business data, so as to process the received batch business data. For example, an online transaction task is established when online transaction data is received, a message queue task is established when message queue data is received, and a file processing task is established when batch file data is received. At the same time, since it is necessary to record and distribute the processing results of the batch business data, when establishing the online transaction task, the file processing task, and the file processing task, the middleware will also establish corresponding data persistence tasks (data persistence may include multiple methods, such as relational database structured data storage, non-relational data persistence, file storage, object storage, etc.) and distribution tasks to the corresponding downstream applications to record and distribute the processing results of the batch business data. That is, the middleware will receive a large amount of batch business data during the working process, and at least 3 tasks to be processed need to be established for the completion of each batch business data, which results in multiple tasks to be processed that need to be executed at all times. To ensure the orderly execution of tasks, the processing priorities between different tasks are pre-configured in the system, the execution order between multiple tasks to be processed is determined according to the processing priorities, and an execution schedule is generated accordingly. The execution schedule defines fields related to the execution plan, such as job ID, job group, start time of the job execution plan, actual start time of execution, end time of execution, execution status, execution information, and execution user. Subsequently, the tasks to be processed are executed sequentially according to the execution schedule.

[0035] In the embodiment of the present invention, through the middleware framework technology, unified docking with the upstream and downstream of the application is realized, the intermediate processing process is shielded from the actual business scenario, allowing developers to focus on business logic processing, avoiding complex and trivial pre-preparation processes, and improving the implementation efficiency of business requirements. Moreover, the orderly execution between different tasks further improves the processing efficiency of the middleware.

[0036] Figure 2A It is a flowchart of a unified processing method for batch services provided by another embodiment of the present invention. This embodiment is optimized and improved on the basis of the above embodiment. As Figure 2A shown, the method includes:

[0037] S210. Receive batch business data sent by different upstream applications.

[0038] S220. Establish at least two tasks to be processed according to the batch business data.

[0039] S230. Determine the grouping priorities of the at least two tasks to be processed based on a pre-configured grouping information table; adjust the grouping priorities based on a pre-configured job dependency table to determine the processing priorities of the at least two tasks to be processed.

[0040] S240. Process the at least two tasks to be processed in sequence based on the processing priorities.

[0041] Specifically, as Figure 2B shown, the execution schedule plan associates the job dependency table with the grouping information table. First is the grouping priority. Different levels of grouping priorities are configured in the grouping information table. Generally, the order of grouping priorities is online transaction tasks > data persistence tasks = message queue tasks > file processing tasks > data forwarding tasks. By reading the grouping information table, the grouping priorities of the tasks to be processed can be quickly determined. After that, read the job dependency table to obtain the dependency relationships between different tasks, and adaptively adjust the grouping priorities according to the dependency relationships to obtain the processing priorities of the tasks to be processed. By combining the grouping information and job dependencies to determine the grouping priorities, it is ensured that the determined processing priorities are reasonable enough to ensure the orderly progress of the tasks to be processed.

[0042] Based on the above embodiments, optionally, the method further includes:

[0043] In response to an update instruction from a manager, obtain the update content of the job dependency table and / or the grouping information table;

[0044] Dynamically update the job dependency table and / or the grouping information table according to the update content.

[0045] Specifically, the purpose of dynamically controlling the running parameters is to dynamically modify relevant parameters during the execution of batch jobs to meet business requirements such as performance control, task advancement, and task cancellation. When the middleware receives an update instruction from a manager, it parses the update instruction to obtain the update content of the job dependency table and / or the grouping information table. And dynamically update the job dependency table and / or the grouping information table according to the update content so that it takes effect when determining priorities and generating the job schedule plan next time. By dynamically updating the job dependency table and / or the grouping information table, the rapid implementation of new business requirements can be achieved, and the business processing ability of the middleware can be improved.

[0046] Based on the above embodiments, optionally, the method further includes:

[0047] During the sequential processing, monitor the number of tasks to be processed within the current period;

[0048] If the number of tasks meets the equilibrium control condition, schedule the tasks to be processed according to a pre-configured load balancing strategy.

[0049] Specifically, during the sequential processing, the middleware monitors the number of tasks of the tasks to be processed in real time. If the number of tasks of the tasks to be processed in the current period exceeds the preset quantity threshold, or the growth rate exceeds the preset growth rate threshold, it is determined that the number of tasks meets the equilibrium control condition, and each batch task is scheduled according to the pre-configured load balancing strategy (such as weighted least connections or weighted priority in the smallest proportion). If the number of tasks of the tasks to be processed in the current period does not exceed the preset quantity threshold and the growth rate does not exceed the preset growth rate threshold, it is determined that the number of tasks does not meet the equilibrium control condition, and no load balancing adjustment is required. By monitoring the number of tasks and performing load balancing when necessary, the business stability of the middleware can be improved.

[0050] The method further includes:

[0051] During the sequential processing, monitor the progress of the sequential processing;

[0052] Create a visual dashboard and charts according to the monitoring results;

[0053] If the progress of the sorting process meets the warning condition, push the visual dashboard and charts to the management personnel.

[0054] Specifically, for the content that needs to be monitored, such as the execution status of batch jobs, abnormal container performance, CPU / memory status, etc., it is pre-configured into the monitoring configuration file. During the task processing, the middleware determines the content to be monitored according to the monitoring configuration file, and draws a visual dashboard and charts according to the monitoring content. The dashboard and charts will be displayed on the corresponding monitoring terminals and updated in real time according to the monitoring results. When the progress of the sorting process meets the warning condition in the monitoring configuration file, the middleware will organize the visual dashboard and charts at the current moment into a warning notice and push it to the management personnel of the middleware. By drawing a visual dashboard and charts and actively pushing them to the management personnel of the middleware when necessary, the exception handling efficiency of the middleware can be improved.

[0055] Based on the above embodiments, optionally, the method further includes:

[0056] The task content of the data persistence task includes:

[0057] Record the task identifier and execution result of the task to be processed associated with the corresponding batch business data;

[0058] Locally associate and store the batch business data, task identifier, and execution result.

[0059] Specifically, when processing batch business data, the middle platform first generates a series of tasks to be processed. Each task to be processed has a unique task identifier for tracking and identifying the task throughout the processing flow. At the same time, the middle platform also records the execution results of these tasks for subsequent review and analysis. The middle platform locally associates and stores all the information associated with the batch business data, including the batch business data itself, the corresponding task identifiers, and the execution results of each task. By recording relevant data, the middle platform can ensure the traceability and operation transparency of historical data, facilitating more accurate adjustment of the middle platform in the future.

[0060] In the embodiment of the present invention, through batch job grouping, the logical isolation of each batch business process is achieved. For different batch jobs, the dependent jobs before and after the job are registered in the job dependency table, realizing data isolation at the job granularity.

[0061] Figure 3 It is a schematic structural diagram of a unified processing device for batch services provided by another embodiment of the present invention. As Figure 3 shown, the device includes:

[0062] A receiving module 310, configured to receive batch business data sent from different upstream applications; the batch business data includes batch file data, message queue data, and online transaction data;

[0063] A establishing module 320, configured to establish at least two tasks to be processed according to the batch business data; the tasks to be processed include data persistence tasks and distribution tasks to corresponding downstream applications;

[0064] A processing module 330, configured to sequentially process the at least two tasks to be processed based on the processing priorities between the tasks to be processed.

[0065] The unified processing device for batch services provided by the embodiment of the present invention can execute the unified processing method for batch services provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0066] Optionally, the processing module 330, configured to sequentially process the at least two tasks to be processed based on the processing priorities between the tasks to be processed, includes:

[0067] A grouping priority determination unit, configured to determine the grouping priorities of the at least two tasks to be processed based on a pre-configured grouping information table;

[0068] A processing priority determination unit, configured to adjust the grouping priorities based on a pre-configured job dependency table to determine the processing priorities of the at least two tasks to be processed;

[0069] A sequential processing unit for sequentially processing the at least two tasks to be processed based on the processing priority.

[0070] Optionally, the apparatus further includes:

[0071] An update acquisition module for acquiring update contents of the job dependency table and / or the grouping information table in response to an update instruction from a management personnel;

[0072] A dynamic update module for dynamically updating the job dependency table and / or the grouping information table according to the update contents.

[0073] Optionally, the apparatus further includes:

[0074] A data recording module for recording task identifiers and execution results of tasks to be processed associated with corresponding batch service data;

[0075] A data storage module for locally associatively storing the batch service data, task identifiers, and execution results.

[0076] Optionally, the apparatus further includes:

[0077] A quantity statistics module for monitoring the quantity of tasks to be processed within a current time period during the sequential processing;

[0078] A task scheduling module for scheduling the tasks to be processed according to a pre-configured load balancing policy if the quantity of tasks meets an equilibrium control condition.

[0079] Optionally, the apparatus further includes:

[0080] A progress monitoring module for monitoring the progress of the sequential processing during the sequential processing;

[0081] A visualization creation module for creating a visual dashboard and charts according to the monitoring results;

[0082] A progress push module for pushing the visual dashboard and charts to the management personnel if the progress of the sorting processing meets a warning condition.

[0083] Furthermore, the unified processing apparatus for batch services can also execute the unified processing method for batch services provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution of the method.

[0084] Figure 4FIG. 0 shows a schematic structural diagram of an electronic device 40 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0085] As Figure 4 shown, the electronic device 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc. The memory stores a computer program executable by the at least one processor. The processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0086] A plurality of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0087] The processor 41 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the unified processing method for batch services.

[0088] In some embodiments, the unified processing method for batch services may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the unified processing method for batch services described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the unified processing method for batch services by any other suitable means (e.g., by means of firmware).

[0089] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that receives data and instructions from a storage system, at least one input device, and at least one output device, and transmits the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0090] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer programs are executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0091] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0092] To provide for interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide for interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0093] The systems and techniques described herein can be implemented in a computing system that includes a back-end component (e.g., as a data server), or a computing system that includes a middleware component (e.g., an application server), or a computing system that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0094] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs that run on respective computers and have a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0095] It should be understood that various forms of the processes shown above can be used, steps can be reordered, added or deleted. For example, the steps described in the present invention can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0096] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A unified processing method for batch services, characterized in that: The method comprises: Receiving batch business data sent from different upstream applications; the batch business data includes batch file data, message queue data and online transaction data; Establish at least two tasks to be processed according to the batch business data; the tasks to be processed include a data persistence task and a distribution task to a corresponding downstream application; The at least two tasks to be processed are processed sequentially based on the processing priorities between the tasks to be processed.

2. The method according to claim 1, characterized in that: The sequentially processing the at least two tasks to be processed based on the processing priorities between the tasks to be processed includes: Determining the grouping priorities of the at least two tasks to be processed based on a preconfigured grouping information table; Adjusting the grouping priorities based on a preconfigured job dependency table to determine the processing priorities of the at least two tasks to be processed; Based on the processing priority, the at least two tasks to be processed are processed sequentially.

3. The method according to claim 2, characterized in that The method further comprises: In response to an update instruction from a manager, obtaining update content of the job dependency table and / or the group information table; The job dependency table and / or the group information table are dynamically updated according to the updated content.

4. The method according to claim 1, characterized in that: The data persistence task includes: Record the task identifier and execution result of the pending task associated with the corresponding batch business data; The batch service data, task identifier and execution result are locally associated and stored.

5. The method according to claim 1, characterized in that The method further comprises: During the sequential processing, monitoring the number of tasks to be processed in the current time period; If the number of tasks meets the balancing control condition, the tasks to be processed are scheduled according to a pre-configured load balancing strategy.

6. The method according to claim 1, characterized in that The method further comprises: During the sequential processing, monitoring the progress of the sequential processing; Create visual dashboards and charts based on monitoring results; If the progress of the sorting process meets the warning condition, the visualized dashboard and chart are pushed to the management personnel.

7. A unified processing device for batch services, characterized in that: The device comprises: A receiving module, used for receiving batch business data sent from different upstream applications; the batch business data includes batch file data, message queue data and online transaction data; An establishment module, used to establish at least two tasks to be processed according to the batch business data; the tasks to be processed include a data persistence task and a distribution task to a corresponding downstream application; The processing module is used to sequentially process the at least two tasks to be processed based on the processing priorities between the tasks to be processed.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the unified batch service processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the unified processing method for batch services according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the unified processing method for batch services according to any one of claims 1 to 6.