CN104765641B - A kind of job scheduling method and system - Google Patents
A kind of job scheduling method and system Download PDFInfo
- Publication number
- CN104765641B CN104765641B CN201410004083.1A CN201410004083A CN104765641B CN 104765641 B CN104765641 B CN 104765641B CN 201410004083 A CN201410004083 A CN 201410004083A CN 104765641 B CN104765641 B CN 104765641B
- Authority
- CN
- China
- Prior art keywords
- job
- information
- configuration information
- logic
- target terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of job scheduling method and systems, comprising: establishes the job library of storage job configuration information and the logic rules repository of storage operating room logic rules information;After receiving job initiation instruction, the job configuration information in the job library is read;The operation is dispatched according to the job configuration information, and the job execution for carrying job configuration information instruction is sent to target terminal;It receives after the target terminal executes the job processing information sent after the operation, the operation with the operation logic association is determined whether there is according to the job processing information and the logic rules information;Determine that the operation of scheduling and the operation logic association achievees the purpose that realize isomorphism, the Collaboration of isomery operation under distributed structure/architecture when there is the operation with the operation logic association.
Description
Technical field
The present invention relates to the management and running technology in Computers and Communication field more particularly to a kind of job scheduling method and it is
System.
Background technique
In existing large computer system, to remote computer perhaps equipment access and control as acquisition data or
Operation is executed, operation can be referred to as.Operation can be divided into number of different types, such as: the process for operating distance host can be considered as
Process operation needs to carry out logon operation by the agreements such as Telnet Telnet or SSH security protocol;Operation is long-range
The data visualization of database is database job, and database job can be further divided into the operation according to type of database, such as
The operation of the type of database such as Oracle, Sybase, mySQL, MSSQL server;Alternatively, according to the operation of data definition, such as
Database schema definitional language (Data Definition Language, DDL) operation;Alternatively, according to the operation of data manipulation,
Such as data Media Lab (Data Media Laboratory, DML) operation etc..Different types of operation, due to its target or
The difference of person's mode of operation, referred to as isomery operation.
Existing job scheduling technical solution mainly includes following two:
One is the prior art discloses a kind of computer group job scheduling system, comprising: at least one computing unit
Block, each computing unit block is connect with core switch, for fulfiling assignment and/or transmitting the task of data;Core is handed over
It changes planes, is connect with computing unit block, for acquiring the running parameter of computing unit block, a power is arranged to each running parameter
Value works out the corresponding load balance index of each computing unit block according to running parameter and corresponding weight;According to predetermined plan
It slightly, is the distribution operation of computing unit block and/or the transmitting data of the task according to load balance index, so as to avoid some port
The blocking of switch-spanning port data interaction, keeps allocation strategy more reasonable caused by the excessively busy or free time.
Another kind is that the prior art discloses a kind of method for solving job scheduling using directed acyclic graph, judges operation
The whether equal successful execution of all father's operations in preset job dependence relationship;When all father's operations of the operation are successful
It when execution, then triggers and executes the operation, there are data input and output to be one group for a high-performance calculation application decomposition
The calculating subjob of relationship, and the number in a high-performance calculation application between each subjob is shown using oriented no cyclogram
According to correlation.
Inventor in the implementation of the present invention, it is found that existing job scheduling technical solution at least has the following deficiencies:
The first scheme is scheduled only for isomorphism operation, does not make scheduling to different types of isomery operation;And the
Two kinds of schemes, not between operation logical relation and branch's judgement be described, and can not solve to deposit in the operation of practical O&M
Have circulation journey, it may be assumed that in an operation flow, cannot achieve the case where same operation is used for multiple times.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of job scheduling method and system, different type operation can be shielded
Difference realizes the unified configuration of isomorphism operation, isomery operation and cooperates.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
The embodiment of the invention provides a kind of job scheduling methods, this method comprises:
Establish the job library of storage job configuration information and the logic rules repository of storage operating room logic rules information;
After receiving job initiation instruction, the job configuration information in the job library is read;It is configured according to the operation
Operation described in message scheduling, and the job execution for carrying job configuration information instruction is sent to target terminal;
It receives after the target terminal executes the job processing information sent after the operation, is handled according to the operation
Information and the logic rules information determine whether there is the operation with the operation logic association;It determines and exists and the work
When the operation of industry logic association, the operation of scheduling and the operation logic association.
In above scheme, it is described according to the job processing information and the logic rules information determine whether there is with
The operation of the operation logic association, comprising:
The job processing information is parsed, determines the execution state of the operation;
According to the logic rules information of the operation executed in logic rules repository described in status inquiry, it is determined whether
In the presence of the operation with the operation logic association.
In above scheme, the method also includes:
It determines there is no when the operation with the operation logic association, ends processing the operation.
In above scheme, the job configuration information includes: homework type, target terminal, job content information.
It is described according to the job configuration information in above scheme, the job execution of the job configuration information will be carried
Instruction is sent to target terminal, comprising:
The operation for carrying the job configuration information is held according to the homework type, target terminal, job content information
Row instruction is sent to target terminal.
According to the above method, the embodiment of the invention also provides a kind of job scheduling system, which includes: configuration mould
Block, job scheduling module, communication module, rule engine module, wherein
The configuration module, for establishing the job library and storage operating room logic rules information of storage job configuration information
Logic rules repository;
The job scheduling module reads the operation configuration in the job library after receiving job initiation instruction
Information;The operation is dispatched according to the job configuration information, and the job execution for carrying the job configuration information is indicated
It is sent to the communication module;
The job execution received is indicated to send by the communication module for stating configuration information according to the operation
To target terminal;It receives after the target terminal executes the job processing information sent after the operation, at the operation
Reason information is sent to rule engine module;
The rule engine module, after receiving the job processing information, according to the job processing information with
And the logic rules information determines whether there is the operation with the operation logic association;It determines and exists and the operation logic
When associated operation, Xiang Suoshu job scheduling module sends job initiation instruction, indicates the job scheduling module schedules and institute
State the operation of operation logic association.
In above scheme, the rule engine module is specifically used for:
The job processing information is parsed, determines the execution state of the operation;
According to the logic rules information of the operation executed in logic rules repository described in status inquiry, it is determined whether
In the presence of the operation with the operation logic association.
In above scheme, the rule engine module is also used to:
It determines there is no when the operation with the operation logic association, ends processing the operation.
In above scheme, the job configuration information includes: homework type, target terminal, job content information.
In above scheme, the communication module is specifically used for:
The job execution received is indicated to send according to the homework type, target terminal, job content information
To target terminal.
Job scheduling method and system provided by the embodiment of the present invention, establish storage job configuration information job library and
Store the logic rules repository of operating room logic rules information;After receiving job initiation instruction, read in the job library
Job configuration information;The operation, and the work that the job configuration information will be carried are dispatched according to the job configuration information
Industry, which executes instruction, is sent to target terminal;It receives the target terminal and executes the job processing information sent after the operation
Afterwards, the work with the operation logic association is determined whether there is according to the job processing information and the logic rules information
Industry;When the determining operation existed with the operation logic association, the operation of scheduling and the operation logic association.The present invention is implemented
Example uses unified abstract architecture, can shield the realization details of different work, and by establishing the multiple isomorphisms of storage, isomery operation is matched
The job library of confidence breath, so that isomorphism, isomery operation are able to uniformly configure and cooperate;Also, it is advised based on operating room logic
Then the logical relation of operating room and branch's judgement are described, operating room is controlled by operating room logic rules information and cooperates with work
Make, so that cross-platform operation is cooperateed with, the operation O&M being widely used under distributed structure/architecture.
Using job scheduling method and system described in the embodiment of the present invention, compared with prior art, have following significant
Progress:
1) its collaborative work is made using operation logically: establishes storage operating room logic rules letter in the embodiment of the present invention
The logic rules repository of breath, wherein logic rules information be between operation logical relation and branch judgement carry out retouch
It states, rule engine module controls the collaborative work of operating room according to logic rules information, so that cross-platform operation is cooperateed with,
Improve the scope of application of automated job process flow.
2) using abstract isomery operation: the embodiment of the present invention can shield different work by the way that unified abstract architecture is arranged
Difference, isomorphism, the cooperation between isomery operation are realized, so that the operation of process operation, file system, database data, service
A variety of isomery operations such as operation are able to uniformly configure and cooperate.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of job scheduling system of the embodiment of the present invention;
Fig. 2 is job scheduling method of embodiment of the present invention flow diagram;
Fig. 3 is the flow diagram of the job scheduling in scene of the embodiment of the present invention 1.
Specific embodiment
In embodiments of the present invention, the job library and storage operating room logic rules information of storage job configuration information are established
Logic rules repository;After receiving job initiation instruction, the job configuration information in the job library is read;According to the work
Industry configuration information dispatches the operation, and sends and carry the job execution of the job configuration information and be indicated to target terminal;It receives
After executing the job processing information sent after the operation to the target terminal, according to the job processing information and described
Logic rules information determines whether there is the operation with the operation logic association;It determines and exists and the operation logic association
When operation, the operation of scheduling and the operation logic association.It so, it is possible to realize isomorphism, isomery operation under distributed structure/architecture
Collaboration.
Description of specific embodiments of the present invention with reference to the accompanying drawing.
Fig. 1 is the structural schematic diagram of the job scheduling system provided in the embodiment of the present invention, as shown in Figure 1, the operation tune
Degree system includes: configuration module 100, job scheduling module 101, communication module 102, rule engine module 103;Above-mentioned function mould
Block can be software function module, be also possible to hardware device.The job scheduling system can be distributed system or centralization
System, if distributed system, then above-mentioned functional module can be realized by hardware device respectively, pass through network between each hardware device
Interaction;If integrated system, then above-mentioned each functional module can be integrated in a hardware device by software realization.
Specifically, the configuration module 100, for establishing the job library for storing multiple isomorphisms or isomery job configuration information
With the logic rules repository of storage operating room logic rules information;
The job scheduling module 101, after receiving job initiation instruction, the operation read in the job library is matched
Confidence breath;The operation is dispatched according to the job configuration information, and the job execution for carrying the job configuration information is referred to
Show and is sent to the communication module 102;
The communication module 102 indicates the job execution received for stating configuration information according to the operation
It is sent to target terminal;It receives after the target terminal executes the job processing information sent after the operation, by the work
Industry processing information is sent to rule engine module 103;
The rule engine module 103, after receiving the job processing information, according to the job processing information
And the logic rules information determines whether there is the operation with the operation logic association;It determines to exist and be patrolled with the operation
When collecting associated operation, Xiang Suoshu job scheduling module 101 sends job initiation instruction, indicates the job scheduling module 101
The operation of scheduling and the operation logic association.
In the system, target terminal can have it is multiple, also, target terminal can for have the function of intelligent operation execution
Equipment, such as middleware server, application server, database, short message server etc., to various types in execution system
Isomorphism, isomery operation.
Based on above system framework, job scheduling process provided in an embodiment of the present invention is implemented as follows described:
In the system, configuration module 100 establishes the job library for storing multiple isomorphisms, isomery job configuration information, and builds
The logic rules repository of vertical storage operating room logic rules information;
Firstly, the job scheduling module 101 receive system according to setting time interval or setpoint frequency send just
After beginning job initiation instruction, the job configuration information in the job library is read;According to job configuration information scheduling
Initial job, and executed instruction to the initial job that the communication module 102 sends the carrying job configuration information;It is described logical
Believe that module 102 according to the operation states configuration information and executes instruction the initial job received and is sent to target terminal;
It receives after the target terminal executes the job processing information sent after the initial job, the job processing information is sent out
Give the rule engine module 103;
Then, after the rule engine module 103 receives the job processing information, according to the job processing information
And the logic rules information determines whether there is the subsequent branches operation with the initial job logic association;It determines and exists
When with the subsequent branches operation of the initial job logic association, Xiang Suoshu job scheduling module 101 sends schedule subsequent branch
The job initiation of operation indicates;
Finally, being read after the job initiation that the job scheduling module 101 receives the transmission of rule engine module 103 indicates
Take the job configuration information in the job library;According to the job configuration information schedule subsequent branch operation, to realize distribution
Isomorphism or the Collaboration of isomery operation under formula or integrated system framework.
For convenience of description, each section of job scheduling system described above is divided into various modules or unit point with function
It does not describe.It certainly, in carrying out the present invention can be each module or the function of unit in same or multiple softwares or hardware
It realizes.
In practical applications, when the configuration module 100, job scheduling module 101, communication module 102, regulation engine mould
When block 103 is integrated in a hardware device, the configuration module 100, job scheduling module 101, communication module 102, rule
Engine modules 103 can be by central processing unit (CPU), the microprocessor (MPU), Digital Signal Processing in job scheduling system
Device (DSP) or field programmable gate array (FPGA) are realized.Wherein, job scheduling system can be realized by server.
Based on system above framework, the embodiment of the present invention proposes a kind of job scheduling method, as shown in Fig. 2, of the invention
Embodiment job scheduling method includes:
Step S200: establishing the job library of storage job configuration information, and establishes storage operating room logic rules information
Logic rules repository.
This step can be realized by the configuration module in job scheduling system;
The job configuration information of multiple isomorphisms, isomery operation, the job configuration information are stored in this step, in job library
It include: the information such as homework type, target terminal, job content, authorization message, specific instruction, wherein homework type such as application behaviour
Work, database manipulation, middleware-operation, network operation etc.;Operation is set by unified, standardized abstract architecture and matches confidence
Breath can shield the difference of different type operation, the cooperation between isomorphism, isomery operation be realized, so that process operation, file system
A variety of isomorphisms, the isomery operations such as system, database data operation, server operation are able to uniformly configure and cooperate.
In this step, logic rules information is used the description of logical relation and branch's judgement progress between operation
The circulation of normalisation rule language configuration operating room such as jumps at the relationships, passes through the configuration to operating room logic rules, realizes distribution
Formula or the isomorphism under integrated system framework, isomery operation work compound.
Step S201: after receiving job initiation instruction, the job configuration information in the job library is read;According to described
Job configuration information dispatches the operation, and the job execution for carrying job configuration information instruction is sent to target end
End.
This step can be realized with the job scheduling module and communication module in job scheduling system;
In this step, it is to be pressed by system according to dispatching cycle that job scheduling module 101, which initially receives job initiation instruction,
It is sent according to setting time interval or setpoint frequency, that is, what is initially received is initial job starting instruction.It is initial receiving
After job initiation instruction, the initial job configuration in the job library is read, is dispatched according to the configuration information of the initial job
The initial job, and the job execution for carrying initial job configuration information instruction is sent to the communication module 102,
The communication module 102 states configuration information according to the initial job and the job execution received instruction is sent to target
Terminal executes the operation by the target terminal;After receiving the job initiation instruction of rule engine module transmission, operation
Scheduler module 101 reads the configuration information of the subsequent branches operation in the job library, according to matching for the subsequent branches operation
Set subsequent branches operation described in message scheduling.
Specifically, the job configuration information includes: the letter such as homework type, target terminal, job content, specific instruction
Breath, job content such as process operation, file system operation, database manipulation, data acquisition operations, server operation etc..Specifically
, communication module 102 is determined to execute the mesh of the operation according to the homework type, target terminal, job content information first
Terminal is marked, job execution instruction information is then sent to the target terminal, by the target terminal according to the operation
The information such as type, job content, specific instruction execute the operation.
Preferably, communication module 102 is sent after being encrypted to the job execution instruction received using Encryption Algorithm
To target terminal, to improve the safety of information.Here the Encryption Algorithm with certain encryption intensity can be designed, here to adding
Close algorithm is not especially limited.
The communication of job scheduling module 101 and controlled object terminal is realized in the embodiment of the present invention using communication module 102,
Operation publication, notice and the function of receiving operation processing result are provided.
Step S202: it receives after the target terminal executes the job processing information sent after the operation, according to institute
It states job processing information and the logic rules information determines whether there is operation with the operation logic association;Determination is deposited
In the operation with the operation logic association, the operation of scheduling and the operation logic association.
This step can be with communication module, rule engine module and the job scheduling module three in job scheduling system
It realizes;
In this step, communication module 102 receives the target terminal and executes the operation processing letter sent after the operation
After breath, the job processing information is sent to rule engine module 103;The rule engine module 103 receives the work
After industry handles information, determines whether there is and patrolled with the operation according to the job processing information and the logic rules information
Collect associated operation;Determine that Xiang Suoshu job scheduling module 101 sends operation when there is the operation with the operation logic association
Starting instruction indicates the operation of job scheduling module 101 scheduling and the operation logic association.
Specifically, the rule engine module 103 described first parses the job processing information, extracted or is calculated,
Determine the execution state of the operation;Then, in the logic rules repository according to the execution status inquiry of the operation
Logic rules information, judgement jump logic and determine whether there is the subsequent branches operation with the operation logic association, really
When the fixed subsequent branches operation existed with the operation logic association, Xiang Suoshu job scheduling module 101 sends job initiation and refers to
Show, indicates the subsequent branches operation of job scheduling module 101 scheduling and the operation logic association, be then transferred to step
S201 cooperates to control operating room according to operating room logic rules information, so that cross-platform operation is cooperateed with, extensively
The general operation O&M suitable under distributed structure/architecture.
Further, the rule engine module 103 determines that there is no make with the subsequent branches of the operation logic association
When industry, the process of the operation is ended processing, waits the beginning of next dispatching cycle.
In the above embodiment of the present invention, the job library and storage operating room logic rules of storage job configuration information are established
The logic rules repository of information;After receiving job initiation instruction, the job configuration information in the job library is read;According to institute
It states job configuration information and dispatches the operation, and send and carries the job execution of the job configuration information to be indicated to target whole
End;Receive after the target terminal executes the job processing information sent after the operation, according to the job processing information with
And the logic rules information determines whether there is the operation with the operation logic association;It determines and exists and the operation logic
When associated operation, the operation of scheduling and the operation logic association.In this way, shielding is not using the abstract architecture of unified standard
The difference of same type operation stores the job library of multiple isomorphisms, isomery job configuration information by establishing, so that isomorphism, isomery
Operation is able to uniformly configure and cooperate;And operating room is controlled by operating room logic rules information to cooperate, so that
Cross-platform operation is cooperateed with, the operation O&M being widely used under distributed structure/architecture.
In order to be more clearly illustrated to the embodiment of the present invention, below by taking scene 1 shown in Fig. 3 as an example, to operation tune
Degree process is described in detail.
As shown in figure 3, the data exception of certain application system database causes application process ossified in the scene, by automatic
Job scheduling method realizes that the discovery of failure and automation exclude.
Four operations of this scene 1: one log monitoring of operation, two data scrubbing of operation, three process of operation restart, operation four
Short message alarm, four operations here are typical isomery operations, and operation object, principle, agreement belong to different field.Its
In, log monitoring is the retrieval and operation operation to file, and data scrubbing is to be accessed by database protocol and modify database
Data, process are restarted, and are that distance host shell operation is carried out by Telnet SSH agreement, last short message alarm is to connect
Connect Short Message Service Gateway, by China Mobile's internet short message gateway interface protocol (China Mobile Peer to Peer,
CMPP the transmission of short message) is completed.
1 application configuration module 100 of this scene establishes the job library of storage job configuration information, and establishes storage operating room and patrol
Collect the logic rules repository of Rule Information.The unified configuration of isomorphism, isomery operation, job library are provided by job configuration information
In job configuration information can be identified by job scheduling module 101, and controlled object terminal is sent to by communication module 102;
Four isomery operation compositions are monitored and processed into service logic by logic rules configuration, realize automatically-monitored and troubleshooting
Work.
The specific implementation flow that four isomery operations cooperate in this scene 1 is as follows:
Step 1: job scheduling module 101 is according to the job configuration information in job library, timer-triggered scheduler operation one, operation one
It is published to target terminal by communication module 102, operation one is executed by target terminal;After target terminal executes operation one, lead to
Believe that module 102 obtains the information that target terminal returns, and the information for making to return is sent to rule engine module 103;
Step 2: rule engine module 103 judges the ossified state of log according to return information, it is determined whether meets ossified item
Part, if being unsatisfactory for ossified condition, work flow terminates, and system waits start next dispatching cycle;If meeting ossified condition,
Then rule engine module 103 indicates that the scheduling of job scheduling module 101 is made according to the ossified logic of log in logic rules repository
Industry two clears up the data scrubbing operation for causing process ossified, is transferred to step 3;
Step 3: the configuration information of the reading operation two from job library of job scheduling module 101, operation two pass through communication mould
Block 102 is published to target terminal, is executed by target terminal;After target terminal has executed operation two, communication module 102 obtains mesh
The information that terminal returns is marked, and the information of return is sent to rule engine module 103;
Step 4: rule engine module 103 judges data scrubbing state according to return information, it is determined whether it clears up successfully, if
Cleaning is failed, then according to data scrubbing logic, indicates that 101 schedule job four of job scheduling module, i.e. short message alarm operation turn
Enter step 5;If clearing up successfully, according to data scrubbing logic, 101 schedule job three of job scheduling module, i.e. process weight are indicated
Operation is opened, step 6 is transferred to;
Step 5: the configuration information of the reading operation four from job library of job scheduling module 101, operation four pass through communication mould
Block 102 is issued, and is executed by target terminal and sent alarm message, and after target terminal executes the operation four, communication module 102 is obtained
The information for taking target terminal to return, work flow terminates, into artificial treatment process;
Step 6: reading operation three from job library of job scheduling module 101 are published to target terminal by communication module,
It is executed by target terminal, after target terminal executes operation three, communication module 102 obtains the information that target terminal returns;
Step 7: rule engine module 103 judges rebooting status according to return information, it is determined whether success is restarted, if restarting
Failure then restarts logic according to process, indicates 101 schedule job four of job scheduling module, is transferred to step 8;If restarting success,
Process terminates;
Step 8: reading operation four from job library of job scheduling module 101, operation four are published to by communication module 102
Target terminal executes operation four by target terminal and sends alarm message, after target terminal executes operation four, communication module 102
The information that target terminal returns is obtained, work flow terminates, into artificial treatment process.
In this scene, confidence is matched by the job configuration information in job library and the rule in logic rules repository
Breath, the automatic fault realized logically exclude business.And pass through the configuration to operation and operating room logic rules, this hair
It is bright also to support more complicated, the work flow of more multiple-limb.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of job scheduling method, which comprises the steps of:
Establish the job library of storage job configuration information and the logic rules repository of storage operating room logic rules information;Its
In, the job library of the job configuration information includes: the job library and isomery job configuration information of isomorphism job configuration information
Job library;Wherein, the logic rules information is the description to logical relation and branch's judgement progress between operation;It is described to patrol
The relationship of collecting includes: the circulation of operating room or jumps;
After receiving job initiation instruction, the job configuration information in the job library is read;According to the job configuration information
The operation is dispatched, and the job execution for carrying job configuration information instruction is sent to target terminal;
It receives after the target terminal executes the job processing information sent after the operation, according to the job processing information
And the logic rules information determines whether there is the operation with the operation logic association;It determines to exist and be patrolled with the operation
When collecting associated operation, the operation of scheduling and the operation logic association.
2. the method according to claim 1, wherein described according to the job processing information and the logic
Rule Information determines whether there is the operation with the operation logic association, comprising:
The job processing information is parsed, determines the execution state of the operation;
According to the logic rules information of the operation executed in logic rules repository described in status inquiry, it is determined whether exist
With the operation of the operation logic association.
3. the method according to claim 1, wherein the method also includes:
It determines there is no when the operation with the operation logic association, ends processing the operation.
4. method according to any one of claims 1 to 3, which is characterized in that the job configuration information includes: class of jobs
Type, target terminal, job content information.
5., will be described in carrying according to the method described in claim 4, it is characterized in that, described according to the job configuration information
The job execution instruction of job configuration information is sent to target terminal, comprising:
The job execution for carrying the job configuration information is referred to according to the homework type, target terminal, job content information
Show and is sent to target terminal.
6. a kind of job scheduling system, which is characterized in that the system comprises: configuration module, job scheduling module, communication mould
Block, rule engine module, wherein
The configuration module, for establishing the job library of storage job configuration information and patrolling for storage operating room logic rules information
Collect regular repository;Wherein, the job library of the job configuration information includes: the job library and isomery of isomorphism job configuration information
The job library of job configuration information;Wherein, the logic rules information be between operation logical relation and branch judge into
Capable description;The logical relation includes: the circulation of operating room or jumps;
The job scheduling module reads the job configuration information in the job library after receiving job initiation instruction;
The operation is dispatched according to the job configuration information, and the job execution for carrying job configuration information instruction is sent to
The communication module;
The job execution received instruction is sent to mesh for stating configuration information according to the operation by the communication module
Mark terminal;It receives after the target terminal executes the job processing information sent after the operation, the operation is handled and is believed
Breath is sent to rule engine module;
The rule engine module, after receiving the job processing information, according to the job processing information and institute
It states logic rules information and determines whether there is operation with the operation logic association;It determines and exists and the operation logic association
Operation when, Xiang Suoshu job scheduling module send job initiation instruction, indicate the job scheduling module schedules and the work
The operation of industry logic association.
7. system according to claim 6, which is characterized in that the rule engine module is specifically used for:
The job processing information is parsed, determines the execution state of the operation;
According to the logic rules information of the operation executed in logic rules repository described in status inquiry, it is determined whether exist
With the operation of the operation logic association.
8. system according to claim 6, which is characterized in that the rule engine module is also used to:
It determines there is no when the operation with the operation logic association, ends processing the operation.
9. according to the described in any item systems of claim 6 to 8, which is characterized in that the job configuration information includes: class of jobs
Type, target terminal, job content information.
10. system according to claim 9, which is characterized in that the communication module is specifically used for:
The job execution received instruction is sent to mesh according to the homework type, target terminal, job content information
Mark terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410004083.1A CN104765641B (en) | 2014-01-02 | 2014-01-02 | A kind of job scheduling method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410004083.1A CN104765641B (en) | 2014-01-02 | 2014-01-02 | A kind of job scheduling method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104765641A CN104765641A (en) | 2015-07-08 |
CN104765641B true CN104765641B (en) | 2019-04-12 |
Family
ID=53647488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410004083.1A Active CN104765641B (en) | 2014-01-02 | 2014-01-02 | A kind of job scheduling method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104765641B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105808333B (en) * | 2016-03-04 | 2019-07-26 | 上海携程商务有限公司 | Method for allocating tasks and system |
CN106293971A (en) * | 2016-08-15 | 2017-01-04 | 张家林 | A kind of method and apparatus of distributed task dispatching |
CN107797795A (en) * | 2016-08-30 | 2018-03-13 | 耀欣数位科技股份有限公司 | The logistics and supply-chain management system and its development approach of pattern development |
CN106156956A (en) * | 2016-08-30 | 2016-11-23 | 广东华际友天信息科技有限公司 | A kind of bank data processing job scheduling system and method thereof |
CN107767007A (en) * | 2016-09-05 | 2018-03-06 | 北京三快在线科技有限公司 | Method for allocating tasks and device |
CN107316124B (en) * | 2017-05-10 | 2018-08-31 | 中国航天***科学与工程研究院 | Extensive affairs type job scheduling and processing general-purpose system under big data environment |
CN108037991A (en) * | 2017-12-26 | 2018-05-15 | 中山大学 | A kind of timing operation dispatching method and system for supporting job dependence relation |
CN111324427B (en) * | 2018-12-14 | 2023-07-28 | 深圳云天励飞技术有限公司 | Task scheduling method and device based on DSP |
CN110018906B (en) * | 2019-02-26 | 2020-11-27 | 上海丽人丽妆网络科技有限公司 | Scheduling method, server and scheduling system |
CN111400011B (en) * | 2020-03-19 | 2023-10-20 | 中国建设银行股份有限公司 | Real-time task scheduling method, system, equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101473305A (en) * | 2006-04-28 | 2009-07-01 | 网络装置公司 | System and method for management of jobs in a cluster environment |
CN101887381A (en) * | 2010-06-22 | 2010-11-17 | 北京伟库电子商务科技有限公司 | Method and device for configuring timing tasks based on Quartz frame |
CN101963921A (en) * | 2010-09-21 | 2011-02-02 | 卓望数码技术(深圳)有限公司 | Operation scheduling method and system |
CN103473642A (en) * | 2013-09-10 | 2013-12-25 | 中国科学院沈阳自动化研究所 | Method for rule engine for production dispatching |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8913729B2 (en) * | 2009-10-29 | 2014-12-16 | Verizon Patent And Licensing Inc. | Automated provisioning |
-
2014
- 2014-01-02 CN CN201410004083.1A patent/CN104765641B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101473305A (en) * | 2006-04-28 | 2009-07-01 | 网络装置公司 | System and method for management of jobs in a cluster environment |
CN101887381A (en) * | 2010-06-22 | 2010-11-17 | 北京伟库电子商务科技有限公司 | Method and device for configuring timing tasks based on Quartz frame |
CN101963921A (en) * | 2010-09-21 | 2011-02-02 | 卓望数码技术(深圳)有限公司 | Operation scheduling method and system |
CN103473642A (en) * | 2013-09-10 | 2013-12-25 | 中国科学院沈阳自动化研究所 | Method for rule engine for production dispatching |
Also Published As
Publication number | Publication date |
---|---|
CN104765641A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104765641B (en) | A kind of job scheduling method and system | |
CN109684053B (en) | Task scheduling method and system for big data | |
CN107864174B (en) | Rule-based Internet of things equipment linkage method | |
WO2022095435A1 (en) | Multilevel linkage management platform for aiot device accessing paas and saas | |
CN105635283A (en) | Organization and management and using method and system for cloud manufacturing service | |
CN112134802A (en) | Edge computing power resource scheduling method and system based on terminal triggering | |
CN104219288B (en) | Distributed Data Synchronization method and its system based on multithreading | |
CN110430260A (en) | Robot cloud platform based on big data cloud computing support and working method | |
CN105450654B (en) | Smart home development platform and its business development method based on middleware Technology | |
CN110611707B (en) | Task scheduling method and device | |
CN103645909A (en) | Handling method and device for timed task | |
CN102236340B (en) | Multi-equipment management method and device | |
WO2020052133A1 (en) | Gateway communication method, gateway, and energy system | |
CN111026602A (en) | Health inspection scheduling management method and device of cloud platform and electronic equipment | |
CN103399787B (en) | A kind of MapReduce operation streaming dispatching method and dispatching patcher calculating platform based on Hadoop cloud | |
CN107861392A (en) | The data management platform and method of a kind of intelligent appliance | |
CN116506474B (en) | Electric power micro-service layering system based on cloud edge cooperation | |
CN109298937A (en) | Document analysis method and the network equipment | |
CN113949725A (en) | Cloud edge cooperation-based manufacturing resource access platform and method | |
CN109597837A (en) | Storage method, querying method and the relevant device of time series data | |
CN107248934A (en) | A kind of automatic detecting method and device | |
Theeten et al. | Towards the optimization of a parallel streaming engine for telco applications | |
CN105446812A (en) | Multitask scheduling configuration method | |
CN117172641A (en) | Production logistics management platform based on block chain and digital twin and implementation method | |
Hou et al. | Fragmentation and optimal deployment for iot-aware business process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |