CN106155786A - A kind of cloud platform task management method and system - Google Patents

A kind of cloud platform task management method and system Download PDF

Info

Publication number
CN106155786A
CN106155786A CN201610465919.7A CN201610465919A CN106155786A CN 106155786 A CN106155786 A CN 106155786A CN 201610465919 A CN201610465919 A CN 201610465919A CN 106155786 A CN106155786 A CN 106155786A
Authority
CN
China
Prior art keywords
task
perform
execution
execution result
relational dbms
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610465919.7A
Other languages
Chinese (zh)
Inventor
马晓刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201610465919.7A priority Critical patent/CN106155786A/en
Publication of CN106155786A publication Critical patent/CN106155786A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Abstract

The invention discloses a kind of cloud platform task management method and system, the method includes: obtains the task of be there is a need to perform and determines the execution sequence of each task;Obtain the alignment processing scheme of each task;Dispatch and perform the task of correspondence according to execution sequence;Execution result according to current task implements the processing scheme that this task is corresponding.Obtain all tasks to be performed and the execution sequence of correspondence, perform each task according to this execution sequence, after each tasks carrying completes, perform corresponding processing scheme according to the execution result of this task.Use the method, user only need to pre-set the processing scheme that the execution sequence of each task is corresponding with each task action result, and go the execution result waiting certain task the most manually to go to perform other tasks without the time, it is greatly saved the time of user, improves work efficiency.

Description

A kind of cloud platform task management method and system
Technical field
The present invention relates to cloud platform management domain, particularly relate to a kind of cloud platform task management method and system.
Background technology
Along with the development of science and technology, the range of application of cloud platform is more and more extensive.
Owing to application is more and more, in cloud platform, the process of data becomes increasingly complex, it is often necessary to user waits substantial amounts of Time goes to wait certain the execution result recorded, and carries out other again and processes, or hold in this task after this tasks carrying completes Carry out some after going unsuccessfully to process.But being as the increase of the complexity of data, the time needing user to wait will more come The longest, the time of serious waste user, have a strong impact on work efficiency.
Thus, how when user applies cloud platform, reduce the waiting time, to improve work efficiency, be art technology Personnel are presently required and solve the technical problem that.
Summary of the invention
It is an object of the invention to provide a kind of cloud platform task management method and system, cloud platform can be applied user Time, reduce the waiting time, to improve work efficiency.
For solving above-mentioned technical problem, the technical scheme is that
A kind of cloud platform task management method, including:
Obtain the task of be there is a need to perform and determine the execution sequence of each task;
Obtain the alignment processing scheme of each task;
Dispatch and perform the task of correspondence according to described execution sequence;
Execution result according to current task implements the processing scheme that this task is corresponding.
Preferably, described acquisition be there is a need to performing of task the execution sequence determining each task, including:
Obtain the task of be there is a need to perform;
According to the execution sequence of each described task of needing to perform, the sequence numbering that definition is corresponding.
Preferably, the alignment processing scheme of each task of described acquisition, including:
Obtain the alignment processing side after the alignment processing scheme after the failure of arbitrary tasks carrying, and the success of arbitrary tasks carrying Case.
Preferably, also include:
Store the execution result of each task through performing.
Preferably, the alignment processing scheme of each task of described acquisition, including:
Obtain Relational DBMS data in advance;
The data base performing described Relational DBMS inserts script, and initialization data storehouse is described respectively with storage The alignment processing scheme corresponding informance of task.
Preferably, described acquisition Relational DBMS data in advance, including:
S11: obtain the installation kit data of described Relational DBMS in advance;
S12: judge that described Relational DBMS is installed the most successful;
S13: if installing successfully, then described Relational DBMS is configured;
S14: if install failure, the then described Relational DBMS of online installation, return step S12;
S15: judge whether the configuration of described Relational DBMS completes;
S16: the most then notify and control described Relational DBMS to restart.
A kind of cloud platform task management system, including:
Task pool module, for depositing the task of be there is a need to perform, and determines the execution sequence of each task;
Perform result memory module, for storing the execution result of each task;
Task scheduling center module, for dispatching and perform the task of correspondence according to the execution sequence of each task, transfers and works as The execution result of front task, obtains the alignment processing scheme of this task, implements corresponding process according to the execution result of this task Scheme, and Real-time Feedback corresponding subsequent execution result is to described execution result memory module.
Preferably, described execution result memory module is sea of clouds OS operating system module.
Compared with prior art, technique scheme has the advantage that
The cloud platform task management method that the embodiment of the present invention is provided, including: obtain and be there is a need to the task of execution also Determine the execution sequence of each task;Obtain the alignment processing scheme of each task;Dispatch according to execution sequence and perform appointing of correspondence Business;Execution result according to current task implements the processing scheme that this task is corresponding.Obtain all tasks to be performed and right The execution sequence answered, performs each task according to this execution sequence, after each tasks carrying completes, according to the execution result of this task Perform corresponding processing scheme.Using the method, user only need to pre-set the execution sequence of each task and each tasks carrying The processing scheme that result is corresponding, and go the execution result waiting certain task the most manually to go to perform other without the time Business, is greatly saved the time of user, improves work efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to These accompanying drawings obtain other accompanying drawing.
The cloud platform task management method flow chart that Fig. 1 is provided by a kind of detailed description of the invention of the present invention;
The cloud platform task management system structural representation that Fig. 2 is provided by one embodiment of the present invention.
Detailed description of the invention
The core of the present invention is to provide a kind of cloud platform task management method and system, can apply cloud platform user Time, reduce the waiting time, to improve work efficiency.
Understandable, below in conjunction with the accompanying drawings to this in order to enable the above-mentioned purpose of the present invention, feature and advantage to become apparent from Bright detailed description of the invention is described in detail.
Elaborate detail in the following description so that fully understanding the present invention.But the present invention can with multiple not Being same as alternate manner described here to implement, those skilled in the art can do class in the case of intension of the present invention Like promoting.Therefore the present invention is not limited by following public being embodied as.
Refer to the cloud platform task management method flow process that Fig. 1, Fig. 1 are provided by a kind of detailed description of the invention of the present invention Figure.
In a kind of detailed description of the invention of the present invention, it is provided that a kind of cloud platform task management method, including:
S1: obtain the task of be there is a need to perform and determine the execution sequence of each task.
In one embodiment of the invention, obtain the task of be there is a need to perform and determine that the execution of each task is suitable Sequence, including: obtain the task of be there is a need to perform;According to the execution sequence of each needing and performing of task, the sequence that definition is corresponding Numbering.
S2: obtain the alignment processing scheme of each task.
Wherein, obtain the alignment processing scheme of each task, including: obtain the alignment processing side after the failure of arbitrary tasks carrying Alignment processing scheme after case, and the success of arbitrary tasks carrying.
Owing to the execution result of each task includes two kinds of situations: run succeeded and perform failure.Therefore this embodiment party In formula, preferably each task is provided with two kinds of processing schemes, a kind of when being this tasks carrying failure at corresponding first Reason scheme, the second processing scheme that another kind is corresponding when being this tasks carrying success.As, when certain tasks carrying failure, corresponding Processing scheme can be by report to the police or stop tasks carrying or perform a new task dispatching.
S3: dispatch and perform the task of correspondence according to execution sequence.
S4: implement the processing scheme that this task is corresponding according to the execution result of current task.
When current task runs succeeded, a certain task can be performed;Or notify certain task time after having performed certain task Going to perform, notice tasks carrying continues to perform downwards according still further to original task sequence after completing.
In the present embodiment, all tasks to be performed and the execution sequence of correspondence are obtained, according to this execution sequence Perform each task, after each tasks carrying completes, perform corresponding processing scheme according to the execution result of this task.Use the party Method, user only need to pre-set the processing scheme that the execution sequence of each task is corresponding with each task action result, and nothing Take time and wait that the execution result of certain task the most manually goes to perform other tasks, be greatly saved the time of user, improve Work efficiency.
Further, also include: store the execution result of each task through performing.Complete at arbitrary tasks carrying After, either performing the most still to run succeeded all stores corresponding execution result, to facilitate subsequent execution result Scheduling and user carry out task action result inquiry.
In one embodiment of the invention, obtain the alignment processing scheme of each task, including:
Obtain mySQL, i.e. Relational DBMS data in advance;
The data base performing Relational DBMS inserts script, and initialization data storehouse is to store the right of each task Answer processing scheme corresponding informance.
Wherein, obtain Relational DBMS data in advance, including:
S11: obtain the installation kit data of Relational DBMS in advance;
S12: judge that Relational DBMS is installed the most successful;
S13: if installing successfully, then Relational DBMS is configured;
S14: if install failure, install Relational DBMS the most online, return step S12;
S15: judge whether Relational DBMS configuration completes;
S16: the most then notice control planning type data base management system are restarted.
User can realize the management to task by mySQL, inputs each task, the execution data of each task and each The processing scheme corresponding to execution result of business.Associated data can be saved in different tables by mySQL, improve each task with And execution sequence corresponding to this task, perform processing scheme corresponding to result transfer speed, improve the motility of application, energy Enough work efficiencies improving user further.
Refer to the cloud platform task management system structural representation that Fig. 2, Fig. 2 are provided by one embodiment of the present invention Figure.
Correspondingly, one embodiment of the present invention additionally provides a kind of cloud platform task management system, including:
Task pool module 21, for depositing the task of be there is a need to perform, and determines the execution sequence of each task.Wherein, Task pool module and at least one user side connect, and to obtain task scheduling and layout from user side, i.e. obtain each user and are wanted Performing of task and the execution sequence of corresponding task.
Perform result memory module 22, for storing the execution result of each task.Perform result memory module and be preferably cloud Sea OS operating system module.Use sea of clouds OS, the management to storage, file management can be realized, moreover it is possible to realize process is carried out Management.
Task scheduling center module 23, for dispatching and perform the task of correspondence according to the execution sequence of each task, transfers The execution result of current task, obtains the alignment processing scheme of this task, implements corresponding place according to the execution result of this task Reason scheme, and Real-time Feedback corresponding subsequent execution result is to performing result memory module, carries out respective handling.
Task scheduling center module obtains all tasks to be performed and the execution sequence of correspondence, according to this execution sequence Perform each task, after each tasks carrying completes, perform corresponding processing scheme according to the execution result of this task.Use this to be System, user only need to input execution sequence and each tasks carrying knot of each task by the user terminal being connected with task pool module The processing scheme that fruit is corresponding, and go the execution result waiting certain task the most manually to go to perform other tasks without the time, It is greatly saved the time of user, improves work efficiency.
In sum, a kind of cloud platform task management method provided by the present invention and system, cloud can be applied user During platform, reduce the waiting time, to improve work efficiency.
Above a kind of cloud platform task management method provided by the present invention and system are described in detail.Herein should Being set forth principle and the embodiment of the present invention by specific case, the explanation of above example is only intended to help reason Solve method and the core concept thereof of the present invention.It should be pointed out that, for those skilled in the art, without departing from On the premise of the principle of the invention, it is also possible to the present invention is carried out some improvement and modification, these improve and modification also falls into this In bright scope of the claims.

Claims (8)

1. a cloud platform task management method, it is characterised in that including:
Obtain the task of be there is a need to perform and determine the execution sequence of each task;
Obtain the alignment processing scheme of each task;
Dispatch and perform the task of correspondence according to described execution sequence;
Execution result according to current task implements the processing scheme that this task is corresponding.
Method the most according to claim 1, it is characterised in that described acquisition be there is a need to the task of execution and determines each The execution sequence of business, including:
Obtain the task of be there is a need to perform;
According to the execution sequence of each described task of needing to perform, the sequence numbering that definition is corresponding.
Method the most according to claim 2, it is characterised in that the alignment processing scheme of each task of described acquisition, including:
Obtain the alignment processing scheme after the alignment processing scheme after the failure of arbitrary tasks carrying, and the success of arbitrary tasks carrying.
4. according to the method described in any one of claims 1 to 3, it is characterised in that also include:
Store the execution result of each task through performing.
Method the most according to claim 4, it is characterised in that the alignment processing scheme of each task of described acquisition, including:
Obtain Relational DBMS data in advance;
The data base performing described Relational DBMS inserts script, and initialization data storehouse is to store described each task Alignment processing scheme corresponding informance.
Method the most according to claim 5, it is characterised in that described acquisition Relational DBMS number in advance According to, including:
S11: obtain the installation kit data of described Relational DBMS in advance;
S12: judge that described Relational DBMS is installed the most successful;
S13: if installing successfully, then described Relational DBMS is configured;
S14: if install failure, the then described Relational DBMS of online installation, return step S12;
S15: judge whether the configuration of described Relational DBMS completes;
S16: the most then notify and control described Relational DBMS to restart.
7. a cloud platform task management system, it is characterised in that including:
Task pool module, for depositing the task of be there is a need to perform, and determines the execution sequence of each task;
Perform result memory module, for storing the execution result of each task;
Task scheduling center module, for dispatching and perform the task of correspondence according to the execution sequence of each task, transfers as predecessor The execution result of business, obtains the alignment processing scheme of this task, implements corresponding processing scheme according to the execution result of this task, And Real-time Feedback corresponding subsequent execution result is to described execution result memory module.
System the most according to claim 7, it is characterised in that described execution result memory module is sea of clouds OS operating system Module.
CN201610465919.7A 2016-06-23 2016-06-23 A kind of cloud platform task management method and system Pending CN106155786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610465919.7A CN106155786A (en) 2016-06-23 2016-06-23 A kind of cloud platform task management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610465919.7A CN106155786A (en) 2016-06-23 2016-06-23 A kind of cloud platform task management method and system

Publications (1)

Publication Number Publication Date
CN106155786A true CN106155786A (en) 2016-11-23

Family

ID=57353641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610465919.7A Pending CN106155786A (en) 2016-06-23 2016-06-23 A kind of cloud platform task management method and system

Country Status (1)

Country Link
CN (1) CN106155786A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815071A (en) * 2017-01-12 2017-06-09 上海轻维软件有限公司 Big data job scheduling system based on directed acyclic graph
CN108334454A (en) * 2018-03-02 2018-07-27 东信和平科技股份有限公司 A kind of automatic scheduling method and system of smart card test platform
CN108776604A (en) * 2018-05-23 2018-11-09 网易(杭州)网络有限公司 The execution method and system of goal task

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019651A (en) * 2012-08-02 2013-04-03 青岛海信传媒网络技术有限公司 Parallel processing method and device for complex tasks
CN103034554A (en) * 2012-12-30 2013-04-10 焦点科技股份有限公司 ETL (Extraction-Transformation-Loading) dispatching system and method for error-correction restarting and automatic-judgment starting
CN103336709A (en) * 2013-06-01 2013-10-02 北京华胜天成科技股份有限公司 Method and system for realizing virtual distributed unified management in cluster
CN103514028A (en) * 2012-06-14 2014-01-15 北京新媒传信科技有限公司 Method and device for processing distributed transactions
CN105094961A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Task scheduling management system based on quartz frame and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514028A (en) * 2012-06-14 2014-01-15 北京新媒传信科技有限公司 Method and device for processing distributed transactions
CN103019651A (en) * 2012-08-02 2013-04-03 青岛海信传媒网络技术有限公司 Parallel processing method and device for complex tasks
CN103034554A (en) * 2012-12-30 2013-04-10 焦点科技股份有限公司 ETL (Extraction-Transformation-Loading) dispatching system and method for error-correction restarting and automatic-judgment starting
CN103336709A (en) * 2013-06-01 2013-10-02 北京华胜天成科技股份有限公司 Method and system for realizing virtual distributed unified management in cluster
CN105094961A (en) * 2015-08-11 2015-11-25 北京思特奇信息技术股份有限公司 Task scheduling management system based on quartz frame and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815071A (en) * 2017-01-12 2017-06-09 上海轻维软件有限公司 Big data job scheduling system based on directed acyclic graph
CN108334454A (en) * 2018-03-02 2018-07-27 东信和平科技股份有限公司 A kind of automatic scheduling method and system of smart card test platform
CN108776604A (en) * 2018-05-23 2018-11-09 网易(杭州)网络有限公司 The execution method and system of goal task

Similar Documents

Publication Publication Date Title
CN106155786A (en) A kind of cloud platform task management method and system
CN104657214A (en) Multi-queue multi-priority big data task management system and method for achieving big data task management by utilizing system
CN102929585B (en) A kind of batch processing method and system supporting the distributed data processing of many main frames
CN103294533A (en) Task flow control method and task flow control system
CN107526645B (en) A kind of communication optimization method and system
CN105224332B (en) A kind of application program generation method and device
CN105162629A (en) Method for achieving automatic binding of double network cards under LINUX system
CN104391696B (en) A kind of autotask processing method and processing device
CN203118041U (en) Project cost progress management system
CN108197486A (en) Big data desensitization method, system, computer-readable medium and equipment
CN104461562A (en) Task creating method and system
CN107506906A (en) A kind of task intelligent scheduling engine design method based on data processing
CN105808346A (en) Task scheduling method and device
CN106201692A (en) A kind of timing task processing system and method
CN107766144A (en) A kind of method for scheduling task, apparatus and system
CN105761058A (en) Multi-type task control method and device in plan management
CN103729742B (en) A kind of Data Resources Management System based on SOA framework and executing model drive structure
CN106156198A (en) Task executing method based on distributed data base and device
CN106156174A (en) The system and method that a kind of db transaction processes
CN104123135A (en) Method and device for unifying background interfaces
CN101969402B (en) Data exchanging method based on parallel processing
CN102945264A (en) Method for intelligently starting distributed transaction
CN105589748A (en) Service request processing method and apparatus
CN102521043B (en) A kind of task processing method and application system
CN105447000A (en) Transactional message transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123