CN110245009A - Periodic duty distribution method, device, computer equipment and storage medium - Google Patents
Periodic duty distribution method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110245009A CN110245009A CN201910399267.5A CN201910399267A CN110245009A CN 110245009 A CN110245009 A CN 110245009A CN 201910399267 A CN201910399267 A CN 201910399267A CN 110245009 A CN110245009 A CN 110245009A
- Authority
- CN
- China
- Prior art keywords
- periodic duty
- distribution
- execution
- label
- execution state
- 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.)
- Granted
Links
- 230000000737 periodic effect Effects 0.000 title claims abstract description 399
- 238000009826 distribution Methods 0.000 title claims abstract description 240
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000003860 storage Methods 0.000 title claims abstract description 12
- 238000012512 characterization method Methods 0.000 claims abstract description 51
- 230000008859 change Effects 0.000 claims description 44
- 230000009471 action Effects 0.000 claims description 37
- 238000004590 computer program Methods 0.000 claims description 27
- 239000000725 suspension Substances 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 238000012216 screening Methods 0.000 claims description 5
- 238000001914 filtration Methods 0.000 claims description 4
- 239000004744 fabric Substances 0.000 claims 1
- 238000012827 research and development Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241000607479 Yersinia pestis Species 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application involves research and development management domains, and in particular to a kind of distribution periodic duty distribution method, device, computer equipment and storage medium.The described method includes: obtaining the configuration file that timing executes periodic duty;Periodic duty set is parsed from the configuration file, executes the time and distribution label, and the distribution label is used to characterize the execution state of the periodic duty;It is filtered out from the periodic duty set and reaches the periodic duty for executing the time in preset time range;Execution state to the distribution tag characterization is the periodic duty pause distribution in execution;Execution state to the distribution tag characterization is that the periodic duty being not carried out carries out distributed allocation according to the execution time, and the execution state of corresponding distribution label is updated in execution according to the executive condition of the periodic duty.The generation that junk data can be reduced using this method is reduced the frequency to report an error by junk data, has saved entreprise cost.
Description
Technical field
This application involves field of computer technology, set more particularly to a kind of periodic duty distribution method, device, computer
Standby and storage medium.
Background technique
In order to quickly handle a large amount of periodic duties, operation is generally allocated to task using distributed system.It is distributed
System includes the controlling equipment and multiple processors for executing periodic duty of task dispatching cycle.In actual production or application,
Partial periodicity task needs to obtain the task result in N+1 period according to the task result in N period, when the period in N period
Runtime is more than the cycle period of periodic duty, and when the N+1 period needs to run, distributed system can be by the N+1 weeks
The periodic duty of phase distributes to task device, at this point, in a distributed system, the N period, the N+1 period periodic duty simultaneously
Operation, and it is all made of the task result in N-1 period, so that controlling equipment is reported in the message analysis to periodic duty
Mistake, and then the connecting interface that processor and controlling equipment occurs reports an error.It may cause the slow of processor and controlling equipment when serious
Stagnant or even whole system failure, influences the normal use of system.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can reduce controlling equipment because junk data reports an error
Frequency, and then saved periodic duty distribution method, device, computer equipment and the storage medium of entreprise cost.
A kind of periodic duty distribution method, which comprises
Obtain the configuration file that timing executes periodic duty;
Periodic duty set is parsed from the configuration file, executes the time and distribution label, the distribution label use
In the execution state for characterizing the periodic duty;
It is filtered out from the periodic duty set and reaches the period for executing the time times in preset time range
Business;
Execution state to the distribution tag characterization is the periodic duty pause distribution in execution;
Execution state to the distribution tag characterization be the periodic duty that is not carried out according to the execution time into
Row distributed allocation, and be updated to execute by the execution state of corresponding distribution label according to the executive condition of the periodic duty
In.
Described filter out from the periodic duty set reaches institute in one of the embodiments, in preset time range
After the periodic duty for stating the execution time, comprising:
The action of each periodic duty is sent to terminal, executes time and distribution label;
Receive the institute obtained according to the action, the execution time and the distribution label that the terminal is sent
State the label change directive of periodic duty;
The execution state of the periodic duty, and the distribution to the periodic duty are changed according to the label change directive
The execution state of label is modified.
The execution state to the distribution tag characterization is the period in execution in one of the embodiments,
After task suspension distribution, comprising:
The execution state for obtaining the operation distribution tag characterization respectively is each the first of the periodic duty in execution
The current operating parameter of processor;
Obtain theoretical operating parameter and stripped deviation value range;
Calculate the present deviation value of the current operating parameter and the theoretical operating parameter;
When the present deviation value exceeds the stripped deviation value range, the periodic duty operation failure is determined;
The execution state of the distribution label of the periodic duty of operation failure is changed to be not carried out.
The generating mode of the configuration file in one of the embodiments, comprising:
It obtains periodic duty and executes the time;
Task attribute information is obtained according to the periodic duty;
According to the task attribute information and the execution time task work order of the building comprising distribution label;
Configuration file is generated according to the task work order.
The execution state to the distribution tag characterization is the period being not carried out in one of the embodiments,
Task carries out distributed allocation according to the execution time, and is marked corresponding distribution according to the executive condition of the periodic duty
The execution state of label is updated in execution, comprising:
Obtain the second processing that can be performed that the execution state for distributing tag characterization is the periodic duty being not carried out
The quantity of device;
It is the action and the second processor of each periodic duty being not carried out according to the distribution label
Quantity determine the operation queue of the periodic duty;
Setting is associated to the operation queue and each second processor;
Start the second processor according to the execution time and runs the periodic duty;
The execution state of the corresponding distribution label of the periodic duty being run is updated in execution.
The execution state to the distribution tag characterization is the period being not carried out in one of the embodiments,
Task carries out distributed allocation according to the execution time, and is marked corresponding distribution according to the executive condition of the periodic duty
After the execution state of label is updated in execution, comprising:
When the periodic duty end of run after distribution, the periodic duty message that second processor is sent is received;
The periodic duty message is analyzed, and generates the operation result of the periodic duty;
It is modified according to execution state of the operation result to the distribution label of the periodic duty.
A kind of periodic duty distributor, described device include:
Configuration file obtains module, and the configuration file of periodic duty is executed for obtaining timing;
Periodic duty parsing module, for parsing periodic duty set, execution time from the configuration file and dividing
With label, the distribution label is used to characterize the execution state of the periodic duty;
Periodic duty screening module, for being filtered out from the periodic duty set in preset time range described in arrival
Execute the periodic duty of time;
Task suspension distribution module is appointed for the execution state to the distribution tag characterization for the period in execution
Business pause distribution;
Periodic duty distribution module is to appoint in the period being not carried out for the execution state to the distribution tag characterization
Business is according to executions time progress distributed allocation, and according to the executive condition of the periodic duty by corresponding distribution label
Execution state be updated in execution.
The label determination module includes: in one of the embodiments,
Mission bit stream transmission unit, for sent to terminal each periodic duty action, execute the time and point
With label;
Label change directive receiving unit, for receiving that the terminal sends according to the action, the execution
The label change directive for the periodic duty that time and the distribution label obtain;
Mission bit stream changing unit, for changing the execution state of the periodic duty according to the label change directive,
And the execution state of the distribution label of the periodic duty is modified.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
The step of device realizes the above method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step of above method is realized when row.
Above-mentioned periodic duty distribution method, device, computer equipment and storage medium obtain match relevant to periodic duty
File is set, and extracts the distribution label of periodic duty from configuration file, periodic duty is allocated according to distribution label,
Avoid periodic duty during periodically executing by repeated dispensing to different processors, reduce the life of junk data
At reducing the frequency that controlling equipment reports an error by junk data, saved entreprise cost.And the distribution label of periodic duty is
It is updated by system according to the variation of the operating status of the periodic duty is timely automated, effectively increases periodic duty processing
Efficiency.
Detailed description of the invention
Fig. 1 is the application scenario diagram of periodic duty distribution method in one embodiment;
Fig. 2 is the flow diagram of periodic duty distribution method in one embodiment;
Fig. 3 is the flow diagram that periodic duty distributes determination step in one embodiment;
Fig. 4 is the flow diagram of periodic duty distribution method in another embodiment;
Fig. 5 is the flow diagram of periodic duty allocation step in another embodiment;
Fig. 6 is the structural block diagram of periodic duty distributor in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Periodic duty distribution method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, eventually
End 102 is communicated by network with server 104.Wherein, terminal 102 can be, but not limited to be various personal computers, pen
Remember that this computer, smart phone, tablet computer and portable intelligent device, server 104 can be with independent servers either
The server cluster of multiple servers composition is realized.The configuration file of the acquisition periodic duty of server 104.Server 104 from
Periodic duty set is parsed in configuration file, executes the time and distribution label, and distribution label is for characterizing holding for periodic duty
Row state.Server 104 filters out the periodic duty for reaching in preset time range and executing the time from periodic duty set.Clothes
The execution state of 104 pairs of device distribution tag characterizations of business is periodic duty in execution pause distribution.104 pairs of distribution labels of server
The execution state of characterization is that the periodic duty being not carried out carries out distributed allocation, and holding according to periodic duty according to the time is executed
The execution state of corresponding distribution label is updated in execution by market condition.Terminal 102 can receive each of the transmission of server 104
The action of periodic duty executes time and distribution label, marks to the action of each periodic duty, execution time and distribution
Label are shown, and obtain the label change directive of the periodic duty of user's input.
In one embodiment, as shown in Fig. 2, providing a kind of periodic duty distribution method, it is applied to Fig. 1 in this way
In server 104 for be illustrated, comprising the following steps:
Step 202, the configuration file that timing executes periodic duty is obtained.
Server 104 can obtain the configuration file of periodic duty from configuration files database.Configuration file is user
Each periodic duty and corresponding execution time building as needed in advance.
Server can be in a job scheduling frame by dispatching configuration file come cycle of operation task, configuration file
Database can construct in job scheduling frame, can also be mutually indepedent with job scheduling frame.Job scheduling frame can be with
Using Spring frame or the job scheduling frame with similar functions.
Step 204, periodic duty set is parsed from the configuration file, executes the time and distribution label, described point
It is used to characterize the execution state of the periodic duty with label.
Server 104 can first extract work order of going out on missions from configuration file, then parse from task work order
Periodic duty set, corresponding execution time and distribution label out;Server can also directly parse week from configuration file
Phase set of tasks, corresponding execution time and distribution label.Task work order can be the action comprising periodic duty,
The operation code for executing the information such as time, distribution label is also possible to the action comprising periodic duty, executes the time, divides
Code operation sequence with label.Configuration file can contain multiple tasks work order, can also only contain a task work
It instructs.
Periodic duty can be each task that system needs to be implemented, and can be test assignment, operation task dispatching.Period appoints
The action of business can be certain operating parameters in acquisition system operational process, and be also possible in verifying system certain sets
For whether normal operation.The execution time of periodic duty can be according to the predetermined time cycle, be also possible to set in advance
At the time of determining etc..The distribution label of periodic duty is used to characterize the execution state of the periodic duty, is for judging whether pair
The label that periodic duty is allocated is automatically updated by system according to the execution state of periodic duty.
Step 206, it is filtered out from the periodic duty set and reaches the institute for executing the time in preset time range
State periodic duty.
Server 104 screens periodic duty in periodic duty set according to the time is executed, and when filtering out default
Between the periodic duty for executing the time is reached in range.The periodic duty that screening server goes out can be the period for needing to be immediately performed
Task is also possible to the periodic duty just needed to be implemented in preset time range, and preset time range can be by system or user
It is configured.When between when implemented for sometime period, server is filtered out and reaches the time cycle according to executing the time
Periodic duty;When being a certain setting moment between when implemented, server filters out arrival according to execution time and current time should
Set the periodic duty at moment.
It step 208, is the periodic duty pause distribution in execution to the execution state of the distribution tag characterization.
The execution state of 104 pairs of server distribution tag characterizations is the periodic duty pause distribution in execution.Distribution
Label can use textual representation, can also use character or the string representation of default, for example, when with textual representation, distribution
Label can be " periodic duty be currently running in, please suspend distribution ", " periodic duty is not yet run, and can be distributed ", " this
Periodic duty end of run, can distribute ", " periodic duty be carrying out in ", " periodic duty is not carried out ".Distribution mark
When label character representation, distribution label can be " 0 " and " 1 ", and user can set when in periodic duty execution, distribute label
It is 1, periodic duty is inseparable to match;When periodic duty is not carried out, distribution label is 0, and when distribution label is 0, periodic duty can
With distribution.
When distributing label textual representation, the execution state that server characterizes text is that task is in meaning in execution
Periodic duty suspend distribution;When distributing label character or string representation, server is according to each character or character string pair
Distribution label carries out identification and is week in execution according to execution state of the definition of character or character string to distribution tag characterization
The distribution of phase task suspension.
It step 210, is that the periodic duty being not carried out is held according to the execution state of the distribution tag characterization
The row time carry out distributed allocation, and according to the executive condition of the periodic duty by it is corresponding distribution label execution state more
New is in executing.
Server 104 supervises each periodic duty according to the distribution label of each periodic duty is timely automated.Server
The execution state of 104 pairs of distribution tag characterizations is that the periodic duty being not carried out carries out distributed allocation according to the execution time,
And the execution state of corresponding distribution label will be updated in execution according to the executive condition of periodic duty.Server can root
It determines that each periodic duty whether there is association according to action, then obtains the execution time of each periodic duty, appointed according to each period
The execution time of business randomly will have associated periodic duty to distribute to each processor.When server judges according to action
When relevance is not present in periodic duty, server at random can be allocated each periodic duty according to the time is executed;It can also be with
The quantity of the processor of executable periodic duty and the history run time of each periodic duty are obtained, holding for tag characterization will be distributed
Row state is that the periodic duty in being not carried out is divided into multiple operation queues, then root according to processor quantity and history run time
Each periodic duty is run according to the time is executed.
In above-mentioned periodic duty distribution method, configuration file relevant to periodic duty is obtained, and from configuration file
The distribution label for extracting periodic duty is allocated periodic duty according to distribution label, avoids periodic duty and executing
Different processors is given by repeated dispensing in the process, reduces the generation of junk data, reduces controlling equipment because of junk data
The frequency to report an error, has saved entreprise cost.And the distribution label of periodic duty is the operation by system according to the periodic duty
The variation of state is timely automated to be updated, and the efficiency of periodic duty processing is effectively increased.
In one embodiment, it is reached as shown in figure 3, being filtered out in preset time range from the periodic duty set
After the periodic duty for executing the time, have follow steps:
Step 302, the action of each periodic duty is sent to terminal, execute time and distribution label.
Server 104 first obtains the action of each periodic duty, executes time and distribution label, then sends out to terminal 102
It send the action of each periodic duty, execute time and distribution label.Server 104 can before each assignment period task,
It is arranged according to system to terminal 102 and sends various information relevant to periodic duty;It can also be according to the week sent from terminal 102
Phase task sends instruction to the action of 102 sending cycle task of terminal, execution time and distribution label.
Step 304, receive that the terminal sends according to the action, the execution time and the distribution label
The label change directive of the periodic duty obtained.
Terminal 102 receive periodic duty action, execute the time and distribution label, and to action, execute when
Between and distribution label shown, then obtain the label change directive of periodic duty input by user.Label change directive
It can be the program instruction of the generations such as voice messaging, the text information inputted according to user in terminal 102.Terminal 102 can obtain
The voice messaging or text information of family input are taken, and identifies that the period of user's change appoints according to voice messaging or text information
The distribution label of business.Terminal 102 can also obtain the period of user's change according to the click action that user executes on the terminal 102
The distribution label of task.For example, user can also open the browser interface of periodic duty, and click corresponding week on browser interface
The change button of phase task label, terminal 102 obtain the distribution label of change according to the click action of user, and generate label more
Change instruction.
Label change directive is sent to server 104 by terminal 102, server 104 receive that terminal sends according to work
Content executes the time and distributes the label change directive for the periodic duty that label obtains.
Step 306, the execution state of the periodic duty is changed according to the label change directive, and the period is appointed
The execution state of the distribution label of business is modified.
Server 104 identifies the label modification information of each periodic duty in outgoing label change directive, and is changed according to label
Information changes the execution state of corresponding periodic duty, then is modified to the expression of the periodic duty after change execution state.
Label change directive may include the label change information of one or more periodic duties.
For example, the execution state of A periodic duty is " in operation " or " in execution ", distribution label is " in execution ";The B period
The execution state of task is " not running " or " being not carried out ", and distribution label is " being not carried out ";The execution state of C periodic duty is
" in operation ", distribution label are " in execution ".The distribution label of A periodic duty is changed by " in execution " in label change directive
For " being not carried out ", the distribution label of B periodic duty is changed to " in execution " by " being not carried out ".According to label change directive, clothes
Business device can terminate A periodic duty immediately, then by the distribution label of A periodic duty by being changed to " being not carried out " " in execution ".According to
B periodic duty can be distributed to the processor of a certain free time by label change directive, server immediately, and device to be processed starts to execute B
After periodic duty, the distribution label of B periodic duty is changed to " in execution " by server by " being not carried out " again.
In above-mentioned periodic duty distribution method, terminal marks the action of each periodic duty, execution time and distribution
Label, which carry out display, allows user to understand the operating condition of current system, when in production process it is interim when something goes wrong, user
It can according to need the label change directive for the distribution label for allowing terminal to generate change cycle task, terminal is by label change directive
It is sent to server, the operating status of server change cycle task, so that loss is reduced to minimum.
In one embodiment, as shown in figure 4, the execution state to the distribution tag characterization is institute in execution
After stating periodic duty pause distribution, method is also had follow steps:
Step 402, it obtains respectively and runs the current of each first processor for being determined as the indistributable periodic duty
Operating parameter.
Server 104 obtains the current operation that operation is determined as each first processor of indistributable periodic duty respectively
Parameter.Periodic duty only in commission, can just be judged as inseparable match.Server, which obtains, executes the first of each periodic duty
The current operating parameter of processor.Current operating parameter can be the runing time of periodic duty or as periodic duty transported
The parameter etc. of guild's pests occurrence rule variation.
Step 404, theoretical operating parameter and stripped deviation value range are obtained.
Server 104 obtains theoretical operating parameter and corresponding stripped deviation value range.Theoretical operating parameter and theory are inclined
Difference range can be stored in advance in the database.The class of theoretical operating parameter, stripped deviation value range and current operating parameter
Type is consistent.For example, current operating parameter is the runing time of periodic duty, theoretical operating parameter is cycle of operation task needs
Theoretical runing time, stripped deviation value range be cycle of operation task allow deviation range.
Step 406, the present deviation value of the current operating parameter and the theoretical operating parameter is calculated.
Server 104 calculates the present deviation value of current operating parameter and theoretical operating parameter.Present deviation value can be
Difference between current operating parameter and theoretical operating parameter is also possible between current operating parameter and theoretical operating parameter
The probability numbers of difference relative theory operating parameter.
Step 408, when the present deviation value exceeds the stripped deviation value range, determine the periodic duty operation
Failure.
Server 104 is compared judgement to whether present deviation value exceeds stripped deviation value range.Work as present deviation value
When beyond stripped deviation value range, server determines periodic duty operation failure;When present deviation value falls into stripped deviation value model
When enclosing interior, server determines that periodic duty is in trouble-free operation, and server can obtain again in next assignment period task
Current operating parameter is taken, judgement is re-started.
Step 410, the execution state of the distribution label of the periodic duty of operation failure is changed to be not carried out.
Server 104 is changed to not according to execution state of the judgement result to the distribution label of the periodic duty of operation failure
It executes, and stores into configuration file, waiting for server redistributes periodic duty.
In above-mentioned periodic duty distribution method, server constantly examines the first processor of cycle of operation task
It looks into, avoids the occurrence of first processor and the case where temporary derangement, periodic duty can not continue to execute occur.
In one embodiment, the generating mode of configuration file, has follow steps: when obtaining periodic duty and executing
Between;Task attribute information is obtained according to the periodic duty;According to the task attribute information and execution time building packet
The task work order of the label containing distribution;Configuration file is generated according to the task work order.
Server 104 obtains periodic duty and the execution time of the periodic duty.Server is obtained according to periodic duty
Task attribute information.Task attribute information include task set a property and variable's attribute, such as set a property including task name
Claim, group, the executions program for realizing periodic duty, periodic duty where task need to transmit and the parameter of starting, whether with other
Periodic duty correlation and task objective etc., variable's attribute include the variable execution parameter etc. when executing periodic duty last time.
Server 104 is according to task attribute information and executes time building task work order, and task work order is not only
Comprising task attribute information and the time is executed, also comprising distribution label.Task work order can be include holding for periodic duty
Row time, task attribute information, the trigger name for triggering periodic duty and the operation code for above- mentioned information of connecting.In structure
During building task work order, distribution label is represented as " being not carried out ".Server can be true according to task work order
Title, execution time, executive mode, task Transfer Parameters and task objective of fixed cycle task etc..
Server 104 generates configuration file according to task work order.Server can be according to the pass of task work order
Multiple tasks work order is generated configuration file by connection property;Server can also generate configuration text according to a task work order
Part;Server can also be correspondingly generated configuration file by group according to group where the task of periodic duty.
In another embodiment, as shown in figure 5, to it is described distribution tag characterization execution state be not carried out described in
Periodic duty carries out distributed allocation according to the execution time, and according to the executive condition of the periodic duty by corresponding point
Execution state with label is updated in execution, is had follow steps:
Step 502, obtaining and the execution state of the distribution tag characterization can be performed is the periodic duty being not carried out
The quantity of second processor.
It is the periodic duty being not carried out that server 104, which obtains and the execution state of the distribution tag characterization can be performed,
The quantity of second processor.Second processor can be idle processor or will when being executed between idle processor.
It step 504, is the action and described for each periodic duty being not carried out according to the distribution label
The quantity of two processors determines the operation queue of the periodic duty.
Server 104 can determine that each periodic duty with the presence or absence of association, will have according to the action of each periodic duty
Related periodic duty is assigned in same operation queue, and according to the relevance between periodic duty to sequencing
Periodic duty is ranked up, when a certain periodic duty and other periodic duties are mutually indepedent, by the periodic duty and other weeks
Phase task sorts side by side.Server determines the quantity of operation queue according to the quantity of second processor, and then periodic duty is divided
It is fitted in multiple independent operation queues.The history run time of the available periodic duty of server, when according to history run
Between distribute the periodic duty of each operation queue so that the theoretical runing time of each operation queue is consistent;Server can also be uniform
Distribute the quantity of periodic duty in each operation queue.
Step 506, setting is associated to the operation queue and each second processor.
Server 104 is associated setting to operation queue and each second processor, and server can be according to operation queue
The execution time and free time of second processor setting is associated to operation queue and second processor.
Step 508, the second processor is started according to the execution time and runs the periodic duty.
Server 104 starts second processor cycle of operation task according to the time is executed, and carries out to each second processor
Monitoring is to realize to periodic duty distributed allocation.Server is dynamically distributed according to the operating status of each second processor and is run
Queue or dynamic adjust the periodic duty in each operation queue.
Step 510, the execution state of the corresponding distribution label of the periodic duty being run is updated in execution.
Server 104 identifies the operating status of each periodic duty, more by the corresponding distribution label of the periodic duty being run
It is new to be distributed for pause.
In above-mentioned periodic duty distribution method, server is grouped periodic duty, thus more reasonably to the period
Task is allocated, and has shortened total execution time of periodic duty, improves the efficiency of task distribution formula execution.
In some embodiments, to the execution state of the distribution tag characterization be the periodic duty that is not carried out according to
Execution time carries out distributed allocation, and according to the executive condition of the periodic duty by the execution of corresponding distribution label
State be updated to execute in after, have follow steps: when the periodic duty end of run after distribution, receiving at second
The periodic duty message that reason device is sent;The periodic duty message is analyzed, and generates the operation of the periodic duty
As a result;It is modified according to execution state of the operation result to the distribution label of the periodic duty.
When periodic duty end of run after distribution, server 104 receives the periodic duty that second processor is sent
Message, periodic duty message can be the data segment organized with fixed format, the title comprising periodic duty, message class
Type, message version, message length, the IP address of second processor, the input data of periodic duty and output data etc..Server
Periodic duty message is analyzed, the operation result of periodic duty is generated according to all data in message.Server according to
Operation result is modified the distribution label of the periodic duty of end of run, by the execution shape of the distribution label of periodic duty
State indistributable is changed to " being not carried out " by representing " in execution ".
In above-mentioned periodic duty distribution method, server receives the periodic duty message that processor is sent, and to week
Phase task message is analyzed as a result, updating distribution label based on the analysis results, again so as to subsequent cycle task
Secondary execution.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in fig. 6, providing a kind of periodic duty distributor, comprising: configuration file obtains
Module 602, periodic duty parsing module 604, periodic duty screening module 606, task suspension distribution module 608 and periodic duty
Distribution module 610, in which:
Configuration file obtains module 602, and the configuration file of periodic duty is executed for obtaining timing.
Periodic duty parsing module 604, for parsed from the configuration file periodic duty set, execute the time and
Label is distributed, the distribution label is used to characterize the execution state of the periodic duty.
Periodic duty screening module 606 is reached for filtering out in preset time range from the periodic duty set
The periodic duty for executing the time.
Task suspension distribution module 608 is the week in execution for the execution state to the distribution tag characterization
The distribution of phase task suspension.
Periodic duty distribution module 610 is the week being not carried out for the execution state to the distribution tag characterization
Phase task carries out distributed allocation according to the execution time, and according to the executive condition of the periodic duty by corresponding distribution
The execution state of label is updated in execution.
In another embodiment, label determination module 610 includes mission bit stream transmission unit, label change directive reception list
Member and mission bit stream changing unit, in which:
Mission bit stream transmission unit, for sent to terminal each periodic duty action, execute the time and point
With label.
Label change directive receiving unit, for receiving that the terminal sends according to the action, the execution
The label change directive for the periodic duty that time and the distribution label obtain.
Mission bit stream changing unit, for changing the execution state of the periodic duty according to the label change directive,
And the execution state of the distribution label of the periodic duty is modified.
In one embodiment, device further includes that current operating parameter obtains module, theoretical parameter obtains module, deviation
Computing module, task determination module and task status change module, in which:
Current operating parameter obtains module, runs the execution state for distributing tag characterization for obtaining respectively as execution
In the periodic duty each first processor current operating parameter.
Theoretical parameter obtains module, for obtaining theoretical operating parameter and stripped deviation value range.
Deviation computing module, for calculating the current deviation of the current operating parameter and the theoretical operating parameter
Value.
Task determination module, for determining the week when the present deviation value exceeds the stripped deviation value range
The failure of phase task run.
Task status changes module, the execution state change of the distribution label of the periodic duty for that will run failure
To be not carried out.
In some embodiments, configuration file obtain module 602 include task acquiring unit, attribute information acquiring unit,
Work order construction unit and configuration file generation unit, in which:
Task acquiring unit, for obtaining periodic duty and executing the time.
Attribute information acquiring unit, for obtaining task attribute information according to the periodic duty.
Work order construction unit, for including distribution mark according to the task attribute information and execution time building
The task work order of label.
Configuration file generation unit, for generating configuration file according to the task work order.
In another embodiment, periodic duty distribution module 610 is determined including processor number obtainment unit, operation queue
Unit, queue processor's associative cell, task start unit and distribution label changing unit, in which:
Processor number obtainment unit, for obtain can be performed it is described distribution tag characterization execution state be not carried out
The quantity of the second processor of the periodic duty.
Operation queue determination unit, for being in the work for each periodic duty being not carried out according to the distribution label
The quantity of appearance and the second processor determines the operation queue of the periodic duty.
Queue processor's associative cell, for being associated setting to the operation queue and each second processor.
Task start unit runs the periodic duty for starting the second processor according to the execution time.
Distribute label changing unit, for by the periodic duty being run it is corresponding distribution label execution state more
New is in executing.
In one embodiment, device further includes that message receiving module, operation result generation module and label change module,
Wherein:
Message receiving module when for the periodic duty end of run after distribution, receives second processor and sends
Periodic duty message.
Operation result generation module for analyzing the periodic duty message, and generates the periodic duty
Operation result.
Label changes module, for the execution shape according to the operation result to the distribution label of the periodic duty
State is modified.
Specific about periodic duty distributor limits the limit that may refer to above for periodic duty distribution method
Fixed, details are not described herein.Modules in above-mentioned periodic duty distributor can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing periodic duty distribution data, such as configuration file, theoretical operating parameter and stripped deviation value
Range, task attribute information etc..The network interface of the computer equipment is used to communicate with external terminal by network connection.It should
To realize a kind of periodic duty distribution method when computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of when executing computer program
Obtain the configuration file that timing executes periodic duty;
Periodic duty set is parsed from the configuration file, executes the time and distribution label, the distribution label use
In the execution state for characterizing the periodic duty;
It is filtered out from the periodic duty set and reaches the period for executing the time times in preset time range
Business;
Execution state to the distribution tag characterization is the periodic duty pause distribution in execution;
Execution state to the distribution tag characterization be the periodic duty that is not carried out according to the execution time into
Row distributed allocation, and be updated to execute by the execution state of corresponding distribution label according to the executive condition of the periodic duty
In.
In one embodiment, realization filters out pre- from the periodic duty set when processor executes computer program
If being also used to after the step of reaching the periodic duty for executing the time in time range: being sent to terminal each described
The action of periodic duty executes time and distribution label;Receive that the terminal sends according to the action, described
Execute the label change directive of the periodic duty of time and the distribution label acquisition;Become according to the label change directive
The execution state of the periodic duty, and the execution state of the distribution label of the periodic duty is modified.
In one embodiment, the execution state to the distribution tag characterization is realized when processor executes computer program
After the step of being distributed for the periodic duty pause in execution, it is also used to: obtains run the distribution tag characterization respectively
Execution state be the periodic duty in execution each first processor current operating parameter;Obtain theoretical operating parameter
With stripped deviation value range;Calculate the present deviation value of the current operating parameter and the theoretical operating parameter;Work as when described
When preceding deviation exceeds the stripped deviation value range, the periodic duty operation failure is determined;By the week of operation failure
The execution state of the distribution label of phase task is changed to be not carried out.
In one embodiment, when realizing the step of generating mode of configuration file when processor executes computer program,
It is also used to: obtaining periodic duty and execute the time;Task attribute information is obtained according to the periodic duty;According to the task
Attribute information and the execution time task work order of the building comprising distribution label;It is generated according to the task work order
Configuration file.
In one embodiment, the execution state to the distribution tag characterization is realized when processor executes computer program
The periodic duty to be not carried out carries out distributed allocation according to the execution time, and according to the execution of the periodic duty
When the execution state of corresponding distribution label is updated to step in execution by situation, be also used to: the distribution is can be performed in acquisition
The execution state of tag characterization is the quantity of the second processor for the periodic duty being not carried out;It is according to the distribution label
The action of each periodic duty and the quantity of the second processor that are not carried out determine the fortune of the periodic duty
Row queue;Setting is associated to the operation queue and each second processor;According to execution time starting
Second processor runs the periodic duty;The execution state of the corresponding distribution label of the periodic duty being run is updated
For pause distribution.
In one embodiment, the execution state to the distribution tag characterization is realized when processor executes computer program
The periodic duty to be not carried out carries out distributed allocation according to the execution time, and according to the execution of the periodic duty
After the execution state of corresponding distribution label is updated to step in execution by situation, it is also used to: week after distribution
At the end of phase task run, the periodic duty message that second processor is sent is received;The periodic duty message is analyzed,
And generate the operation result of the periodic duty;According to the operation result holding to the distribution label of the periodic duty
Row state is modified.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of when being executed by processor
Obtain the configuration file that timing executes periodic duty;
Periodic duty set is parsed from the configuration file, executes the time and distribution label, the distribution label use
In the execution state for characterizing the periodic duty;
It is filtered out from the periodic duty set and reaches the period for executing the time times in preset time range
Business;
Execution state to the distribution tag characterization is the periodic duty pause distribution in execution;
Execution state to the distribution tag characterization be the periodic duty that is not carried out according to the execution time into
Row distributed allocation, and be updated to execute by the execution state of corresponding distribution label according to the executive condition of the periodic duty
In.
In one embodiment, it realizes when computer program is executed by processor and is filtered out from the periodic duty set
It after the step of reaching the periodic duty for executing the time in preset time range, is also used to: sending each institute to terminal
It states the action of periodic duty, execute time and distribution label;Receive that the terminal sends according to the action, institute
State the label change directive for executing the periodic duty of time and the distribution label acquisition;According to the label change directive
The execution state of the periodic duty is changed, and the execution state of the distribution label of the periodic duty is modified.
In one embodiment, the execution shape to the distribution tag characterization is realized when computer program is executed by processor
It is also used to after the step of state is the periodic duty pause distribution in execution: obtaining run the distribution tag characterization respectively
Execution state be the periodic duty in execution each first processor current operating parameter;Obtain theoretical operating parameter
With stripped deviation value range;Calculate the present deviation value of the current operating parameter and the theoretical operating parameter;Work as when described
When preceding deviation exceeds the stripped deviation value range, the periodic duty operation failure is determined;To the week of operation failure
The execution state of the distribution label of phase task is changed to be not carried out.
In one embodiment, when realizing the step of generating mode of configuration file when computer program is executed by processor
It is also used to: obtaining periodic duty and execute the time;Task attribute information is obtained according to the periodic duty;According to the task
Attribute information and the execution time task work order of the building comprising distribution label;It is generated according to the task work order
Configuration file.
In one embodiment, the execution shape to the distribution tag characterization is realized when computer program is executed by processor
State is that the periodic duty being not carried out carries out distributed allocation, and holding according to the periodic duty according to the execution time
Market condition is also used to when the execution state of corresponding distribution label is updated to step in execution: the distribution can be performed in acquisition
The execution state of tag characterization is the quantity of the second processor for the periodic duty being not carried out;It is according to the distribution label
The action of each periodic duty and the quantity of the second processor that are not carried out determine the fortune of the periodic duty
Row queue;Setting is associated to the operation queue and each second processor;According to execution time starting
Second processor runs the periodic duty;The execution state of the corresponding distribution label of the periodic duty being run is updated
In executing.
In one embodiment, the execution shape to the distribution tag characterization is realized when computer program is executed by processor
State is that the periodic duty being not carried out carries out distributed allocation, and holding according to the periodic duty according to the execution time
The execution state of corresponding distribution label is updated to be also used to after in execution by market condition: periodic duty after distribution
When end of run, the periodic duty message that second processor is sent is received;The periodic duty message is analyzed, and is generated
The operation result of the periodic duty;According to the operation result to the execution state of the distribution label of the periodic duty
It is modified.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of periodic duty distribution method, which comprises
Obtain the configuration file that timing executes periodic duty;
Periodic duty set is parsed from the configuration file, executes the time and distribution label, and the distribution label is for table
Levy the execution state of the periodic duty;
It is filtered out from the periodic duty set and reaches the periodic duty for executing the time in preset time range;
Execution state to the distribution tag characterization is the periodic duty pause distribution in execution;
Execution state to the distribution tag characterization is that the periodic duty being not carried out divides according to the execution time
Cloth distribution, and the execution state of corresponding distribution label is updated in execution according to the executive condition of the periodic duty.
2. the method according to claim 1, wherein described when filtering out default from the periodic duty set
Between reach the periodic duty for executing the time in range after, comprising:
The action of each periodic duty is sent to terminal, executes time and distribution label;
Receive the week obtained according to the action, the execution time and the distribution label that the terminal is sent
The label change directive of phase task;
The execution state of the periodic duty is changed according to the label change directive, and to the distribution label of the periodic duty
Execution state be modified.
3. the method according to claim 1, wherein the execution state to the distribution tag characterization is to hold
After periodic duty pause distribution in row, comprising:
The execution state for obtaining the operation distribution tag characterization respectively is each first processing of the periodic duty in execution
The current operating parameter of device;
Obtain theoretical operating parameter and stripped deviation value range;
Calculate the present deviation value of the current operating parameter and the theoretical operating parameter;
When the present deviation value exceeds the stripped deviation value range, the periodic duty operation failure is determined;
The execution state of the distribution label of the periodic duty of operation failure is changed to be not carried out.
4. the method according to claim 1, wherein the generating mode of the configuration file, comprising:
It obtains periodic duty and executes the time;
Task attribute information is obtained according to the periodic duty;
According to the task attribute information and the execution time task work order of the building comprising distribution label;
Configuration file is generated according to the task work order.
5. the method according to claim 1, wherein the execution state to the distribution tag characterization is not
The periodic duty executed carries out distributed allocation according to the execution time, and according to the executive condition of the periodic duty
The execution state of corresponding distribution label is updated in execution, comprising:
Obtain the second processor that can be performed that the execution state for distributing tag characterization is the periodic duty being not carried out
Quantity;
It is the action for each periodic duty being not carried out and the number of the second processor according to the distribution label
Amount determines the operation queue of the periodic duty;
Setting is associated to the operation queue and each second processor;
Start the second processor according to the execution time and runs the periodic duty;
The execution state of the corresponding distribution label of the periodic duty being run is updated in execution.
6. the method according to claim 1, wherein the execution state to the distribution tag characterization is not
The periodic duty executed carries out distributed allocation according to the execution time, and according to the executive condition of the periodic duty
After the execution state of corresponding distribution label is updated in execution, comprising:
When the periodic duty end of run after distribution, the periodic duty message that second processor is sent is received;
The periodic duty message is analyzed, and generates the operation result of the periodic duty;
It is modified according to execution state of the operation result to the distribution label of the periodic duty.
7. a kind of periodic duty distributor, which is characterized in that described device includes:
Configuration file obtains module, and the configuration file of periodic duty is executed for obtaining timing;
Periodic duty parsing module, for parsing periodic duty set from the configuration file, executing the time and distribution mark
Label, the distribution label are used to characterize the execution state of the periodic duty;
Periodic duty screening module reaches the execution for filtering out from the periodic duty set in preset time range
The periodic duty of time;
Task suspension distribution module is that the periodic duty in execution is temporary for the execution state to the distribution tag characterization
Stop distributing;
Periodic duty distribution module is the periodic duty root being not carried out for the execution state to the distribution tag characterization
Distributed allocation, and the holding corresponding distribution label according to the executive condition of the periodic duty are carried out according to the execution time
Row state is updated in execution.
8. device according to claim 7, which is characterized in that the label determination module includes:
Mission bit stream transmission unit, for sending the action of each periodic duty to terminal, executing time and distribution mark
Label;
Label change directive receiving unit, for receiving that the terminal sends according to the action, the execution time
The label change directive of the periodic duty obtained with the distribution label;
Mission bit stream changing unit, for changing the execution state of the periodic duty according to the label change directive, and it is right
The execution state of the distribution label of the periodic duty is modified.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910399267.5A CN110245009B (en) | 2019-05-14 | 2019-05-14 | Periodic task allocation method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910399267.5A CN110245009B (en) | 2019-05-14 | 2019-05-14 | Periodic task allocation method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110245009A true CN110245009A (en) | 2019-09-17 |
CN110245009B CN110245009B (en) | 2024-03-08 |
Family
ID=67884396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910399267.5A Active CN110245009B (en) | 2019-05-14 | 2019-05-14 | Periodic task allocation method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110245009B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590300A (en) * | 2021-09-29 | 2021-11-02 | 天聚地合(苏州)数据股份有限公司 | Timed task execution method and device, storage medium and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446801A (en) * | 2014-06-23 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Task processing method and device in distributed system |
CN106789141A (en) * | 2015-11-24 | 2017-05-31 | 阿里巴巴集团控股有限公司 | A kind of gateway device failure processing method and processing device |
CN107783828A (en) * | 2017-02-17 | 2018-03-09 | 平安科技(深圳)有限公司 | Task processing method and device |
CN108153583A (en) * | 2016-12-06 | 2018-06-12 | 阿里巴巴集团控股有限公司 | Method for allocating tasks and device, real-time Computational frame system |
CN108446171A (en) * | 2018-02-01 | 2018-08-24 | 平安科技(深圳)有限公司 | Electronic device, distributed system execute method for allocating tasks and storage medium |
CN109684080A (en) * | 2018-12-10 | 2019-04-26 | 平安科技(深圳)有限公司 | Centralized method for scheduling task, system and storage medium |
-
2019
- 2019-05-14 CN CN201910399267.5A patent/CN110245009B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446801A (en) * | 2014-06-23 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Task processing method and device in distributed system |
CN106789141A (en) * | 2015-11-24 | 2017-05-31 | 阿里巴巴集团控股有限公司 | A kind of gateway device failure processing method and processing device |
CN108153583A (en) * | 2016-12-06 | 2018-06-12 | 阿里巴巴集团控股有限公司 | Method for allocating tasks and device, real-time Computational frame system |
CN107783828A (en) * | 2017-02-17 | 2018-03-09 | 平安科技(深圳)有限公司 | Task processing method and device |
CN108446171A (en) * | 2018-02-01 | 2018-08-24 | 平安科技(深圳)有限公司 | Electronic device, distributed system execute method for allocating tasks and storage medium |
CN109684080A (en) * | 2018-12-10 | 2019-04-26 | 平安科技(深圳)有限公司 | Centralized method for scheduling task, system and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113590300A (en) * | 2021-09-29 | 2021-11-02 | 天聚地合(苏州)数据股份有限公司 | Timed task execution method and device, storage medium and equipment |
CN113590300B (en) * | 2021-09-29 | 2022-03-25 | 天聚地合(苏州)数据股份有限公司 | Timed task execution method and device, storage medium and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110245009B (en) | 2024-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106802826B (en) | Service processing method and device based on thread pool | |
CN108132833A (en) | Distributed timing task scheduling method and device based on zookeeper technology | |
CN111625331B (en) | Task scheduling method, device, platform, server and storage medium | |
CN108874926A (en) | Mass data inquiry method, device, computer equipment and storage medium | |
EP2746943A1 (en) | Virtual server control system and program | |
CN109634730A (en) | Method for scheduling task, device, computer equipment and storage medium | |
CN110851159B (en) | Business rule updating method and device, computer equipment and storage medium | |
EP3588405A1 (en) | Systems and methods for scheduling a set of non-preemptive tasks in a multi-robot environment | |
CN110147281A (en) | Optimize method, apparatus, the electronic equipment that snowflake algorithm is applied in financial business | |
CN111026530A (en) | Task scheduling method and device, computer equipment and storage medium | |
CN110334126A (en) | Timed task processing method, device and computer equipment based on Spring MVC | |
CN110717647A (en) | Decision flow construction method and device, computer equipment and storage medium | |
CN110503385A (en) | Method for processing business, device, computer equipment and storage medium | |
CN109298924A (en) | Management method, computer readable storage medium and the terminal device of timed task | |
CN112181477A (en) | Complex event processing method and device and terminal equipment | |
CN112988185A (en) | Cloud application updating method, device and system, electronic equipment and storage medium | |
CN110347427A (en) | The optimization method and device of web page code | |
CN109445929A (en) | A kind of method and system of scheduler task | |
US10891203B2 (en) | Predictive analysis, scheduling and observation system for use with loading multiple files | |
CN111580948A (en) | Task scheduling method and device and computer equipment | |
CN116911588A (en) | Business process execution method, device, equipment and storage medium | |
CN110245009A (en) | Periodic duty distribution method, device, computer equipment and storage medium | |
CN112487163B (en) | Execution method of automatic flow and method and device for acquiring interface data of execution method | |
CN109343856A (en) | The generation method and device of custom algorithm component | |
US10922065B1 (en) | Methods and systems for identifying software product installation instances |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |