CN117271449A - Batch file generation method, apparatus, device, storage medium and program product - Google Patents

Batch file generation method, apparatus, device, storage medium and program product Download PDF

Info

Publication number
CN117271449A
CN117271449A CN202311139522.5A CN202311139522A CN117271449A CN 117271449 A CN117271449 A CN 117271449A CN 202311139522 A CN202311139522 A CN 202311139522A CN 117271449 A CN117271449 A CN 117271449A
Authority
CN
China
Prior art keywords
information
job
export
file
batch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311139522.5A
Other languages
Chinese (zh)
Inventor
贺伊尔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202311139522.5A priority Critical patent/CN117271449A/en
Publication of CN117271449A publication Critical patent/CN117271449A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for generating a batch file. The method comprises the following steps: importing and displaying an imported file, wherein the imported file is obtained by filling operation flow information and operation information into a batch processing requirement template; responding to an adjustment operation request received by an interface, and adjusting the job flow information and the job information in the import file; responding to the configuration operation request received by the interface, and configuring the export information of the import file; and generating a batch file based on the adjusted job flow information, the job information and the configured export information. The method can improve the treatment efficiency.

Description

Batch file generation method, apparatus, device, storage medium and program product
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for generating a batch file.
Background
In a big data application environment, batch processing services have unique advantages that aggregate multiple operations into one user transaction, thereby improving service efficiency and reducing communication overhead. On the other hand, batch services also enable users to control the behavior of the entire batch, which is particularly advantageous in certain application scenarios. However, the currently adopted batch processing service mode still has certain limitations. For example, different organizations exist within an enterprise, and each organization may use a batch process for processing services, but the corresponding batch process has different requirements for these different organizations.
At present, the traditional technology is to manually process the batch processing commands, which is time-consuming and has low efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a batch file generation method, apparatus, device, storage medium, and program product that can improve processing efficiency.
In a first aspect, the present application provides a batch file generating method, where the method includes:
importing and displaying an imported file, wherein the imported file is obtained by filling operation flow information and operation information into a batch processing requirement template;
responding to an adjustment operation request received by an interface, and adjusting the job flow information and the job information in the import file;
responding to the configuration operation request received by the interface, and configuring the export information of the import file;
and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
In one embodiment, the generating a batch file based on the adjusted job flow information, the job information, and the configured export information includes:
Acquiring an instance number distribution table from an instance number distribution database based on the adjusted workflow information and the instance number distribution database name in the operation information;
determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information;
a batch file is generated based on the derived quantity, the job flow information, and the job information for each of the institutions.
In one embodiment, before generating the batch file based on the derived quantity, the job flow information, and the job information of each of the institutions, the method further comprises:
acquiring an export configuration;
determining an export result based on the type of export configuration, export markers in the import file, and export markers in the environment;
and when the export result is export, continuing to execute the step of generating batch files based on the export quantity, the job flow information and the job information of each organization.
In one embodiment, the generating a batch file based on the adjusted job flow information, the job information, and the configured export information includes:
Replacing the job flow and the job name in the import file by the mechanism name in the export information;
and generating a batch file based on the job flow and the job after name replacement.
In one embodiment, the generating a batch file based on the adjusted job flow information, the job information, and the configured export information includes:
acquiring the operation relation in the adjusted import file;
based on the job relation, naming and quantity of each job and job flow in the imported file are processed;
and generating a batch file based on the processed job flow and the job.
In one embodiment, after generating a batch file based on the adjusted job flow information, the job information, and the configured export information, the method includes:
acquiring a pre-configured batch file conversion logic;
and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for a target scheduling system.
In a second aspect, the present application further provides a batch file generating apparatus, where the apparatus includes:
The import module is used for importing and displaying an import file, wherein the import file is obtained by filling the job flow information and the job information into a batch processing demand template;
the adjustment module is used for responding to the adjustment operation request received by the interface and adjusting the operation flow information and the operation information in the import file;
the export information configuration module is used for responding to the configuration operation request received by the interface and configuring export information of the import file;
and the generation module is used for generating a batch file based on the adjusted job flow information, the job information and the configured export information.
In a third aspect, the present application also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any one of the embodiments described above when the computer program is executed by the processor.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of any of the embodiments described above.
In a fifth aspect, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of the embodiments described above.
According to the batch file generation method, the device, the equipment, the storage medium and the program product, the batch template file is obtained in advance according to the batch template, the file is imported, the job flow information and the job information in the imported file are adjusted through interface operation, and the export information of the imported file is configured, so that the batch file is automatically generated based on the adjusted job flow information, the job information and the configured export information, each batch command is not required to be processed manually, and efficiency is improved.
Drawings
FIG. 1 is a flow diagram of a method of batch file generation in one embodiment;
FIG. 2 is a schematic diagram of a export interface in one embodiment;
FIG. 3 is a flow chart of a batch file generation method according to another embodiment;
FIG. 4 is a flow chart of a batch file generation method according to yet another embodiment;
FIG. 5 is a block diagram of an apparatus for batch file generation in one embodiment;
Fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a batch file generating method is provided, where the method is applied to a terminal to illustrate the batch file generating method, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. The terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, etc. In this embodiment, the method includes the steps of:
s102: importing and displaying an imported file, wherein the imported file is obtained by filling the job flow information and the job information into a batch processing requirement template.
Optionally, the batch requirement template is maintained in the background, which gives the necessary parameters required by batch processing, wherein the parameters comprise workflow information and job information, and the workflow information comprises workflow identification and the like; the job information includes a job flow to which the job belongs, a job identification, and the like.
The terminal receives a batch processing demand template acquisition instruction, so that the terminal displays the batch processing demand template, further the terminal receives a filling instruction of the job flow information and the job information in the input batch processing demand template, fills the job flow information and the job information based on the filling instruction, and stores the filled batch processing demand template to obtain an import file.
The terminal receives an import instruction of the import file, for example, the user clicks the import, and the terminal displays a file selection interface so as to select a corresponding import file in response to the selection instruction of the user, thereby displaying the import file by the terminal.
In one alternative embodiment, importing the import file in response to the import file selection instruction includes; checking the fields in the imported file; when the field verification in the imported file is successful, displaying the detailed content of the imported file; and outputting prompt information of verification failure when the verification of the fields in the imported file fails. Wherein verifying the field includes verifying a format of the field.
S104: and responding to the adjustment operation request received by the interface, and adjusting the job flow information and the job information in the imported file.
Specifically, after the import file is imported, the terminal displays the import file so that the user can adjust the import file, for example, adjust the job flow and the job information. Specifically, if the verification of the field of the imported file fails in the importing process, a prompt is output, but the imported file is not normally displayed, the output prompt may be marking, such as highlighting, the fields with the failed verification, so that a user only needs to adjust the fields with the failed verification, that is, the terminal receives an adjustment instruction of the fields with the failed verification, and adjusts the fields with the failed verification based on the adjustment instruction.
The terminal can respond to the instruction of setting the export flag of the job flow and the job to determine whether the corresponding job flow and the job are exported, so that the exported job flow can be increased or decreased without deleting or increasing the job flow and the job in the import file, and the processing efficiency is improved.
S106: and responding to the configuration operation request received by the interface, and configuring the export information of the import file.
Specifically, the export information includes legal information, organization information, template information, workflow selection, and the like, and is not particularly limited herein.
Wherein the legal information and the organization information are used to generate job flows and job names in the batch file. The template information is a template of the batch file, wherein the template comprises a plurality of fields, and the contents of the fields are generated according to the job flow information and the job information in the imported file. The job flow and job are selected from the job flow and job output in the batch file.
Specifically, in conjunction with fig. 2, fig. 2 is a schematic diagram of an export interface in an embodiment, where when a terminal receives an export instruction, the export interface is displayed, and an export information configuration instruction is received through the export interface, so as to facilitate operation of a user.
S108: and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
The terminal may generate a batch file including each organization based on the configured workflow information, the job information, and the organization information.
Wherein the batch file may be an XML (extensible markup language) file, and the name of the batch file generated may include legal abbreviations for the mechanisms in the export information. And obtaining the format of the exported batch file according to the job flow information in the imported file and the template in the job information, and then generating each field in the batch file based on the job flow information and the job information, wherein the whole process does not need to be manually participated.
Wherein generating the respective fields in the batch file based on the job flow information and the job information may include: the number of exports is determined, the exported job flow and job name are processed, the job name is processed in relation to the job front-end, and the processing of special fields is described in detail below.
According to the batch file generation method, the batch template file is obtained in advance according to the batch template, the file is imported, the operation flow information and the operation information in the imported file are adjusted through the interface operation, the export information of the imported file is configured, and thus the batch file is automatically generated based on the adjusted operation flow information, the operation information and the configured export information, each batch command is not required to be processed manually, and the efficiency is improved.
In one embodiment, generating a batch file based on the adjusted job flow information, job information, and configured export information includes: acquiring an instance number distribution table from the instance number distribution database based on the adjusted each job flow information and the instance number distribution database name in the job information; determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information; a batch file is generated based on the number of exports, the job flow information, and the job information for each organization.
Specifically, the database maintains an instance data distribution database and an instance number distribution data table, wherein the instance number distribution data table stores the export quantity corresponding to each mechanism, namely the export quantity of the jobs and the job flows corresponding to each mechanism. The derived quantities may be user preconfigured. The terminal obtains the instance number distribution table from the instance number distribution database based on the adjusted instance number distribution database name and instance number distribution table name in the operation flow information and the operation information, and then determines the export quantity of each mechanism from the instance number distribution table based on the identification of each mechanism in the export information, thus directly determining the quantity of operation flows and operations which are needed to be exported and corresponding to each mechanism based on the export quantity, directly copying according to the export quantity, avoiding individual processing of users, and realizing automatic reading and processing with higher efficiency.
In one embodiment, before generating the batch file based on the derived number of each mechanism, the job flow information and the job information, the method further comprises: acquiring an export configuration; determining an export result based on the type of export configuration, the export flag in the import file, and the export flag in the environment; when the export result is export, the step of generating a batch file based on the export number of each mechanism, the job flow information and the job information is continued.
In particular, the export configuration is a configuration of a different environment, which may include, for example, export host scheduling, distributed, dual parallel, etc., without specific limitation herein. Different exports configure their exported flags differently. Specifically, the import file includes whether to move down the distributed and environmental parameters. Whether to move down the distributed flag is determined for the user, i.e., the export flag, and the user can choose whether to export the job by himself or herself in the context of not changing the large environmental parameters. The large environment parameter is maintained by a manager, is the largest environment parameter, is not changed after the environment is determined, and only when the parameters are exported, the corresponding job flow and the job can be exported.
Specifically, if the downshift distributed flag in the import file is null, export is defaulted. If the host computer is exported, judging by combining the downward movement distributed mark in the imported file, the exported mark in the large environment parameter and the mechanism information selected in the exported interface; for example, when the downward shift flag of the imported file is yes, the checked mechanism exports the file in the large environment if the export flag is no; if the downward shift flag of the imported file is negative, the checked mechanism exports if the export flag of the large environment file is positive.
The downward-moving distributed mark in the imported file can be set by a user through interface operation, and the terminal responds to the configuration of the downward-moving distributed mark. Thus, when the batch processing file is generated, whether the corresponding job flow and the job are exported or not is determined based on the downward-moving distributed flag.
Therefore, the required scheduling file can be flexibly exported by adjusting the downward-moving distributed mark of the imported file, the operation is not required to be deleted or added every time, and the downward-moving distributed mark of the imported file is only required to be adjusted through interface operation.
In one embodiment, generating a batch file based on the adjusted job flow information, job information, and configured export information includes: replacing the job flow and the job name in the imported file by the mechanism name in the exported information; and generating a batch file based on the job flow and the job after the name replacement.
Specifically, a predetermined wildcard is used in the job flow information and the name in the job information in the import file, and the subsequent processing is replaced with the corresponding copied organization name and number according to the rule of the wildcard. For example, the wild card is #ORGEN#, the #ORGEN# portion is replaced with legal information for export interface selection, and #PRV# is replaced with the organization name for export interface selection.
In one embodiment, before generating the batch file based on the adjusted job flow information, the job information, and the configured export information, the method further includes: acquiring the operation relation in the adjusted import file; based on the operation relation, naming and quantity of each operation and operation flow in the imported file are processed; and generating a batch file based on the processed job flow and the job.
Specifically, each job relation is included in the import file, the job relation includes at least one of a pre-condition and a post-condition, the pre-condition refers to a job included before the current job, and the post-condition refers to a job included after the current job.
Specifically, the method determines the export quantity of the associated jobs according to the preconditions, judges the export quantity of the jobs, and does not need to be processed when the export quantity of the associated jobs is consistent, otherwise, the method alarms when the export quantity of the associated jobs is inconsistent, or correspondingly modifies the export quantity of the inconsistent jobs based on the preconditions, so that the finally exported batch files are consistent.
Wherein the special treatment may be a treatment of a component in the job, for example, a component does not need a specific name of a mechanism, and the special treatment is unified into a standard name.
In the above embodiment, the job is processed based on the job relationship, avoiding export errors.
In one embodiment, after generating the batch file based on the adjusted job flow information, the job information, and the configured export information, the method includes: acquiring a pre-configured batch file conversion logic; and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for the target scheduling system.
Specifically, the batch file output in the above embodiment is a standard XML file, and when other target scheduling systems need to use the batch file, format conversion is required, specifically, the conversion logic may be preset, where most of the content is directly obtained from the batch file, and the remaining fields are obtained by converting the information in the imported file and the information in the batch file.
In one embodiment, as shown in connection with fig. 3, fig. 3 is a flowchart of a batch file generating method in another embodiment, in which a terminal acquires a template according to imported workflow information and template information in the workflow information, and processes the workflow information and the workflow information based on a format of each field in the template, specifically acquires a corresponding instance number distribution table based on an instance number distribution database name and an instance number distribution data table name in the workflow information and then reads a derived number of each mechanism from the instance number distribution table according to a mechanism identification in derived information. The terminal obtains the export configuration, obtains the export mark of the job flow information and the job information in the import file and the export mark in the environment according to the export configuration, if the export result is export, replaces the job flow and the job name in the import file by the mechanism name in the export information, generates the job flow and the job corresponding to the export quantity, processes the names and the quantity of each job and the job flow based on the job relation, and finally generates the batch file based on the processed job flow and the job.
In the above embodiment, a batch template file is obtained in advance according to a batch template, the file is imported, the job flow information and the job information in the imported file are adjusted through interface operation, and the export information of the imported file is configured, so that a batch file is automatically generated based on the adjusted job flow information, the job information and the configured export information, without manually processing each batch command, and efficiency is improved.
In one embodiment, as shown in connection with fig. 4, fig. 4 is a flowchart of a batch file generating method in yet another embodiment, in which a terminal acquires a template according to imported workflow information and template information in the workflow information, and processes the workflow information and the workflow information based on a format of each field in the template, specifically acquires a corresponding instance number distribution table based on an instance number distribution database name and an instance number distribution data table name in the workflow information and then reads an export number of each mechanism from the instance number distribution table according to a mechanism identification in export information. The terminal also obtains export configuration, obtains the export mark of the job flow information and the job information in the import file and the export mark in the environment according to the export configuration, if the export result is export, replaces the job flow and the job name in the import file by the mechanism name in the export information, generates the job flow and the job corresponding to the export quantity, processes each job and the name and the quantity of the job flow based on the job relation, finally generates a batch file based on the processed job flow and the job, obtains file conversion logic, obtains a first target content from the batch file based on the file conversion logic, obtains a second target content based on the job information and the job flow information in the import file, and obtains a converted batch file according to the first target content and the second target content.
In the above embodiment, the conversion logic of the batch file between different systems is preconfigured, so that the batch file does not need to be reconfigured and generated, and only needs to be subjected to format conversion according to the conversion logic.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a batch file generating device for realizing the batch file generating method. The implementation of the solution provided by the apparatus is similar to the implementation described in the above method, so the specific limitation in the embodiments of the batch file generating apparatus provided below may be referred to the limitation of the batch file generating method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 5, there is provided a batch file generating apparatus, including: an import module 501, an adjustment module 502, an export information configuration module 503, and a generation module 504, wherein:
an import module 501, configured to import and display an import file, where the import file is a file obtained by filling in job flow information and job information on a batch processing requirement template;
the adjustment module 502 is configured to adjust the job flow information and the job information in the imported file in response to the adjustment operation request received by the interface;
an export information configuration module 503, configured to respond to the configuration operation request received by the interface, and configure export information of the import file;
a generating module 504, configured to generate a batch file based on the adjusted job flow information, the job information, and the configured export information.
In one embodiment, the generating module 504 includes:
a table acquisition unit for acquiring an instance number distribution table from the instance number distribution database based on the adjusted each job flow information and the instance number distribution database name and the instance number distribution table name in the job information;
a derived quantity determining unit for determining the derived quantity of each organization from the instance number distribution table according to each organization identifier in the derived information;
And the first generation unit is used for generating batch files based on the derived quantity, the job flow information and the job information of each mechanism.
In one embodiment, the batch file generating apparatus further includes:
the export configuration acquisition module is used for acquiring export configuration;
the export result acquisition module is used for determining an export result based on the type of export configuration, an export flag in an import file and an export flag in the environment;
the generating module 504 is further configured to, when the export result is export, continue to execute the step of generating the batch file based on the export quantity, the job flow information, and the job information of each mechanism.
In one embodiment, the generating module 504 includes:
a replacement unit for replacing the job flow and job name in the import file by the mechanism name in the export information;
and the second generation unit is used for generating a batch file based on the job flow and the job after the name replacement.
In one embodiment, the generating module 504 includes:
the operation relation acquisition unit is used for acquiring the operation relation in the adjusted import file;
a job processing unit for processing the names and the numbers of each job and the job flow in the imported file based on the job relation;
And a third generating unit for generating a batch file based on the processed job flow and the job.
In one embodiment, the batch file generating apparatus further includes:
the conversion logic acquisition module is used for acquiring a preset batch file conversion logic;
the conversion module is used for converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for the target scheduling system.
The above-described respective modules in the batch file generation apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a batch file generation method. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: importing and displaying an imported file, wherein the imported file is obtained by filling job flow information and job information into a batch processing demand template; responding to the adjustment operation request received by the interface, and adjusting the operation flow information and the operation information in the imported file; responding to a configuration operation request received by an interface, and configuring export information of an import file; and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
In one embodiment, a batch file is generated based on adjusted job flow information, job information, and configured export information implemented when a processor executes a computer program, comprising: acquiring an instance number distribution table from the instance number distribution database based on the adjusted each job flow information and the instance number distribution database name in the job information; determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information; a batch file is generated based on the number of exports, the job flow information, and the job information for each organization.
In one embodiment, before the processor executes the computer program to generate the batch file based on the derived number of the mechanisms, the job flow information and the job information, the method further comprises: acquiring an export configuration; determining an export result based on the type of export configuration, the export flag in the import file, and the export flag in the environment; when the export result is export, the step of generating a batch file based on the export number of each mechanism, the job flow information and the job information is continued.
In one embodiment, a batch file is generated based on adjusted job flow information, job information, and configured export information implemented when a processor executes a computer program, comprising: replacing the job flow and the job name in the imported file by the mechanism name in the exported information; and generating a batch file based on the job flow and the job after the name replacement.
In one embodiment, before generating the batch file based on the adjusted job flow information, the job information, and the configured export information implemented when the processor executes the computer program, the method further comprises: acquiring the operation relation in the adjusted import file; based on the operation relation, naming and quantity of each operation and operation flow in the imported file are processed; and generating a batch file based on the processed job flow and the job.
In one embodiment, after generating a batch file based on the adjusted job flow information, job information, and configured export information implemented when the processor executes the computer program, the method comprises: acquiring a pre-configured batch file conversion logic; and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for the target scheduling system.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: importing and displaying an imported file, wherein the imported file is obtained by filling job flow information and job information into a batch processing demand template; responding to the adjustment operation request received by the interface, and adjusting the operation flow information and the operation information in the imported file; responding to a configuration operation request received by an interface, and configuring export information of an import file; and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
In one embodiment, a computer program, when executed by a processor, generates a batch file based on adjusted job flow information, job information, and configured export information, comprising: acquiring an instance number distribution table from the instance number distribution database based on the adjusted each job flow information and the instance number distribution database name in the job information; determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information; a batch file is generated based on the number of exports, the job flow information, and the job information for each organization.
In one embodiment, before generating the batch file based on the derived quantity of each mechanism, the job flow information, and the job information, the computer program when executed by the processor further comprises: acquiring an export configuration; determining an export result based on the type of export configuration, the export flag in the import file, and the export flag in the environment; when the export result is export, the step of generating a batch file based on the export number of each mechanism, the job flow information and the job information is continued.
In one embodiment, a computer program, when executed by a processor, generates a batch file based on adjusted job flow information, job information, and configured export information, comprising: replacing the job flow and the job name in the imported file by the mechanism name in the exported information; and generating a batch file based on the job flow and the job after the name replacement.
In one embodiment, before generating the batch file based on the adjusted job flow information, the job information, and the configured export information, the computer program when executed by the processor further comprises: acquiring the operation relation in the adjusted import file; based on the operation relation, naming and quantity of each operation and operation flow in the imported file are processed; and generating a batch file based on the processed job flow and the job.
In one embodiment, after generating a batch file based on the adjusted job flow information, job information, and configured export information implemented when the computer program is executed by the processor, the method comprises: acquiring a pre-configured batch file conversion logic; and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for the target scheduling system.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: importing and displaying an imported file, wherein the imported file is obtained by filling job flow information and job information into a batch processing demand template; responding to the adjustment operation request received by the interface, and adjusting the operation flow information and the operation information in the imported file; responding to a configuration operation request received by an interface, and configuring export information of an import file; and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
In one embodiment, a computer program, when executed by a processor, generates a batch file based on adjusted job flow information, job information, and configured export information, comprising: acquiring an instance number distribution table from the instance number distribution database based on the adjusted each job flow information and the instance number distribution database name in the job information; determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information; a batch file is generated based on the number of exports, the job flow information, and the job information for each organization.
In one embodiment, before generating the batch file based on the derived quantity of each mechanism, the job flow information, and the job information, the computer program when executed by the processor further comprises: acquiring an export configuration; determining an export result based on the type of export configuration, the export flag in the import file, and the export flag in the environment; when the export result is export, the step of generating a batch file based on the export number of each mechanism, the job flow information and the job information is continued.
In one embodiment, a computer program, when executed by a processor, generates a batch file based on adjusted job flow information, job information, and configured export information, comprising: replacing the job flow and the job name in the imported file by the mechanism name in the exported information; and generating a batch file based on the job flow and the job after the name replacement.
In one embodiment, before generating the batch file based on the adjusted job flow information, the job information, and the configured export information, the computer program when executed by the processor further comprises: acquiring the operation relation in the adjusted import file; based on the operation relation, naming and quantity of each operation and operation flow in the imported file are processed; and generating a batch file based on the processed job flow and the job.
In one embodiment, after generating a batch file based on the adjusted job flow information, job information, and configured export information implemented when the computer program is executed by the processor, the method comprises: acquiring a pre-configured batch file conversion logic; and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for the target scheduling system.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A batch file generation method, the method comprising:
importing and displaying an imported file, wherein the imported file is obtained by filling operation flow information and operation information into a batch processing requirement template;
responding to an adjustment operation request received by an interface, and adjusting the job flow information and the job information in the import file;
Responding to the configuration operation request received by the interface, and configuring the export information of the import file;
and generating a batch file based on the adjusted job flow information, the job information and the configured export information.
2. The method of claim 1, wherein the generating a batch file based on the adjusted job flow information, the job information, and the configured export information comprises:
acquiring an instance number distribution table from an instance number distribution database based on the adjusted workflow information and the instance number distribution database name in the operation information;
determining the export quantity of each organization from the instance number distribution table according to each organization identifier in the export information;
a batch file is generated based on the derived quantity, the job flow information, and the job information for each of the institutions.
3. The method of claim 2, wherein prior to generating a batch file based on the derived quantity, the job flow information, and the job information for each of the institutions, further comprising:
Acquiring an export configuration;
determining an export result based on the type of export configuration, export markers in the import file, and export markers in the environment;
and when the export result is export, continuing to execute the step of generating batch files based on the export quantity, the job flow information and the job information of each organization.
4. The method of claim 1, wherein the generating a batch file based on the adjusted job flow information, the job information, and the configured export information comprises:
replacing the job flow and the job name in the import file by the mechanism name in the export information;
and generating a batch file based on the job flow and the job after name replacement.
5. The method of claim 4, wherein the generating a batch file based on the adjusted job flow information, the job information, and the configured export information comprises:
acquiring the operation relation in the adjusted import file;
based on the job relation, naming and quantity of each job and job flow in the imported file are processed;
And generating a batch file based on the processed job flow and the job.
6. The method according to any one of claims 1 to 5, wherein after generating a batch file based on the adjusted job flow information, the job information, and the configured export information, the method comprises:
acquiring a pre-configured batch file conversion logic;
and converting the batch file based on the conversion logic to obtain a converted batch file, wherein the converted batch file is used for a target scheduling system.
7. A batch file generation apparatus, the apparatus comprising:
the import module is used for importing and displaying an import file, wherein the import file is obtained by filling the job flow information and the job information into a batch processing demand template;
the adjustment module is used for responding to the adjustment operation request received by the interface and adjusting the operation flow information and the operation information in the import file;
the export information configuration module is used for responding to the configuration operation request received by the interface and configuring export information of the import file;
And the generation module is used for generating a batch file based on the adjusted job flow information, the job information and the configured export information.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
CN202311139522.5A 2023-09-05 2023-09-05 Batch file generation method, apparatus, device, storage medium and program product Pending CN117271449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311139522.5A CN117271449A (en) 2023-09-05 2023-09-05 Batch file generation method, apparatus, device, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311139522.5A CN117271449A (en) 2023-09-05 2023-09-05 Batch file generation method, apparatus, device, storage medium and program product

