Data processing method, device, system, equipment and storage medium

The communication between the open platform and the host platform is realized through the DRDA protocol, which solves the problems of batch job scheduling execution and status update, reduces the consumption of host platform resources, and improves system efficiency.

CN112328408BActive Publication Date: 2024-09-10CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011130973.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-21
Publication Date
2024-09-10
Estimated Expiration
2040-10-21

AI Technical Summary

Technical Problem

Existing host platform batch scheduling technology has the problem that batch jobs cannot be scheduled and executed normally. The database path for open platforms to access the host platform through transactions is long and resource-intensive. DRDA technology only supports query functions and is insufficient to support the scheduling and execution of batch jobs. .

Method used

Using the Distributed Relational Database Architecture (DRDA) protocol, the open platform communicates with the host platform through the DRDA protocol, receives batch job scheduling instructions and triggers batch job execution, and returns execution result information, realizing the open platform's scheduling and execution of batch jobs on the host platform. , status update and result query.

Benefits of technology

It minimizes the impact on the existing business of the host platform, realizes the efficient scheduling, execution and status update of batch jobs on the host platform by the open platform, simplifies the use of resources, and improves the processing efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112328408B
    Figure CN112328408B
Patent Text Reader

Abstract

The present invention discloses a data processing method, device, system, equipment and storage medium, wherein the method comprises: an open platform generates a scheduling request according to a received batch job scheduling instruction, and sends the scheduling request to a host platform; the open platform communicates with the host platform through a distributed relational database architecture (DRDA) protocol; the host platform receives the scheduling request and triggers the batch job execution, and returns the execution result information to the open platform. Based on the deployment planning of the data processing system architecture, the embodiment of the present invention adopts DRDA technology to realize the scheduling execution of the batch jobs of the host platform by the open platform, and minimizes the impact on the existing business of the host platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a data processing method, device, system, equipment and storage medium. Background Art

[0002] The existing host platform batch scheduling technology is to use the BMC tool Control-M on IBM mainframes. The tool is deployed on the IBM mainframe platform. Application developers prepare the scheduling relationship of all batch jobs in advance, which is the so-called "batch map", including job name, job location, job triggering method, job start time requirement, and dependencies between jobs. Control-M loads the batch map of the next day at a fixed time every day and schedules jobs according to the batch map. However, the tool has the defect that batch jobs cannot be scheduled and executed normally during use.

[0003] There are two main methods for the existing open platform to access the host platform through transactions. One is that the open platform first sends the transaction to the middleware of the host platform, and then the middleware calls the program to access the database. Specifically, the open platform first sends the request message to the middleware system of the host platform. As a container for the application, the middleware system is responsible for receiving and parsing network requests, dispatching requests to designated threads for processing, sending requests to the database and receiving feedback results, and feeding back the results to the requester. The problem with this method is that the transaction of the open platform cannot directly access the database of the host platform, the transaction path is relatively long, and transaction inconsistencies may occur in unexpected situations; the middleware application needs to be developed on the host platform, which requires additional development work; the middleware is an independent system software, and the software itself will occupy precious system resources such as CPU and memory of the host platform. In addition, the application on the host platform consists of two parts: application logic written in COBOL language and SQL statements for accessing the database, which also consume host resources during operation.

[0004] Another method is to use DRDA technology to embed the SQL statements for accessing the host platform database in text form into the JAVA program of the open platform, and directly access the host platform database through SQLJ. Currently, DRDA technology is limited to query operations on the host platform database, that is, the open platform initiates a query transaction and queries the host platform database through DRDA technology. However, when scheduling batch jobs of the host platform through the open platform, the scheduling instructions and job status need to be recorded in the database. Only the query function is not enough to support the scheduling and execution of batch jobs of the host platform by the open platform. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the first aspect of the present invention proposes a data processing method, comprising:

[0006] The open platform generates a scheduling request according to the received batch job scheduling instruction, and sends the scheduling request to the host platform; the open platform communicates with the host platform through a Distributed Relational Database Architecture (DRDA) protocol;

[0007] The host platform receives the scheduling request and triggers batch job execution, and returns execution result information to the open platform.

[0008] A second aspect of the present invention provides a data processing method, which is applied to a host platform. The method comprises:

[0009] Receiving a scheduling request sent by an open platform and triggering batch job execution; the open platform communicates with the host platform via a DRDA protocol;

[0010] The execution result information is returned to the open platform.

[0011] A third aspect of the present invention provides a data processing device, applied to a host platform, the device comprising:

[0012] A request processing module, used for receiving a scheduling request sent by an open platform and triggering batch job execution; the open platform communicates with the host platform via a Distributed Relational Database Architecture (DRDA) protocol;

[0013] The feedback module is used to return the execution result information to the open platform.

[0014] A fourth aspect of the present invention provides a data processing system, comprising an open platform and a host platform;

[0015] The open platform is used to generate a scheduling request according to the received batch job scheduling instruction, and send the scheduling request to the host platform; the open platform communicates with the host platform through a distributed relational database architecture (DRDA) protocol;

[0016] The host platform is used to receive the scheduling request and trigger batch job execution, and return execution result information to the open platform.

[0017] The fifth aspect of the present invention proposes a device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the data processing method proposed in the first aspect of the present invention or the data processing method proposed in the second aspect of the present invention.

[0018] The sixth aspect of the present invention proposes a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the data processing method proposed in the first aspect of the present invention or the data processing method proposed in the second aspect of the present invention.

[0019] It can be seen from the embodiments of the data processing method, device, system, equipment or storage medium provided by the present invention that the embodiments of the present invention, based on the deployment planning of the data processing system architecture, adopt DRDA technology to realize the scheduling execution, status update and result query of batch jobs of the host platform by the open platform, thereby minimizing the impact on the existing business of the host platform.

[0020] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0022] Figure 1 is an overall architecture diagram of a data processing system provided by an embodiment of the present invention;

[0023] Figure 2 is a flow chart of a data processing method provided by an embodiment of the present invention;

[0024] Figure 3 It is a schematic diagram of DRDA transaction between a host platform and an open platform provided by an embodiment of the present invention;

[0025] Figure 4 is a flowchart of triggering batch job execution provided by an embodiment of the present invention;

[0026] Figure 5 is a flow chart of a data processing method provided by an embodiment of the present invention;

[0027] Figure 6 is a structural block diagram of a data processing device provided by an embodiment of the present invention;

[0028] Figure 7 It is a structural block diagram of a data processing system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Examples of the embodiments are shown in the drawings, where the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions.

[0030] Example

[0031] Figure 1 is a general architecture diagram of a data processing system provided by an embodiment of the present invention, specifically Figure 1 As shown, the data processing system includes an open platform and a host platform, and the open platform communicates with the host platform through a distributed relational database architecture (DRDA) protocol;

[0032] The open platform is an ecosystem of system software and applications running on X86 servers.

[0033] The mainframe platform is the Z series mainframe developed by IBM and the ecosystem of system software and applications running on it.

[0034] Distributed Relational Database Architecture (DRDA) is a set of protocols that can implement access between applications and databases on different platforms. In the embodiment of the present invention, DRDA is used to implement direct access of an application on an open platform to a database on a host platform.

[0035] In the context of the mainframe moving down, this data processing solution separates the application programs. The mainframe platform retains the DB2 data service for processing SQL statements, and the original COBOL application logic is transformed using the JAVA language and moved down to the open platform for execution. Therefore, the mainframe platform resources used for the original COBOL program execution are saved.

[0036] The SQL statement is embedded in the JAVA program in the form of text. Before the program runs, a method similar to "pre-compilation" is used to separate the SQL statement from the JAVA program and bind it to the execution plan of DB2 on the host side, ensuring the static calling of the SQL statement.

[0037] In detail, when writing a SQLJ application, you write a Java program and embed SQL statements in it following certain standard rules that define how SQL statements are written into Java programs. Next, you run the SQLJ compiler to convert the SQLJ program into a standard Java program by replacing the embedded structured query statements with calls to the SQLJ runtime library, a process similar to the pre-compilation process of the host COBOL program. The generated Java program can be compiled using any standard Java compiler (such as javac) and can then be called with the database.

[0038] SQLJ is a language that allows static SQL statements to be embedded in Java programs in text form. The SQLJ runtime environment consists of a SQLJ runtime library with no additional system overhead, that is, the JDBC program that calls the corresponding database (DB2, Oracle, etc.) is implemented in pure Java. Therefore, the execution efficiency of the data processing method is not reduced.

[0039] Figure 2 is a flow chart of a data processing method provided by an embodiment of the present invention, specifically as follows Figure 2 As shown, in one embodiment, the method may include the following steps:

[0040] S101: the open platform generates a scheduling request according to the received batch job scheduling instruction, and sends the scheduling request to the host platform;

[0041] Specifically, the batch scheduling executor of the open platform receives the batch job scheduling instruction, parses and verifies the received batch job scheduling instruction according to the agreed format, and generates a scheduling request.

[0042] The scheduling request includes query instructions and / or operation instructions. The query instructions are used for instruction query and job query, etc.; the operation instructions are used for submitting a job for the first time, resubmitting a job, skipping a job, etc.

[0043] S102: The host platform receives the scheduling request and triggers batch job execution, and returns execution result information to the open platform.

[0044] In one embodiment, the scheduling request includes a query instruction and an operation instruction; the host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IPs and ports; sending the scheduling request to the host platform through a distributed relational database architecture (DRDA) protocol includes: sending the query instruction to the query request processing module of the host platform; sending the operation instruction to the operation request processing module of the host platform.

[0045] In one embodiment, the scheduling request includes an operation instruction; the host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IPs and ports; sending the scheduling request to the host platform through a distributed relational database architecture (DRDA) protocol includes: sending the operation instruction to the operation request processing module of the host platform.

[0046] In one embodiment, there are 16 DB2 members in the DB2 architecture, which are divided into three subgroups. The three subgroups respectively deploy three application programs, namely, customer information, account core, and credit card.

[0047] Figure 3 FIG. 1 is a schematic diagram of a DRDA transaction between a host platform and an open platform provided in an embodiment of the present invention. Figure 3 As shown, the volume (data volume, transaction volume) of the accounting core is the largest, and a DDF alias has been configured on it to process some DRDA query transactions that have been moved down (the transaction volume accounts for 30% of all transactions).

[0048] In order to avoid resource contention, configuration errors, misoperation, etc. that may affect this part of DRDA transactions, we first ruled out the solution of using the same DDF for batch scheduling DRDA transactions and existing DRDA transactions. Secondly, in order to further reduce the impact, we deployed batch scheduling DRDA transactions to the subgroup where the customer information is located, that is, to assign a new DDF alias to this part of transactions, and use the DB2 member where the customer information is located. In this way, through the deployment planning of the DRDA architecture, the two sets of DDF use different IPs and ports to process DRDA transactions from different requesters, minimizing the impact on the existing DRDA business of the host platform.

[0049] Please continue to refer to Figure 1 Compared with the prior art, the host platform provided by the embodiment of the present invention is improved in the following aspects:

[0050] (1) System: Configure DB2 DDF to enable DRDA to access the host platform database.

[0051] DB2 is a relational database management system developed by IBM that provides advanced data management and analysis capabilities for transactional and warehousing workloads. The database is widely used in commercial data processing fields such as banking, finance, and insurance industries.

[0052] DB2 DDF (DB2 Distributed data facility) is a communication process that resides in the background and is used to receive and process communication requests in a distributed environment, such as database access requests from another DB2 or from an open platform.

[0053] DB2 Subgroup refers to a group of virtual clusters formed by dividing one or more members of DB2 in a DB2 data sharing environment for unified management and operation. Different database buffer pools can be used and different parameters can be configured. However, since they belong to the same DB2 system, they can access each other through simple configuration.

[0054] DB2 DDF location Alias: In a high availability environment (DB2 data sharing), a DDF communication process is usually started for each DB2 address space. One or more DB2 members (DB2member) can be divided into a group of clusters, and an "alias" is assigned to it, which is bound to a specific TCP port to provide a unified DRDA service to the outside world. The open platform application server sends DRDA protocol transactions to the host platform by specifying "ddvipa:DDF alias:port", and then distributes the transactions to the DDF that has enabled port listening through DDVIPA.

[0055] (2) Application: Set up a batch scheduling job instruction table to record job scheduling instructions, set up a batch scheduling job detail table to record job running status, and set up a batch scheduling controller status table to record the polling process status. The functions and related descriptions of the above three data tables are detailed in the table below.

[0056]

[0057] (3) Application: Set up a polling process. This process resides in the background, polls the batch scheduling job instruction table, processes three types of operation instructions (initial job submission, job resubmission, and job skipping), and records the execution status of the job in the batch scheduling job details table.

[0058] Figure 4 is a flowchart of triggering batch job execution provided by an embodiment of the present invention, specifically as follows Figure 4 As shown, in one embodiment, the scheduling request includes an operation instruction, and the operation instruction includes new job content; the host platform receives the scheduling request and triggers batch job execution, including:

[0059] S201: querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction;

[0060] Specifically, before step S201, the process also includes: polling the batch scheduling job instruction table to check the required fields of the instruction; if the check fails, returning an invalid instruction message; if the check passes, executing step S201.

[0061] S202: judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result;

