CN114924854A - Method, device and system for realizing task scheduling - Google Patents

Method, device and system for realizing task scheduling Download PDF

Info

Publication number
CN114924854A
CN114924854A CN202210561691.7A CN202210561691A CN114924854A CN 114924854 A CN114924854 A CN 114924854A CN 202210561691 A CN202210561691 A CN 202210561691A CN 114924854 A CN114924854 A CN 114924854A
Authority
CN
China
Prior art keywords
task scheduling
module
scheduling
data
task
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
CN202210561691.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.)
Shenzhen Weiyan Technology Co ltd
Original Assignee
Shenzhen Weiyan Technology 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 Shenzhen Weiyan Technology Co ltd filed Critical Shenzhen Weiyan Technology Co ltd
Priority to CN202210561691.7A priority Critical patent/CN114924854A/en
Publication of CN114924854A publication Critical patent/CN114924854A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of computers, and discloses a method for realizing task scheduling, which comprises the steps of receiving a task scheduling request provided by a user, carrying out real-time safety monitoring and data restoration through a scheduling error restoration module and an intervention scheduling module, carrying out real-time safety monitoring and data restoration through the scheduling error restoration module and the intervention scheduling module, manually restoring when programmed data cannot be automatically restored, executing the task scheduling request, avoiding a plurality of task scheduling requests from being occupied by a data cluster, ensuring the task scheduling requests to be executed orderly and smoothly, establishing a log track at a key position in the basic data programming establishing process, checking the smoothness degree of the task scheduling process in advance, grasping and finding problems in the task scheduling process in time, previewing the task scheduling process, and ensuring the stability of the task scheduling process in normal operation, the problems occurring in the task scheduling process can be mastered conveniently and timely.

Description

Method, device and system for realizing task scheduling
Technical Field
The invention relates to the technical field of computers, in particular to a method, a device and a system for realizing task scheduling.
Background
The calculator and controller of low-grade calculator are composed of digital logic circuit to implement simple serial calculation, and its random memory has only one or two units for accumulation storage. The high-grade calculator realizes various complex operation programs by a microprocessor and a read-only memory, and has more random storage units for storing input programs and data. The keyboard is an input part of the calculator, generally adopts a contact type or a sensing type, and one key often has multiple functions in order to reduce the size of the calculator.
Disclosure of Invention
The invention provides the following technical scheme: the method for realizing task scheduling comprises the following steps of;
receiving a task scheduling request provided by a user, and generating task scheduling data according to the provided task scheduling request;
matching the generated task scheduling data with the calculation programming data cluster to obtain a data cluster aiming at the task scheduling data;
sending the obtained data cluster to a task scheduling processing module through a transmission module for processing to obtain a task scheduling method;
the task scheduling method is optimally distributed through a task scheduling distribution module, so that the task scheduling method is executed;
real-time safety monitoring and data restoration are carried out through the scheduling error restoration module and the intervention scheduling module, and manual restoration is carried out when programmed data cannot be automatically restored.
Through the technical scheme; the task scheduling requests are executed, the task scheduling requests are guaranteed to be efficiently solved, a plurality of task scheduling requests are prevented from being occupied by one data cluster, and the task scheduling requests are guaranteed to be executed orderly and smoothly.
Preferably, comprises;
establishing an idempotent framework
The idempotent framework has the characteristic that the influence generated by any multiple times of execution is the same as that of one time of execution, and the idempotent function or the idempotent method refers to functions which can be repeatedly executed by using the same parameters and can obtain the same result, and the functions do not influence the state of the system and do not change the system due to repeated execution.
Through the technical scheme; when the task scheduling request is processed through the task scheduling receiving module, the data information matching module, the task scheduling processing module, the task scheduling distribution module and the scheduling error recovery module, the task scheduling process is not affected by repeated operation, the stability of a basic data programming framework is ensured, and the later-stage use is facilitated.
Preferably, comprises;
establishing a log track;
and establishing a log track at a key position in the basic data programming establishing process, checking the smoothness degree of a task scheduling flow in advance, and timely grasping and finding problems in the task scheduling process.
Through the technical scheme; the task scheduling process is previewed, so that the stability of the task scheduling process in normal operation is ensured, the risk of the task scheduling in actual execution is reduced, and the problems of the task scheduling process can be mastered in time.
Preferably, it comprises;
setting a manual inlet;
through setting up manual operation entry, make the staff in time adjust and restore the problem in the task scheduling process.
Through the technical scheme; and the manual operation entry is used for manually intervening and repairing a scheduling error recovery module by a worker when the scheduling error recovery module cannot be repaired according to a preset program, so that the task scheduling is stably executed.
Preferably, the system comprises a transmission device, a receiving device, a processor, a server, a storage device and an input device.
Through the technical scheme; all devices work together to ensure that the task scheduling request is smoothly carried out in all processes.
Preferably, the system comprises a task scheduling system, wherein the task scheduling system comprises a task scheduling receiving module, a data information matching module, a task scheduling processing module, a task scheduling distribution module, a scheduling error recovery module and an intervention scheduling module, the output end of the task scheduling receiving module is connected with the input end of the data information matching module, the output end of the data information matching module is connected with the input end of the task scheduling processing module, the output end of the task scheduling processing module is connected with the input end of the task scheduling distribution module, the output end of the intervention module is connected with the input end of the scheduling error recovery module, and the output end of the scheduling error recovery module is connected with the input end of the task scheduling processing module.
Through the technical scheme; the task scheduling requests are executed, the task scheduling requests are guaranteed to be efficiently solved, a plurality of task scheduling requests are prevented from being occupied by one data cluster, and the task scheduling requests are guaranteed to be executed orderly and smoothly.
Preferably, the task scheduling receiving module is configured to receive a task scheduling request provided by a user, and generate task scheduling data from the received task scheduling request, and the data information matching module is configured to match the generated task scheduling data with a computation programming data cluster to obtain a data cluster for the task scheduling data.
Through the technical scheme; the stability of the task scheduling request received by the task scheduling receiving module is ensured, the task scheduling data is quickly matched with the data cluster through the data information matching module, and the task scheduling request solving speed is increased.
Preferably, the task scheduling processing module is configured to process the obtained data cluster for the task scheduling data to generate a task scheduling method for the task scheduling, and the task scheduling allocating module is configured to perform optimal distribution on the obtained task scheduling method to execute the task scheduling method.
Through the technical scheme; and the task scheduling processing module is used for quickly processing and efficiently executing the task scheduling data.
Preferably, the scheduling error recovery module is configured to recover errors occurring in the task scheduling receiving module, the data information matching module, the task scheduling processing module, and the task scheduling allocating module according to a preset program.
Through the technical scheme; the problems occurring in the task scheduling request flow are automatically processed when no manual operation is carried out, and the fluency of the task scheduling processing flow is ensured.
Preferably, the intervention scheduling module is used for manually performing intervention repair by a worker when the scheduling error recovery module cannot be repaired according to a preset program, so as to ensure that task scheduling is stably executed.
Through the technical scheme; and a means for repairing problems in the task scheduling request is added, so that the problems in the task scheduling are quickly solved.
Advantageous effects
Compared with the prior art, the invention provides a method, a device and a system for realizing task scheduling, which have the following beneficial effects:
1. according to the invention, real-time safety monitoring and data restoration are carried out through the scheduling error restoration module and the intervention scheduling module, manual restoration is carried out when programmed data cannot be automatically restored, the task scheduling request is executed, the task scheduling request is guaranteed to be efficiently solved, a plurality of task scheduling requests are prevented from being occupied by one data cluster, and the task scheduling request is guaranteed to be orderly and smoothly executed.
2. According to the method and the device, the log track is established at the key position in the basic data programming establishing process, the smoothness degree of the task scheduling process is checked in advance, the problems in the task scheduling process are grasped and found in time, the task scheduling process is previewed, the stability of the task scheduling process in normal operation is ensured, the risk of the task scheduling in actual execution is reduced, and the problems in the task scheduling process can be grasped in time.
Drawings
FIG. 1 is a schematic diagram of a system architecture of a method, an apparatus and a system for implementing task scheduling according to the present invention;
FIG. 2 is a schematic diagram of a device structure of a method, a device and a system for implementing task scheduling according to the present invention;
fig. 3 is a schematic diagram of a method structure of a method, an apparatus and a system for implementing task scheduling according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment;
referring to fig. 1 and 3, a method for implementing task scheduling includes receiving a task scheduling request provided by a user, generating task scheduling data according to the task scheduling request, matching the generated task scheduling data with a computation programming data cluster to obtain a data cluster for the task scheduling data, sending the obtained data cluster to a task scheduling processing module through a transmission module for processing to obtain a task scheduling method, optimally distributing the obtained task scheduling method through a task scheduling distribution module to enable the task scheduling method to be executed, performing real-time security monitoring and data repair through a scheduling error recovery module and an intervention scheduling module, manually recovering when the programming data cannot be automatically repaired, executing the task scheduling request, ensuring that the task scheduling request is efficiently solved, and avoiding a plurality of task scheduling requests from being occupied by one data cluster, and the task scheduling request is ensured to be executed orderly and smoothly.
Example two;
please refer to fig. 3, which includes; the method comprises the steps of establishing an idempotent frame, wherein the idempotent frame has the characteristic that the influence generated by any multiple execution is the same as the influence generated by one-time execution, and the idempotent function or the idempotent method means that the idempotent frame can be repeatedly executed by using the same parameters and can obtain the same result, the functions cannot influence the system state and cannot change the system due to repeated execution, so that when a task scheduling request is processed by a task scheduling receiving module, a data information matching module, a task scheduling processing module, a task scheduling distribution module and a scheduling error recovery module, the influence on the task scheduling process due to repeated operation is avoided, the stability of a basic data programming frame is ensured, and the later-stage use is facilitated.
Example three;
referring to fig. 3, the method includes establishing a log track, establishing the log track at a key position in a basic data programming establishing process, checking smoothness of a task scheduling process in advance, grasping and finding problems in the task scheduling process in time, previewing the task scheduling process, ensuring stability of the task scheduling process during normal operation, reducing risks of task scheduling during actual execution, and facilitating grasping problems occurring in the task scheduling process in time.
Example four;
referring to fig. 3, a manual entry is provided, so that a worker can timely adjust and repair problems in the task scheduling process by setting the manual operation entry, and the worker can perform manual intervention repair on the scheduling error recovery module according to a preset program when the scheduling error recovery module cannot be repaired by setting the manual operation entry, thereby ensuring smooth execution of task scheduling.
The fifth example;
referring to fig. 2, the system includes a transmitting device, a receiving device, a processor, a server, a storage device, and an input device, which work together to ensure smooth progress of task scheduling requests in each process.
Example six;
referring to fig. 1, the system includes a task scheduling system, the task scheduling system includes a task scheduling receiving module, a data information matching module, a task scheduling processing module, a task scheduling allocating module, a scheduling error recovering module and an intervention scheduling module, an output end of the task scheduling receiving module is connected to an input end of the data information matching module, an output end of the data information matching module is connected to an input end of the task scheduling processing module, an output end of the task scheduling processing module is connected to an input end of the task scheduling allocating module, an output end of the intervention module is connected to an input end of the scheduling error recovering module, an output end of the scheduling error recovering module is connected to an input end of the task scheduling processing module, the task scheduling request is executed, the task scheduling request is guaranteed to be solved efficiently, and a plurality of task scheduling requests are prevented from being occupied by one data cluster, and the task scheduling request is ensured to be executed orderly and smoothly.
Example seven;
referring to fig. 1, the task scheduling receiving module is configured to receive a task scheduling request provided by a user, and generate task scheduling data from the received task scheduling request, the data information matching module is configured to match the generated task scheduling data with a computation programming data cluster to obtain a data cluster for the task scheduling data, so as to ensure stability of the task scheduling receiving module receiving the task scheduling request, and the data information matching module is configured to match the task scheduling data with the data cluster quickly to speed up the resolution of the task scheduling request, the task scheduling processing module is configured to process the obtained data cluster for the task scheduling data to generate a task scheduling method for the task scheduling, and the task scheduling allocation module is configured to optimally distribute the obtained task scheduling method to execute the task scheduling method, and the task scheduling processing module is used for quickly processing and efficiently executing the task scheduling data.
An eighth embodiment;
referring to fig. 1, the scheduling error recovery module is configured to recover errors occurring in the task scheduling receiving module, the data information matching module, the task scheduling processing module, and the task scheduling allocating module according to a preset program, automatically process a problem occurring in the task scheduling request flow when no manual operation is performed, and ensure smoothness of the task scheduling processing flow, and the intervention scheduling module is configured to manually intervene and repair a worker when the scheduling error recovery module cannot repair the problem according to the preset program, ensure smooth execution of task scheduling, increase a means for repairing a problem in the task scheduling request, and quickly solve the problem in task scheduling.
In summary, the invention performs real-time safety monitoring and data recovery through the scheduling error recovery module and the intervention scheduling module, and performs manual recovery when the programmed data cannot be automatically recovered, executes the task scheduling request, ensures that the high efficiency of the task scheduling request is solved, avoids a plurality of task scheduling requests from being occupied by one data cluster, ensures that the task scheduling requests are executed orderly and smoothly, establishes a log track at a key position in the basic data programming establishing process, looks up the smoothness degree of the task scheduling flow in advance, timely grasps and discovers problems in the task scheduling process, previews the task scheduling flow, ensures the stability of the task scheduling flow in normal operation, reduces the risk of task scheduling in actual execution, and facilitates timely grasping problems in the task scheduling flow.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (10)

1. The method for realizing task scheduling is characterized by comprising the following steps of;
receiving a task scheduling request provided by a user, and generating task scheduling data according to the provided task scheduling request;
matching the generated task scheduling data with the calculation programming data cluster to obtain a data cluster aiming at the task scheduling data;
sending the obtained data cluster to a task scheduling processing module through a transmission module for processing to obtain a task scheduling method;
the task scheduling method obtained is optimally distributed through a task scheduling distribution module, so that the task scheduling method is executed;
real-time safety monitoring and data restoration are carried out through the scheduling error restoration module and the intervention scheduling module, and manual restoration is carried out when programmed data cannot be automatically restored.
2. The method for realizing task scheduling is characterized by comprising the following steps of;
establishing an idempotent framework
The idempotent framework has the characteristic that the influence generated by any multiple times of execution is the same as the influence generated by one time of execution, and the idempotent function or the idempotent method refers to functions which can be repeatedly executed by using the same parameters and can obtain the same result, and the functions do not influence the state of the system and do not change the system due to repeated execution.
3. The method for realizing task scheduling is characterized by comprising the following steps of;
establishing a log track;
and establishing a log track at a key position in the basic data programming establishing process, checking the smoothness degree of a task scheduling flow in advance, and timely mastering and finding problems in the task scheduling process.
4. The method for realizing task scheduling is characterized by comprising the following steps of;
setting a manual inlet;
through setting up manual operation entry, make the staff in time adjust and restore the problem in the task scheduling process.
5. The apparatus for implementing task scheduling of claim 1, comprising a transmitting device, a receiving device, a processor, a server, a storage device and an input device.
6. The system for realizing task scheduling according to claim 1, comprising a task scheduling system, wherein the task scheduling system comprises a task scheduling receiving module, a data information matching module, a task scheduling processing module, a task scheduling distributing module, a scheduling error recovering module and an intervention scheduling module, an output end of the task scheduling receiving module is connected with an input end of the data information matching module, an output end of the data information matching module is connected with an input end of the task scheduling processing module, an output end of the task scheduling processing module is connected with an input end of the task scheduling distributing module, an output end of the intervention module is connected with an input end of the scheduling error recovering module, and an output end of the scheduling error recovering module is connected with an input end of the task scheduling processing module.
7. The system for implementing task scheduling according to claim 6, wherein the task scheduling receiving module is configured to receive a task scheduling request provided by a user and generate task scheduling data from the received task scheduling request, and the data information matching module is configured to match the generated task scheduling data with a computation programming data cluster to obtain a data cluster for the task scheduling data.
8. The system according to claim 6, wherein the task scheduling processing module is configured to process the obtained data cluster for the task scheduling data to generate a task scheduling method for the task scheduling, and the task scheduling assignment module is configured to perform optimal distribution on the obtained task scheduling method to execute the task scheduling method.
9. The system according to claim 6, wherein the scheduling error recovery module is configured to recover errors occurring in the task scheduling receiving module, the data information matching module, the task scheduling processing module, and the task scheduling allocating module according to a preset program.
10. The system for achieving task scheduling as claimed in claim 6, wherein the intervention scheduling module is configured to enable a worker to perform manual intervention repair when the scheduling error recovery module cannot perform repair according to a preset program, so as to ensure smooth execution of task scheduling.
CN202210561691.7A 2022-05-23 2022-05-23 Method, device and system for realizing task scheduling Pending CN114924854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210561691.7A CN114924854A (en) 2022-05-23 2022-05-23 Method, device and system for realizing task scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210561691.7A CN114924854A (en) 2022-05-23 2022-05-23 Method, device and system for realizing task scheduling

Publications (1)

Publication Number Publication Date
CN114924854A true CN114924854A (en) 2022-08-19

Family

ID=82810522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210561691.7A Pending CN114924854A (en) 2022-05-23 2022-05-23 Method, device and system for realizing task scheduling

Country Status (1)

Country Link
CN (1) CN114924854A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018206994A1 (en) * 2017-05-11 2018-11-15 Bull Sas Method of managing resource providing in a computers cluster running jobs
CN109814995A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN111124688A (en) * 2019-12-31 2020-05-08 青梧桐有限责任公司 Server resource control method and system
CN112486648A (en) * 2020-11-30 2021-03-12 北京百度网讯科技有限公司 Task scheduling method, device, system, electronic equipment and storage medium
CN113886029A (en) * 2021-10-15 2022-01-04 中国科学院信息工程研究所 Cross-region distributed data center task scheduling method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018206994A1 (en) * 2017-05-11 2018-11-15 Bull Sas Method of managing resource providing in a computers cluster running jobs
CN109814995A (en) * 2019-01-04 2019-05-28 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN111124688A (en) * 2019-12-31 2020-05-08 青梧桐有限责任公司 Server resource control method and system
CN112486648A (en) * 2020-11-30 2021-03-12 北京百度网讯科技有限公司 Task scheduling method, device, system, electronic equipment and storage medium
CN113886029A (en) * 2021-10-15 2022-01-04 中国科学院信息工程研究所 Cross-region distributed data center task scheduling method and system

Similar Documents

Publication Publication Date Title
US8381016B2 (en) Fault tolerance for map/reduce computing
Burchard et al. New strategies for assigning real-time tasks to multiprocessor systems
US9367359B2 (en) Optimized resource management for map/reduce computing
US9396028B2 (en) Scheduling workloads and making provision decisions of computer resources in a computing environment
US8595735B2 (en) Holistic task scheduling for distributed computing
CN103942034A (en) Task scheduling method and electronic device implementing method
CN111708628A (en) Task scheduling management method, device, equipment and storage medium
CN107621973A (en) A kind of method for scheduling task and device across cluster
EP4113299A2 (en) Task processing method and device, and electronic device
CN106874109A (en) A kind of distributed job distribution processing method and system
CN104615487A (en) System and method for optimizing parallel tasks
CN103823719A (en) Distributed cloud computing system and distributed cloud computing method for executable program
CN110300188A (en) Data transmission system, method and apparatus
CN109782724A (en) The control method and terminal device of anti-misoperation locking
CN105989133A (en) Transaction processing method and device
CN108038126B (en) Data export method, device, terminal equipment and storage medium
US20080071389A1 (en) Service Metric Portfolio Management
CN114924854A (en) Method, device and system for realizing task scheduling
CN103218449B (en) Form is operation exception disposal route and system in the daytime
CN110275882A (en) Method for writing data, system, device and readable storage medium storing program for executing based on HBASE
CN103914348B (en) The method that processor loading is distributed between real-time processor thread
CN107122489B (en) Data comparison method and device
Kang et al. MeLoN: Distributed deep learning meets the big data platform
CN113065093B (en) Method and device for determining link to be repaired
US20230153293A1 (en) Multi-threaded dynamic queries on an unpartitioned database

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