Publications (1)

Publication Number Publication Date
CN117271449A true CN117271449A (en) 2023-12-22

Family

ID=89215106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311139522.5A Pending CN117271449A (en) 2023-09-05 2023-09-05 Batch file generation method, apparatus, device, storage medium and program product

Country Status (1)

Country Link
CN (1) CN117271449A (en)

Similar Documents

Publication Publication Date Title
US8731973B2 (en) Overlaying images in automated insurance policy form generation
CA2841815C (en) Method for associating third party content with online document signing
CA2737734A1 (en) Overlaying images in automated insurance policy form generation
CN106648569A (en) Target serialization achieving method and device
CN114611481A (en) Template configuration method and device, computer equipment and storage medium
CN114444478A (en) Voucher visualization method and device, electronic equipment and storage medium
CN114780497B (en) Batch file processing method, apparatus, computer device, medium, and program product
CN117271449A (en) Batch file generation method, apparatus, device, storage medium and program product
CN114239525A (en) Contract template editing method and device, computer equipment and storage medium
CN113110835A (en) Layout management method, device, medium and equipment for medical operating system interface
CN117435651A (en) Test data processing method, device, computer equipment and storage medium
CN116774984A (en) Calendar display assembly processing method and device, electronic equipment and storage medium
CN117151841A (en) Service processing method, device, computer equipment, storage medium and program product
CN117032779A (en) Application version switching method, device, computer equipment and storage medium
CN116909684A (en) Deployment method and device of low-code application, computer equipment and storage medium
CN117522296A (en) Auditing flow generation method, auditing flow generation device, computer equipment and storage medium
CN116383138A (en) Document changing method, device, computer equipment and storage medium
CN117114665A (en) Unified transfer system and method
CN115062082A (en) Data acquisition method and device, storage medium and computer equipment
CN118070881A (en) Page processing method, device, computer equipment and storage medium
CN116187286A (en) Method, device, platform, storage medium and product for generating potential perception report
CN115934238A (en) Interface display method and device, computer equipment and storage medium
CN117194507A (en) Power supply and demand date data processing method, device, computer equipment and storage medium
CN116797189A (en) Information processing method, apparatus, computer device, and storage medium
CN114691190A (en) Method, device and computer readable storage medium for developing microservice application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination