Method, device and system for on-line program control

By generating job control language files and performing polling retrieval, the problem of missing or overwritten PPT definitions in online programs was solved, thus improving the comprehensiveness of information and the quality of projects.

CN114969122BActive Publication Date: 2025-11-04INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210647299.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-09
Publication Date
2025-11-04
Estimated Expiration
2042-06-09

AI Technical Summary

Technical Problem

In the CICS middleware, the missing or overridden definition of the PPT in the online program causes errors. Existing training and information sharing methods cannot effectively solve the problem of incomplete and untimely information, resulting in uncontrollable project quality.

Method used

By generating a job control language file and sending it to the host to generate a resource information registration form, a polling and scanning process is performed. Based on the scanning results, new online programs are added to ensure comprehensive information.

Benefits of technology

It lowered the technical threshold, ensured timely and comprehensive information, and improved project quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114969122B_ABST
    Figure CN114969122B_ABST
Patent Text Reader

Abstract

The application provides an online program control method, device and system, relates to the technical field of cloud computing, and can be applied to the technical field of finance or other technical fields.The online program control method comprises the following steps: receiving an online program application, generating a corresponding job control language file according to the online program application; sending the job control language file to a host computer, so that the host computer executes the job control language file to generate a resource information registration table; polling and searching the host computer according to the online program application, scanning the resource information registration table according to the polling and searching result; and adding an online program according to the scanning result of the resource information registration table.The application can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of cloud computing, in particular, to an online program control method, device and system. BACKGROUND

[0002] The online program runs in the CICS (Customer Information Control System) middleware. The online program must exist in the PPT (Processing Program Table) definition of the program in the CICS before running in the host computer. If the PPT definition does not exist, the online program will report an error when performing the new copy (new copy) validation. Because the PPT is defined in the CSD vsam (Virtual storage access method) file of the host computer, and the online program is generally developed using the EGL platform language (Enterprise Generation Language), it is difficult to obtain the PPT resource definition in the open platform, and the information is not symmetrical between the developers of different applications, which leads to the problem of missing definition or mutual definition covering.

[0003] To prevent the above-mentioned situation, training, reminders, experience accumulation and information sharing are generally used to reduce the occurrence of missing delivery and mutual covering, but these methods are not certain and have the problems of incomplete information, untimely information and difficult asset preservation, which leads to uncontrollable project quality. SUMMARY

[0004] The main purpose of the embodiment of the present application is to provide an online program control method, device and system to reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0005] In order to achieve the above-mentioned purpose, the embodiment of the present application provides an online program control method, comprising:

[0006] Receiving an online program application, generating a corresponding job control language file according to the online program application;

[0007] Sending the job control language file to the host computer to make the host computer execute the job control language file to generate a resource information registration table;

[0008] Polling and searching the host computer according to the online program application, and scanning the resource information registration table according to the polling and searching result;

[0009] Adding the online program according to the scanning result of the resource information registration table.

[0010] In one embodiment, generating the corresponding job control language file according to the online program application comprises:

[0011] generating corresponding job steps according to the online program application, concatenating the job steps into a job;

[0012] writing the job into the initial job control language file to generate the corresponding job control language file.

[0013] In one embodiment, scanning the resource information registration table according to the polling search result comprises:

[0014] scanning the resource information registration table when the polling search result comprises a job completion flag;

[0015] wherein the job completion flag is generated by the host machine executing the job control language file.

[0016] In one embodiment, adding the online program according to the resource information registration table scanning result comprises:

[0017] adding the online program when the resource information registration table scanning result comprises a processing program table definition.

[0018] In one embodiment, the resource information registration table is generated by the host machine through resource information, and the resource information is obtained by the host machine through extracting the control system design file in the job step in the job control language file.

[0019] The embodiment of the present application also provides an online program control device, comprising:

[0020] a job control language module, configured to receive an online program application, and generate a corresponding job control language file according to the online program application;

[0021] a sending module, configured to send the job control language file to the host machine, so that the host machine generates a resource information registration table by executing the job control language file;

[0022] a search module, configured to perform a polling search on the host machine according to the online program application, and scan the resource information registration table according to a polling search result;

[0023] an online program module, configured to add an online program according to a resource information registration table scanning result.

[0024] In one embodiment, the job control language module comprises:

[0025] a job generation unit, configured to generate corresponding job steps according to the online program application, and concatenate the job steps into a job;

[0026] A job control language unit is used to write a job into an initial job control language file to generate a corresponding job control language file.

[0027] In one embodiment, the retrieving module is specifically configured to:

[0028] When the polling result of the retrieval result includes a job completion flag, the resource information registration table is scanned;

[0029] The job completion flag is generated by the host machine by executing the job control language file.

[0030] In one embodiment, the online program module is specifically configured to:

[0031] When the scanning result of the resource information registration table includes a handler table definition, the online program is added.

[0032] In one embodiment, the resource information registration table is generated by the host machine through resource information, and the resource information is obtained by the host machine by executing a job step in the job control language file to extract a control system design file.

[0033] The embodiment of the present application also provides a computer device, which comprises a memory, a processor and a computer program stored in the memory and running on the processor, and the processor implements the steps of the online program control method when executing the computer program.

[0034] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the steps of the online program control method are implemented when the computer program is executed by the processor.

[0035] The embodiment of the present application also provides a computer program product, which comprises computer programs / instructions, and the steps of the online program control method are implemented when the computer programs / instructions are executed by the processor.

[0036] The embodiment of the present application also provides an online program control system, which comprises:

[0037] The online program control device as described above is applied to an open platform.

[0038] The host machine is used to execute the job control language file to generate the resource information registration table.

[0039] The online program control method, device and system of the embodiment of the present application first generate a corresponding job control language file according to an online program application and then send the job control language file to the host machine, so that the host machine executes the job control language file to generate a resource information registration table, and then the host machine is polled and retrieved according to the online program application to scan the resource information registration table, and finally the online program is added according to the scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality. BRIEF DESCRIPTION OF DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments description will be briefly introduced. Obviously, the accompanying drawings in the following description only represent some embodiments of the present application, and for those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0041] Figure 1 is a flow chart of the online program control method in the embodiment of the present application;

[0042] Figure 2 is a flow chart of the online program control method in another embodiment of the present application;

[0043] Figure 3 is a flow chart of the generation of the job control language file in the embodiment of the present application;

[0044] Figure 4 is a structural block diagram of the online program control device in the embodiment of the present application;

[0045] Figure 5 is a structural block diagram of the online program control device in another embodiment of the present application;

[0046] Figure 6 is a structural block diagram of the UI interface in the embodiment of the present application;

[0047] Figure 7 is a structural block diagram of the decision module in the embodiment of the present application;

[0048] Figure 8 is a structural block diagram of the search module in the embodiment of the present application;

[0049] Figure 9 is a structural block diagram of the computer device in the embodiment of the present application;

[0050] Figure 10 is a schematic diagram of the online program control system in the embodiment of the present application. DETAILED DESCRIPTION

[0051] The technical solutions in the embodiments of the present application will be described clearly and completely below with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments only represent some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without any creative effort belong to the scope of protection of the present application.

[0052] Those skilled in the art know that the embodiments of the present application can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure can be embodied in the form of entire hardware, entire software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0053] The acquisition, storage, use, processing and the like of data in the technical solution of the present application comply with relevant provisions of national laws and regulations.

[0054] The terms involved in the present application are explained as follows:

[0055] CICS (Customer Information Control System): a mainframe transaction processing middleware of IBM, supporting online transaction service (OLTP), providing online transaction processing and transaction management for applications, and enabling high concurrency online transactions, providing real-time transaction request and response for users.

[0056] PPT definition: CICS online program definition, a CICS definition, containing online program name, entry program name and other related attributes. PPT definition is defined in the CSD vsam file of the host through the CEDA (Communication Engine for Distribution Architecture) instruction of CICS, loaded into the online CICS memory at the start of CICS, and used for the corresponding online program running.

[0057] JOB job: refers to a JOB job written in JCL (job control language), including a HEAD job header and a BODY job main body. The BODY job main body in the JOB job contains a plurality of STEP job steps, each STEP job step realizing one or more functions. That is, the HEAD job header plus one or more STEP job steps are concatenated to form a non-empty JOB job.

[0058] STEP job step: each STEP job step realizes one or more functions. The HEAD job header plus a plurality of STEP job steps form a JOB job.

[0059] New copy: loads the online program from the LOAD library into the CICS memory, and makes the version of the online program effective.

[0060] In view of the problems of the prior art, such as no certainty, incomplete and untimely information, and difficult asset preservation, leading to uncontrollable project quality, embodiments of the present application provide an online program control method, which opens a JES (Java Enterprise System) interface by designing a JCL job to be submitted to a host computer for running, and invokes a CICS host API interface to extract and analyze PPT resource information in a CSD file, so as to achieve the purpose of hard control of the online program and CICS definition. The present application is described in detail below with reference to the accompanying drawings.

[0061] Figure 1 is a flowchart of the online program control method in the embodiments of the present application. Figure 2 is a flowchart of the online program control method in another embodiment of the present application. As shown in Figures 1-2 , the online program control method comprises:

[0062] S101: receiving an online program application, and generating a corresponding job control language file according to the online program application.

[0063] Figure 3 is a flowchart of generating a job control language file in the embodiments of the present application. As shown in Figure 3 , generating a corresponding job control language file according to the online program application comprises:

[0064] S201: generating a corresponding job step according to the online program application, and concatenating each job step into a job.

[0065] The job step comprises a job running condition record registration job step (containing a job id), a CSD resource extraction job step, a resource information formatting job step, a PPT resource analysis filtering job step, and a PPT resource information and job running result registration job step.

[0066] S202: writing the job into an initial job control language file to generate a corresponding job control language file (JCL file).

[0067] S102: sending the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table.

[0068] In an embodiment, sending the job control language file to the host computer comprises:

[0069] opening a JAVA Enterprise System interface (JES interface) through a file transfer protocol (FTP) to send the job control language file (JCL file) to the host computer.

[0070] The resource information registration table is generated by the host through resource information generation, and the resource information is obtained by the host through execution of a job step in a job control language file to extract a control system design file.

[0071] In implementation, the host executes a job running condition record registration job step to register a job running condition record on a DB2 database of the host; executes a CSD resource extraction job step to extract all PPT resource information defined in a CSD vsam file through a DFHCSDUP function of CICS Utility; executes a resource information formatting job step to format the PPT resource information according to partition and GROUP grouping; executes a PPT resource parsing and filtering job step to filter the PPT resource; and executes a PPT resource information and job running result registration job step to register the filtered formatted PPT resource information into the DB2 database.

[0072] S103: According to the online program application, the host is polled and searched, and the resource information registration table is scanned according to the polling search result.

[0073] In implementation, the job id (primary key) and CICS definition information such as the online program name can be generated according to the online program application to connect the DB2 database of the host through a JDBC (Java Database Connectivity) mode to start the polling search. When the polling search result includes a job completion flag, the resource information registration table is scanned. The job completion flag is generated by the host executing a job control language file.

[0074] S104: According to the scanning result of the resource information registration table, the online program is added.

[0075] In an embodiment, S104 includes: when the scanning result of the resource information registration table includes a processing program table definition (PPT definition), the online program is added, otherwise the addition of the online program is refused, and it is prompted that the corresponding PPT definition needs to be added first before the online program is submitted.

[0076] Figure 1 The execution subject of the online program control method shown can be an open platform. Figure 1 As shown in the flow, the online program control method of the embodiment of the application first generates a corresponding job control language file according to the online program application and then sends the job control language file to the host, so that the host executes the job control language file to generate a resource information registration table, then the host is polled and searched according to the online program application to scan the resource information registration table, and finally the online program is added according to the scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0077] Based on the same inventive concept, the embodiment of the present application also provides an online program control device, since the device solves problems by the similar principle as the online program control method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described herein.

[0078] Figure 4 is a structural block diagram of the online program control device in the embodiment of the present application. Figure 5 is a structural block diagram of the online program control device in another embodiment of the present application. Figures 4-5 As shown in the figure, the online program control device comprises:

[0079] a job control language module, configured to receive an online program application, and generate a corresponding job control language file according to the online program application;

[0080] a sending module, configured to send the job control language file to a host computer, so that the host computer executes the job control language file to generate a resource information registration table;

[0081] a searching module, configured to perform a polling search on the host computer according to the online program application, and scan the resource information registration table according to a polling search result;

[0082] an online program module, configured to add an online program according to a scanning result of the resource information registration table.

[0083] In one embodiment, the job control language module comprises:

[0084] a job generation unit, configured to generate corresponding job steps according to the online program application, and concatenate the job steps into a job;

[0085] a job control language unit, configured to write the job into an initial job control language file to generate the corresponding job control language file.

[0086] In one embodiment, the searching module is specifically configured to:

[0087] when the polling search result comprises a job completion flag, scan the resource information registration table;

[0088] wherein the job completion flag is generated by the host computer by executing the job control language file.

[0089] In one embodiment, the online program module is specifically configured to:

[0090] when the scanning result of the resource information registration table comprises a handler table definition, add the online program.

[0091] In one embodiment, the resource information registration table is generated by the host computer through resource information, and the resource information is obtained by the host computer by extracting a control system design file through a job step in the job control language file.

[0092] As Figure 5 shown, in practical application, the online program control device is applied to an open platform, including a UI interface, a decision module and a retrieval module.

[0093] Figure 6 is a structural block diagram of the UI interface in the embodiment of the application. As Figure 6 shown, the UI interface includes an input module, a communication module and a display module.

[0094] The input module is used for receiving an online program addition application initiated by a user through the UI interface;

[0095] The communication module is used for sending the online program addition application to the decision module;

[0096] The display module is used for displaying the online program addition application.

[0097] The decision module includes a job control language module, a sending module, an online program module, is responsible for interaction with the retrieval module, and mainly sends data, sends instructions and receives returned information; in addition, it is responsible for generating a host job and submitting the host job, realizes CICS resource extraction, formatting, filtering and related data persistence to a database and the like.

[0098] Figure 7 is a structural block diagram of the decision module in the embodiment of the application. As Figure 7 shown, in practical application, the decision module includes a request receiving unit, a task distribution unit, a job step generation unit, a job assembly unit, a job submission unit, a logical judgment unit and a communication unit.

[0099] The request receiving unit is used for receiving the online program addition application through the communication unit;

[0100] The task distribution unit is used for transmitting job id (primary key), online program name and the like CICS definition information to the retrieval module, and transmitting retrieval job running condition instructions and scanning PPT resource information registration table instructions;

[0101] The job step generation unit is used for generating job running condition record registration job steps (containing job id), CSD resource extraction job steps, resource information formatting job steps, PPT resource analysis filtering job steps and PPT resource information and job running result registration job steps;

[0102] The job assembly unit is used for generating a JOB job after well stringing each job step in order and writing the JOB job to a JCL file;

[0103] The job submission unit is used for opening an FTP JES interface, submitting the JCL file to a JES job execution subsystem on an IBM host to run.

[0104] The logic judging unit is used for judging whether to allow the user to add the corresponding online program according to the scanning result: if the PPT definition exists, the adding is allowed, and the adding online program process is entered; if the PPT definition does not exist, the adding is rejected, and it is prompted that the corresponding PPT definition needs to be added first before the online program is submitted.

[0105] The searching module is responsible for interacting with the DB2 database of the host, and realizing the functions of searching records, scanning data and matching data.

[0106] Figure 8 is the structural block diagram of the searching module in the embodiment of the application. As shown in Figure 8 , the searching module comprises an instruction receiving unit, a database connecting unit, an information scanning and searching unit and an information returning unit.

[0107] The instruction receiving unit is used for receiving the searching instruction from the decision module.

[0108] The database connecting unit is used for connecting the DB2 database of the host through the mode of JDBC.

[0109] The information scanning and searching unit is used for polling the host for searching, and starts to scan the PPT resource information registration table when the job running completion flag is searched in the DB2 database.

[0110] The information returning unit is used for returning the result of whether the corresponding PPT definition is found to the decision module after the scanning and matching are completed.

[0111] In summary, the online program control device of the embodiment of the application first sends the corresponding job control language file generated according to the online program application to the host, so that the host generates the resource information registration table according to the job control language file, then polls the host for searching according to the online program application to scan the resource information registration table, and finally adds the online program according to the scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0112] The embodiment of the application further provides a specific implementation of a computer device capable of realizing all steps in the online program control method in the above embodiment. Figure 9 is the structural block diagram of the computer device in the embodiment of the application. As shown in Figure 9 , the computer device specifically comprises the following contents:

[0113] A processor 901 and a memory 902.

[0114] The processor 901 is configured to invoke a computer program in the memory 902, and when the processor executes the computer program, all steps in the online program control method in the above embodiment are implemented, for example, when the processor executes the computer program, the following steps are implemented:

[0115] receiving an online program application, and generating a corresponding job control language file according to the online program application;

[0116] sending the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table;

[0117] performing polling search on the host computer according to the online program application, and scanning the resource information registration table according to a polling search result;

[0118] adding an online program according to a scanning result of the resource information registration table.

[0119] In summary, the computer device in the embodiment of the present application first generates a corresponding job control language file according to an online program application, and then sends the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table, and then performs polling search on the host computer according to the online program application to scan the resource information registration table, and finally adds an online program according to a scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0120] The embodiment of the present application also provides a computer readable storage medium capable of implementing all steps in the online program control method in the above embodiment, and the computer readable storage medium stores a computer program, and when the processor executes the computer program, all steps in the online program control method in the above embodiment are implemented, for example, when the processor executes the computer program, the following steps are implemented:

[0121] receiving an online program application, and generating a corresponding job control language file according to the online program application;

[0122] sending the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table;

[0123] performing polling search on the host computer according to the online program application, and scanning the resource information registration table according to a polling search result;

[0124] adding an online program according to a scanning result of the resource information registration table.

[0125] In summary, the computer readable storage medium of the embodiment of the present application first generates a corresponding job control language file according to the online program application and then sends the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table, then performs polling search on the host computer according to the online program application to scan the resource information registration table, and finally adds an online program according to the scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0126] The embodiment of the present application also provides a computer program product capable of implementing all steps in the online program control method in the above embodiment, the computer program product comprising computer programs / instructions, which, when executed by a processor, implement all steps in the online program control method in the above embodiment, for example, the processor implements the following steps when executing the computer programs:

[0127] receiving an online program application, and generating a corresponding job control language file according to the online program application;

[0128] sending the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table;

[0129] performing polling search on the host computer according to the online program application, and scanning the resource information registration table according to a polling search result;

[0130] adding an online program according to a scanning result of the resource information registration table.

[0131] In summary, the computer program product of the embodiment of the present application first generates a corresponding job control language file according to the online program application and then sends the job control language file to the host computer, so that the host computer executes the job control language file to generate a resource information registration table, then performs polling search on the host computer according to the online program application to scan the resource information registration table, and finally adds an online program according to the scanning result, which can reduce the technical threshold, ensure the comprehensiveness of information in time, and improve the project quality.

[0132] Based on the same inventive concept, the embodiment of the present application also provides an online program control system, and since the principle of solving problems of the system is similar to that of the online program control method, the implementation of the system can be referred to the implementation of the method, and the repeated parts will not be described herein.

[0133] Figure 10 is a schematic diagram of an online program control system in the embodiment of the present application. Figure 10 As shown in the figure, the online program control system comprises:

[0134] The online program control device as described above is applied to an open platform; and

[0135] a host computer, configured to execute the job control language file to generate a resource information registration table.

[0136] The specific working procedure of the online program control system of the embodiment of the present application is as follows:

[0137] 1. The open platform receives an online program application, and generates corresponding job steps according to the online program application.

[0138] 2. The open platform concatenates the job steps into a job, and writes the job into an initial job control language file to generate a corresponding job control language file.

[0139] 3. The open platform sends the job control language file to the host computer.

[0140] 4. The JES job execution subsystem of the host computer executes a job running condition recording job step, records a job running condition record on the DB2 database of the host computer, executes a CSD resource extraction job step, extracts all PPT resource information defined in the CSD vsam file through the DFHCSDUP function of the CICS Utility, executes a resource information formatting job step, formats the PPT resource information according to partition and GROUP grouping, executes a PPT resource parsing and filtering job step, filters the PPT resource, and executes a PPT resource information and job running result recording job step, records the formatted PPT resource information filtered out into the DB2 database.

[0141] 5. The open platform polls and searches the host computer according to the online program application, and when the polling and searching result includes a job completion flag, scans a resource information recording table.

[0142] 6. When the scanning result of the resource information recording table includes a processing program table definition, the open platform adds an online program.

[0143] In summary, the online program control system provided by the embodiment of the present application has the following beneficial effects:

[0144] (1) PPT definition information is directly extracted in the CSD vsam file of CICS, and online program control is comprehensively and accurately realized;

[0145] (2) The obtained PPT resource definition is the latest available one, and there is no need to care about intermediate states such as DEL, NEW or ALT, and pairing and confirmation time can be saved;

[0146] (3) The host computer side function is completed on the platform side, and the technical threshold is reduced;

[0147] (4) It is simple, easy to implement and expandable, and the definition and search of other CICS resources such as transaction routing, transactions, groups and files can also be implemented by reference.

[0148] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

[0149] Those skilled in the art will also understand that the various illustrative logical blocks, units, and steps listed in the embodiments of the present invention can be implemented by electronic hardware, computer software, or a combination of both. To clearly demonstrate the interchangeability of hardware and software, the functions of the various illustrative components, units, and steps described above have been generally described. Whether such functionality is implemented through hardware or software depends on the specific application and the overall system design requirements. Those skilled in the art can implement the described functions using various methods for each specific application, but such implementation should not be construed as exceeding the scope of protection of the embodiments of the present invention.

[0150] The various illustrative logic blocks, units, or devices described in the embodiments of this invention can be implemented or operate the described functions using a general-purpose processor, digital signal processor, application-specific integrated circuit (ASIC), field-programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. The general-purpose processor can be a microprocessor; alternatively, it can be any conventional processor, controller, microcontroller, or state machine. The processor can also be implemented using a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

[0151] The steps of the methods or algorithms described in the embodiments of this invention can be directly embedded in hardware, a software module executed by a processor, or a combination of both. The software module can be stored in RAM, flash memory, ROM, EPROM, EEPROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from and write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and storage medium can be housed in an ASIC, which can be housed in a user terminal. Optionally, the processor and storage medium can also be housed in different components of the user terminal.

[0152] In one or more exemplary designs, the functions described can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions can be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a computer. By way of example, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of computer-readable medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, DVD, floppy disk, and Blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

Claims

1. An on-line program control method characterized by, The method comprises the following steps: receiving an online program application, and generating a corresponding job control language file according to the online program application; sending the job control language file to a host computer to enable the host computer to execute the job control language file to generate a resource information registration table; performing a polling search on the host computer according to the online program application, and scanning the resource information registration table according to a polling search result; adding an online program according to a resource information registration table scanning result; wherein the step of generating a corresponding job control language file according to the online program application comprises the following steps: generating corresponding job steps according to the online program application, and concatenating the job steps into a job; writing the job into an initial job control language file to generate a corresponding job control language file; wherein the job steps comprise a job running condition record registration job step, a control system design resource extraction job step, a resource information formatting job step, a processing program table resource parsing filtering job step, and a processing program table resource information and job running result registration job step.

2. The on-line program control method according to claim 1, characterized by, The step of scanning the resource information registration table according to a polling search result comprises the following steps: when the polling search result comprises a job completion flag, scanning the resource information registration table; wherein the job completion flag is generated by the host computer executing the job control language file.

3. The on-line program control method according to claim 1, characterized by, The step of adding an online program according to a resource information registration table scanning result comprises the following steps: when the resource information registration table scanning result comprises a processing program table definition, adding an online program.

4. The on-line program control method according to claim 1, characterized by, The resource information registration table is generated by the host computer through resource information, and the resource information is obtained by the host computer through executing a job step in the job control language file to extract a control system design file.

5. An on-line program control device, characterized by comprising: The method comprises the following steps: a job control language module, configured to receive an online program application, and generate a corresponding job control language file according to the online program application; a sending module, configured to send the job control language file to a host computer to enable the host computer to execute the job control language file to generate a resource information registration table; a searching module, configured to perform a polling search on the host computer according to the online program application, and scan the resource information registration table according to a polling search result; an online program module, configured to add an online program according to a resource information registration table scanning result; wherein the job control language module comprises: a job generation unit, configured to generate corresponding job steps according to the online program application, and concatenate the job steps into a job; a job control language unit, configured to write the job into an initial job control language file to generate a corresponding job control language file; wherein the job steps comprise a job running condition record registration job step, a control system design resource extraction job step, a resource information formatting job step, a processing program table resource parsing filtering job step, and a processing program table resource information and job running result registration job step.

6. A computer device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor executes the computer program to implement the steps of the online program control method according to any one of claims 1 to 4.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the online program control method according to any one of claims 1 to 4.

8. A computer program product comprising computer programs / instructions, characterized in that, The computer program / instruction, when executed by the processor, implements the steps of the on-line program control method according to any one of claims 1 to 4.

9. An on-line program control system characterized by comprising: Comprise: The on-line program control device according to claim 5, applied to an open platform; And A host computer for executing a job control language file to generate a resource information registration table.

Citation Information

Patent Citations

  • File processing method and system

    CN107679140A

  • Host online program test method, device and system

    CN111209212A

  • Host application version registration method and device

    CN113485742A