CN109582451A - Method for scheduling task, system, equipment and readable medium - Google Patents

Method for scheduling task, system, equipment and readable medium Download PDF

Info

Publication number
CN109582451A
CN109582451A CN201811387649.8A CN201811387649A CN109582451A CN 109582451 A CN109582451 A CN 109582451A CN 201811387649 A CN201811387649 A CN 201811387649A CN 109582451 A CN109582451 A CN 109582451A
Authority
CN
China
Prior art keywords
task
processing task
cluster
processing
address information
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
CN201811387649.8A
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.)
Golden Panda Co Ltd
Original Assignee
Golden Panda 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 Golden Panda Co Ltd filed Critical Golden Panda Co Ltd
Priority to CN201811387649.8A priority Critical patent/CN109582451A/en
Publication of CN109582451A publication Critical patent/CN109582451A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method for scheduling task, system, equipment and readable medium, method includes: to receive task execution request;A processing task is generated according to task execution request, includes the address information for executing the cluster of the processing task in the processing task;The processing task is sent to the cluster corresponding with the address information according to the address information, so that the cluster receives and executes the processing task, the present invention can shield the heterogeneous networks situation under aggregated structure, and the unified distribution of processing task is carried out according to the address of cluster, when cluster executes processing mission failure, alarm is issued the user with.

Description

Method for scheduling task, system, equipment and readable medium
Technical field
The present invention relates to a kind of network communication fields, more specifically, be related to a kind of method for scheduling task, system, Equipment and readable medium.
Background technique
In the epoch of this information explosion, an enterprise or mechanism need to handle a large amount of data daily and safeguard various be used to The system for handling data.When enterprises only need to manage a cluster, this is relatively easy, and industry has numerous workflows Scheduling system is available.But when enterprises need to manage tens sets, set cluster up to a hundred, it will find no optional side Case.But at present due to business diverse development, policy limitation etc., such situation is just more and more.
Manual maintenance is mostly used in enterprise at present, disadvantage is that human cost is excessive.For numerous clusters, user It needs to record the information of each cluster, can all cause serious working efficiency problem.
Summary of the invention
In view of the problems of the existing technology, the purpose of the present invention is to provide a kind of method for scheduling task, system, equipment And readable medium, the heterogeneous networks situation under aggregated structure can be shielded, and processing task is carried out according to the address of cluster Unified distribution issues the user with alarm when cluster executes processing mission failure.
According to the present invention on one side, a kind of method for scheduling task is provided, provides and controls node in one, the middle control node connects There are several clusters, method for scheduling task includes:
Receive task execution request;
A processing task is generated according to task execution request, includes executing the processing task in the processing task The cluster address information;
The processing task is sent to the cluster corresponding with the address information according to the address information, with Toilet states cluster and receives and execute the processing task.
Preferably, the task execution request includes: creation task requests, updates task requests, execute PROGRAMMED REQUESTS, obtain Result request is taken, execution status request is obtained and obtains log request.
Preferably, after generating the processing task, before sending the processing task, comprising:
A first state is arranged for the processing task to identify, the first state mark is for identifying the processing task For state to be allocated.
Preferably, after the processing task is sent to the cluster corresponding with the address information, comprising:
One second status indicator is set for the processing task, second status indicator is for identifying the processing task For the state of having distributed.
Preferably, before the processing task is sent to the corresponding cluster of the address information, further includes:
Verify whether the corresponding cluster of the address information is in idle condition;
If so, the processing task is sent to the corresponding cluster of the address information;
If it is not, then by it is opposite that the processing task is sent to the address information after a preset waiting time The cluster answered.
Preferably, the processing task is sent to according to the address information described corresponding with the address information The cluster after it is further comprising the steps of:
After the cluster completes the processing task, one third state mark or one the 4th are set for the processing task Status indicator, state of the third state mark for identifying the processing task is to handle successfully, the 4th state mark Knowing the state for identifying the processing task is processing failure;
A feedback information is sent to the middle control node, includes third state mark or described in the feedback information 4th status indicator.
Preferably, the processing task is sent to according to the address information described corresponding with the address information The cluster after, further includes:
The middle control node judges whether identify comprising the third state in the feedback information;
If so, sending a Mission Success to user completes information;
If it is not, sending a task processing failure information to user.
A fermentation according to the present invention, provides a kind of task scheduling system, comprising:
Receiving module, for receiving task execution request;
Task generation module generates a processing task according to task execution request, includes holding in the processing task The address information of the cluster of the row processing task;And
The processing task is sent to corresponding with the address information by task sending module according to the address information The cluster, so that the cluster receives and executes the processing task.
Preferably, the task generation module is also used to that a first state is arranged for the processing task and identifies, and described the One status indicator is state to be allocated for identifying the processing task;
The task sending module is also used to that one second status indicator, the second state mark is arranged for the processing task Knowing for identifying the processing task is to have distributed state.
According to the present invention on one side, a kind of task scheduling equipment is provided, comprising:
Processor;And
It is configured as the memory of storage computer executable instructions, the executable instruction makes described when executed Processor executes the step of above-mentioned method for scheduling task.
According to the present invention on one side, a kind of computer-readable medium including instruction is provided, described instruction is being performed The step of Shi Zhihang above-mentioned method for scheduling task.
The beneficial effect of above-mentioned technical proposal is: method for scheduling task, system, equipment and readable medium of the invention, The heterogeneous networks situation under aggregated structure can be shielded, and carries out the unified distribution of processing task according to the address of cluster, works as collection When group executes processing mission failure, alarm can be issued the user with.
Other features and advantages of the present invention and various embodiments of the present invention structurally and operationally, will referring to Attached drawing is described in detail.It should be noted that the present invention is not limited to specific embodiments described hereins.It is given herein these The purpose that embodiment is merely to illustrate that.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon.
Fig. 1 is the flow diagram of method for scheduling task in preferred embodiment of the invention;
Fig. 2 is method for scheduling task implementation diagram in preferred embodiment of the invention;
Fig. 3 is in preferred embodiment of the invention, and cluster executes processing flow of task schematic diagram;
Fig. 4 is in preferred embodiment of the invention, and middle control node sends information flow schematic diagram to user;
Fig. 5 is task scheduling system module diagram in preferred embodiment of the invention;
Fig. 6 is task scheduling equipment structural schematic diagram in preferred embodiment of the invention;
Fig. 7 is the structural schematic diagram of computer readable storage medium in preferred embodiment of the invention.
From the detailed description below in conjunction with attached drawing, the features and advantages of the present invention will become more apparent.Through attached drawing, Identical attached drawing identifies respective element.In the accompanying drawings, same reference numerals be indicated generally at it is identical, functionally similar and/or Similar element in structure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
" first ", " second " used in the disclosure and similar word are not offered as any sequence, quantity or again The property wanted, and be used only to distinguish different component parts.The similar word such as " comprising " or "comprising" means before there is the word The element or object in face are covered the element for appearing in the word presented hereinafter or object and its are equal, and are not excluded for other elements Or object." connection " either the similar word such as " connected " is not limited to physics or mechanical connection, but can be with It is either direct or indirect including electrical connection."upper", "lower", "left", "right" etc. are only used for indicating relative position Relationship, after the absolute position for being described object changes, then the relative positional relationship may also correspondingly change.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase Mutually combination.
In a typical configuration of this application, terminal, the equipment of service network include one or more processors (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or Any other non-transmission medium, can be used for storage can be accessed by a computing device information.
The application meaning equipment includes but is not limited to that user equipment, the network equipment or user equipment and the network equipment pass through Network is integrated constituted equipment.User equipment include but is not limited to any one can with user carry out human-computer interaction (such as Pass through touch tablet and carry out human-computer interaction) mobile electronic product, such as smart phone, tablet computer etc., mobile electronic product can To use any operating system, such as android operating system, iOS operating system.Wherein, the network equipment includes that one kind can According to the instruction for being previously set or storing, the automatic numerical value that carries out is calculated and the electronic equipment of information processing, and hardware includes but not It is limited to microprocessor, specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), number Word signal processor (DSP), embedded device etc..The network equipment includes but is not limited to computer, network host, single network clothes The cloud that business device, multiple network server collection or multiple servers are constituted;Here, cloud is by being based on cloud computing (Cloud Computing a large number of computers or network servers) is constituted, wherein cloud computing is one kind of distributed computing, by a group pine Dissipate a virtual supercomputer of the computer set composition of coupling.Network includes but is not limited to internet, wide area network, metropolitan area Net, local area network, VPN network, wireless self-organization network (Ad Hoc network) etc..Preferably, equipment, which can also be, runs on user Equipment, the network equipment or user equipment and the network equipment, the network equipment, touch terminal or the network equipment pass through with terminal is touched Network is integrated the program in constituted equipment.
The present invention will be further explained below with reference to the attached drawings and specific examples, but not as the limitation of the invention.
It is the flow diagram of one of the application method for scheduling task with reference to Fig. 1, Fig. 1.The application provides a kind of appoint Business dispatching method, provides and controls node in one, middle control node is connected with several clusters, and method for scheduling task includes:
S100, task execution request is received;
S200, a processing task is generated according to task execution request, include the cluster for executing processing task in processing task Address information;
S300, processing task is sent to by cluster corresponding with address information according to address information, so as to cluster reception And execute processing task.
It is the implementation diagram of method for scheduling task shown in fig. 1 with reference to Fig. 2, Fig. 2.In Fig. 2, middle 103 quilt of control node It is illustrated as having chlamydate server, also it is contemplated that can be the configuration of various other various kinds to middle control node 103.For example, Middle control node 103 can be configured as traditional computer (for example, desktop PC, notebook computer etc.), movement station, Amusement appliance, mobile phone, plate and net book etc..Thus, the range of middle control node 103 can be from a large amount of memory blocks The wholly-owned source device (for example, personal computer, game console) of device and processor resource, which arrives, has finite memory and/or place Manage the low resource device of resource.Middle control node 103 can also be so that middle control node 103 executes the soft of one or more operations Part.
Middle control node 103 is connected by network 102 with several clusters 104.In Fig. 2, cluster 104 is illustrated as one group Server that is mutually independent, being interconnected by network 102, constituting a server group is cluster 104.Cluster 104 can be with Realize very high arithmetic speed, responding ability with higher.Further, it is contemplated that cluster 104 can have various other differences Configuration, for example, cluster 104 can be made of several traditional computers (for example, desktop computer, portable computer etc.), Cluster 104 can also be made of several mobile phones, plate and net book etc..The composition of cluster 104.
Middle control node 103 is connected by network 102 with input terminal 101, to receive task execution request.User passes through defeated Enter terminal 101 and generate task execution request, and middle control node 103 is uploaded to by network 102.In Fig. 2, input terminal 101 It is illustrated as the desk-top calculating equipment with display.Also it is contemplated that also can be configured as traditional meter to input terminal 101 Calculation equipment (for example, notebook computer, intelligent movable phone etc.), movement station, amusement appliance, plate and net book etc..It is defeated Entering terminal 101 can also be that there is display may act as input terminal for a server in cluster 104, the server 101, user again may be by the input terminal 101 and carry out incoming task executing request.
The middle network 102 that connect with cluster 104 of control node 103 is internet, it is middle control the port numbers that node 103 uses for 80, i.e. cluster 104 and middle control node 103 is communicated by 80 ports.The cluster 104 being connected with middle control node 103 all has One unique cluster name, the entitled character string being made of English alphabet of cluster.By the cluster name of each cluster 104 with The address information (IP address) of the cluster 104 establishes mapping relations.When control node 103 and specified cluster 104 communicate in the middle, use Family need to only input the cluster name of the cluster 104 without inputting complete IP address.Cluster name is needed through special address Server is parsed, so that cluster name, which is mapped as IP address, when transmitting data grouping then carries out route transmission.
With reference to Fig. 1 and Fig. 2.Method for scheduling task specifically includes step S100, step S200 and step S300.In step In S100, middle control node 103 receives task execution request by input terminal 101.In step s 200, middle control node 103 A processing task is generated according to task execution request, includes the address information for executing the cluster 104 of processing task in processing task. In step S300, processing task is sent to by cluster 104 corresponding with address information according to address information, so as to cluster 104 receive and execute processing task.Task execution request includes: to create task requests, update task requests, execution program to ask It asks, obtain result request, obtain execution status request and obtain log request.
In the step s 100, user will need the task type carried out and relevant task parameters to be input to input terminal In 101, input terminal 101 generates a task execution according to task type and task parameters and requests, and by the task execution Request is sent to middle control node 103.Task type can include but is not limited to delete data, to data classification, change permission with And transfer data etc..Task parameters can include but is not limited to process object position, cluster name etc..
In step s 200, request is executed according to received task and generates a processing task, include in processing task Cluster name (address information).Corresponding task program is selected according to task type, task program and task parameters are generated at one Reason task, i.e. processing task include that task program and task program run necessary task parameters.
In one implementation, when handling the task of task to shift data, then data are realized by task program Transfer operation, in task parameters includes the storage address of the data as transfer object and the mesh for being transferred to target position Mark storage address.
In one implementation, after generating processing task, before transmission processing task, comprising: be processing task One first state mark is set, and first state mark is state to be allocated for identifying processing task.When processing task generates it Afterwards, as a first state mark is arranged in the processing task, and first state mark can be but be not limited to " to be allocated ".It will First state mark feeds back to the input terminal 101 of user by network 102, and such user can finish processing in real time and appoint Whether business has generated and sent to the cluster 104 of all execution.
In step S300, processing task is sent to by cluster 104 corresponding with address information according to address information, with Just cluster 104 receives and executes processing task.
In one implementation, after it will handle task and be sent to cluster 104 corresponding with address information, packet It includes: one second status indicator being set for processing task, the second status indicator is to have distributed state for identifying processing task.It will place Reason task is sent to after cluster 104 corresponding with cluster name, is configured second status indicator for the processing task, is used for Indicate that the processing task has been sent to the processing of cluster 104.Later, which is sent to input terminal 101.
In one implementation, before it will handle task and be sent to the corresponding cluster 104 of address information, comprising:
Whether the corresponding cluster 104 of verifying address information (cluster name) is in idle condition:
If so, processing task is sent to the corresponding cluster 104 of address information;
If it is not, then by after a preset waiting time, processing task is sent to the corresponding cluster of address information 104。
The cluster 104 for executing processing task may handle other tasks, at this time if current processing task sent It is then likely to cause Caton to the cluster 104, further reduces whole operational efficiency.So when detecting address information When (cluster name) corresponding cluster 104 is not at idle state, then the processing task is postponed into a preset waiting time Afterwards, then by processing task it is sent to the cluster 104, the preset waiting time can be 30s, 40s or 60s.
With reference to attached drawing 3, attached drawing 3 is that cluster 104 executes processing flow of task schematic diagram.Again after step S300, cluster 104 The process for executing processing task includes step S400 and step S500.In step S400, cluster 104 complete processing task it Afterwards, one third state mark or one the 4th status indicator are set for processing task, the third state is identified for identifying processing task State be handle successfully, the 4th status indicator is for identifying the state of processing task as processing failure.In S500, to middle control Node 103 sends a feedback information, includes third state mark or the 4th status indicator in feedback information.Cluster 104 completes After processing task, then need to generate a feedback information, and the feedback information is sent to middle control node 103.Feedback information In include third state mark or the 4th status indicator, the third state indicates that the state of processing task is success in place, the Four status indicators indicate that the state of processing task is processing failure.
With reference to Fig. 4.It further include step S600, step S700 and step S800 after step S500.
Control node 103 judges whether identify comprising the third state in feedback information in step S600, in judgement:
If so, thening follow the steps S700;
If it is not, thening follow the steps S800;
In step S700, a Mission Success is sent to user and completes information;
In step S800, a task processing failure information is sent to user.
When including four status indicators in feedback information, middle control node 103 is appointed to for sending task processing failure information Business processing failure information can be shown in the form of alarm, and task processing failure information can be sent to the input terminal of user It in 101, and is shown by input terminal 101, processing mission failure is executed to alert user's cluster 104, to adjust in time.Also Task processing failure information can be sent to the mailbox of user in the form of mail, can also by task processing failure information with The form of short message is sent to the mobile phone of user.
According to the one aspect of the application, a kind of task scheduling system 500 is provided, with reference to Fig. 5, task scheduling system packet It includes: receiving module 501, task generation module 502 and task sending module 503.
Receiving module 501 receives the task execution from input terminal 101 and asks for receiving task execution request It asks.
Task generation module 502 includes executing in processing task for generating a processing task according to task execution request The address information (cluster name) of the cluster 104 of processing task;Request, which is executed, according to received task generates a processing task, place It include cluster name (address information) in reason task.Corresponding task program is selected according to task type, by task program and is appointed Parameter of being engaged in generates a processing task, i.e. processing task includes task ginseng necessary to task program and task program operation Number.
Task sending module 503, for processing task to be sent to collection corresponding with address information according to address information Group 104, so that cluster 104 receives and executes processing task.
In a kind of embodiment, task generation module 502 is also used to that a first state is arranged for processing task and identifies, and first Status indicator is state to be allocated for identifying processing task.
In a kind of embodiment, task sending module 503 is also used to be arranged for processing task one second status indicator, and second Status indicator is to have distributed state for identifying processing task.
According to an aspect of the present invention, a kind of task scheduling equipment is provided, comprising:
Processor 610;And
It is configured as the memory (storage unit) of storage computer executable instructions, executable instruction makes when executed It obtains processor and executes following operation:
S100, task execution request is received;
S200, a processing task is generated according to task execution request, include the cluster for executing processing task in processing task 104 address information;
S300, processing task is sent to by cluster 104 corresponding with address information according to address information, so as to cluster 104 receive and execute processing task.
Task scheduling equipment 600 in one embodiment according to the application is described referring to Fig. 6.Wherein, Fig. 6 is aobvious The task scheduling equipment 600 shown is only an example, should not function to the embodiment of the present application and use scope bring it is any Limitation.
As shown in fig. 6, equipment 600 is showed in the form of universal computing device.The component of equipment 600 may include but unlimited In: at least one processor 610, at least one storage unit 620, the different system components of connection (including storage unit 620 and place Manage device 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with device 610 processed, so that processor 610 It executes described in this specification above-mentioned electronic prescription circulation processing method part according to the various illustrative embodiments of the application The step of.For example, processor 610 can execute the step in above method.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processor use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, the equipment that also tenant can be enabled interact with the electronic equipment 600 with one or more communicates, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with Pass through 102 adapter 660 of network and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It answers When understanding, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processor, external disk drive array, RAID system, tape drive and data Backup storage system etc..
According to an aspect of the present invention, a kind of computer-readable medium including instruction is provided, instruction is when executed Execute following operation:
S100, task execution request is received;
S200, a processing task is generated according to task execution request, include the cluster for executing processing task in processing task Address information;
S300, processing task is sent to by cluster corresponding with address information according to address information, so as to cluster reception And execute processing task.
With reference to Fig. 7, in one embodiment, for realizing the above method program product 800 can use it is portable Compact disk read-only memory (CD-ROM) and including program code, and can run on the server.However, those skilled in the art Member it will be understood that the application meaning program product it is without being limited thereto, computer-readable medium can be it is any include or store journey The tangible medium of sequence, and the program can be commanded execution system, device or device use or in connection.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, the software program of the application can be executed by processor to realize above step or function.Similarly, the software of the application Program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, magnetic or CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, for example, As the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt When computer executes, by the operation of the computer, it can call or provide according to the present processes or technical solution.Ability Field technique personnel will be understood that the existence form of computer program instructions in computer-readable medium includes but is not limited to source document Part, executable file, installation package file etc., correspondingly, the mode that computer program instructions are computer-executed includes but unlimited In: the computer directly execute the instruction perhaps the computer compile corresponding compiling is executed after the instruction again after program or The computer reads and executes the instruction or the computer reads and executes journey after corresponding installation again after installing the instruction Sequence.Here, computer-readable medium can be any available computer readable storage medium for computer access or lead to Believe medium.
Communication media includes whereby including, for example, computer readable instructions, data structure, program module or other data Signal of communication is transmitted to the medium of another system from a system.Communication media may include having the transmission medium led (such as electric Cable and line, such as optical fiber, coaxial etc.) and can propagate wireless (not having the transmission the led) medium of energy wave, such as sound, electromagnetism, RF, microwave and infrared.Computer readable instructions, data structure, program module or other data can be embodied as example wirelessly being situated between Matter (such as carrier wave or be such as embodied as spread spectrum technique a part similar mechanism) in modulated message signal.Art Language " modulated message signal " refers to that one or more feature is modified or is set in a manner of encoded information in the signal Signal.Modulation can be simulation, digital or Hybrid Modulation Technology.
As an example, not a limit, computer readable storage medium may include such as computer-readable finger for storage Enable, the volatile and non-volatile that any method or technique of the information of data structure, program module or other data is realized, can Mobile and immovable medium.For example, computer readable storage medium includes but is not limited to volatile memory, such as with Machine memory (RAM, DRAM, SRAM);And nonvolatile memory, such as flash memory, various read-only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM);And magnetic and optical storage apparatus (hard disk, Tape, CD, DVD);Or other currently known media or Future Development can store the computer used for computer system Readable information or data.
To sum up, method for scheduling task of the invention, system, equipment and readable medium can shield under aggregated structure Heterogeneous networks situation, and the unified distribution of processing task is carried out according to the address of cluster, when cluster executes processing mission failure, Alarm can be issued the user with.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (11)

1. a kind of method for scheduling task, which is characterized in that it provides in one and controls node, the middle control node is connected with several clusters, Method for scheduling task includes:
Receive task execution request;
A processing task is generated according to task execution request, includes the institute for executing the processing task in the processing task State the address information of cluster;
The processing task is sent to the cluster corresponding with the address information according to the address information, with toilet Cluster is stated to receive and execute the processing task.
2. method for scheduling task according to claim 1, which is characterized in that the task execution request includes: that creation is appointed Business request updates task requests, executes PROGRAMMED REQUESTS, obtains result request, obtaining to execute status request and obtain log and ask It asks.
3. method for scheduling task according to claim 1, which is characterized in that after generating the processing task, send Before the processing task, comprising:
A first state is arranged for the processing task to identify, first state mark for identify the processing task be to Distribution state.
4. method for scheduling task according to claim 1, which is characterized in that by the processing task be sent to it is described After the corresponding cluster of address information, comprising:
One second status indicator is set for the processing task, second status indicator is for identifying the processing task Distribution state.
5. method for scheduling task according to claim 1, which is characterized in that be sent to describedly by the processing task Before the corresponding cluster of location information, further includes:
Verify whether the corresponding cluster of the address information is in idle condition;
If so, the processing task is sent to the corresponding cluster of the address information;
If it is not, then by it is corresponding that the processing task is sent to the address information after a preset waiting time The cluster.
6. method for scheduling task according to claim 1, which is characterized in that it is described will be described according to the address information Processing task is sent to further comprising the steps of after the cluster corresponding with the address information:
After the cluster completes the processing task, one third state mark or one the 4th state are set for the processing task Mark, state of the third state mark for identifying the processing task is to handle successfully, and the 4th status indicator is used In the state for identifying the processing task be processing failure;
A feedback information is sent to the middle control node, includes third state mark or the described 4th in the feedback information Status indicator.
7. method for scheduling task according to claim 6, which is characterized in that it is described will be described according to the address information Processing task is sent to after the cluster corresponding with the address information, further includes:
The middle control node judges whether identify comprising the third state in the feedback information;
If so, sending a Mission Success to user completes information;
If it is not, sending a task processing failure information to user.
8. a kind of task scheduling system characterized by comprising
Receiving module, for receiving task execution request;
Task generation module generates a processing task according to task execution request, includes executing institute in the processing task State the address information of the cluster of processing task;And
The processing task is sent to institute corresponding with the address information according to the address information by task sending module Cluster is stated, so that the cluster receives and executes the processing task.
9. task scheduling system according to claim 8, which is characterized in that the task generation module is also used to be described Processing task is arranged a first state and identifies, and the first state mark is state to be allocated for identifying the processing task;
The task sending module is also used to that one second status indicator is arranged for the processing task, and second status indicator is used It is to have distributed state in identifying the processing task.
10. a kind of task scheduling equipment characterized by comprising
Processor;And
It is configured as the memory of storage computer executable instructions, the executable instruction makes the processing when executed Device perform claim requires the step of 1 to 7 any described method for scheduling task.
11. a kind of computer-readable medium including instruction, which is characterized in that described instruction perform claim requirement when executed The step of 1 to 7 any described method for scheduling task.
CN201811387649.8A 2018-11-21 2018-11-21 Method for scheduling task, system, equipment and readable medium Pending CN109582451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811387649.8A CN109582451A (en) 2018-11-21 2018-11-21 Method for scheduling task, system, equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811387649.8A CN109582451A (en) 2018-11-21 2018-11-21 Method for scheduling task, system, equipment and readable medium

Publications (1)

Publication Number Publication Date
CN109582451A true CN109582451A (en) 2019-04-05

Family

ID=65923429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811387649.8A Pending CN109582451A (en) 2018-11-21 2018-11-21 Method for scheduling task, system, equipment and readable medium

Country Status (1)

Country Link
CN (1) CN109582451A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176848A (en) * 2019-12-31 2020-05-19 北大方正集团有限公司 Processing method, device and equipment of cluster task and storage medium
CN111431892A (en) * 2020-03-20 2020-07-17 上海金卓网络科技有限公司 Accelerator management architecture and method and accelerator interface controller
CN111930489A (en) * 2020-09-15 2020-11-13 南京领行科技股份有限公司 Task scheduling method, device, equipment and storage medium
CN113112139A (en) * 2021-04-07 2021-07-13 上海联蔚盘云科技有限公司 Cloud platform bill processing method and equipment
CN113391902A (en) * 2021-06-22 2021-09-14 未鲲(上海)科技服务有限公司 Task scheduling method and device and storage medium
CN113780893A (en) * 2021-09-29 2021-12-10 山东新一代信息产业技术研究院有限公司 Method, device and medium for distributing multi-robot cooperative tasks

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012840A (en) * 2010-12-23 2011-04-13 中国农业银行股份有限公司 Batch data scheduling method and system
CN103067486A (en) * 2012-12-26 2013-04-24 广州杰赛科技股份有限公司 Big-data processing method based on platform-as-a-service (PaaS) platform
CN103580902A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Computer information system and dynamic disaster recovery method thereof
CN103744734A (en) * 2013-12-24 2014-04-23 中国科学院深圳先进技术研究院 Method, device and system for task operation processing
CN103957246A (en) * 2014-04-22 2014-07-30 广州杰赛科技股份有限公司 Dynamic load balancing method and system based on tenant sensing
CN104461740A (en) * 2014-12-12 2015-03-25 国家电网公司 Cross-domain colony computing resource gathering and distributing method
US9172584B1 (en) * 2012-09-21 2015-10-27 Emc Corporation Method and system for high-availability cluster data protection
CN105812488A (en) * 2016-05-06 2016-07-27 深圳前海大数点科技有限公司 Cloud computing distributed service cluster system and method of using the system
CN106230985A (en) * 2016-09-21 2016-12-14 广东工业大学 A kind of based on the big data processing method of Internet of Things, system and service processing end
CN106407002A (en) * 2016-08-22 2017-02-15 平安科技(深圳)有限公司 Data processing task execution method and device
CN106681808A (en) * 2016-12-01 2017-05-17 北京奇虎科技有限公司 Task scheduling method and device
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN106790692A (en) * 2017-02-20 2017-05-31 郑州云海信息技术有限公司 A kind of load-balancing method and device of many clusters
CN106850834A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of service request method and apparatus and load equalizer
CN107016480A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Method for scheduling task, apparatus and system
CN107391239A (en) * 2016-03-11 2017-11-24 阿里巴巴集团控股有限公司 A kind of dispatching method and equipment based on container service
CN107688496A (en) * 2017-07-24 2018-02-13 上海壹账通金融科技有限公司 Task distribution formula processing method, device, storage medium and server
CN108173919A (en) * 2017-12-22 2018-06-15 百度在线网络技术(北京)有限公司 Big data platform builds system, method, equipment and computer-readable medium
CN108304255A (en) * 2017-12-29 2018-07-20 北京城市网邻信息技术有限公司 Distributed task dispatching method and device, electronic equipment and readable storage medium storing program for executing

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102012840A (en) * 2010-12-23 2011-04-13 中国农业银行股份有限公司 Batch data scheduling method and system
CN103580902A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Computer information system and dynamic disaster recovery method thereof
US9172584B1 (en) * 2012-09-21 2015-10-27 Emc Corporation Method and system for high-availability cluster data protection
CN103067486A (en) * 2012-12-26 2013-04-24 广州杰赛科技股份有限公司 Big-data processing method based on platform-as-a-service (PaaS) platform
CN103744734A (en) * 2013-12-24 2014-04-23 中国科学院深圳先进技术研究院 Method, device and system for task operation processing
CN103957246A (en) * 2014-04-22 2014-07-30 广州杰赛科技股份有限公司 Dynamic load balancing method and system based on tenant sensing
CN104461740A (en) * 2014-12-12 2015-03-25 国家电网公司 Cross-domain colony computing resource gathering and distributing method
CN107016480A (en) * 2016-01-28 2017-08-04 五八同城信息技术有限公司 Method for scheduling task, apparatus and system
CN107391239A (en) * 2016-03-11 2017-11-24 阿里巴巴集团控股有限公司 A kind of dispatching method and equipment based on container service
CN105812488A (en) * 2016-05-06 2016-07-27 深圳前海大数点科技有限公司 Cloud computing distributed service cluster system and method of using the system
CN106407002A (en) * 2016-08-22 2017-02-15 平安科技(深圳)有限公司 Data processing task execution method and device
CN106230985A (en) * 2016-09-21 2016-12-14 广东工业大学 A kind of based on the big data processing method of Internet of Things, system and service processing end
CN106681808A (en) * 2016-12-01 2017-05-17 北京奇虎科技有限公司 Task scheduling method and device
CN106790692A (en) * 2017-02-20 2017-05-31 郑州云海信息技术有限公司 A kind of load-balancing method and device of many clusters
CN106789362A (en) * 2017-02-20 2017-05-31 京信通信技术(广州)有限公司 A kind of device management method and network management system
CN106850834A (en) * 2017-03-01 2017-06-13 郑州云海信息技术有限公司 A kind of service request method and apparatus and load equalizer
CN107688496A (en) * 2017-07-24 2018-02-13 上海壹账通金融科技有限公司 Task distribution formula processing method, device, storage medium and server
CN108173919A (en) * 2017-12-22 2018-06-15 百度在线网络技术(北京)有限公司 Big data platform builds system, method, equipment and computer-readable medium
CN108304255A (en) * 2017-12-29 2018-07-20 北京城市网邻信息技术有限公司 Distributed task dispatching method and device, electronic equipment and readable storage medium storing program for executing

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176848A (en) * 2019-12-31 2020-05-19 北大方正集团有限公司 Processing method, device and equipment of cluster task and storage medium
CN111176848B (en) * 2019-12-31 2023-05-26 北大方正集团有限公司 Cluster task processing method, device, equipment and storage medium
CN111431892A (en) * 2020-03-20 2020-07-17 上海金卓网络科技有限公司 Accelerator management architecture and method and accelerator interface controller
CN111930489A (en) * 2020-09-15 2020-11-13 南京领行科技股份有限公司 Task scheduling method, device, equipment and storage medium
CN113112139A (en) * 2021-04-07 2021-07-13 上海联蔚盘云科技有限公司 Cloud platform bill processing method and equipment
CN113391902A (en) * 2021-06-22 2021-09-14 未鲲(上海)科技服务有限公司 Task scheduling method and device and storage medium
CN113780893A (en) * 2021-09-29 2021-12-10 山东新一代信息产业技术研究院有限公司 Method, device and medium for distributing multi-robot cooperative tasks
CN113780893B (en) * 2021-09-29 2024-03-29 山东新一代信息产业技术研究院有限公司 Multi-robot collaborative task distribution method, equipment and medium

Similar Documents

Publication Publication Date Title
CN109582451A (en) Method for scheduling task, system, equipment and readable medium
CN104052789B (en) Method and system for the load balance of virtual networking system
CN103377091B (en) The method and system efficiently performed of the operation in resource-sharing pond
CN103853596B (en) For the method and system for migrating virtual machine between working group
CN103299274B (en) Determine the system and method for the optimal computed environment of operation image
CN103281344B (en) Method and system for the integrating metrology that the service of mixed cloud uses
CN102759979B (en) A kind of energy consumption of virtual machine method of estimation and device
CN114253659A (en) Grid layout
CN105359088B (en) Use the method for the virtual disk content optimization supply time of dynamic generation
CN110325968A (en) System upgrade management in distributed computing system
CN102567074B (en) USB (universal serial bus) device redirecting method facing virtual machines
CN104145257A (en) Semantic cache cloud services for connected devices
CN103238138A (en) Network interface for partition deployment/re-deployment in a cloud environment
CN104216662B (en) Optimal Volume Placement Across Remote Replication Relationships
CN104067265A (en) System and method for supporting secure application deployment in the cloud
CN105446793A (en) Method and device for migrating virtual assets
CN102576310A (en) Assigning a portion of physical computing resources to a logical partition
CN103425529A (en) System and method for migrating virtual machines between networked computing environments based on resource utilization
CN102469025A (en) Multipath switching over multiple storage systems
CN102194018B (en) System and method for predictive analysis of energy consumption of building based on cloud computing
CN103530167A (en) Virtual machine memory data migration method and relevant device and cluster system
CN102981907A (en) System and method for virtual machine allocation
CN105938525B (en) The discovery based on catalogue of virtual machine facility
CN107430570A (en) Add-on security performing environment with SR IOV and xHCI IOV
CN103297493A (en) Partition aware quality of service feature

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405

RJ01 Rejection of invention patent application after publication