CN112114954A - Job scheduling configuration method and device of software system - Google Patents

Job scheduling configuration method and device of software system Download PDF

Info

Publication number
CN112114954A
CN112114954A CN202011038416.4A CN202011038416A CN112114954A CN 112114954 A CN112114954 A CN 112114954A CN 202011038416 A CN202011038416 A CN 202011038416A CN 112114954 A CN112114954 A CN 112114954A
Authority
CN
China
Prior art keywords
work order
job scheduling
configuration
scheduling work
job
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011038416.4A
Other languages
Chinese (zh)
Inventor
张千钧
王臻
孙峰
蔡昕
孙代勇
黄启亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
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 CN202011038416.4A priority Critical patent/CN112114954A/en
Publication of CN112114954A publication Critical patent/CN112114954A/en
Pending legal-status Critical Current

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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention provides a method and a device for scheduling and configuring operation of a software system, wherein the method comprises the following steps: according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set; and receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table. The device is used for executing the method. The job scheduling configuration method and device of the software system provided by the embodiment of the invention improve the traceability of job scheduling.

Description

Job scheduling configuration method and device of software system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for scheduling and configuring jobs of a software system.
Background
A large enterprise generally has a plurality of software systems, and the plurality of software systems all need to access the job scheduling system for job scheduling configuration management.
The configuration amount of enterprise-level job scheduling is generally large, the configuration items required by job scheduling are various, and the exponential growth is realized along with the increase of the number of jobs. With respect to banking, the amount of scheduling configuration is currently hundreds of thousands of jobs or even more than a million. In the prior art, the job scheduling configuration can be modified on line, the job scheduling configuration enters a scheduling system to be immediately effective, the management is simpler, but when the operation has problems, the job scheduling configuration can only be modified again. The job scheduling configuration of batch import needs to be checked and modified one by one if part has problems. The configuration of the operation scheduling can also be managed offline, the configuration version baseline of the component is maintained through a software version management tool, but when the configuration data of online modification or emergency modification due to scheduling cannot be automatically supplemented back to the software version baseline of the component, the online configuration data and the offline configuration data are inconsistent.
Disclosure of Invention
For solving the problems in the prior art, embodiments of the present invention provide a method and an apparatus for scheduling and configuring a job of a software system, which can at least partially solve the problems in the prior art.
In a first aspect, the present invention provides a job scheduling configuration method for a software system, including:
according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
In a second aspect, the present invention further provides a job scheduling configuration method for a software system, including:
receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set;
if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated;
after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order;
and sending instantiation success information to the configuration server.
In a third aspect, the present invention provides a job scheduling configuration apparatus for a software system, including:
the system comprises an establishing unit, a processing unit and a processing unit, wherein the establishing unit is used for establishing a first job scheduling work order and submitting the first job scheduling work order according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
the issuing unit is used for issuing the first job scheduling work order to a corresponding scheduling server after receiving the auditing passing information of the first job scheduling work order, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
the first receiving unit is used for receiving instantiation success information returned by the scheduling server and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
In a fourth aspect, the present invention further provides a job scheduling configuration apparatus for a software system, including:
the second receiving unit is used for receiving a first job scheduling work order issued by the configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to the configuration change information of the first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
the first checking unit is used for generating a configuration table corresponding to the first job scheduling work order according to the configuration change set after judging that the first job scheduling work order passes static configuration checking;
the second checking unit is used for instantiating the configuration table corresponding to the first job scheduling work order after judging and knowing that the configuration table corresponding to the first job scheduling work order passes the dynamic checking;
the obtaining unit is used for obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order after the instantiation of the configuration table corresponding to the first job scheduling work order is completed;
and the sending unit is used for sending instantiation success information to the configuration server.
In a fifth aspect, the present invention provides an electronic device, including a first memory, a first processor, and a first computer program stored in the first memory and executable on the first processor, wherein the first processor implements a job scheduling configuration method of a software system as follows when executing the first computer program:
according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
In a sixth aspect, the present invention provides a computer readable storage medium having stored thereon a first computer program which, when executed by a first processor, implements a method of job scheduling configuration for a software system comprising:
according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
In a seventh aspect, the present invention further provides an electronic device, including a second memory, a second processor, and a second computer program stored in the second memory and executable on the second processor, where the second processor implements a job scheduling configuration method of a software system as follows when executing the second computer program:
receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set;
if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated;
after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order;
and sending instantiation success information to the configuration server.
In an eighth aspect, the present invention also provides a computer-readable storage medium, on which a second computer program is stored, the second computer program, when executed by a second processor, implementing a job scheduling configuration method of a software system including:
receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set;
if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated;
after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order;
and sending instantiation success information to the configuration server.
According to the job scheduling configuration method and device of the software system, the first job scheduling work order is established and submitted according to the configuration change information of the first job scheduling, after the verification passing information of the first job scheduling work order is received, the first job scheduling work order is issued to the corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set, receives the instantiation success information returned by the scheduling server, synchronizes the configuration change set to the local version table, configuration change of enterprise-level job scheduling is realized through the configuration change set, and traceability of job scheduling is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic structural diagram of a job scheduling configuration system of a software system according to a first embodiment of the present invention.
Fig. 2 is a flowchart illustrating a job scheduling configuration method of a software system according to a second embodiment of the present invention.
Fig. 3 is a flowchart illustrating a job scheduling configuration method of a software system according to a third embodiment of the present invention.
Fig. 4 is a flowchart illustrating a job scheduling configuration method of a software system according to a fourth embodiment of the present invention.
Fig. 5 is a flowchart illustrating a job scheduling configuration method of a software system according to a fifth embodiment of the present invention.
Fig. 6 is a flowchart illustrating a job scheduling configuration method of a software system according to a sixth embodiment of the present invention.
Fig. 7 is a flowchart illustrating a job scheduling configuration method of a software system according to a seventh embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a job scheduling configuration apparatus of a software system according to an eighth embodiment of the present invention.
Fig. 9 is a schematic structural diagram of a job scheduling configuration apparatus of a software system according to a ninth embodiment of the present invention.
Fig. 10 is a schematic physical structure diagram of an electronic device according to a tenth embodiment of the present invention.
Fig. 11 is a schematic physical structure diagram of an electronic device according to an eleventh embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
In order to facilitate understanding of the technical solutions provided in the present application, the following first describes relevant contents of the technical solutions in the present application. Operation: a job is a program or running script that can be executed on a software system, including the program and parameter information required for the program to run. A job is the basic unit of execution and scheduling, representing an independently runnable instance of a function. And (3) operation flow: a workflow is a collection of jobs with one or more interdependencies of certain functions. Work orders: in this application, an abstract, generalized description of a workflow and its business rules between its various operational steps, as submitted by a system user, is referred to. Assembly of: refers to a software system that an enterprise depends on in operation.
In consideration of the requirements of process management, a work order mechanism needs to be introduced to perfect the approval process. The process management is achieved and the collective processing of configuration change is realized by combining the work order and the change set in a one-to-one corresponding mode. And adopting marking processing for each change, scheduling and configuring the whole design level of the work order to be a domain- > component- > operation flow- > operation, wherein each level has corresponding configuration information which is included in the configuration change set of the work order. In the most favorable situation, an enterprise-wide configuration center is set as a configuration and control center, so that a full-flow view of batch operation is easily formed, and centralized management is facilitated. Each component should be responsible for its corresponding scheduling configuration item, so that the component needs to maintain its own configuration through version management, and the number or other unique identifier of the component will become one of the primary keys of the configuration information. In the uniformly collected component configuration information, there is a need to change configuration, and then each change set can be considered to be integrated by using the work order number as a primary key, and each work order submits a corresponding configuration change set. Component change submissions are work order based. One work order only modifies the configuration of one component, and one component can establish a plurality of work orders to achieve the aim of modifying the configuration in multiple batches. The configuration change set should have atomic consistency, take effect uniformly, and not allow part to take effect, and adopt transactional operation, if some of the configurations do not pass verification, add failure or schedule operation failure, then need to be rolled back as a whole, so as to keep consistency between the demand state and the operation state. The configuration changeset should support both full coverage and incremental modification.
For the modification of the normalized and flow configuration, whether the automatic push import of the component or the manual modification, a work order is required to be established for circulation, so that the batch of the specification and the change on the flow is effective and bound. A work order is based on component operations that are modified into a transactional operation that either all succeeds or all fails.
Fig. 1 is a schematic structural diagram of a job scheduling configuration system of a software system according to a first embodiment of the present invention, and as shown in fig. 1, the job scheduling configuration system of the software system according to the embodiment of the present invention includes a configuration center 1, at least one scheduling center 2, and a service server cluster 3 corresponding to each scheduling center 2, where:
the configuration center 1 comprises at least one configuration server, each scheduling center 2 comprises at least one scheduling server, the service server cluster 3 comprises a plurality of service servers, each configuration server of the configuration center 1 is in communication connection with each scheduling server of each scheduling center 2, and each scheduling server of each scheduling center 2 is in communication connection with each service server of the corresponding service server cluster 3.
The configuration server of the configuration center 1 can establish a first job scheduling work order and submit the audit, then the first job scheduling work order passing the audit is issued to the scheduling center 2, the first job scheduling work order is instantiated by one scheduling server of the scheduling center 2, and the scheduling server can access the service server related to the first job scheduling work order in the service server cluster 3 according to the first job scheduling work order to complete the instantiation of the first job scheduling work order. Each service server will install the components. Each dispatch center 2 acts as a domain and has a unique corresponding domain identification.
Fig. 2 is a schematic flowchart of a job scheduling configuration method of a software system according to a second embodiment of the present invention, and as shown in fig. 2, the job scheduling configuration method of the software system according to the embodiment of the present invention includes:
s201, establishing a first job scheduling work order and submitting the first job scheduling work order according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
specifically, the configuration server may obtain configuration change information of a first job schedule, establish a first job scheduling work order according to the configuration change information of the first job schedule, and then submit the first job scheduling work order. The first job scheduling work order includes a configuration change set, the configuration change set includes a record of a change to a local configuration table, and the configuration change set may include a related component in a service server cluster corresponding to the same scheduling center, a job flow of the component, and a configuration change of a job. The content included in the configuration change set is set according to actual needs, and the embodiment of the present invention is not limited. The configuration change information may be manually input or may be imported through a configuration file, and the embodiment of the present invention is not limited.
For example, the configuration change set may form a configuration tree by following a field- > component- > job flow- > job, and the configuration tree may be graphically represented.
S202, if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
specifically, after the configuration server submits the first job scheduling work order, an auditor may audit the first job scheduling work order, and after the first job scheduling work order is audited by the auditor to be effective, the configuration server may receive the audit passing information of the first job scheduling work order. And after receiving the approval passing information of the first job scheduling work order, the configuration server sends the first job scheduling work order to the corresponding scheduling server. The first job scheduling work order may include a domain identifier, the domain identifier corresponds to the scheduling center one to one, the configuration server may send the first job scheduling work order to the scheduling center corresponding to the domain identifier according to the domain identifier included in the first job scheduling work order, one scheduling server of the scheduling center instantiates the first job scheduling work order according to the configuration change set, and the scheduling server that processes the first job scheduling work order is the scheduling server corresponding to the first job scheduling work order.
S203, receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
Specifically, after the scheduling server completes instantiation of the first job scheduling work order, instantiation success information is returned to the configuration server, and the scheduling server receives the instantiation success information. Due to successful instantiation, the configuration server synchronizes the configuration change set to the local version table, so that the local version table and the local configuration table are kept consistent.
According to the job scheduling configuration method of the software system, the first job scheduling work order is established and submitted according to the configuration change information of the first job scheduling, after the auditing pass information of the first job scheduling work order is received, the first job scheduling work order is issued to the corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set, receives the instantiation success information returned by the scheduling server, synchronizes the configuration change set to the local version table, realizes configuration change of enterprise-level job scheduling through the configuration change set, and improves the traceability of job scheduling. In addition, the consistency of the component configuration information between the configuration center and the service server cluster is ensured through the configuration change set.
On the basis of the foregoing embodiments, further, the method for scheduling and configuring a job of a software system according to an embodiment of the present invention further includes:
receiving instantiation failure information returned by the scheduling server, and backing a local configuration table according to the configuration change set; wherein the instantiation success information is sent by the scheduling server after the scheduling work order instantiation failure of the first job.
Specifically, the scheduling server returns instantiation failure information to the configuration server when instantiation of the first job scheduling work order fails, and the configuration server receives the instantiation failure information. And due to instantiation failure, the configuration server can back a local configuration table according to the configuration change set, namely, the local configuration table is restored to the state before the first job scheduling work order is established. The rollback of the local configuration is realized by changing the configuration set without manual modification, so that the reduction efficiency of the local configuration is improved.
Fig. 3 is a schematic flowchart of a job scheduling configuration method of a software system according to a third embodiment of the present invention, and as shown in fig. 3, on the basis of the foregoing embodiments, the job scheduling configuration method of the software system according to the embodiment of the present invention further includes:
s301, receiving configuration error prompt information returned by the scheduling server, and performing configuration modification reminding;
specifically, in the process of processing the first job scheduling work order, if it is found that the first job scheduling work order has wrong configuration such as a service server address error and a data format error, a configuration error prompt message may be returned to the configuration server, where the configuration error prompt message may include a reason for the error. After receiving the configuration error prompt message, the configuration server can send the configuration error prompt message to an operator configuring the first job scheduling in a mode of mail, system message and the like so as to remind the operator of modifying the configuration. The operator of the first job scheduling can modify the error configuration of the first job scheduling work order to obtain the modified first job scheduling work order. Wherein the operator of the first job schedule may be a person who inputs the configuration change information or who provides the configuration file.
S302, obtaining the modified first job scheduling work order and sending the modified first job scheduling work order to the scheduling server.
Specifically, the configuration server may obtain the modified first job scheduling work order, and then issue the modified first job scheduling work order to the scheduling server, where the scheduling server instantiates the modified first job scheduling work order.
Fig. 4 is a schematic flowchart of a job scheduling configuration method of a software system according to a fourth embodiment of the present invention, and as shown in fig. 4, on the basis of the foregoing embodiments, the job scheduling configuration method of the software system according to the embodiment of the present invention further includes:
s401, receiving auditing passing information of a second job scheduling work order;
specifically, the configuration server may obtain configuration change information of a second job schedule, establish a second job scheduling work order according to the configuration change information of the second job schedule, and then submit the second job scheduling work order. And after the second job scheduling work order is approved and validated by an auditor, the configuration server receives approval passing information of the second job scheduling work order.
S402, acquiring state information of the first job scheduling work order;
specifically, the configuration server may obtain status information of the first job scheduling work order, where the status information of the first job scheduling work order may include an audit status, an execution status, an inspection status, a completion status, and a failure status. The auditing state indicates that the first job scheduling work order is submitted and an auditing result is not obtained yet; the execution state indicates that the first job scheduling work order is issued to the scheduling server and the feedback information of the scheduling server is not received; the checking state shows that the scheduling server returns configuration error prompt information and does not issue the modified first job scheduling work order to the scheduling server; the completion state indicates that the configuration server receives instantiation success information returned by the scheduling server, and the first job scheduling work order is completed; and the failure state indicates that the configuration server receives instantiation failure information returned by the scheduling server, and the instantiation of the first job scheduling work order fails.
And S403, if the first job scheduling work order is not completed based on the state information of the first job scheduling work order, and if the first job scheduling work order and the second job scheduling work order are judged to be conflicted, the issuing of the second job scheduling work order is suspended.
Specifically, after obtaining the status information of the first job scheduling work order, the configuration server may obtain whether the first job scheduling work order is completed according to the status information of the first job scheduling work order. The configuration server may determine whether the first job scheduling work order and the second job scheduling work order conflict with each other according to whether there is a same change object in a change object related to the first job scheduling work order and a change object related to the second job scheduling work order, and if there is a same change object, the first job scheduling work order and the second job scheduling work order conflict with each other, and if there is no same change object, the first job scheduling work order and the second job scheduling work order do not conflict with each other. And if the configuration server judges that the first job scheduling work order is not finished and the first job scheduling work order and the second job scheduling work order conflict, pausing the issuing of the second job scheduling work order, and issuing the second job scheduling work order to a corresponding scheduling server after the first job scheduling work order is finished. The change target may refer to a scheduling center, a component, a job flow, or a job.
Fig. 5 is a flowchart of a job scheduling configuration method of a software system according to a fifth embodiment of the present invention, and as shown in fig. 5, further, on the basis of the foregoing embodiments, if determining that the first job scheduling work order and the second job scheduling work order conflict includes:
s501, obtaining a change object of the first job scheduling work order and a change object of the second job scheduling work order;
specifically, the first job scheduling work order includes an object related to a configuration change, that is, the first job scheduling work order change object. Similarly, the second job scheduling work order includes an object related to a configuration change, that is, the second job scheduling work order change object. The configuration server may acquire a change target of the first job scheduling work order and a change target of the second job scheduling work order.
And S502, if the situation that the change object of the first job scheduling work order is overlapped with the change object of the second job scheduling work order is judged and known, determining that the first job scheduling work order and the second job scheduling work order conflict.
Specifically, the configuration server compares the change target of the first job scheduling work order with the change target of the second job scheduling work order, and if one of the change targets of the first job scheduling work order is the same as one of the change targets of the second job scheduling work order, and it can be determined that the change target of the first job scheduling work order overlaps with the change target of the second job scheduling work order, it is determined that the first job scheduling work order and the second job scheduling work order conflict with each other.
On the basis of the foregoing embodiments, further, if it is known that the first job scheduling work order is not completed based on the status information of the first job scheduling work order, the method includes:
and if the state information of the first job scheduling work order is the execution state or the inspection state, determining that the first job scheduling work order is not finished.
Specifically, after obtaining the state information of the first job scheduling work order, the configuration server determines that the first job scheduling work order is not completed if the state information of the first job scheduling work order is in an execution state or an inspection state, which indicates that the first job scheduling work order needs to be further processed subsequently. And if the state information of the first job scheduling work order is in a completion state or a failure state, the first job scheduling work order is completed.
Fig. 6 is a flowchart illustrating a job scheduling configuration method of a software system according to a sixth embodiment of the present invention, and as shown in fig. 6, the job scheduling configuration method of the software system according to the embodiment of the present invention includes:
s601, receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
specifically, the configuration server may obtain configuration change information of a first job schedule, establish a first job scheduling work order according to the configuration change information of the first job schedule, and then submit the first job scheduling work order. After the first job scheduling work order is checked by the auditor to take effect, the configuration server receives the checking passing information of the first job scheduling work order, and then issues the first job scheduling work order to the corresponding scheduling server. The scheduling server receives the first job scheduling work order. Wherein the first job scheduling work order includes a configuration changeset.
S602, if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set;
specifically, after receiving the first job scheduling work order, the scheduling server performs static configuration check on the first job scheduling work order, and after the first job scheduling work order passes the static configuration check, generates a configuration table corresponding to the first job scheduling work order according to the configuration change set, that is, records, by using the configuration table, what configuration is performed on what objects in the configuration change set. The static configuration check includes checking a time format, a scheduling route format, and the like included in the first job scheduling work order, and those settings are set according to actual needs, which is not limited in the embodiment of the present invention.
For example, the granularity of the configuration needs to be considered based on the varying structure of the configuration change set, and the components, job flows, and jobs that can be configured according to the job schedule. The configuration change set needs to include all three changes described above. An enumeration type Object _ type may be defined, with different Object _ types indicating that an Object is changed to a component, a job stream, or a job. And the Object _ ID is used to indicate which Object is specifically changed. In the embodiment of the invention, all changes of one change are identified by taking the configuration change set as a unit by using the configuration table.
And simultaneously, the configuration table completely marks the change types of different change objects according to different granularities. Whether a component is added, deleted or modified requires the addition of an Upd _ type field. Similarly, job flow and jobs are marked in the same way for synchronization of the configuration table to the version table, while the Upd _ type field can be used for visualization.
The generation rule of Upd _ type is as follows: (1) if the original configuration table does not have the object, the configuration change set has the object, and the object (component/job flow/job) is newly added in the Upd _ type field in the configuration table; (2) if the object exists in the original configuration table and the configuration change set also has the object, the Upd _ type field of the object in the configuration table is modified; (3) if the object exists in the original configuration table, the object does not exist in the configuration change set and is modified in a full amount, and the Upd _ type field of the object in the configuration table is deleted; (4) if there is this object in the original configuration table, there is no such object in the configuration change set and the configuration change set is incremental modification, then the Upd _ type field of this object in the configuration table is unmodified.
The configuration table includes, but is not limited to, a work order number, a configuration change type, an object identifier, a domain identifier, a legal identifier, a tenant identifier, a creating user, a creating time, a modifying user, a modifying time, and the like.
S603, if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, instantiating the configuration table corresponding to the first job scheduling work order;
specifically, after obtaining the configuration table corresponding to the first job scheduling work order, the scheduling server performs state verification on all the service servers related to the configuration table corresponding to the first job scheduling work order to determine whether the service servers are suitable for performing configuration change of components, job flows and jobs, and if all the service servers are suitable for performing the configuration change and the configuration table corresponding to the first job scheduling work order passes dynamic verification, the scheduling server instantiates the configuration table corresponding to the first job scheduling work order, that is, instantiates all the configurations in the configuration table and converts the instantiated configurations into configurations of running examples. If any service server is not suitable for the configuration change, and the configuration table corresponding to the first job scheduling work order cannot pass the dynamic verification, the instantiation of the configuration table corresponding to the first job scheduling work order can be suspended until all the service servers are suitable for the configuration change. The dynamic verification of the configuration table corresponding to the first job scheduling work order is set according to actual needs, and the embodiment of the invention is not limited. The specific process of instantiating the configuration table is the prior art, and is not described herein again.
For example, the scheduling server may obtain current operating states of all the service servers related to the configuration table corresponding to the first job scheduling work order, determine whether a service is being processed according to the current operating state of each service server, if the service server has a service being processed, the service server is not suitable for performing configuration change, and if the service server is in an idle state, the configuration change may be performed.
S604, after the instantiation of the configuration table corresponding to the first job scheduling work order is completed, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order;
specifically, after the instantiation of the configuration table corresponding to the first job scheduling work order is completed, the scheduling server may synchronize the configuration change in the configuration table corresponding to the first job scheduling work order to the version table, and obtain the latest version table corresponding to the first job scheduling work order.
S605, sending instantiation success information to the configuration server.
Specifically, after obtaining the latest version table corresponding to the first job scheduling work order, the scheduling server sends instantiation success information to the configuration server, and the configuration server receives the instantiation success information. Due to successful instantiation, the configuration server synchronizes the configuration change set to the local version table, so that the local version table and the local configuration table are kept consistent.
The job scheduling configuration method of the software system provided by the embodiment of the invention comprises the steps of receiving a first job scheduling work order issued by a configuration server, generating a configuration table corresponding to the first job scheduling work order according to a configuration change set after judging that the first job scheduling work order passes static configuration verification, instantiating the configuration table corresponding to the first job scheduling work order after judging that the configuration table corresponding to the first job scheduling work order passes dynamic verification, obtaining a latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order after completing the instantiation of the configuration table corresponding to the first job scheduling work order, sending instantiation success information to the configuration server, realizing configuration change of enterprise-level job scheduling through the configuration change set of the first job scheduling work order, and recording the configuration change through the configuration table and the version table, the traceability of job scheduling is improved. In addition, the first job scheduling work order is used as a configuration change set carrier, configuration management and flow management are combined, and management is facilitated.
On the basis of the foregoing embodiments, further, the method for scheduling and configuring a job of a software system according to an embodiment of the present invention further includes:
and if the first job scheduling work order is judged to be verified not to pass the static configuration verification, returning configuration error prompt information to the scheduling server.
Specifically, the scheduling server may perform static configuration verification on the first job scheduling work order, and if the first job scheduling work order does not pass the static configuration verification, return configuration error prompt information to the scheduling server, where the configuration error prompt information may include an error reason. After receiving the configuration error prompt message, the configuration server can send the configuration error prompt message to an operator configuring the first job scheduling in a mode of mail, system message and the like so as to remind the operator of modifying the configuration.
For example, if the first job scheduling work order includes a time format that does not match a predetermined time format, then the first job scheduling work order may not pass the static configuration verification.
On the basis of the foregoing embodiments, further, the method for scheduling and configuring a job of a software system according to an embodiment of the present invention further includes:
and if the configuration table corresponding to the first job scheduling work order is judged to be failed to pass the dynamic verification, the instantiation of the configuration table corresponding to the first job scheduling work order is suspended.
Specifically, the scheduling server may perform status check on all the service servers related to the configuration table corresponding to the first job scheduling work order to determine whether the service servers are suitable for performing configuration change of components, job streams, and jobs, and if any one of the service servers is not suitable for performing the configuration change, and the configuration table corresponding to the first job scheduling work order cannot pass dynamic check, the instantiation of the configuration table corresponding to the first job scheduling work order may be suspended, and the instantiation of the configuration table corresponding to the first job scheduling work order may be performed until all the service servers are suitable for performing the configuration change.
Fig. 7 is a schematic flowchart of a job scheduling configuration method of a software system according to a seventh embodiment of the present invention, and as shown in fig. 7, on the basis of the foregoing embodiments, the job scheduling configuration method of the software system according to the embodiment of the present invention further includes:
s701, if the instantiation of the configuration table corresponding to the first job scheduling work order fails, acquiring an original version table corresponding to the first job scheduling work order based on the configuration change set, and synchronizing the configuration table corresponding to the first job scheduling work order according to the original version table corresponding to the first job scheduling work order;
specifically, in the process that the scheduling server instantiates the configuration table corresponding to the first job scheduling work order, if modification of any one configuration in the configuration table cannot be completed, the instantiation of the configuration table corresponding to the first job scheduling work order fails. The scheduling server may obtain the original version table corresponding to the first job scheduling work order according to the configuration change set, that is, obtain a change object and a configuration to be changed from the configuration change set, and obtain default information of the configuration to be changed of the change object from a default version table, where all the change objects in the configuration change set and the default information of the configuration to be changed of the change object constitute the original version table corresponding to the first job scheduling work order. And the scheduling server synchronizes the original version table corresponding to the first job scheduling work order into the configuration table corresponding to the first job scheduling work order, so that the configuration table corresponding to the first job scheduling work order is returned, and the configuration table recovers data before static configuration verification is carried out on the first job scheduling work order.
S702, sending instantiation failure information to the configuration server.
Specifically, the scheduling server sends instantiation failure information to the configuration server, and due to instantiation failure, the configuration server backs up the local configuration table according to the configuration change set, that is, the local configuration table is restored to the state before the first job scheduling worksheet is established.
According to the job scheduling configuration method of the software system, the configuration table and the version table are separated in the instantiation process, and when the instantiation fails, the rollback of the change of the configuration table can be realized, so that the reliability is improved.
Fig. 8 is a schematic structural diagram of a job scheduling configuration apparatus of a software system according to an eighth embodiment of the present invention, and as shown in fig. 8, the job scheduling configuration apparatus of the software system according to the embodiment of the present invention includes an establishing unit 801, a issuing unit 802, and a first receiving unit 803, where:
the establishing unit 801 is configured to establish a first job scheduling work order and submit the first job scheduling work order according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset; the issuing unit 802 is configured to issue the first job scheduling work order to a corresponding scheduling server after receiving the audit passing information of the first job scheduling work order, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set; the first receiving unit 803 is configured to receive instantiation success information returned by the scheduling server, and synchronize the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
Specifically, the creating unit 801 may obtain configuration change information of a first job schedule, create a first job scheduling work order according to the configuration change information of the first job schedule, and then submit the first job scheduling work order. The first job scheduling work order includes a configuration change set, and the configuration change set may include a related component in a service server cluster corresponding to the same scheduling center, a job flow of the component, and a configuration change of a job. The content included in the configuration change set is set according to actual needs, and the embodiment of the present invention is not limited. The configuration change information may be manually input or may be imported through a configuration file, and the embodiment of the present invention is not limited.
After the first job scheduling work order is submitted, an auditor audits the first job scheduling work order, and after the first job scheduling work order is audited by the auditor to be effective, the issuing unit 802 receives the audit passing information of the first job scheduling work order. After receiving the approval pass information of the first job scheduling work order, the issuing unit 802 sends the first job scheduling work order to the corresponding scheduling server. The first job scheduling work order may include a domain identifier, the domain identifier corresponds to the scheduling center one to one, the issuing unit 802 may send the first job scheduling work order to the scheduling center corresponding to the domain identifier according to the domain identifier included in the first job scheduling work order, a scheduling server of the scheduling center instantiates the first job scheduling work order according to the configuration change set, and a scheduling server that processes the first job scheduling work order is the scheduling server corresponding to the first job scheduling work order.
After the scheduling server completes instantiation of the first job scheduling work order, instantiation success information is returned to the first receiving unit 803, and the first receiving unit 803 receives the instantiation success information. Due to successful instantiation, the first receiving unit 803 synchronizes the configuration change set to the local version table, so that the local version table and the local configuration table are consistent.
According to the job scheduling configuration device of the software system, the first job scheduling work order is established and submitted according to the configuration change information of the first job scheduling, after the auditing pass information of the first job scheduling work order is received, the first job scheduling work order is issued to the corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set, receives the instantiation success information returned by the scheduling server, synchronizes the configuration change set to the local version table, realizes configuration change of enterprise-level job scheduling through the configuration change set, and improves the traceability of job scheduling. In addition, the consistency of the component configuration information between the configuration center and the service server cluster is ensured through the configuration change set.
Fig. 9 is a schematic structural diagram of a job scheduling configuration apparatus of a software system according to a ninth embodiment of the present invention, and as shown in fig. 9, the job scheduling configuration apparatus of the software system according to the ninth embodiment of the present invention includes a second receiving unit 901, a first verifying unit 902, a second verifying unit 903, an obtaining unit 904, and a sending unit 905, where:
the second receiving unit 901 is configured to receive a first job scheduling work order issued by a configuration server, where the first job scheduling work order is created and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset; the first checking unit 902 is configured to, after it is determined that the first job scheduling work order passes static configuration checking, generate a configuration table corresponding to the first job scheduling work order according to the configuration change set; the second checking unit 903 is configured to instantiate the configuration table corresponding to the first job scheduling work order after judging that it is known that the configuration table corresponding to the first job scheduling work order passes the dynamic checking; the obtaining unit 904 is configured to, after the instantiation of the configuration table corresponding to the first job scheduling work order is completed, obtain the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order; the sending unit 905 is configured to send instantiation success information to the configuration server.
Specifically, the configuration server may obtain configuration change information of a first job schedule, establish a first job scheduling work order according to the configuration change information of the first job schedule, and then submit the first job scheduling work order. After the first job scheduling work order is checked by the auditor to take effect, the configuration server receives the information that the first job scheduling work order is checked to be passed, and then issues the first job scheduling work order to the corresponding second receiving unit 901. The second receiving unit 901 receives the first job scheduling work order. Wherein the first job scheduling work order includes a configuration changeset.
After receiving the first job scheduling work order, the first checking unit 902 may perform static configuration checking on the first job scheduling work order, and after the first job scheduling work order passes the static configuration checking, generate a configuration table corresponding to the first job scheduling work order according to the configuration change set, that is, record, by using the configuration table, what configuration is performed on what objects in the configuration change set. The static configuration check includes checking a time format, a scheduling route format, and the like included in the first job scheduling work order, and those settings are set according to actual needs, which is not limited in the embodiment of the present invention.
After obtaining the configuration table corresponding to the first job scheduling work order, the second checking unit 903 may perform state checking on all the service servers related to the configuration table corresponding to the first job scheduling work order to determine whether the service servers are suitable for performing configuration change of components, job flows and jobs, and if all the service servers are suitable for performing the configuration change and the configuration table corresponding to the first job scheduling work order passes dynamic checking, the scheduling server instantiates the configuration table corresponding to the first job scheduling work order, that is, instantiates all the configurations in the configuration table and converts the instantiated configurations into configurations of running examples. If any service server is not suitable for the configuration change, and the configuration table corresponding to the first job scheduling work order cannot pass the dynamic verification, the instantiation of the configuration table corresponding to the first job scheduling work order can be suspended until all the service servers are suitable for the configuration change. The dynamic verification of the configuration table corresponding to the first job scheduling work order is set according to actual needs, and the embodiment of the invention is not limited. The specific process of instantiating the configuration table is the prior art, and is not described herein again.
After the instantiation of the configuration table corresponding to the first job scheduling work order is completed, the obtaining unit 904 may synchronize the configuration change in the configuration table corresponding to the first job scheduling work order to the version table, and obtain the latest version table corresponding to the first job scheduling work order.
After obtaining the latest version table corresponding to the first job scheduling work order, the sending unit 905 sends instantiation success information to the configuration server, and the configuration server receives the instantiation success information. Due to successful instantiation, the configuration server synchronizes the configuration change set to the local version table, so that the local version table and the local configuration table are kept consistent.
The job scheduling configuration device of the software system provided by the embodiment of the invention receives a first job scheduling work order issued by a configuration server, generates a configuration table corresponding to the first job scheduling work order according to a configuration change set after judging that the first job scheduling work order passes static configuration verification, instantiates the configuration table corresponding to the first job scheduling work order after judging that the configuration table corresponding to the first job scheduling work order passes dynamic verification, obtains a latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order after completing the instantiation of the configuration table corresponding to the first job scheduling work order, sends instantiation success information to the configuration server, realizes configuration change of enterprise-level job scheduling through the configuration change set of the first job scheduling work order, and records the configuration change through the configuration table and the version table, the traceability of job scheduling is improved. In addition, the first job scheduling work order is used as a configuration change set carrier, configuration management and flow management are combined, and management is facilitated.
The embodiment of the apparatus provided in the embodiment of the present invention may be specifically configured to execute the processing flow of the corresponding method embodiment, and the functions of the apparatus are not described herein again, and refer to the detailed description of the corresponding method embodiment.
Fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device may include: a first Processor (Processor)1001, a first communication Interface (communication Interface)1002, a first Memory (Memory)1003 and a first communication bus 1004, wherein the first Processor 1001, the first communication Interface 1002 and the first Memory 1003 complete communication with each other through the first communication bus 1004. The first processor 1001 may call logic instructions in the first memory 1003 to perform methods, including, for example: according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set; receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
The present embodiments disclose a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of performing a method comprising, for example: according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set; receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
The present embodiment provides a computer-readable storage medium storing a first computer program that causes a computer to execute a method, for example, including: according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set; receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
Fig. 11 is a schematic physical structure diagram of an electronic device according to another embodiment of the present invention, and as shown in fig. 11, the electronic device may include: a second Processor (Processor)1101, a second communication Interface (Communications Interface)1102, a second Memory (Memory)1103 and a second communication bus 1104, wherein the second Processor 1101, the second communication Interface 1102 and the second Memory 1103 complete communication with each other through the second communication bus 1104. The second processor 1101 may call logic instructions in the second memory 1103 to perform a method, for example, comprising: receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set; if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated; after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order; and sending instantiation success information to the configuration server.
The present embodiments disclose a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, the computer is capable of performing a method comprising, for example: receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set; if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated; after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order; and sending instantiation success information to the configuration server.
The present embodiment provides a computer-readable storage medium storing a second computer program that causes a computer to execute a method including, for example: receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset; if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set; if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated; after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order; and sending instantiation success information to the configuration server.
In addition, the logic instructions in the first memory 1003 and the second memory 1103 can be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer (which may be a personal computer, an apparatus, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the description herein, reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A job scheduling configuration method of a software system is characterized by comprising the following steps:
according to configuration change information of first job scheduling, establishing a first job scheduling work order and submitting the first job scheduling work order; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is received and the first job scheduling work order passes the examination and verification information, the first job scheduling work order is issued to a corresponding scheduling server, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
receiving instantiation success information returned by the scheduling server, and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
2. The method of claim 1, further comprising:
receiving instantiation failure information returned by the scheduling server, and backing a local configuration table according to the configuration change set; wherein the instantiation success information is sent by the scheduling server after the scheduling work order instantiation failure of the first job.
3. The method of claim 1, further comprising:
receiving configuration error prompt information returned by the scheduling server, and performing configuration modification reminding;
and acquiring the modified first job scheduling work order and issuing the modified first job scheduling work order to the scheduling server.
4. The method of any of claims 1 to 3, further comprising:
receiving the auditing passing information of the second job scheduling work order;
acquiring state information of the first job scheduling work order;
and if the fact that the first job scheduling work order is not finished is obtained based on the state information of the first job scheduling work order, and if the fact that the first job scheduling work order and the second job scheduling work order conflict is obtained through judgment, the issuing of the second job scheduling work order is suspended.
5. The method of claim 4, wherein determining that the first job scheduling work order and the second job scheduling work order conflict comprises:
acquiring a change object of the first job scheduling work order and a change object of the second job scheduling work order;
and if the situation that the change object of the first job scheduling work order is overlapped with the change object of the second job scheduling work order is judged and obtained, determining that the first job scheduling work order and the second job scheduling work order are in conflict.
6. The method of claim 4, wherein the determining that the first job scheduling work order is incomplete based on the status information of the first job scheduling work order comprises:
and if the state information of the first job scheduling work order is the execution state or the inspection state, determining that the first job scheduling work order is not finished.
7. A job scheduling configuration method of a software system is characterized by comprising the following steps:
receiving a first job scheduling work order issued by a configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
if the first job scheduling work order is judged to pass through static configuration verification, generating a configuration table corresponding to the first job scheduling work order according to the configuration change set;
if the configuration table corresponding to the first job scheduling work order is judged to pass the dynamic verification, the configuration table corresponding to the first job scheduling work order is instantiated;
after the instantiation of the configuration table corresponding to the first job scheduling work order is finished, obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order;
and sending instantiation success information to the configuration server.
8. The method of claim 7, further comprising:
and if the first job scheduling work order is judged to be verified not to pass the static configuration verification, returning configuration error prompt information to the configuration server.
9. The method of claim 7, further comprising:
and if the configuration table corresponding to the first job scheduling work order is judged to be failed to pass the dynamic verification, the instantiation of the configuration table corresponding to the first job scheduling work order is suspended.
10. The method of any of claims 7 to 9, further comprising:
if the instantiation of the configuration table corresponding to the first job scheduling work order fails, acquiring an original version table corresponding to the first job scheduling work order based on the configuration change set and synchronizing the configuration table corresponding to the first job scheduling work order according to the original version table corresponding to the first job scheduling work order;
and sending instantiation failure information to the configuration server.
11. A job scheduling configuration apparatus of a software system, comprising:
the system comprises an establishing unit, a processing unit and a processing unit, wherein the establishing unit is used for establishing a first job scheduling work order and submitting the first job scheduling work order according to configuration change information of first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
the issuing unit is used for issuing the first job scheduling work order to a corresponding scheduling server after receiving the auditing passing information of the first job scheduling work order, so that the scheduling server instantiates the first job scheduling work order according to the configuration change set;
the first receiving unit is used for receiving instantiation success information returned by the scheduling server and synchronizing the configuration change set to a local version table; wherein the instantiation success information is sent by the scheduling server after the instantiation of the first job scheduling work order is completed.
12. A job scheduling configuration apparatus of a software system, comprising:
the second receiving unit is used for receiving a first job scheduling work order issued by the configuration server, wherein the first job scheduling work order is established and approved by the configuration server according to the configuration change information of the first job scheduling; wherein the first job scheduling work order comprises a configuration changeset;
the first checking unit is used for generating a configuration table corresponding to the first job scheduling work order according to the configuration change set after judging that the first job scheduling work order passes static configuration checking;
the second checking unit is used for instantiating the configuration table corresponding to the first job scheduling work order after judging and knowing that the configuration table corresponding to the first job scheduling work order passes the dynamic checking;
the obtaining unit is used for obtaining the latest version table corresponding to the first job scheduling work order based on the configuration table corresponding to the first job scheduling work order after the instantiation of the configuration table corresponding to the first job scheduling work order is completed;
and the sending unit is used for sending instantiation success information to the configuration server.
13. An electronic device comprising a first memory, a first processor and a first computer program stored on the first memory and executable on the first processor, wherein the first processor implements the method of any of claims 1 to 6 when executing the first computer program.
14. A computer-readable storage medium, on which a first computer program is stored, which, when being executed by a first processor, carries out the method of any one of claims 1 to 6.
15. An electronic device comprising a second memory, a second processor and a second computer program stored on the second memory and executable on the second processor, wherein the second processor implements the method of any of claims 7 to 10 when executing the second computer program.
16. A computer-readable storage medium, on which a second computer program is stored, which, when being executed by a second processor, carries out the method of any one of claims 7 to 10.
CN202011038416.4A 2020-09-28 2020-09-28 Job scheduling configuration method and device of software system Pending CN112114954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011038416.4A CN112114954A (en) 2020-09-28 2020-09-28 Job scheduling configuration method and device of software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011038416.4A CN112114954A (en) 2020-09-28 2020-09-28 Job scheduling configuration method and device of software system

Publications (1)

Publication Number Publication Date
CN112114954A true CN112114954A (en) 2020-12-22

Family

ID=73798694

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011038416.4A Pending CN112114954A (en) 2020-09-28 2020-09-28 Job scheduling configuration method and device of software system

Country Status (1)

Country Link
CN (1) CN112114954A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115170153A (en) * 2022-06-10 2022-10-11 天翼爱音乐文化科技有限公司 Multi-dimensional attribute-based work order processing method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955770A (en) * 2014-05-04 2014-07-30 广东怡创科技股份有限公司 Dispatching command system
CN104158860A (en) * 2014-07-31 2014-11-19 国家超级计算深圳中心(深圳云计算中心) Job scheduling method and job scheduling system
US20160098292A1 (en) * 2014-10-03 2016-04-07 Microsoft Corporation Job scheduling using expected server performance information
CN107483276A (en) * 2017-09-26 2017-12-15 中国联合网络通信集团有限公司 Processing method, device and the sending down service platform of business
CN110825535A (en) * 2019-10-12 2020-02-21 中国建设银行股份有限公司 Job scheduling method and system
CN111400139A (en) * 2020-03-18 2020-07-10 中国建设银行股份有限公司 Multi-data center batch job management and control and scheduling system, method and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955770A (en) * 2014-05-04 2014-07-30 广东怡创科技股份有限公司 Dispatching command system
CN104158860A (en) * 2014-07-31 2014-11-19 国家超级计算深圳中心(深圳云计算中心) Job scheduling method and job scheduling system
US20160098292A1 (en) * 2014-10-03 2016-04-07 Microsoft Corporation Job scheduling using expected server performance information
CN107483276A (en) * 2017-09-26 2017-12-15 中国联合网络通信集团有限公司 Processing method, device and the sending down service platform of business
CN110825535A (en) * 2019-10-12 2020-02-21 中国建设银行股份有限公司 Job scheduling method and system
CN111400139A (en) * 2020-03-18 2020-07-10 中国建设银行股份有限公司 Multi-data center batch job management and control and scheduling system, method and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115170153A (en) * 2022-06-10 2022-10-11 天翼爱音乐文化科技有限公司 Multi-dimensional attribute-based work order processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN110941446B (en) Version release method and device based on multi-environment offline task
TWI411958B (en) Creating templates of offline resources
US10579599B2 (en) Upgrade of heterogeneous multi-instance database clusters
US9613330B2 (en) Identity and access management
US11966984B2 (en) Systems and method for combined account reconciliation and variance/flux analysis
US7827273B2 (en) Machine cluster topology representation for automated testing
CN110175822B (en) Equipment standing book management method and system
CN106844198A (en) Distributed dispatching automation test platform and method
US20220229824A1 (en) Compliance lifecycle management for cloud-based resources
CN111274052A (en) Data distribution method, server, and computer-readable storage medium
CN102169562A (en) Method and system for processing project plans
CN111401029A (en) Document version updating system and method based on document partition and collaborative editing
CN101788908A (en) Batch data processing method supporting breakpoint reget
CN115860451A (en) Flow operation method and device, electronic equipment and storage medium
CN112114954A (en) Job scheduling configuration method and device of software system
CN114787836A (en) System and method for remotely executing one or more arbitrarily defined workflows
US20220308911A1 (en) System and method for a distributed workflow system
JP6270008B1 (en) Transfer method
CN115630835A (en) Activity-based workflow general parameter configuration method and system
US20220188740A1 (en) Collaborative workflow control
US20140278639A1 (en) System and method for interface management
CN114282210A (en) Sandbox automatic construction method and system, computer equipment and readable storage medium
Achdian et al. Analysis of CI/CD Application Based on Cloud Computing Services on Fintech Company
CN115687054A (en) Self-adaptive test method and device based on service segmentation and restoration
CN112099805A (en) Method and device for issuing application, electronic equipment and storage medium

Legal Events

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