[0062] In one embodiment, the job to be scheduled is a job submitted for the first time, and step S202 includes: determining whether the job to be scheduled exists in the batch scheduling job details table; if so, returning a submission rejection message; if not, executing step S203.

[0063] In one embodiment, the job to be scheduled is a resubmitted job, and step S202 includes: querying whether the job status of the job to be scheduled in the batch scheduling job details table is an error status, and if not, returning a resubmission rejection message; if it is an error status, executing step S203.

[0064] In one embodiment, the job to be scheduled is a skip job, and step S201 includes: querying whether the job status of the job to be scheduled is an error status; if it is not an error status, returning a skip rejection message; if it is an error status, executing step S203.

[0065] S203: If the conditions are met, the job content of the job to be scheduled is obtained according to the job name of the job to be scheduled and the job directory in the batch scheduling job details table;

[0066] S204: modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to be processed completed, and replacing the job content with new job content, thereby obtaining an updated batch scheduling job instruction table;

[0067] S205: triggering batch job execution on the host platform according to the updated batch scheduling job instruction table.

[0068] Specifically, after step S205, the method further includes: determining whether the RDR is opened successfully;

[0069] If it fails, the polling process exits;

[0070] If successful, the job content is replaced; after the job content is replaced, it is determined whether the job submission is successful;

[0071] If the submission fails, the polling process exits;

[0072] If the submission is successful, wait for the scheduling job instruction to complete.

[0073] Please continue to refer to Figure 4 After determining whether the job status of the to-be-scheduled job meets the operation requirement corresponding to the operation instruction according to the query result, the method further includes:

[0074] S206: If not, return a scheduling rejection message.

[0075] After obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job list, the method further includes:

[0076] S207: Modify the job status of the job to be scheduled to being processed, and obtain an updated batch scheduling job details table.

[0077] Specifically, after the host platform receives the scheduling request and triggers the batch job execution and returns the execution result information to the open platform, it also includes:

[0078] The open platform sends the execution result information to the batch scheduling server;

[0079] The batch scheduling server updates the batch job scheduling result status information according to the execution result information.

[0080] Specifically, the execution result information includes a return code; the batch scheduling server updates the batch job scheduling result status information according to the execution result information, including:

[0081] When the return code is an error code, change the job scheduling result status to error;

[0082] When the return code is not an error code, compare the return code with the preset value;

[0083] When the return code exceeds the preset value, the job scheduling result status is changed to error;

[0084] When the return code does not exceed the preset value, the job scheduling result status is changed to processing completed.

[0085] For example, the preset value is 4; when the return code is less than or equal to 4, the job status is changed to processing completed, when the return code is greater than 4, the job status is changed to error, and when the return code is an error code captured by the system REXX, the job status is changed to error. It should be pointed out that the preset value can also be set to other values ​​according to actual needs, and the above preset values ​​are only used for illustration and should not be understood as limiting the protection scope of the embodiments of the present invention.

[0086] Figure 5 is a flow chart of a data processing method provided by an embodiment of the present invention, the data processing method is applied to a host platform, specifically as follows Figure 5 As shown, the method includes:

[0087] S301: receiving a scheduling request sent by the open platform and triggering batch job execution; the open platform communicates with the host platform through the DRDA protocol;

[0088] S302: Return the execution result information to the open platform.

[0089] Further, the scheduling request includes a query instruction and / or an operation instruction;

[0090] The host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IPs and ports;

[0091] Receive scheduling requests from the open platform and trigger batch job execution, including:

[0092] The query request processing module receives the query instruction sent by the open platform; and / or the operation request processing module receives the operation instruction sent by the open platform.

[0093] In one embodiment, the scheduling request includes an operation instruction, and the operation instruction includes the name of the job to be scheduled; please continue to refer to Figure 4 , receiving the scheduling request sent by the open platform and triggering the batch job execution, including the following steps:

[0094] S201: querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction;

[0095] Specifically, before step S201, the process also includes: polling the batch scheduling job instruction table to check the required fields of the instruction; if the check fails, returning an invalid instruction message; if the check passes, executing step S201.

[0096] S202: judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result;

[0097] In one embodiment, the job to be scheduled is a job submitted for the first time, and step S202 includes: determining whether the job to be scheduled exists in the batch scheduling job details table; if so, returning a submission rejection message; if not, executing step S203.

[0098] In one embodiment, the job to be scheduled is a resubmitted job, and step S202 includes: querying whether the job status of the job to be scheduled in the batch scheduling job details table is an error status, and if not, returning a resubmission rejection message; if it is an error status, executing step S203.

[0099] In one embodiment, the job to be scheduled is a skip job, and step S201 includes: querying whether the job status of the job to be scheduled is an error status; if it is not an error status, returning a skip rejection message; if it is an error status, executing step S203.

[0100] S203: If the conditions are met, the job content of the job to be scheduled is obtained according to the job name of the job to be scheduled and the job directory in the batch scheduling job detail table; the operation instruction includes the job name of the job to be scheduled;

[0101] S204: modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to be processed completed, and replacing the job content with new job content, thereby obtaining an updated batch scheduling job instruction table;

[0102] S205: triggering batch job execution on the host platform according to the updated batch scheduling job instruction table.

[0103] Specifically, after step S205, the method further includes: determining whether the RDR is opened successfully;

[0104] If it fails, the polling process exits;

[0105] If successful, the job content is replaced; after the job content is replaced, it is determined whether the job submission is successful;

[0106] If the submission fails, the polling process exits;

[0107] If the submission is successful, wait for the scheduling job instruction to complete.

[0108] Please continue to refer to Figure 4 After determining whether the job status of the to-be-scheduled job meets the operation requirement corresponding to the operation instruction according to the query result, the method further includes:

[0109] S206: If not, return a scheduling rejection message.

[0110] After obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job list, the method further includes:

[0111] S207: Modify the job status of the job to be scheduled to being processed, and obtain an updated batch scheduling job details list.

[0112] It should be noted that the embodiments of the present invention are not limited to the described order of actions, and may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps, and does not represent the only execution order. When the actual system or server product is executed, it can be executed sequentially or in parallel according to the method shown in the embodiments or the drawings (for example, in a parallel processor or multi-threaded processing environment).

[0113] Figure 6 is a structural block diagram of a data processing device provided by an embodiment of the present invention, the data processing device is applied to a host platform, specifically as follows Figure 6 As shown, the device comprises:

[0114] The request processing module 401 is used to receive the scheduling request sent by the open platform and trigger the batch job execution; the open platform communicates with the host platform through the Distributed Relational Database Architecture (DRDA) protocol;

[0115] The feedback module 402 is used to return the execution result information to the open platform.

[0116] Figure 7 is a structural block diagram of a data processing system provided by an embodiment of the present invention, specifically as follows Figure 7 As shown, the system includes an open platform 501 and a host platform 502;

[0117] The open platform 501 is used to generate a scheduling request according to the received batch job scheduling instruction, and send the scheduling request to the host platform 502; the open platform 501 communicates with the host platform 502 through the Distributed Relational Database Architecture (DRDA) protocol;

[0118] The host platform 502 is used to receive scheduling requests and trigger batch job execution, and return execution result information to the open platform 501 .

[0119] An embodiment of the present invention also provides a device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement a data processing method as described in the method embodiment.

[0120] An embodiment of the present invention also provides a storage medium, which can be set in a server to store at least one instruction, at least one program, a code set or an instruction set related to the data processing method in the method embodiment. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the data processing method provided by the above-mentioned method embodiment.

[0121] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0122] It can be seen from the embodiments of the data processing method, device, system, equipment or storage medium provided by the present invention that the embodiments of the present invention, based on the deployment planning of the data processing system architecture, adopt DRDA technology to realize the scheduling execution, status update and result query of batch jobs of the host platform by the open platform, thereby minimizing the impact on the existing business of the host platform.

[0123] It should be noted that the sequence of the embodiments of the present invention described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0124] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and server embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0125] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0126] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A data processing method, characterized in that: include: The open platform generates a scheduling request based on the received batch job scheduling instructions; The scheduling request includes a query instruction and / or an operation instruction; sending the query instruction to a query request processing module of the host platform; and / or sending the operation instruction to an operation request processing module of the host platform; The host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IPs and ports; the host platform receives the scheduling request and triggers the batch job execution, and returns the execution result information to the open platform; wherein the scheduling request includes an operation instruction, and the operation instruction includes the name of the job to be scheduled; the host platform receives the scheduling request and triggers the batch job execution, including: querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction; judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result; if it meets, obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job details table; modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to complete the processing, and replacing the job content with the new job content, to obtain an updated batch scheduling job instruction table; triggering the batch job execution of the host platform according to the updated batch scheduling job instruction table; The open platform sends the execution result information to the batch scheduling server; the execution result information includes a return code; when the return code is an error code, the job scheduling result status is modified to an error; when the return code is not an error code, the return code is compared with a preset value; when the return code exceeds the preset value, the job scheduling result status is modified to an error; when the return code does not exceed the preset value, the job scheduling result status is modified to processing completed.

2. The method according to claim 1, characterized in that After judging whether the job status of the to-be-scheduled job meets the operation requirement corresponding to the operation instruction according to the query result, the method further includes: If not, the scheduling rejection message is returned.

3. The method according to claim 1, characterized in that After obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job list, the method further includes: The job status of the job to be scheduled is modified to being processed, and an updated batch scheduling job list is obtained.

4. A data processing method, characterized in that: Applied to a host platform, the method comprises: Receive a scheduling request sent by the open platform and trigger batch job execution; the scheduling request includes a query instruction and / or an operation instruction; the host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IPs and ports; the query request processing module receives the query instruction sent by the open platform; and / or the operation request processing module receives the operation instruction sent by the open platform; the open platform communicates with the host platform through the DRDA protocol; The scheduling request includes an operation instruction, and the operation instruction includes a job name to be scheduled; querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction; judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result; if it meets, obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job details table; modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to processing completion and replacing the job content with new job content, to obtain an updated batch scheduling job instruction table; triggering the batch job execution of the host platform according to the updated batch scheduling job instruction table; The execution result information is returned to the open platform.

5. The method according to claim 4, characterized in that After determining whether the job status of the to-be-scheduled job meets the operation requirement corresponding to the operation instruction, the method further includes: If not, the scheduling rejection message is returned.

6. The method according to claim 4, characterized in that After obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job list, the method further includes: The job status of the job to be scheduled is modified to being processed, and an updated batch scheduling job list is obtained.

7. A data processing device, characterized in that: Applied to a host platform, the device comprises: A request processing module, used to receive a scheduling request sent by an open platform and trigger batch job execution; the scheduling request includes a query instruction and / or an operation instruction; the request processing module includes: a query request processing module, used to receive the query instruction sent by the open platform; an operation request processing module, used to receive the operation instruction sent by the open platform; the query request processing module and the operation request processing module use different IPs and ports; the open platform communicates with the host platform through the DRDA protocol; The scheduling request includes an operation instruction, and the operation instruction includes a job name to be scheduled; querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction; judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result; if it meets, obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job details table; modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to processing completion and replacing the job content with new job content, to obtain an updated batch scheduling job instruction table; triggering the batch job execution of the host platform according to the updated batch scheduling job instruction table; The feedback module is used to return the execution result information to the open platform.

8. A data processing system, characterized in that: Including open platforms and host platforms; The open platform is used to generate a scheduling request according to the received batch job scheduling instruction, and send the scheduling request to the host platform; the scheduling request includes a query instruction and / or an operation instruction; the query instruction is sent to the query request processing module of the host platform; and / or, the operation instruction is sent to the operation request processing module of the host platform; the open platform sends the execution result information to the batch scheduling server; the execution result information includes a return code; when the return code is an error code, the job scheduling result status is modified to an error; When the return code is not an error code, compare the return code with a preset value; when the return code exceeds the preset value, modify the job scheduling result status to error; when the return code does not exceed the preset value, modify the job scheduling result status to processing completed; The host platform is used to receive the scheduling request and trigger the batch job execution, and return the execution result information to the open platform; the host platform includes a query request processing module and an operation request processing module, and the query request processing module and the operation request processing module use different IP and port; the query request processing module of the host platform is used to receive the query instruction sent by the open platform; the operation request processing module of the host platform is used to receive the operation instruction sent by the open platform; wherein the scheduling request includes an operation instruction, and the operation instruction includes the name of the job to be scheduled; the host platform receives the scheduling request The method requests and triggers the execution of a batch job, including: querying the job status of the job to be scheduled in the batch scheduling job details table according to the operation instruction; judging whether the job status of the job to be scheduled meets the operation requirements corresponding to the operation instruction according to the query result; if it meets, obtaining the job content of the job to be scheduled according to the job name of the job to be scheduled and the job directory in the batch scheduling job details table; modifying the instruction status of the job to be scheduled in the batch scheduling job instruction table to processing completion and replacing the job content with new job content, so as to obtain an updated batch scheduling job instruction table; triggering the batch job execution of the host platform according to the updated batch scheduling job instruction table.

9. A device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the data processing method according to any one of claims 1 to 3 or the data processing method according to any one of claims 4 to 6.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the data processing method according to any one of claims 1 to 3 or the data processing method according to any one of claims 4 to 6.