CN117407086A - Method and system for controlling Java program execution sequence and parallelism based on configuration - Google Patents
Method and system for controlling Java program execution sequence and parallelism based on configuration Download PDFInfo
- Publication number
- CN117407086A CN117407086A CN202311375779.0A CN202311375779A CN117407086A CN 117407086 A CN117407086 A CN 117407086A CN 202311375779 A CN202311375779 A CN 202311375779A CN 117407086 A CN117407086 A CN 117407086A
- Authority
- CN
- China
- Prior art keywords
- configuration
- information
- java
- parallelism
- component
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 230000006870 function Effects 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims abstract description 13
- 238000013523 data management Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 abstract description 6
- 238000011161 development Methods 0.000 abstract description 3
- 238000012545 processing Methods 0.000 description 11
- 108010001267 Protein Subunits Proteins 0.000 description 7
- 238000004891 communication Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention belongs to the technical field of computer program operation, in particular to a method and a system for controlling Java program execution sequence and parallelism based on configuration, wherein a tool box based on Java programs is established based on the method for controlling Java program execution sequence and parallelism based on configuration, and components with different independent functions are arranged in the tool box; then, a configuration file is established, and configuration information in the configuration file is determined according to the target task; and then running Java programs corresponding to the execution sequence and parallelism according to the configuration information in the configuration file. The method realizes the execution of the target task in the bank by running the Java program in a configuration mode, can visually process various logic information through configuration sources such as excel, database and the like, simplifies the dependency relationship of the process of executing the target task, simplifies the development of parallel programs, can acquire and execute the Java program only by configuration, reduces the threshold, simplifies the description of program logic, and simplifies the development of program logic serial and parallel.
Description
Technical Field
The invention belongs to the technical field of computer program operation, and particularly relates to a method and a system for controlling Java program execution sequence and parallelism based on configuration.
Background
In banking business, a large amount of data to be processed exist, and the data are generally managed by means of a digital tool, such as storing customer information through a database, and realizing information interaction between a bank and a customer through a built digital interaction platform or realizing information interaction inside the bank.
In the data processing process in banking business, the language is widely applied to Java programs, and has a powerful ecological system, good safety and excellent performance. For example, if it is desired to query the segment interest under the client name based on the database of the bank through the Java program and send the segment interest to the client, in a manual operation mode, a bank worker needs to query first and then send the segment interest to the client through the mailbox, and in the case of a large query amount, the workload is very large, and if the task is executed through the program, the task is very fast. However, at present, when some banking businesses are processed through Java programs, most of the Java programs are written manually, the realization is complex, logic is not necessarily clear, and the parallelism control of program execution is complex, so that the threshold of processing some banking businesses through Java programs is high, specialized personnel are required for processing, and the efficiency is low in processing a large amount of data due to the fact that the parallelism cannot be controlled.
Disclosure of Invention
The invention aims to provide a method and a system for controlling Java program execution sequence and parallelism based on configuration, so as to realize that the Java program is operated in a configuration mode to complete the execution of target tasks in banks.
In order to achieve the above purpose, the invention adopts the following technical scheme:
there is provided a method of controlling execution order and parallelism of Java programs based on a configuration, comprising:
based on the bank data management requirement, a tool box based on Java programs is established, wherein components with different independent functions are arranged in the tool box;
establishing a configuration file, and determining configuration information in the configuration file according to a target task;
and running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, wherein the Java programs are generated by components called from the tool box and used for completing the target task.
Preferably, determining the configuration information in the configuration file includes:
configuring step information corresponding to each step of the target task;
configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and ending the establishment of the configuration file and ending the target task if no executable component list exists; if there is an executable component list, component information is configured based on the component list.
Preferably, the step information includes a step ID, a step name, and a step preceding step corresponding to each step of the target task; the component information comprises component IDs of components in the component list, thread pool IDs corresponding to the running components, thread numbers corresponding to the thread pools and required global variables, wherein the global variables comprise client information, database connection information of Java programs and mailbox addresses for sending mails.
Preferably, the running the Java program corresponding to the execution order and parallelism includes:
and calling corresponding components in the tool box according to the configuration information, generating the Java program by the called components according to the configuration information and based on Java reflection functions, and then running the Java program to complete the target task.
The invention also provides a system for controlling Java program execution sequence and parallelism based on configuration, comprising:
the tool box module is used for building a tool box based on Java programs based on bank data management requirements, wherein the tool box is provided with components with different independent functions;
the file configuration module is used for establishing a configuration file and determining configuration information in the configuration file according to a target task;
and the Java program execution module is used for running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, and the Java programs are acquired from the tool box.
Preferably, the file configuration module includes:
step information configuration unit: step information corresponding to each step of the target task is configured;
component information configuration unit: the configuration file is used for configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and if no executable component list exists, the configuration file is built, and the target task is finished; if there is an executable component list, component information is configured based on the component list.
Preferably, the step information configuration unit includes a step ID configuration subunit, a step name configuration subunit, and a step pre-step configuration subunit corresponding to each step of the target task; the component information configuration unit comprises a component ID configuration subunit of each component in the component list, a thread pool ID configuration subunit corresponding to each running component, a thread number configuration subunit corresponding to a thread pool, and a subunit for configuring a global variable required by configuration, wherein the subunit for configuring the global variable comprises a client information subunit, a database connection information configuration subunit of the Java program and a mail address configuration subunit for sending mails.
Preferably, the running of the Java program corresponding to the execution order and parallelism by the Java program execution module includes:
and calling corresponding components in the tool box according to the configuration information, generating the Java program by the called components according to the configuration information and based on Java reflection functions, and then running the Java program to complete the target task.
The present invention also provides a computer-readable storage medium comprising a stored program, wherein the program when run performs the method of any one of the preceding claims.
The invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to perform the method as claimed in any of the preceding claims by means of the computer program.
Compared with the prior art, the invention has the beneficial effects that: the method for controlling the execution sequence and parallelism of Java programs based on configuration is based on bank data management requirements, a toolbox based on the Java programs is established, and components with different independent functions are arranged in the toolbox; then, a configuration file is established, and configuration information in the configuration file is determined according to the target task; then, according to the configuration information in the configuration file, java programs corresponding to the execution sequence and the parallelism are run, and the Java programs are obtained from the toolbox. The method realizes the execution of the target task in the bank by running the Java program in a configuration mode, and as the configuration file is needed, various logic information can be visually processed through the configuration file such as excel, the dependency relationship in the process of executing the target task is simplified, the development of parallel programs is simplified, the Java program can be acquired and executed only by configuration, the threshold is reduced, and non-professional personnel can also proficiently use the method to complete the business of the bank.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flowchart of a method for controlling Java program execution order and parallelism based on configuration according to an embodiment of the present invention.
Fig. 2 is a table of information of a part of configuration information in a configuration file established in an embodiment of a method for controlling execution order and parallelism of Java programs based on configuration according to the present invention.
FIG. 3 is a block diagram of an embodiment of a system for controlling Java program execution order and parallelism based on configuration according to the present invention.
FIG. 4 is a schematic diagram illustrating the operation of an embodiment of a system for controlling Java program execution order and parallelism based on configuration according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In one embodiment, a method for controlling the execution sequence and parallelism of Java programs based on configuration is provided, and the method aims to control the execution sequence and parallelism of the Java programs in running by means of configuration files so as to efficiently and conveniently complete execution of various target tasks in banks by running the Java programs.
The method directly calls the component through the configured file, and runs the Java program according to the configuration mode of the configuration file, so that codes do not need to be generated, and the use threshold is reduced; the method can control the parallelism of Java programs in running and improve efficiency.
Referring to fig. 1, the method for controlling the execution sequence and parallelism of Java programs based on configuration comprises the following steps:
step S100, based on the bank data management requirement, a tool box based on Java programs is established, wherein the tool box is provided with components with different independent functions.
Step S200, a configuration file is established, and configuration information in the configuration file is determined according to the target task.
And step S300, running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, wherein the Java programs are acquired from the tool box.
The banking business contains a large amount of data, and the banking data management is to deeply process and process the data after the banking data is concentrated. Banking business can be classified into three types including transaction processing business, network/electronic device data processing business, electronic data exchange business, "transaction processing business" refers to business of handling various banking business, stock buying and selling, ticket buying and selling, auction commodity buying and selling, fee paying, etc., network/electronic device data processing business "refers to business of controlling and data processing electronic devices connected to a communication network through communication network, and" electronic data exchange business "refers to business of forming structured transaction processing data of information and data related to trade or other administrative matters in a uniformly prescribed format, exchanging and automatically processing among computers of related users through a communication network, and completing trade or other administrative matters.
The tool box based on the Java program is built according to the bank data management type, each component in the tool box can be used for achieving an independent function, for example, a component for generating a database connection string according to database connection information, the database connection information comprises a host name, a port number, a user name, a password and a database name to be connected, the host name and the port number are local host information, the user name and the password are credentials for connecting the database, the database name is the database name to be connected, and the component generates the database connection string according to the database connection information. For another example, a component of a database can be accessed by the component through a generated database connection string. For another example, a component that queries a database for segmented interest based on customer information can query a database for a segmented interest registry for an account under a customer name based on customer information. For another example, a component that sends mail can send segmented interest streams to a client based on the client's mailbox address.
The above configuration file may be an excel file, a json file, a database, or the like, and the step 300 may be implemented by a Java program executor, where the configuration file is associated with the Java program executor, and configuration information in the configuration file may be read by the Java program executor, and the Java program executor may call components in the above toolbox based on the configuration information in the configuration file, to generate and execute a Java program capable of completing the target task.
Optionally, determining the configuration information in the configuration file includes: configuring step information corresponding to each step of the target task, configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and ending the establishment of the configuration file if no executable component list exists, wherein the target task is ended; if there is an executable component list, the component information is configured based on the component list.
One objective is achieved according to a plurality of steps, for example, for the step of "inquiring a segmented interest register", a connection string of a login database is required to be acquired first, then the database is connected in series through the connection string, then a data source of the database is acquired, then data related to a client is acquired from the data source of the database according to client information, then whether an account under the client name is empty is checked, then client sub-account information is acquired, and then the interest register corresponding to the client account is inquired. Each of the foregoing steps requires a component that, together, can generate a Java program that accomplishes the target tasks described above.
However, not all target tasks can be executed by calling components to form Java programs through configuration information in a configuration file, for example, a component corresponding to a certain step in a certain target task is absent in a tool box, and in this case, the tool box needs to be perfected later.
Optionally, the step information in the configuration file established above includes a step ID, a step name, and a pre-step of the steps corresponding to each step of the target task; the component information comprises component IDs of all components in the component list, thread pool IDs corresponding to each running component, thread numbers corresponding to the thread pools, and required global variables, wherein the global variables comprise client information, database connection information of Java programs and mailbox addresses of sent mails.
Each step of the target task is selected from the format steps preset in the configuration file, and the step ID represents the identity of the selected step, and is unique in combination with the step ID shown in FIG. 2; each step ID has a corresponding component ID, which is the identity information of the component and is unique in the whole tool box. The step name is used for identifying the function of the step, the front-end step of the step is used for setting a thread when the Java program is executed, the components corresponding to the steps of the target task run in parallel by default, if a certain step has the front-end step, the evidence corresponding to the step can be executed after the components corresponding to the front-end step are executed, so that the step and the front-end step cannot be parallel in the setting of the thread when the Java program is executed, and the steps without the front-end step can be executed in parallel. Each step of the target task may be provided with a corresponding thread pool, and the components corresponding to that step execute in their respective thread pools. And determining a thread pool ID (identity) which is an identity mark for identifying the thread pool by a program executor according to the requirements of the components corresponding to the steps on the thread number and the thread number corresponding to the thread pool. The client information in the global variable, database connection information of the Java program, and a mailbox address for sending mail are specific information required for generating the Java program.
Optionally, the above Java program running corresponding to the execution order and parallelism includes: and calling corresponding components in the toolbox according to the configuration information, generating Java programs by the called components according to the configuration information and based on Java reflection functions, and then running the Java programs to complete target tasks.
The Java reflection function refers to that a program can access, detect and modify its own state or behavior, for example, for a component sending mail, the component has a parameter of "mailbox address", and after the component is called according to a configuration file, the Java reflection function makes the parameter of "mailbox address" in the component be modified into a mailbox address in the configuration information.
In an embodiment, a system for controlling execution sequence and parallelism of Java programs based on configuration is provided, and the system is used to implement the foregoing embodiment and the preferred implementation, which are not described herein. As used below, the terms "module" and "unit" and "subunit" are a combination of software and/or hardware that can implement the predetermined functions. While the system described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
As shown in fig. 3, the system includes a tool box module 10, a file configuration module 20, and a Java program execution module 30.
The tool box module 10 is used for building a tool box based on Java programs based on bank data management requirements, wherein the tool box is provided with components with different independent functions.
The file configuration module 20 is configured to configure a file, and determine configuration information in the configuration file according to a target task.
And a Java program execution module 30 for running Java programs corresponding to the execution order and parallelism according to the configuration information in the configuration file, the Java programs being obtained from the tool box.
The components with different independent functions in the built tool box module 10 can be maintained regularly according to the requirements of bank data management, i.e. new components can be set in a newly built or modified mode so as to meet the changes of the requirements of bank data management. For example, if the current tool box module has only a component for sending mail, that is, the system sends the queried information to the customer or counter staff via the component for sending mail, a component for sending the queried result to the WeChat public number via a channel based on the information of the customer focusing on the WeChat public number may be newly developed.
Referring to fig. 4, the file configuration module 20 is a module capable of interacting with the Java program execution module 30, and the Java program execution module 30 is capable of interacting with the tool box module 10, the Java program execution module 30 obtains configuration information in the file configuration module 20, and calls corresponding components in the tool box module 10 according to the configuration information, specifically calls the components according to component IDs of the components, the called components are equivalent to a template, the Java program execution module 30 is modified by using a Java program reflection function based on component information and global variables in the configuration information to become components matched with the configuration file, and based on step information, each modified component forms a Java program for executing a target task according to a certain execution sequence, and the running Java program is capable of interacting information with a corresponding database in a bank to query data.
The above file configuration module 20 includes a step information configuration unit and a component information configuration unit. The step information configuration unit is used for configuring step information corresponding to each step of the target task, and comprises a step ID configuration subunit, a step name configuration subunit and a step pre-step configuration subunit corresponding to each step of the target task. The component information configuration unit is used for configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and if no executable component list exists, the configuration file is built, and the target task is finished; if there is an executable component list, the component information is configured based on the component list. The component information configuration unit comprises a component ID configuration subunit of each component in the component list, a thread pool ID configuration subunit corresponding to each running component, a thread number configuration subunit corresponding to a thread pool, and a global variable to be configured, wherein the subunit used for configuring the global variable comprises a client information subunit, a database connection information configuration subunit of Java programs and a mail address configuration subunit for sending mails.
The Java program execution module 30 runs Java programs corresponding to the execution order and parallelism, including: and calling corresponding components in the toolbox according to the configuration information, generating Java programs by the called components according to the configuration information and based on Java reflection functions, and then running the Java programs to complete target tasks.
For example, the above file configuration module 20 may use an excel file, where the step information configuration unit and the component information configuration unit are respectively a table area defined in the excel file, and each sub-unit (a step ID configuration sub-unit, a step name configuration sub-unit, and a step pre-step configuration sub-unit) in the step information configuration unit is a sub-grid area further defined in the defined area corresponding to the step information configuration unit; similarly, the sub-units (component ID configuration sub-unit, thread pool ID configuration sub-unit, thread number configuration sub-unit, client information sub-unit, database connection information configuration sub-unit, mailbox address configuration sub-unit) in the component information configuration unit are sub-lattice areas further defined in the defined areas corresponding to the component information configuration unit. The Java program execution module 30 reads the file according to the file configuration module 20 (excel file), and when the Java program execution module 30 reads the file, the Java program execution module can determine the corresponding configuration information according to the rows and columns corresponding to each sub-unit in the excel file. The Java program execution module 30 retrieves the corresponding components from the tool box module 10 according to the configuration information read from the file configuration module 20 (excel file) and generates Java programs based on Java reflection functions, and then runs the Java programs to complete target tasks.
In one embodiment, the present invention also provides a computer readable storage medium having a computer program stored therein, wherein the computer program is configured to perform steps of any of the method embodiments described above when run, where the computer readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a USB flash disk, a removable hard disk, an optical disk, ROM, or RAM. In particular, the above-described storage medium may be configured to store a computer program for performing the steps of:
step S10, a tool box module is established, wherein the tool box module is used for establishing a tool box based on Java programs based on bank data management requirements, and components with different independent functions are arranged in the tool box.
Step S20, a file configuration module is established, wherein the file configuration module is used for configuring a file, and configuration information in the configuration file is determined according to a target task.
Step S30, a Java program execution module is established, and the Java program execution module is used for running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, wherein the Java programs are acquired from the tool kit.
The file configuration module established above can interact information with the Java program execution module, and the Java program execution module can interact information with the toolbox module.
In an embodiment, the invention also provides an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above. For example, the electronic apparatus may include a data transmission device connected to the processor and a data input/output device connected to the processor. The above processor may be arranged to perform the following steps by a computer program:
step S10, a tool box module is established, wherein the tool box module is used for establishing a tool box based on Java programs based on bank data management requirements, and components with different independent functions are arranged in the tool box.
Step S20, a file configuration module is established, wherein the file configuration module is used for configuring a file, and configuration information in the configuration file is determined according to a target task.
Step S30, a Java program execution module is established, and the Java program execution module is used for running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, wherein the Java programs are acquired from the tool kit.
The file configuration module established above can interact information with the Java program execution module, and the Java program execution module can interact information with the toolbox module.
For example, the above electronic device may be a computer, and the above tool box module, file configuration module, java program execution module may be built in the computer and used to execute the above method.
For another example, the above electronic device may include a plurality of computers that can transmit data to each other, the above toolbox module may be installed in one computer serving as a server, the file configuration module and the Java program execution module may be respectively established in the plurality of computers, and each computer having the file configuration module and the Java program execution module established therein may be used in combination with the computer serving as the server to perform the above method.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (10)
1. A method for controlling execution order and parallelism of Java programs based on configuration, comprising:
based on the bank data management requirement, a tool box based on Java programs is established, wherein components with different independent functions are arranged in the tool box;
establishing a configuration file, and determining configuration information in the configuration file according to a target task;
and running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, wherein the Java programs are obtained from the tool box.
2. The method for controlling execution order and parallelism of Java programs based on configuration of claim 1, wherein determining the configuration information in the configuration file comprises:
configuring step information corresponding to each step of the target task;
configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and ending the establishment of the configuration file and ending the target task if no executable component list exists; if there is an executable component list, component information is configured based on the component list.
3. The method for controlling execution order and parallelism of Java programs based on configuration according to claim 2, wherein: the step information comprises a step ID, a step name and a pre-step of a step corresponding to each step of the target task; the component information comprises component IDs of components in the component list, thread pool IDs corresponding to each running component, thread numbers corresponding to the thread pools and required global variables, wherein the global variables comprise but are not limited to client information, database connection information of Java programs and mailbox addresses for sending mails.
4. The method for controlling execution order and parallelism of Java programs based on configuration according to claim 1, wherein the running Java programs corresponding to the execution order and parallelism comprises:
and calling corresponding components in the tool box according to the configuration information, generating the Java program by the called components according to the configuration information and based on Java reflection functions, and then running the Java program to complete the target task.
5. A system for controlling Java program execution order and parallelism based on configuration, comprising:
the tool box module is used for building a tool box based on Java programs based on bank data management requirements, wherein the tool box is provided with components with different independent functions;
the file configuration module is used for establishing a configuration file and determining configuration information in the configuration file according to a target task;
and the Java program execution module is used for running Java programs corresponding to the execution sequence and the parallelism according to the configuration information in the configuration file, and the Java programs are acquired from the tool box.
6. The system for controlling execution order and parallelism of Java programs based on configuration of claim 5, wherein the file configuration module comprises:
step information configuration unit: step information corresponding to each step of the target task is configured;
component information configuration unit: the configuration file is used for configuring a corresponding component list according to the dependency relationship of each step displayed in the step information, and if no executable component list exists, the configuration file is built, and the target task is finished; if there is an executable component list, component information is configured based on the component list.
7. The system for controlling execution order and parallelism of Java programs based on configuration of claim 6, wherein: the step information configuration unit comprises a step ID configuration subunit, a step name configuration subunit and a step front step configuration subunit which correspond to each step of the target task; the component information configuration unit comprises a component ID configuration subunit of each component in the component list, a thread pool ID configuration subunit corresponding to each running component, a thread number configuration subunit corresponding to a thread pool, and a subunit for configuring a global variable required by configuration, wherein the subunit for configuring the global variable comprises a client information subunit, a database connection information configuration subunit of the Java program and a mail address configuration subunit for sending mails.
8. The system for controlling execution order and parallelism of Java programs based on configuration of claim 5, wherein the Java program execution module running Java programs corresponding to the execution order and parallelism comprises:
and calling corresponding components in the tool box according to the configuration information, generating the Java program by the called components according to the configuration information and based on Java reflection functions, and then running the Java program to complete the target task.
9. A computer-readable storage medium, comprising a stored program therein, wherein the program when run performs the method of any of claims 1 to 4.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 4 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311375779.0A CN117407086A (en) | 2023-10-23 | 2023-10-23 | Method and system for controlling Java program execution sequence and parallelism based on configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311375779.0A CN117407086A (en) | 2023-10-23 | 2023-10-23 | Method and system for controlling Java program execution sequence and parallelism based on configuration |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117407086A true CN117407086A (en) | 2024-01-16 |
Family
ID=89493916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311375779.0A Pending CN117407086A (en) | 2023-10-23 | 2023-10-23 | Method and system for controlling Java program execution sequence and parallelism based on configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117407086A (en) |
-
2023
- 2023-10-23 CN CN202311375779.0A patent/CN117407086A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108595157B (en) | Block chain data processing method, device, equipment and storage medium | |
US8620713B2 (en) | Mechanism to control delegation and revocation of tasks in workflow system | |
CN111742295A (en) | Service management for blockchain network infrastructure | |
CN104077362A (en) | Online mass data processing system and method | |
CN110806933A (en) | Batch task processing method, device, equipment and storage medium | |
WO2019019379A1 (en) | Service template matching method and apparatus, computer device, and storage medium | |
CN111651262B (en) | Batch task generation method and device | |
CN112053123A (en) | Automatic accounting processing method and device, electronic equipment and readable storage medium | |
KR102569415B1 (en) | Service platform system for generating workflow and workflow generating method | |
WO2021000410A1 (en) | Real-time data processing method based on micro-service and related device therefor | |
EP3893137B1 (en) | Evm-based transaction processing method and apparatus, device, program and medium | |
US7428486B1 (en) | System and method for generating process simulation parameters | |
CN103064955A (en) | Inquiry planning method and device | |
CN110163554B (en) | Workflow operation method, device, server and storage medium | |
CN115630835A (en) | Activity-based workflow general parameter configuration method and system | |
CN111489100A (en) | Order creating method, device, equipment and medium based on big data | |
CN117252554B (en) | Business process mutual exclusion control method and system based on decision engine | |
CN109978512A (en) | The control method of project management system, electronic equipment, storage medium | |
CN111353766A (en) | Service process processing system and method of distributed service system | |
US8539496B1 (en) | Method and apparatus for configuring network systems implementing diverse platforms to perform business tasks | |
CN111209283A (en) | Data processing method and device | |
CN117407086A (en) | Method and system for controlling Java program execution sequence and parallelism based on configuration | |
CN114265595B (en) | Cloud native application development and deployment system and method based on intelligent contracts | |
CN116244062A (en) | Data processing method and device, electronic equipment and storage medium | |
CN114580951A (en) | Workflow configuration method, workflow configuration system, electronic device and storage medium |
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 |