CN109471676B - Parameter configuration processing method and device - Google Patents

Parameter configuration processing method and device Download PDF

Info

Publication number
CN109471676B
CN109471676B CN201811275448.9A CN201811275448A CN109471676B CN 109471676 B CN109471676 B CN 109471676B CN 201811275448 A CN201811275448 A CN 201811275448A CN 109471676 B CN109471676 B CN 109471676B
Authority
CN
China
Prior art keywords
parameter
configuration
sub
parameters
service
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.)
Active
Application number
CN201811275448.9A
Other languages
Chinese (zh)
Other versions
CN109471676A (en
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
Original Assignee
China Construction Bank Corp
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 filed Critical China Construction Bank Corp
Priority to CN201811275448.9A priority Critical patent/CN109471676B/en
Publication of CN109471676A publication Critical patent/CN109471676A/en
Application granted granted Critical
Publication of CN109471676B publication Critical patent/CN109471676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a parameter configuration processing method and a device, wherein the method comprises the following steps: acquiring a process configuration table configured for a business process by a user and a target parameter configuration template, wherein the process configuration table records: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is provided with values of all parameters to be configured for the sub-process of the business process; for each sub-process of the business process, updating the value of the parameter to be adjusted in the target parameter configuration template to the set value of the parameter to be adjusted according to the parameter to be adjusted corresponding to the sub-process and the set value of the parameter to be adjusted, so as to obtain a configuration parameter set of the sub-process; and constructing a parameter configuration set of the business process according to the configuration parameter set corresponding to each sub-process in the business process. The scheme of the application can reduce the complexity of configuring the parameters for the business process by the user and reduce the time consumption required by the user for configuring the parameters.

Description

Parameter configuration processing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a parameter configuration processing method and apparatus.
Background
The mainframe is called a mainframe for short, and after the batch job scheduling management software is installed on the mainframe, multi-job batch processing can be realized on the mainframe. For example, scheduling, running, monitoring, and the like of job batch processing are implemented on a mainframe host based on CTM (control-M), which is a kind of batch job scheduling management software.
Since the job scheduled on the mainframe belongs to a business process, in order to implement batch processing of the job on the mainframe, it is necessary to configure related configuration of the business process on the mainframe. In this case, each sub-process needs to configure parameters related to the sub-process and parameters related to one or more jobs associated with the sub-process, so that the number of parameters to be configured for each sub-process is large.
However, when the parameter configuration is performed on the service flow, it is necessary to configure a parameter value for each parameter in each sub-flow of the service flow in the configuration interface in sequence, and since the number of the parameters to be configured in the sub-flow is large, the complexity of the parameter configuration process of the service flow is high, and the time consumed for configuring the parameter by the user is long.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for processing parameter configuration, so as to reduce the complexity of configuring parameters for a business process by a user and reduce the time consumption required by the user for configuring parameters for the business process.
In order to achieve the above object, the present application provides a parameter configuration method, including:
acquiring a process configuration table configured for a business process by a user and a target parameter configuration template, wherein the process configuration table records: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and values of all parameters required to be configured in sub-processes of the business process are set in the target parameter configuration template;
for each sub-process of the business process, updating the value of the parameter to be adjusted in the target parameter configuration template to the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determining the value of each parameter in the updated target parameter configuration template to be the configuration parameter set corresponding to the sub-process;
and constructing a parameter configuration set required for scheduling and executing the business process according to the configuration parameter set corresponding to each sub-process in the business process.
Preferably, the flow configuration table of the business flow further records: a service node to which the service flow belongs;
the acquiring of the process configuration table and the target parameter configuration template configured by the user for the service process includes:
when the batch processing flow scheduling condition is met, respectively determining at least one service flow contained in each service node according to the service node to which the service flow belongs recorded in the flow configuration table of different service flows;
aiming at each business process contained in each business node, acquiring a process configuration table configured for the business process by a user and a target parameter configuration template;
after the parameter configuration set required for scheduling and executing the business process is constructed, the method further includes:
and storing the parameter configuration set corresponding to each service process contained in each service node as a parameter configuration file required for scheduling and deploying the service node.
On the other hand, the present application further provides a parameter configuration processing apparatus, including:
an information obtaining unit, configured to obtain a process configuration table configured for a business process by a user and a target parameter configuration template, where: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and values of all parameters required to be configured in sub-processes of the business process are set in the target parameter configuration template;
a parameter processing unit, configured to update, for each sub-process of the business process, a value of the parameter to be adjusted in the target parameter configuration template to a set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determine a value of each parameter in the updated target parameter configuration template to be a configuration parameter set corresponding to the sub-process;
and the parameter generating unit is used for constructing a parameter configuration set required for scheduling and executing the business process according to the configuration parameter set corresponding to each sub-process in the business process.
As can be seen from the above, in the present application, it is considered that the types and the numbers of the parameters related to the sub-processes of different types of business processes are different, but the parameters required to be configured for each sub-process in the same type of business process are basically the same, but the values of some parameters in different sub-processes in the same business process are different, so different parameter configuration templates are preset in the host for different types of business processes, and the parameter configuration template corresponding to each type of business process is provided with the default values of each parameter required to be configured for the sub-process of the business process, and a user does not need to modify the configuration independently.
Moreover, when the host needs to obtain the configuration parameters corresponding to the business process, the host can generate the parameter configuration set corresponding to the business process according to the target process configuration template, the parameters to be adjusted and the set values thereof corresponding to each sub-process in the process configuration table, and the target parameter configuration template selected by the user, so that in order to realize the parameter configuration of the business process, the user only needs to select the target parameter configuration template suitable for the business process, and only fills the values of the parameters to be adjusted in each sub-process in the process configuration table based on the difference of different sub-processes in the business process and the actual requirements of each sub-process, and does not need to set the parameter values of each parameter one by one for each sub-process of the business process, thereby reducing the complexity of the user in configuring the parameters for the business process, and the time consumed by the user for configuring the parameters for the business process is also reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a parameter configuration processing method according to the present application;
FIG. 2 is a schematic diagram illustrating a scheduling hierarchical relationship among service nodes, service flows and sub-flows in batch scheduling in an embodiment of the present application;
FIG. 3 is a flow chart illustrating a configuration of a host in response to a user's parameters in an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating a parameter configuration processing method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating an embodiment of a parameter configuration processing apparatus according to the present application.
Detailed Description
The scheme of the embodiment of the application is suitable for configuring the parameters related to the batch processing operation in the large host.
To facilitate an understanding of the concepts of the present application, reference will be made to some concepts of the nomenclature referred to herein:
the business process is a process required by completing a business, wherein one business process comprises a plurality of sub-processes, and one sub-process comprises a plurality of operations;
the operation is one or a group of programs which are required to be executed by completing one sub-process in the business process;
the service node is a set of a plurality of service flows in order to manage the service flows. A service node may also be divided into one or more service sub-nodes, each service sub-node comprising a plurality of service processes.
The inventor of the application discovers that the following parameters are needed to be configured in different business processes through analysis and research: the sub-processes of different types of business processes involve different kinds and numbers of parameters. However, parameters required to be configured for each sub-process in the same type of business process are basically the same, but values of some parameters in different sub-processes in the same business process are different. Based on this, the applicant thought: if the parameter configuration with the commonality in each sub-process in the same service process is formed, the user only needs to adjust the configuration of part of the parameters for each sub-process, thereby greatly simplifying the configuration operation of the user and avoiding the user from repeating the same configuration of the same parameters in the same service process.
In order to achieve the above object, in the embodiment of the present application, different parameter configuration templates are developed in advance for different types of business processes, and each parameter configuration template is suitable for one type of business process. Each parameter to be configured for the sub-process in the business process applicable to the parameter configuration template and the default value set for each parameter are set in each parameter configuration template. Therefore, for any sub-process of a business process, the parameter configuration template corresponding to the business process actually pre-configures the default values of the parameters involved in the sub-process, so that based on the actual situation of the sub-process, a user only needs to adjust the values of part of the parameters in all the parameters of the sub-process, thereby avoiding setting the values of each parameter in the sub-process item by item. Meanwhile, for a plurality of sub-processes of the business process, because the values of the parameters of the plurality of sub-processes have commonality, a plurality of parameters with the same configuration do not need to be configured repeatedly.
The following describes embodiments of the present application in detail with reference to the accompanying drawings.
For example, referring to fig. 1, which shows a flowchart of an embodiment of a parameter configuration processing method according to the present application, the method of the present embodiment may be applied to a mainframe. The method of the embodiment may include:
s101, acquiring a process configuration table and a target parameter configuration template configured for a business process by a user.
The process configuration table is related information configured for the business process by the user before the host generates corresponding configuration parameters for the business process.
Wherein, the flow configuration table at least records: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process. For the convenience of distinction, the parameters in the sub-process that need to be adjusted are referred to as parameters to be adjusted.
It should be noted that, for a sub-process of a business process, when a parameter to be configured for the sub-process has a special requirement, instead of a default value preset by a target parameter configuration template, a user may fill each parameter to be adjusted in the sub-process in a process configuration table, and set a setting value of each parameter to be adjusted. If the user has no special requirement on the sub-process, that is, the user considers that each parameter in the sub-process can be a default value in the target parameter configuration template, the user fills the parameter to be adjusted of the sub-process in the process configuration table, and under the condition, each parameter in the target parameter configuration template is considered to be a configuration parameter corresponding to the sub-process.
The target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and the target parameter configuration template can be selected by a user according to the type of the business process. The target parameter configuration template is provided with values of parameters to be configured for the sub-processes of the business process.
It can be understood that, because the parameters required to be configured for the batch processing job are based on the sub-processes in the business process as the basic unit, and the parameters required to be configured in each sub-process are basically divided into two categories, one category is the related parameters required to be configured for the sub-process itself, that is, the parameters at the sub-process level (commonly called Table configuration parameters); the other is a parameter of configuration required for the JOB involved in the sub-flow, i.e., a parameter of JOB level (commonly called JOB configuration parameter).
In order to distinguish the two types of parameters and match the parameter division in parameter configuration in batch processing in the prior art, in the embodiment of the application, each parameter configuration template is provided with: a common parameter area, a sub-process parameter area (Table configuration area), and a JOB parameter area (JOB configuration area). The sub-process parameter area is used for recording parameters of sub-process levels, the operation parameter configuration area is used for recording parameters of operation levels in the sub-processes, and the public parameter area is recorded with: all parameters and values of each parameter belonging to the sub-process parameter area and the operation parameter area. That is, the common parameter area is actually preset with default values corresponding to all parameters of the sub-flow level and the job level.
Optionally, the three areas of the parameter configuration template may include various personalized parameters, the personalized parameters occupy the place through the wildcard, and when the configuration parameters are subsequently generated based on the parameter configuration template, the parameter values may be dynamically replaced at the beginning of the wildcard in the parameter configuration template according to the parameters to be adjusted of the sub-processes in the process configuration table. The wildcards can be divided into two types, one type is replacement parameter symbols beginning with $, and the parameter configuration template must contain the wildcards; in the other type, a%% initial is used as an additional parameter symbol, such a wildcard symbol can be selectively present in the parameter arrangement template, and if the wildcard symbol is present, a parameter value indicating that the parameter is overwritten is added to the parameter following the wildcard symbol.
For convenience of understanding, taking the parameter configuration example of the batch processing job based on the CTM, the three regions included in the parameter configuration template and the parameter examples included in the three regions may be as follows:
(1) and a public parameter area:
in the code corresponding to the parameter configuration template, the region starts with the PUBLIC PARM AREA S lines, and each line in the region starts with- $::
*------------------------PUBLIC PARM AREA S---------------------------*
-$FROMTIME=1600
-$MAXWAIT=00
-$IN=
-$OUT=
-$PRIORITY=
-$MSG_NOTOK="KHXX-P%%JOBNAME NOTOK"
*------------------------PUBLIC PARM AREA E---------------------------*
IN this case, the default value of some parameters IN the common parameter area may be null, for example, the value of the parameter "IN" is null.
(2) Table configuration area
In the code corresponding to the PARAMETER configuration template, the region starts from the ST TABLE PARAMETER row, all TABLE level CTM configuration rows of the template are stored in the region, each row must begin with the system PARAMETER name of the CTM, and only after that, the wildcard PARAMETERs can be used:
*------------------------ST TABLE PARAMETER--------------------------*
TABLE=$CTM_TABLE
ADD-GLOBAL=G
OWNER=BMCPLEX
DESC="SMART TABLE FOR DCPCRCMP"*##NEED CONFIG BEFORE AS TEMPLATE
SETVAR=%%BBNAME=$CTM_BBNAME*##NEED CONFIG BEFORE AS TEMPLATE
GROUP=$CTM_GROUP
(3) JOB configuration area
The region starts from a JOB PARAMETER row, a JOB-level CTM configuration row in the template is stored in the region, if a plurality of JOBs exist, the JOB PARAMETER row is repeated to start, configuration rows in different JOBs are set, and only after the configuration rows are "the wildcard PARAMETERs can be used:
*-------------------------JOB PARAMETER------------------------------*
MEMNAME=DCZZC000*##NEED CONFIG BEFORE AS TEMPLATE
SETVAR=%%JOB_NAME=$CTM_JOB_NAME_1*##NEED CONFIG BEFORE AS TEMPLATE
SETVAR=%%MEM_NAME=$CTM_JOB_NAME_2*##NEED CONFIG BEFORE AS TEMPLATE
APPL=BMCPLEX_DC$CTM_BBNAME$_$CTM_NODE
TASKTYP=JOB
MAXWAIT=$MAXWAIT
OWNER=BMCPLEX
*-------------------------JOB PARAMETER------------------------------*
MEMNAME=$CTM_JOB_NAME_2*##NEED CONFIG BEFORE AS TEMPLATE
SETVAR=%%JOB_NAME=$CTM_JOB_NAME_2*##NEED CONFIG BEFORE AS TEMPLATE
of course, the above is merely an example of a parameter configuration template, and the application does not limit the specific form of the parameter configuration template.
It can be understood that, in consideration of subsequent scheduling of the service flow, the flow configuration table may include, in addition to the parameter to be adjusted that needs to be adjusted for each sub-flow, attribute information of the service flow and the sub-flow, scheduling information that needs to be scheduled, and the like, for example, the attribute information may be information such as a flow number of the service flow, a flow number of the sub-flow, and the scheduling information may be: sequence number of the sub-flow, number of work concurrencies in the sub-flow, etc.
As an optional manner, in order to easily distinguish various types of information required to be recorded in the process configuration table, in practical applications, the process configuration table may include a plurality of sub-tables, and each sub-table may be used to record different types of information, for example, the process configuration table may include a process scheduling sub-table and a process parameter sub-table, and may further include a process period sub-table, a file interface configuration table, and a process template sub-table, and the like, and in the following embodiment, a specific configuration of the process configuration table will be described in the form of each sub-table.
And S102, for each sub-process of the business process, updating the value of the parameter to be adjusted in the target parameter configuration template to the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determining the value of each parameter in the updated target parameter configuration template to be the configuration parameter set corresponding to the sub-process.
For each sub-process of the business process, if the parameter to be adjusted and the set value of the parameter to be adjusted of the parameter to be modified in the sub-process are recorded in the process configuration table, respectively updating the value of the corresponding parameter to be adjusted in the target parameter configuration template to the set value of the parameter to be adjusted according to the set value of each parameter to be adjusted corresponding to the sub-process in the process configuration table.
For a sub-process, the purpose of updating the value of the parameter to be adjusted in the target parameter configuration template is to keep the value of the parameter to be adjusted in the target parameter configuration template consistent with the value of the corresponding parameter to be adjusted in the process configuration template.
In a possible implementation manner, when the target parameter configuration template includes the common parameter area, the sub-process parameter area, and the job parameter area, a specific process of the host updating the value of the parameter to be adjusted in the target parameter configuration template may be as follows:
the host can firstly obtain and cache values of all parameters in a public parameter area in a target parameter configuration template from the target parameter template;
updating the value of the parameter to be adjusted in the public parameter area cached to the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-flow in the flow configuration table so as to update the public parameter area cached;
and updating the values of the parameters in the sub-process parameter area and the operation parameter area by using the updated values of the parameters in the common parameter area, so that the values of the parameters in the sub-process parameter area and the operation parameter area are consistent with the updated values of the corresponding parameters in the common parameter area.
Correspondingly, the values of the parameters in the updated sub-process parameter area and the updated operation parameter area are actually the parameters and the values of the configured sub-process, that is, the values of the parameters in the sub-process parameter area and the updated operation parameter area in the target parameter configuration template are determined as the configuration parameter set corresponding to the sub-process.
The purpose of updating the parameters to be adjusted in the target parameter template in the embodiment of the present application is to keep consistent with the parameters in the process configuration table, but a specific updating manner may be multiple possible. Optionally, when the wildcard before the parameter in the target parameter configuration template includes two types, two types of ways of updating the value of the parameter to be adjusted may be provided. For the parameter to be adjusted starting at $ in the target parameter configuration template, the value in the target parameter configuration template can be directly replaced by the set value of the parameter to be adjusted in the process configuration table. For the parameter to be adjusted beginning with%% in the target parameter configuration template, a set value of the parameter to be adjusted in the flow configuration table may be added after the parameter to be adjusted, the addition is a special form of replacement, and the host will automatically determine the value of the parameter to be adjusted as the set value in the subsequent scheduling process.
S103, according to the configuration parameter set corresponding to each sub-process in the business process, a parameter configuration set required for scheduling and executing the business process is constructed.
For example, combining the configuration parameter sets corresponding to the sub-processes of the business process together is the parameter configuration set corresponding to the business process.
It can be seen that, in the embodiment of the present application, when the host needs to obtain the configuration parameters corresponding to the service flow, only the flow configuration table configured by the user for the service flow and the target parameter configuration template selected by the user need to be obtained, and the host can generate the parameter configuration set corresponding to the service flow according to the target flow configuration template and the parameters to be adjusted and the setting values thereof corresponding to each sub-flow in the flow configuration table, so that, in order to implement the parameter configuration of the service flow, the user only needs to select the target parameter configuration template suitable for the service flow, and only fills the values of some parameters to be adjusted in each sub-flow in the flow configuration table based on the differences of different sub-flows in the service flow and the actual requirements of each sub-flow, and the user does not need to set the parameter values of each parameter one by one for each sub-flow of the service flow, thereby reducing the complexity of configuring parameters for the service process by the user; and compared with all parameters of the sub-processes, the parameters of the parameter values to be adjusted are only a small part, so that the time consumed for filling the parameter values of the parameters to be adjusted in each sub-process in the process configuration table by the user is relatively less, and the time consumed for the user to configure the parameters for the business process is reduced.
It can be understood that, in the embodiment of the present application, acquiring the process configuration table and the target parameter configuration template of the business process, and generating the parameter configuration required for scheduling the business process may be triggered to be executed after the user configures the process configuration table for the business process and selects the target parameter configuration template. However, since the batch processing requires that the configuration is completed before the configuration is deployed, and once the configuration is completed, if a user wants to modify a part of parameters of the configuration, the parameter configuration of the business process needs to be regenerated, which takes a long time.
Optionally, in this embodiment of the application, the obtaining of the process configuration table and the target parameter configuration template of the service process and the generating of the parameter configuration required for scheduling the service process may also be triggered to be executed when the scheduling condition of the service process is met. In this case, the user can modify the flow configuration table as required before scheduling, and when the service flow needs to be scheduled, the configuration parameters of the service flow are real-time and scheduled correspondingly, so that the parameters modified by the user can be immediately effective.
Considering that in the actual batch processing process, generally, a plurality of service flows are classified into one service node according to service processing requirements, and the service flows under each service node and the sub-nodes under the service flows are called layer by layer according to the service nodes, therefore, a user can also configure the service node to which the service flow belongs in the flow configuration table of the service flow, so that the information of the service node to which the service flow belongs, such as the identification of the service node, is recorded in the flow configuration table.
Of course, if a service node has a node at a higher level, for example, a plurality of service nodes are assigned to one node, the service node may be regarded as a child node, and the node to which the service node belongs is a master node.
For example, referring to fig. 2, a schematic diagram of a scheduling hierarchical relationship among service nodes, service flows, and sub-flows in batch scheduling in an embodiment of the present application is shown.
In the embodiment of the present application, batch process scheduling is performed layer by layer from left to right as shown in fig. 2, so as to implement automatic generation and deployment of parameter configuration of a process, and further implement batch processing operation.
The batch process scheduling can be automatically started at each set time, and can also be a trigger condition for starting the calling.
After the condition of batch process scheduling is met, at least one service process contained in each service node can be respectively determined according to the service nodes to which the service processes belong, which are recorded in the process configuration tables of different service processes; and then, acquiring a process configuration table configured for the business process by the user and a target parameter configuration template for each business process included in each business node layer by layer so as to finally generate a parameter configuration set corresponding to the business process.
Referring to fig. 2, according to the flow configuration table, parameter configuration of each sub-flow involved in each service flow can be completed layer by layer from the master node to the sub-node. In addition, the process configuration table can also configure the sequential logic relationship among each sub-process in one service process. If the sequence of the sub-process configured and scheduled is represented by the sub-process sequence number in the process configuration table, if the sub-process sequence number of the sub-process with the sub-process number of 01 is also 01, it indicates that the sub-process 01 is the first scheduled sub-process, and the sequence numbers of the sub-processes with the sub-process sequence numbers of 02, 03 and 04 are all 02, it indicates that the three sub-process numbers are scheduled and operated in parallel, and the execution depends on the sub-processes with the sequence number of 01 before; the sequence number of the sub-process No. 05 is 03, which indicates that the three sub-processes of 02, 03 and 04 need to be completed.
Of course, the flow configuration table may also configure the operation and the operation concurrency number of each sub-flow, so that the structure shown in fig. 2 is executed layer by layer, and the operation batch processing is realized. The related configuration of the jobs and the number of concurrent jobs in the flow configuration table will be described later.
Correspondingly, after the parameter configuration sets required by the service flows are constructed, the parameter configuration sets corresponding to the service flows included in each service node can be stored as parameter configuration files required for scheduling and deploying the service node.
It can be seen that, in the presence of a service node, after a user performs related parameter configuration on each sub-process of each service process respectively in the prior art, the user manually stores a parameter configuration set of each service process belonging to a service node into a configuration file respectively according to the service processes included in the service node to generate a configuration file of the service node.
With reference to the above description, in order to facilitate understanding of operations performed by a user during parameter configuration in the embodiment of the present application, a parameter configuration flow in the parameter configuration processing method of the embodiment of the present application is first described below. For example, referring to fig. 3, a schematic flow chart of the host responding to the parameter configuration of the user in the embodiment of the present application is shown, where the process includes:
s301, receiving a business process configuration request input by a user.
A user may request configuration of a certain business process as needed.
S302, responding to the service flow configuration request, and displaying a service configuration interface.
The service configuration interface comprises a plurality of parameter configuration templates suitable for different service process types.
S303, determine the target parameter configuration template selected by the user from the plurality of parameter configuration templates.
For example, identifiers such as identification numbers or icons of the respective parameter configuration templates may be displayed in the service configuration interface, so that the user can select the identifier of the required parameter configuration template.
Optionally, the service configuration interface may further display a corresponding relationship between types of different service flows and a suitable parameter configuration template. For example, the type of business process or other prompt for which the parameter configuration template is appropriate may be noted at the identified specified location of the parameter configuration template to take advantage of the user's selection.
In the embodiment of the present application, the target parameter configuration template selected by the user is taken as an example, but in practical application, the target parameter configuration template may also be determined for the business process by the host. For example, the service configuration interface may also provide an input box for inputting the type of the service process, or provide a pull-down selection box for selecting the type of the service process, so that the user may input the type of the service process to be configured, and accordingly, the host may select a target parameter configuration template matching the type of the service process from the plurality of parameter configuration templates.
The composition of the parameter configuration template may refer to the related description of the foregoing embodiments, and is not described herein again.
S304, showing a process configuration table for configuring the business process parameters.
S305, receiving an identifier of the service flow, an identifier of at least one sub-flow included in the service flow, and a parameter to be adjusted and a parameter value of the parameter to be adjusted, which are to be adjusted in each sub-flow, which are filled in the flow configuration table by the user.
For example, each record in the process configuration table may be used to record parameter information related to one sub-process, such as a parameter to be adjusted and a parameter value of the parameter to be adjusted, and may further include an identifier of a child node, a sequence number of the child node, and the like.
It can be understood that, as described above, the flow configuration table may include a plurality of sub-tables, since information such as the service node to which the service flow belongs, the number of concurrent jobs in the sub-flows, and the like also needs to be recorded in the flow configuration table. Optionally, the flow configuration table may include: the flow cycle sub-table, the flow scheduling sub-table and the flow parameter table can also comprise a flow interface configuration sub-table and a flow template sub-table. The following tables are presented in order:
(1) and a flow cycle sub-table:
the table is mainly used for recording attributes such as switching date and period of the business process and file date processed when the host controls the business process to execute. For example, the fields and specific meanings contained in the flow cycle sub-table can be as shown in table 1 below:
TABLE 1
Figure BDA0001846854500000131
For example, in table 1 above, the flow number is a label or an identifier of the service flow, and is used to uniquely identify the service flow. The card turning date, the card turning period and the like are time-related parameters according to which the business process is scheduled.
(2) And a flow scheduling sub-table:
the flow scheduling sub-table is used for controlling the files processed by the business flow, the nodes to which the files belong, the relationship among the sub-flows in the business flow, the processing sequence of each function in each sub-flow, various parameters needed in the processing process and other related information. A record in the table represents a sub-process of a business process, and a process may consist of one or more sub-process records.
For example, the related information in the flow scheduling sub-table can be illustrated by the following table 2:
TABLE 2
Figure BDA0001846854500000141
Figure BDA0001846854500000151
The field of the supplementary parameter option value can record the parameter to be adjusted and the parameter value of the parameter to be adjusted in the sub-process.
The number of concurrent jobs can be recorded in the field of the number of concurrent jobs.
The sequence number of the sub-process may be recorded to indicate the execution sequence of the sub-process in the business process.
(3) File interface configuration sub-table:
the files processed by each business process in the host have the same interface but different sources. In the embodiment of the application, the files of the same interface are unified to form an interface template for configuration and maintenance. One record in the file interface configuration word table can correspond to a plurality of records with the same interface name in the process scheduling sub-table, and unified management is facilitated. As an example of batch processing based on CTM, the information required to be recorded in the file interface configuration sub-table may refer to table 3:
TABLE 3
Figure BDA0001846854500000161
Figure BDA0001846854500000171
(4) And a flow parameter sub-table:
the flow parameter sub-table stores various parameters used by a single service flow or a sub-flow in the processing process, and different parameter values corresponding to different service configurations, and is used for controlling the branch trend of program processing and ensuring the correctness of the program processing result. By the configuration mode of the flow parameter sub-table, the program trend can be dynamically adjusted in real time without the need of a program version, and the operation and maintenance of the system are greatly facilitated.
For example, the various parameters to be recorded in the flow parameter sub-table can be seen from table 4:
TABLE 4
Figure BDA0001846854500000172
The field of the process function number may record the label of the sub-process in the business process.
(5) And a flow parameter template sub-table:
the flow parameter template sub-table stores parameters and attributes of various templates used when the batch management program script is generated, and one record corresponds to one function template. As still taking batch processing based on CTM as an example, the information to be recorded in the process parameter template word table can be referred to table 5:
TABLE 5
Figure BDA0001846854500000173
Figure BDA0001846854500000181
And S306, storing the flow configuration table filled by the user and the target parameter configuration template in a correlation manner.
For example, the flow configuration table filled by the user and the identifier of the target parameter configuration template are stored as the flow configuration table associated with the business flow and the identifier of the target parameter configuration template.
The above steps S301 to S306 are configurations performed by the user on the host for batch processing, and the configuration is performed for each parameter allocation in each sub-process in the existing business process, the parameters required to be configured in the present application are fewer, and the user only needs to fill in the business process and the attribute information of each sub-process per se in the business process, and fill in the process configuration table to write the parameter values of the partial parameters that need to be modified.
Based on the above steps S301 to S306, in the embodiment of the present application, when the scheduling condition of a service node (or a service process) is satisfied, based on a process configuration table and a target parameter configuration template configured by a user for each service process of the service node, a parameter configuration file corresponding to the service node may be generated.
In order to facilitate comprehensive understanding of the scheme of the present application, the scheme of the present application is introduced on the premise that the service node to which the service flow belongs, the setting value of the parameter to be adjusted that needs to be modified by each sub-flow in the service flow, and the concurrent data volume of the operation in each sub-node in the service flow are recorded in the service configuration flow table. For example, referring to fig. 4, which shows a schematic flow diagram of another embodiment of a parameter configuration processing method according to the present application, the method of this embodiment may be applied to a host, and this embodiment may include:
s401, when the batch processing flow scheduling condition is met, respectively determining at least one service flow contained in each service node according to the service node to which the service flow belongs recorded in the flow configuration table of different service flows;
for example, the batch process flow schedule condition may be a set time of day.
S402, aiming at each service process contained in each service node, a process configuration table configured for the service process by a user and a target parameter configuration template are obtained.
And S403, for each sub-process of each business process, obtaining and caching values of each parameter in the public parameter area in the target parameter configuration template.
The operations of steps S403 to S407 need to be respectively performed for each sub-flow of the business flow for each business flow.
S404, updating the value of the parameter to be adjusted in the public parameter area to the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-flow in the flow configuration table of the business flow, so as to update the public parameter area.
And for each parameter to be adjusted in the public parameter area, updating the cached value of the parameter to be adjusted by the set value of the parameter to be adjusted in the flow sharing configuration table.
For a specific way of updating the value of the parameter to be adjusted, reference may be made to the related description of the foregoing embodiment, which is not described herein again.
And S405, updating the values of the parameters in the sub-process parameter area and the operation parameter area by using the updated values of the parameters in the public parameter area in the cache, so that the values of the parameters in the sub-process parameter area and the operation parameter area are consistent with the values of the corresponding parameters in the updated public parameter area.
And S406, copying values of all parameters in the operation parameter area according to the operation concurrency number corresponding to the sub-process to obtain operation configuration parameters corresponding to the target number of operations.
Wherein the target number is the same as the number of concurrent jobs.
In the embodiment of the application, if the operation concurrency number of the sub-process is configured in the process configuration table of the business process, the parameters and the values thereof in the operation parameter area are copied according to the operation concurrency number, so that the parameters of a plurality of operation parameter areas are finally obtained. And the number of the finally obtained copies of the parameters in the multiple operation parameter areas is consistent with the operation concurrency number of the sub-processes in the process configuration table.
If the number of concurrent operations of the sub-process is set to be 3 in the process configuration table, the parameters in the two operation parameter areas need to be copied again to finally obtain the parameters in the three operation parameter areas, and finally, the three configuration parameters needed by the concurrent operation of the three operations are ensured.
Because the batch processing jobs generally have certain similarity and are the same as the configuration of concurrent jobs of one sub-process, the host automatically copies the parameters in the corresponding job parameter area according to the job concurrent number, the value of the parameter to be adjusted corresponding to the sub-process and the parameters in the job parameter area in the target parameter configuration template in the process of generating the configuration file by setting the job concurrent number in the sub-process in the process of generating the configuration file, so that the user does not need to receive the copy and perform the parameter configuration, the quantity of the repeated configuration parameters of the user is greatly reduced, and the configuration efficiency is improved.
S407, determining the parameter value of each sub-process related parameter in the sub-process parameter area and the job configuration parameter corresponding to the target number of jobs as the configuration parameter set corresponding to the sub-process.
S408, the configuration parameter sets corresponding to the sub-processes in the business process are combined into the parameter configuration set of the business process.
And S409, storing the parameter configuration set corresponding to each business process included in each business node as a parameter configuration file required for scheduling and deploying the business node.
It can be understood that, in the embodiment of the present application, after the parameter configuration file corresponding to the service node is generated, deployment may be performed based on the parameter configuration file of the service node to prepare for batch operation.
In the embodiment of the present application, batch management software (hereinafter, all described by taking CTM as an example) may be logically divided into three layers, which are a flow configuration layer, a flow processing layer, and a flow deployment layer.
The process configuration layer is actually visible to the user, and a process configuration tool and a CTM parameter configuration template are arranged in the process configuration layer, so that the user can complete the user configuration process scheduling table and the target parameter configuration template selection mentioned above.
The flow processing layer and the flow deployment layer are invisible to a user, and the flow processing layer is divided into the following parts in control logic: the system comprises a parameter processing module, a CTM flow template processing module and a CTM flow generating module.
The CTM process template processing module is responsible for executing the replacement and update of the parameters in the target parameter configuration template according to the configuration information in the process configuration table so as to finally generate a parameter configuration file of the service node.
And the parameter processing module reads parameters in a flow parameter sub-table in the flow configuration table, and processes, calculates and converts the parameters to obtain some configuration parameters required by CTM scheduling and various input parameters required by batch program operation. For example, the following main parameters are processed:
(1) date of cutting of batch documents
And calculating the switching date of different batches of files according to the batch date + period. For example, the date of the last treatment was 20160101 (serial number 00000001) as an example:
when the cycle is daily (cycle code 000000), the date of the next processing should be the actual natural date of the day;
when the cycle is daily (cycle code 000001), the next treatment date should be 20160102;
when the period is monthly (period code 000100), the date of the next treatment should be 20160201;
when the period is the bottom of the month (period code 00010M), the date of the next processing should be 20160229;
when the period is quarterly (period code 000300), the next treatment date should be 20160401;
when the period is half a year (period code 000600), the date of the next treatment should be 20160701;
when the cycle is not fixed (cycle code 999999), the serial number of the next processing should be 00000002.
(2) Batch file occupation space calculation
And calculating the host space required by different files according to the configured maximum record number plus the record length, so that the space utilization rate and the accuracy of space parameters are improved. The calculation method is as follows:
single allocation space-maximum record length/1024/parameter 1/parameter 2
Parameter 1: the value of the conversion parameter between 1 cylinder and kb on the host is 880 in the system.
Parameter 2: the number of times of the maximum expansion space of a single file on the host is 100.
(3) Concurrent job parameter calculation
And calculating the file name required to be processed by each concurrent job and the corresponding data table partition according to the concurrency number of the batch flow parameter sub-table and the total partition data of the data table. For example, the total partition digit of the data table is 200, the total concurrency number is 20, the file name of the processing is & & filename.p010, and the partition of the processing table is 10 partitions from 91 th to 100 th in the 10 th concurrency.
(4) Generation of job name
The function generates a corresponding host job name according to the flow number, the sub-flow number, the processed function code and the concurrency number of the job, and the specific function of the job can be easily and respectively generated through the name. The operation name structure is as follows:
system identification (2 bit) + flow number (2 bit) + subprocess number (2 bit) + function code (1 bit) + sequence number (1 bit)
Taking the sub-process No. 03 of the process No. 10 of the present system (code is DC) as an example, the system supports the following three job name generation mechanisms:
independent JOBs, i.e., JOB1/JOB2/JOB3 are independent of each other.
For example, if the function is loaded (code J) and the concurrency number is 10, the job name is:
DC1003J1、DC1003J2、……、DC1003JA
the generated JOB, JOB1, invokes the program generate JOB 2.
For example, if the collision function (code is H) and the number of concurrencies is 10, the job name is:
DC1003H0–DC1003H1
DC1003H2–DC1003H3
……
DC1003HJ–DC1003HK
multi-stage generated JOB, i.e. JOB1 caller generated JOB2, JOB2 recaller generated JOB3
For example, if the configuration is a service node start table configuration (code is K), in this case, the system does not support concurrency, so that only 3 job names are generated, which are DC1003KZ/DC1003K0/DC1003K1, respectively.
And the CTM flow generation module carries out scheduling layer by layer according to the parameter configuration file of the service node, the service flow contained in each service node, the sub-flow of the service flow and the operation under the sub-flow.
In the above three logical hierarchies, the flow deployment layer includes a CTM deployment module.
The function of the CTM flow deployment module is to compile the previously generated parameter configuration file, generate a standard flow configuration and deploy the standard flow configuration to a CTM designated library, which can be directly scheduled and used by the CTM. And (4) calling the utity of the CTM system through the host operation to compile the utity to obtain the called CTM standard configuration.
In the embodiment of the application, the batch flow deployment is divided into two modes according to the functional requirements: automatic deployment of batch processes and manual deployment of temporary processes. The batch process automatic deployment refers to an automatic deployment process of automatically starting a process engine at a time set by host batch processing management software (such as CTM) every day, and calling the utility of the CTM system through JCL to compile a configuration file generated by a CTM process generation module. The temporary process manual deployment refers to the deployment of the temporary process which is only used once or for a few times at an online time point or a specific demand time point, and the mode is a process of manually submitting a deployment script according to a temporary process node number to automatically generate configuration and deployment.
On the other hand, the present application further provides a parameter configuration processing apparatus, for example, referring to fig. 5, which shows a schematic structural diagram of an embodiment of the parameter configuration processing apparatus of the present application, the apparatus of the embodiment may include:
an information obtaining unit 501, configured to obtain a process configuration table configured for a business process by a user and a target parameter configuration template, where: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and values of all parameters required to be configured in sub-processes of the business process are set in the target parameter configuration template;
a parameter processing unit 502, configured to update, for each sub-process of the business process, a value of the parameter to be adjusted in the target parameter configuration template to a set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determine a value of each parameter in the updated target parameter configuration template to be a configuration parameter set corresponding to the sub-process;
a parameter generating unit 503, configured to construct a parameter configuration set required for scheduling and executing the business process according to the configuration parameter set corresponding to each sub-process in the business process.
Optionally, the process configuration table of the service process acquired by the information acquisition unit further records: a service node to which the service flow belongs;
the information acquisition unit includes:
the batch processing triggering subunit is used for respectively determining at least one service process contained in each service node according to the service node to which the service process belongs and recorded in the process configuration tables of different service processes when the batch processing process scheduling condition is met;
the information acquisition subunit is used for acquiring a process configuration table configured by a user for each service process included in each service node and a target parameter configuration template;
the device further comprises:
and the configuration file generating unit is used for storing the parameter configuration set corresponding to each service process contained in each service node as a parameter configuration file required for scheduling and deploying the service node after the parameter configuration set required for scheduling and executing the service process is constructed by the parameter generating unit.
In one implementation manner, in an embodiment of the above apparatus, the target parameter configuration template acquired by the information acquisition unit or the information acquisition subunit is provided with: the system comprises a public parameter area, a sub-process parameter area and an operation parameter area, wherein the sub-process parameter area is used for recording related parameters of a sub-process; wherein, the public parameter area records: all parameters belonging to the sub-process parameter area and the operation parameter area and the value of each parameter;
the parameter processing unit includes:
a parameter caching subunit, configured to, for each sub-process of the service process, obtain and cache a value of each parameter in a common parameter area in the target parameter configuration template;
a parameter updating subunit, configured to update, according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, the value of the parameter to be adjusted in the cached public parameter area to the set value of the parameter to be adjusted, so as to update the cached public parameter area;
the parameter adjusting subunit is configured to update the values of the parameters in the sub-process parameter area and the operation parameter area by using the updated values of the parameters in the common parameter area, so that the values of each parameter in the sub-process parameter area and the operation parameter area are consistent with the updated values of the corresponding parameters in the common parameter area;
and the parameter merging subunit is used for determining the values of the parameters in the updated sub-process parameter area and the updated operation parameter area as the configuration parameter set corresponding to the sub-process.
Optionally, the flow configuration table of the service flow acquired by the information acquisition unit or the information acquisition subunit further records: the operation concurrency number corresponding to each sub-process of the business process is counted;
the parameter processing unit further includes:
the operation replication sub-unit is used for copying the values of all the parameters in the operation parameters according to the operation concurrency number corresponding to the sub-process after the parameter adjustment sub-unit updates the values of all the parameters in the sub-process parameter area and the operation parameter area so as to obtain the operation configuration parameters corresponding to the target number of operations, wherein the target number is the same as the operation concurrency number;
the parameter merging subunit is specifically configured to determine, as the configuration parameter set corresponding to the sub-process, the parameter value of each sub-process related parameter in the sub-process parameter area and the job configuration parameter corresponding to the target number of jobs.
In a possible implementation manner, the apparatus of the above embodiment may further include the following units:
a request receiving unit, configured to receive a service flow configuration request input by a user before the parameter obtaining unit obtains the flow configuration table and the target parameter configuration template;
the interface display unit is used for responding to the service flow configuration request and displaying a service configuration interface, and the service configuration interface comprises a plurality of parameter configuration templates suitable for different service flow types;
the template determining unit is used for determining a target parameter configuration template selected from the plurality of parameter configuration templates by a user;
the table showing unit is used for showing a process configuration table for configuring the service process parameters;
a configuration receiving unit, configured to receive an identifier of a service flow, an identifier of at least one sub-flow included in the service flow, a parameter to be adjusted in each sub-flow and a parameter value of the parameter to be adjusted, where the identifier of the service flow is filled in the flow configuration table by the user;
and the information storage unit is used for storing the flow configuration table filled by the user and the target parameter configuration template in a correlation manner.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (8)

1. A method for processing parameter configuration, comprising:
acquiring a process configuration table configured for a business process by a user and a target parameter configuration template, wherein the process configuration table records: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and each parameter required to be configured for each sub-process of the business process and a default value set for each parameter are set in the target parameter configuration template;
for each sub-process of the business process, updating a default value corresponding to the parameter to be adjusted in the target parameter configuration template to a set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determining the value of each parameter in the updated target parameter configuration template to be a configuration parameter set corresponding to the sub-process;
according to the configuration parameter set corresponding to each sub-process in the business process, a parameter configuration set required for scheduling and executing the business process is constructed;
wherein, the target parameter configuration template is provided with: the system comprises a public parameter area, a sub-process parameter area and an operation parameter area, wherein the sub-process parameter area is used for recording related parameters of a sub-process; wherein, the public parameter area records: all parameters belonging to the sub-process parameter area and the operation parameter area and the default value of each parameter;
updating the value of the parameter to be adjusted in the target parameter configuration template to the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, including:
acquiring and caching default values of all parameters in a public parameter area in the target parameter configuration template;
updating the default value corresponding to the parameter to be adjusted in the public parameter area cached as the set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table so as to update the public parameter area cached;
updating the default values of the parameters in the sub-process parameter area and the operation parameter area by using the updated values of the parameters in the public parameter area, so that the values of the parameters in the sub-process parameter area and the operation parameter area are consistent with the values of the corresponding parameters in the public parameter area;
determining the value of each parameter in the updated target parameter configuration template as a configuration parameter set corresponding to the sub-process, including:
and determining the updated values of the parameters in the sub-process parameter area and the operation parameter area as a configuration parameter set corresponding to the sub-process.
2. The parameter configuration processing method according to claim 1, wherein a flow configuration table of the business flow further records: a service node to which the service flow belongs;
the acquiring of the process configuration table and the target parameter configuration template configured by the user for the service process includes:
when the batch processing flow scheduling condition is met, respectively determining at least one service flow contained in each service node according to the service node to which the service flow belongs recorded in the flow configuration table of different service flows;
aiming at each business process contained in each business node, acquiring a process configuration table configured for the business process by a user and a target parameter configuration template;
after the parameter configuration set required for scheduling and executing the business process is constructed, the method further includes:
and storing the parameter configuration set corresponding to each service process contained in each service node as a parameter configuration file required for scheduling and deploying the service node.
3. The parameter configuration processing method according to claim 1, wherein a flow configuration table of the business flow further records: the operation concurrency number corresponding to each sub-process of the business process is counted;
after updating the values of the parameters in the sub-process parameter area and the operation parameter area, the method further comprises the following steps:
copying the values of all parameters in the operation parameters according to the operation concurrency number corresponding to the sub-flow to obtain operation configuration parameters corresponding to a target number of operations, wherein the target number is the same as the operation concurrency number;
the determining the updated values of the parameters in the sub-process parameter area and the operation parameter area as the configuration parameter set corresponding to the sub-process includes:
and determining the value of the parameter of each sub-process related parameter in the sub-process parameter area and the operation configuration parameter corresponding to the target number of operations as a configuration parameter set corresponding to the sub-process.
4. The method of claim 1, wherein before the obtaining the process configuration table configured by the user for the business process and the target parameter configuration template, the method further comprises:
receiving a business process configuration request input by a user;
responding to the service flow configuration request, and displaying a service configuration interface, wherein the service configuration interface comprises a plurality of parameter configuration templates suitable for different service flow types;
determining a target parameter configuration template selected from the plurality of parameter configuration templates by a user;
showing a process configuration table for configuring the service process parameters;
receiving an identifier of a service process, an identifier of at least one sub-process included in the service process, a parameter to be adjusted in each sub-process and a set value of the parameter to be adjusted, which are filled in the process configuration table by the user;
and storing the flow configuration table filled by the user and the target parameter configuration template in an associated manner.
5. A parameter configuration processing apparatus, comprising:
an information obtaining unit, configured to obtain a process configuration table configured for a business process by a user and a target parameter configuration template, where: the parameters to be adjusted and the set values of the parameters to be adjusted need to be adjusted in each sub-process in the business process; the target parameter configuration template is a parameter configuration template matched with the type of the business process in a plurality of preset parameter configuration templates, and each parameter required to be configured for each sub-process of the business process and a default value set for each parameter are set in the target parameter configuration template;
a parameter processing unit, configured to update, for each sub-process of the business process, a default value corresponding to the parameter to be adjusted in the target parameter configuration template to a set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, and determine a value of each parameter in the updated target parameter configuration template to be a configuration parameter set corresponding to the sub-process;
a parameter generating unit, configured to construct a parameter configuration set required for scheduling and executing the business process according to the configuration parameter set corresponding to each sub-process in the business process;
the target parameter configuration template acquired by the information acquisition unit or the information acquisition subunit is provided with: the system comprises a public parameter area, a sub-process parameter area and an operation parameter area, wherein the sub-process parameter area is used for recording related parameters of a sub-process; wherein, the public parameter area records: all parameters belonging to the sub-process parameter area and the operation parameter area and the default value of each parameter;
the parameter processing unit includes:
a parameter caching subunit, configured to, for each sub-process of the service process, obtain and cache a default value of each parameter in a common parameter area in the target parameter configuration template;
a parameter updating subunit, configured to update a default value corresponding to the parameter to be adjusted in the cached public parameter area to a set value of the parameter to be adjusted according to the parameter to be adjusted and the set value of the parameter to be adjusted corresponding to the sub-process in the process configuration table, so as to update the cached public parameter area;
the parameter adjusting subunit is configured to update default values of the parameters in the sub-process parameter area and the operation parameter area by using the updated values of the parameters in the common parameter area, so that the values of the parameters in the sub-process parameter area and the operation parameter area are consistent with the values of the corresponding parameters in the updated common parameter area;
and the parameter merging subunit is used for determining the values of the parameters in the updated sub-process parameter area and the updated operation parameter area as the configuration parameter set corresponding to the sub-process.
6. The apparatus according to claim 5, wherein the flow configuration table of the service flow acquired by the information acquisition unit further records: a service node to which the service flow belongs;
the information acquisition unit includes:
the batch processing triggering subunit is used for respectively determining at least one service process contained in each service node according to the service node to which the service process belongs and recorded in the process configuration tables of different service processes when the batch processing process scheduling condition is met;
the information acquisition subunit is used for acquiring a process configuration table configured by a user for each service process included in each service node and a target parameter configuration template;
the device further comprises:
and the configuration file generating unit is used for storing the parameter configuration set corresponding to each service process contained in each service node as a parameter configuration file required for scheduling and deploying the service node after the parameter configuration set required for scheduling and executing the service process is constructed by the parameter generating unit.
7. The apparatus according to claim 5, wherein the flow configuration table of the service flow acquired by the information acquisition unit or the information acquisition subunit further records: the operation concurrency number corresponding to each sub-process of the business process is counted;
the parameter processing unit further includes:
the operation replication sub-unit is used for copying the values of all the parameters in the operation parameters according to the operation concurrency number corresponding to the sub-process after the parameter adjustment sub-unit updates the values of all the parameters in the sub-process parameter area and the operation parameter area so as to obtain the operation configuration parameters corresponding to the target number of operations, wherein the target number is the same as the operation concurrency number;
the parameter merging subunit is specifically configured to determine, as the configuration parameter set corresponding to the sub-process, a value of a parameter of each sub-process related parameter in the sub-process parameter area and an operation configuration parameter corresponding to the target number of jobs.
8. The apparatus according to claim 5, further comprising:
a request receiving unit, configured to receive a service flow configuration request input by a user before the parameter obtaining unit obtains the flow configuration table and the target parameter configuration template;
the interface display unit is used for responding to the service flow configuration request and displaying a service configuration interface, and the service configuration interface comprises a plurality of parameter configuration templates suitable for different service flow types;
the template determining unit is used for determining a target parameter configuration template selected from the plurality of parameter configuration templates by a user;
the table showing unit is used for showing a process configuration table for configuring the service process parameters;
a configuration receiving unit, configured to receive an identifier of a service flow, an identifier of at least one sub-flow included in the service flow, a parameter to be adjusted in each sub-flow and a setting value of the parameter to be adjusted, where the identifier of the service flow is filled in the flow configuration table by the user;
and the information storage unit is used for storing the flow configuration table filled by the user and the target parameter configuration template in a correlation manner.
CN201811275448.9A 2018-10-30 2018-10-30 Parameter configuration processing method and device Active CN109471676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811275448.9A CN109471676B (en) 2018-10-30 2018-10-30 Parameter configuration processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811275448.9A CN109471676B (en) 2018-10-30 2018-10-30 Parameter configuration processing method and device

Publications (2)

Publication Number Publication Date
CN109471676A CN109471676A (en) 2019-03-15
CN109471676B true CN109471676B (en) 2022-03-01

Family

ID=65666448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811275448.9A Active CN109471676B (en) 2018-10-30 2018-10-30 Parameter configuration processing method and device

Country Status (1)

Country Link
CN (1) CN109471676B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861047A (en) * 2019-04-08 2020-10-30 阿里巴巴集团控股有限公司 Data processing control method and computing device
CN110119480A (en) * 2019-05-23 2019-08-13 北京小米移动软件有限公司 Information processing method, device, equipment and storage medium
CN110231985A (en) * 2019-06-17 2019-09-13 三角兽(北京)科技有限公司 Operation flow data processing method, device, electronic equipment and storage medium
CN112242909B (en) * 2019-07-16 2023-07-14 深信服科技股份有限公司 Method and device for generating management template, electronic equipment and storage medium
CN110619152B (en) * 2019-08-16 2022-08-02 珠海格力电器股份有限公司 Simulation experiment parameter setting method, device, equipment and storage medium
CN111273962B (en) * 2020-02-14 2022-02-18 腾讯科技(深圳)有限公司 Configuration management method, device, computer readable storage medium and computer equipment
CN112070479A (en) * 2020-09-03 2020-12-11 中国平安财产保险股份有限公司 Task distribution method, device, equipment and storage medium
CN113361733B (en) * 2021-06-03 2023-04-07 建信金融科技有限责任公司 Processing method and device for reserved service
CN113282512A (en) * 2021-06-24 2021-08-20 深圳平安智汇企业信息管理有限公司 Data processing method, device, terminal equipment and storage medium
CN113535766B (en) * 2021-08-04 2024-03-08 城云科技(中国)有限公司 Workflow configuration method, device, electronic device and storage medium
CN113962098B (en) * 2021-10-26 2023-03-24 重庆忽米网络科技有限公司 Model construction method based on business process industrial mechanism
CN113988665A (en) * 2021-11-01 2022-01-28 中国建设银行股份有限公司 Standard business process generation method, device, equipment, medium and program product based on atomic service
CN114281841B (en) * 2021-12-07 2024-07-16 四川新网银行股份有限公司 Method for generating configuration SQL statement based on business requirement
CN116070034B (en) * 2023-03-03 2023-11-03 江西财经大学 Graph convolution network recommendation method combining self-adaptive period and interest quantity factor
CN117149311B (en) * 2023-08-17 2024-07-12 中电金信软件有限公司 Service execution method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071480A (en) * 2007-06-15 2007-11-14 南京联创科技股份有限公司 Universal structured process dispatch method based on work flowfor complicated service system
US20080126390A1 (en) * 2006-11-29 2008-05-29 Philip Arthur Day Efficient stress testing of a service oriented architecture based application
US20140108440A1 (en) * 2012-10-12 2014-04-17 Sap Ag Configuration of Life Cycle Management for Configuration Files for an Application
CN104239052A (en) * 2014-09-12 2014-12-24 浙江宇视科技有限公司 Business flow generation method and business flow generation device
CN104765722A (en) * 2014-01-08 2015-07-08 北大方正集团有限公司 Parameter configuration method and device
CN106781100A (en) * 2017-01-17 2017-05-31 浪潮(苏州)金融技术服务有限公司 The collocation method and device of a kind of self-help terminal equipment
CN107222324A (en) * 2016-03-22 2017-09-29 华为技术有限公司 The business collocation method and device of network service
CN107679700A (en) * 2017-09-08 2018-02-09 阿里巴巴集团控股有限公司 Business flow processing method, apparatus and server
CN108228252A (en) * 2017-12-26 2018-06-29 阿里巴巴集团控股有限公司 Business processing and operation flow configuration method, device and equipment
CN108629683A (en) * 2018-05-07 2018-10-09 深圳壹账通智能科技有限公司 Apply for part process flow configuration method, device, equipment and readable storage medium storing program for executing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126390A1 (en) * 2006-11-29 2008-05-29 Philip Arthur Day Efficient stress testing of a service oriented architecture based application
CN101071480A (en) * 2007-06-15 2007-11-14 南京联创科技股份有限公司 Universal structured process dispatch method based on work flowfor complicated service system
US20140108440A1 (en) * 2012-10-12 2014-04-17 Sap Ag Configuration of Life Cycle Management for Configuration Files for an Application
CN104765722A (en) * 2014-01-08 2015-07-08 北大方正集团有限公司 Parameter configuration method and device
CN104239052A (en) * 2014-09-12 2014-12-24 浙江宇视科技有限公司 Business flow generation method and business flow generation device
CN107222324A (en) * 2016-03-22 2017-09-29 华为技术有限公司 The business collocation method and device of network service
CN106781100A (en) * 2017-01-17 2017-05-31 浪潮(苏州)金融技术服务有限公司 The collocation method and device of a kind of self-help terminal equipment
CN107679700A (en) * 2017-09-08 2018-02-09 阿里巴巴集团控股有限公司 Business flow processing method, apparatus and server
CN108228252A (en) * 2017-12-26 2018-06-29 阿里巴巴集团控股有限公司 Business processing and operation flow configuration method, device and equipment
CN108629683A (en) * 2018-05-07 2018-10-09 深圳壹账通智能科技有限公司 Apply for part process flow configuration method, device, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN109471676A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109471676B (en) Parameter configuration processing method and device
US5909688A (en) Information management system
CN109558234A (en) A kind of timed task dispatching method and device
US7743077B2 (en) Method and system for generating database records
CN103020158A (en) Report form creation method, device and system
JPH0644256A (en) Device and method for efficiently adjusting relation with lot of resource
US20070282782A1 (en) Method, system, and program product for managing information for a network topology change
WO2005101187A2 (en) Grouping and displaying multiple tasks within an event object of an electronic calendar
JPH09505681A (en) Data management system in real-time system
CN103489061A (en) Batch data processing device and batch data processing method
CN103514295A (en) Method and device for archiving historical data
CN111090803A (en) Data processing method and device, electronic equipment and storage medium
JP2015005032A (en) Engineering schedule management system, engineering schedule management method and engineering schedule management program
CN115358204A (en) Report generation method and device, electronic equipment and storage medium
JPH0844602A (en) Data managing device
CN109634874A (en) A kind of data processing method, device, electronic equipment and storage system
JP6626327B2 (en) Gantt chart generation program, Gantt chart generation device, and Gantt chart generation method
JP2000242490A (en) Software development managing device, information presenting device, and program recording medium
WO2018123124A1 (en) Computer system, management method, and program
CN114153555A (en) Cloud platform PMEM device management method, system, device and storage medium
JP3526516B2 (en) Production process scheduler
CN111062624A (en) Task management platform and method for automatic distribution and push
JP2010282286A (en) Development support device, and program
CN115357342B (en) Cold start resource processing method and device
CN114443687B (en) Software package custom system for constructing operating system image and application method

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
GR01 Patent grant
GR01 Patent grant