CN115391013A - Task execution method and device and related equipment - Google Patents

Task execution method and device and related equipment Download PDF

Info

Publication number
CN115391013A
CN115391013A CN202211057803.1A CN202211057803A CN115391013A CN 115391013 A CN115391013 A CN 115391013A CN 202211057803 A CN202211057803 A CN 202211057803A CN 115391013 A CN115391013 A CN 115391013A
Authority
CN
China
Prior art keywords
task
processed
scanning
interval time
executed
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
CN202211057803.1A
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211057803.1A priority Critical patent/CN115391013A/en
Publication of CN115391013A publication Critical patent/CN115391013A/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
    • G06F9/4887Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues involving deadlines, e.g. rate based, periodic

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a task execution method, a task execution device and related equipment, which can be applied to the distributed field or the financial field. The method comprises the steps of determining a frequency threshold of a task to be processed according to the ratio of actual execution interval time and scanning interval time of the task to be processed, scanning the task to be processed by the scanning interval time, executing the task to be processed if the scanning frequency of the task to be processed is greater than or equal to the frequency threshold after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective, and thus realizing the control of starting, stopping and interval time of the task to be processed through the actual execution interval time and the timed task state of the task to be processed under the condition that a timer cannot start, stop and modify configuration, and improving the accuracy and stability of task execution.

Description

Task execution method and device and related equipment
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for task execution and a related device.
Background
Because the execution of the Python script multi-thread tasks is limited by the GIL (global interpreter lock) of the Python running environment, only one sub-thread task is really executed at the same time, and the multi-thread tasks cannot interfere with each other in the normal running condition. However, when a sub-thread task in operation is abnormal due to some unpredictable reasons, normal operation of other sub-threads may also be blocked, and especially when a multi-thread timing task is operated, the sub-thread task is often abnormally operated, so that other sub-threads are delayed to be dispatched or blocked in operation, thereby causing a business logic error, and even a system crash in severe cases.
In general, a multi-thread timed task solution of Python application is called up by a third-party task scheduling middleware or other timed services, so that GIL limitation of Python services can be avoided, but the system becomes more cumbersome to a certain extent, dynamic addition, modification or deletion of timed tasks is difficult to achieve, and extra resource consumption and maintenance cost are required to ensure stable operation of the third-party middleware or services.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus and a related device for task execution, so as to improve accuracy and stability of task execution. The specific scheme is as follows:
in a first aspect, the present application provides a task execution method, including:
determining a frequency threshold of the task to be processed according to the ratio of the actual execution interval time of the task to be processed to the scanning interval time;
scanning the task to be processed at the scanning interval time;
after the task to be processed is scanned and the status of the timed task of the task to be processed is determined to be effective, if the scanning times of the task to be processed is determined to be greater than or equal to the time threshold value after the task to be processed is executed for the last time, the task to be processed is executed.
Optionally, the method further includes:
after the task to be processed is scanned and the timing task state of the task to be processed is determined to be effective, adding 1 to a counter corresponding to the task to be processed, wherein the counter is used for counting the scanning times of the task to be processed;
and if the scanning times of the task to be processed are determined to be less than the time threshold value after the task to be processed is executed for the last time according to the counter, returning to execute the operation of scanning the task to be processed in the scanning interval time.
Optionally, the method further includes:
and if the timed task state of the task to be processed is not effective, returning to execute the operation of scanning the task to be processed by the scanning interval time.
Optionally, the number of scanning times of the task to be processed is determined by a counter, and after the task to be processed is executed, the method further includes:
and clearing the counter.
Optionally, the scanning the task to be processed at the scanning interval time includes:
and scanning the task to be processed by utilizing a timer according to the scanning interval time, wherein the scanning interval time is the minimum interval time of the timer.
In a second aspect, an embodiment of the present application further provides a task execution device, including:
the device comprises a time threshold determining unit, a processing unit and a processing unit, wherein the time threshold determining unit is used for determining the time threshold of a task to be processed according to the ratio of the actual execution interval time and the scanning interval time of the task to be processed;
the scanning unit is used for scanning the task to be processed at the scanning interval time;
and the task execution unit is used for executing the task to be processed if the scanning times of the task to be processed are greater than or equal to the time threshold after the task to be processed is executed for the last time after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective.
Optionally, the apparatus further comprises:
the counter adjusting unit is used for adding 1 to a counter corresponding to the task to be processed after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective, and the counter is used for counting the scanning times of the task to be processed;
and the first triggering module is used for triggering the scanning unit if the scanning times of the task to be processed is less than the time threshold value after the task to be processed is executed for the latest time according to the counter.
Optionally, the apparatus further comprises:
and the second triggering unit is used for triggering the scanning unit if the timing task state of the task to be processed is not effective.
Optionally, the number of times of scanning the task to be processed is determined by a counter, and the apparatus further includes:
and the zero clearing unit is used for clearing the counter after the to-be-processed task is executed.
Optionally, the scanning unit is specifically configured to:
and scanning the task to be processed by utilizing a timer according to the scanning interval time, wherein the scanning interval time is the minimum interval time of the timer.
An embodiment of the present application further provides a task execution device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which, when executed by the processor, cause the processor to execute any implementation manner of the task execution method.
An embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a processing device, the processing device is caused to execute any implementation manner of the task execution method.
The embodiment of the application provides a task execution method, a task execution device and related equipment, wherein a frequency threshold of a task to be processed is determined according to a ratio of actual execution interval time to scanning interval time of the task to be processed, the task to be processed is scanned according to the scanning interval time, after the task to be processed is scanned and a timed task state of the task to be processed is determined to be effective, if the scanning frequency of the task to be processed is determined to be greater than or equal to the frequency threshold after the task to be processed is executed for the last time, the task to be processed is executed, so that the interval time between two executions of the task to be processed can be greater than the actual execution interval time, the interval time between two executions of the task to be processed can be modified through configuration of the actual execution interval time of the task to be processed, starting and stopping of the task to be processed can be realized through adjustment of the timed task state of the task to be processed, and starting and stopping of the task to be processed can be realized through control of the actual execution interval time and the timed task to be processed under the condition that a timer cannot be started, stopped and configured can be modified, and the accuracy and stability of the task to be executed can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a task execution method according to an embodiment of the present application;
fig. 2 shows a schematic structural diagram of a task execution device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanying figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein, and it will be apparent to those of ordinary skill in the art that the present application is not limited by the specific embodiments disclosed below.
As described in the background art, since the execution of the Python script multi-thread tasks is limited by the GIL (global interpreter lock) of the Python running environment, only one sub-thread task is actually executed at the same time, and the multi-thread tasks usually do not interfere with each other in running. However, when a sub-thread task in operation is abnormal due to some unpredictable reasons, normal operation of other sub-threads may also be blocked, and especially when a multi-thread timing task is operated, it often occurs that the operation of a certain sub-thread task is abnormal, so that other sub-threads are delayed to be called or the operation is blocked, thereby causing a business logic error, and even a system crash when the business logic is severe.
The multithreading timing task is controlled by a timer, and the common timing tasks comprise: 1) And (5) timing the task once. Setting a certain fixed date and time, stopping when the task is executed for the first time at the time, and not repeatedly executing; 2) Tasks are timed at fixed intervals. The timing task is executed circularly at fixed interval (such as 10 seconds), the timing task is not stopped after the task is executed, and the timing task is executed repeatedly after the specified interval; 3) And (5) fixing a date and timing task. The timed tasks are executed cyclically at a fixed time of day (e.g., 12 per day.
Some existing partial timers are limited by a project development framework, such as no related configuration interface of the timers, or other special reasons, so that the timers cannot be dynamically started and stopped and the timing time cannot be modified after the project is started. For fixed-interval timed tasks, the main purpose of using a timer is to repeatedly execute a certain timed task queue through a certain fixed-interval time (such as 10 seconds, unspecified date), in which case, due to the abnormal operation of the previous task, the task cannot be executed at the fixed-interval time, and business logic errors are caused.
Based on the above technical problem, embodiments of the present application provide a task execution method, a device, and a related device, according to a ratio of an actual execution interval time to a scanning interval time of a task to be processed, determine a frequency threshold of the task to be processed, scan the task to be processed with the scanning interval time, after the task to be processed is scanned and a scheduled task state of the task to be processed is determined to be valid, if it is determined that the scanning frequency of the task to be processed is greater than or equal to the frequency threshold after the task to be processed is executed for the last time, the task to be processed is executed, so that it can be ensured that an interval time between two executions of the task to be processed is greater than the actual execution interval time, the interval time between two executions of the task to be processed can be modified through configuration of the actual execution interval time of the task to be processed, start and stop of the task to be processed can be achieved by adjusting the scheduled task state of the task to be processed, and accordingly, control of the interval time between two executions and start and stop of the task to be processed can be achieved under a condition that a timer cannot be started and stopped and modified, and stability of task execution can be improved.
For convenience of understanding, a task execution method, a task execution device and related equipment provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of a task execution method provided in an embodiment of the present application may include the following steps.
S101, determining a frequency threshold of the task to be processed according to the ratio of the actual execution interval time of the task to be processed to the scanning interval time.
In the embodiment of the application, the task to be processed can be a timing task in a Python development scene, dynamic addition, modification or deletion of different timing tasks can be realized while normal operation of the timing tasks of a plurality of subtasks is guaranteed in the mode in a multi-thread timing task scene, a third-party task scheduling middleware or other timing services are not additionally introduced, and the system burden is reduced.
In the embodiment of the present application, three parameters, that is, an actual execution interval time, a counter (count), and a timed task state (status) may be configured for the task to be processed, and the three parameters may be stored in the database and may be defined by a user. The actual execution interval time is used for controlling the actual execution interval time of the task to be processed, and the actual execution interval time can be set according to the execution states of other tasks; the timing task state is used for controlling whether the task to be processed is effective or not, and when the task to be processed has higher requirement on time limit and cannot be executed in time, the timing task state of the task to be processed can be set to be not effective, and the task to be processed cannot be executed; the counter count is used for counting the scanning times of the task to be processed when the timer scans the task to be processed every time, and the counter is set to zero when the task to be processed is initialized or is executed once.
The task to be processed may have an actual execution interval time and a scanning interval time, the scanning interval time is an interval time at which the timer scans the task to be processed, and the number threshold of the task to be processed may be determined according to a ratio of the actual execution interval time to the scanning interval time of the task to be processed. The number threshold is a positive number and may be recorded as n, the number threshold may be an integer of a ratio of actual execution interval time to scanning interval time of the task to be processed, the integer may be rounded, or rounded by a carry, so that the actual execution interval time is less than or equal to a product of the scanning interval time and the number threshold.
And S102, scanning the task to be processed by the scanning interval time.
In the embodiment of the present application, the task to be processed may be scanned with the scanning interval time, specifically, the task to be processed may be scanned with the scanning interval time by using a timer, the scanning interval time is the minimum interval time of the timer, the actual execution interval time may be an integral multiple of the scanning interval time, and the timer may not perform the modification of the operation configuration and the dynamic start-stop after being started. The timer can be configured at the service logic level.
S103, after the task to be processed is scanned and the timing task state of the task to be processed is determined to be effective, if the scanning times of the task to be processed are determined to be larger than or equal to the time threshold value after the task to be processed is executed for the last time, the task to be processed is executed.
When the task to be processed is scanned, whether the task to be processed is executed may be determined, specifically, whether the timed task state of the task to be processed is valid (True) may be determined first, if yes, the task to be processed is not executed if the scanning times and the time threshold are determined, and the step returns to execute S102 to continue scanning the task to be processed.
After the timed task state of the task to be processed is determined to be effective, 1 can be added to a counter for counting the scanning times of the task to be processed, if the fact that the scanning times of the task to be processed is greater than or equal to a time threshold value after the task to be processed is executed for the last time is determined, the task to be processed can be executed, the interval time between two executions of the task to be processed is greater than or equal to the actual execution interval time, and actual regulation and control of the actual execution interval of the task to be processed are achieved. After the to-be-processed task is executed, the counter may be cleared, so that the counter restarts to accumulate the number of scans for the to-be-processed task.
After the timed task state of the task to be processed is determined to be effective, 1 may be added to the counter for counting the scanning times of the task to be processed, and if it is determined that the scanning times of the task to be processed is less than the time threshold value after the task to be processed is executed for the last time, the task to be processed may be skipped, and the process returns to execute S102, and the scanning of the task to be processed continues.
In the embodiment of the application, the timer and the timing task related to the timer can be controlled at an upper layer, and the timing task can be dynamically controlled when a project runs. Under the condition that the timing interval time configuration of the timer and the start-stop timer are not modified actually, the start-stop timing task is started and stopped, the timing task can be executed according to a certain specified interval time, the dynamic adjustment of the timing task to be executed is realized, and the problem that other thread tasks cannot be started due to the fact that one thread is abnormal in execution because the timer scans a certain method repeatedly instead of directly starting a plurality of timing tasks is solved.
The embodiment of the application provides a task execution method, which includes determining a frequency threshold of a task to be processed according to a ratio of actual execution interval time and scanning interval time of the task to be processed, scanning the task to be processed with the scanning interval time, executing the task to be processed if the scanning frequency of the task to be processed is greater than or equal to the frequency threshold after the task to be processed is scanned and a timed task state of the task to be processed is determined to be effective, so that the interval time between two executions of the task to be processed can be greater than an actual execution interval time, the interval time between two executions of the task to be processed can be modified through configuration of the actual execution interval time of the task to be processed, starting and stopping of the task to be processed can be achieved by adjusting the timed task state of the task to be processed, control over the actual execution interval time and the timed task stopping of the task to be processed can be achieved under the condition that a timer cannot be started, stopped and the configuration can be modified, and control over the starting, stopping and the interval time of the task to be processed can be improved, and accuracy and stability of task execution can be improved.
Based on the task execution method, an embodiment of the present application further provides a task execution device, and referring to fig. 2, a structural block diagram of the task execution device provided in the embodiment of the present application is shown, where the task execution device may include:
a number threshold determining unit 110, configured to determine a number threshold of the to-be-processed task according to a ratio of actual execution interval time to scanning interval time of the to-be-processed task;
a scanning unit 120, configured to scan the task to be processed at the scanning interval;
the task execution unit 130 is configured to, after the to-be-processed task is scanned and the status of the timed task of the to-be-processed task is determined to be valid, execute the to-be-processed task if it is determined that the number of times of scanning the to-be-processed task is greater than or equal to the number threshold after the to-be-processed task is executed last time.
Optionally, the apparatus further comprises:
the counter adjusting unit is used for adding 1 to a counter corresponding to the task to be processed after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective, and the counter is used for counting the scanning times of the task to be processed;
and the first triggering module is used for triggering the scanning unit if the scanning times of the task to be processed is less than the time threshold value after the task to be processed is executed for the latest time according to the counter.
Optionally, the apparatus further comprises:
and the second triggering unit is used for triggering the scanning unit if the timing task state of the task to be processed is not effective.
Optionally, the number of times of scanning the task to be processed is determined by a counter, and the apparatus further includes:
and the zero clearing unit is used for clearing the counter after the to-be-processed task is executed.
Optionally, the scanning unit is specifically configured to:
and scanning the task to be processed by using a timer according to the scanning interval time, wherein the scanning interval time is the minimum interval time of the timer.
The embodiment of the application provides a task execution device, which determines a frequency threshold of a task to be processed according to a ratio of actual execution interval time and scanning interval time of the task to be processed, scans the task to be processed by the scanning interval time, executes the task to be processed if the scanning frequency of the task to be processed is determined to be greater than or equal to the frequency threshold after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective, so that the interval time between two executions of the task to be processed can be ensured to be greater than the actual execution interval time, the interval time between two executions of the task to be processed can be modified through the configuration of the actual execution interval time of the task to be processed, the starting and stopping of the task to be processed can be realized by adjusting the timed task state of the task to be processed, the actual execution interval time and the timed task state of the task to be processed can be controlled through the actual execution interval time and the timed task state of the task to be processed under the condition that the timer cannot be started, stopped and the configured can be modified, the starting, the stopping and stopping of the task can be controlled, and the accuracy and the stability of the task execution can be improved.
Further, an embodiment of the present application further provides a task execution device, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which, when executed by the processor, cause the processor to execute any one of the implementation methods of the front-end authorization method.
Further, an embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a processing device, the instructions cause the processing device to perform any implementation method of the above task execution method.
It should be noted that the task execution method, the task execution device and the related equipment provided by the invention can be used in the fields of artificial intelligence, block chaining, distribution, cloud computing, big data, internet of things, mobile internet, network security, chip, virtual reality, augmented reality, holography, quantum computing, quantum communication, quantum measurement, digital twinning or finance. The above description is only an example, and does not limit the application fields of the task execution method, the task execution device, and the related device provided by the present invention.
The task execution method, the task execution device and the related equipment can be used in the financial field or other fields, for example, the method, the device and the related equipment can be used in a Phython development application scene in the financial field. The other fields are arbitrary fields other than the financial field, for example, the internet field. The above description is only an example, and does not limit the application fields of the task execution method, the task execution device, and the related device provided by the present invention.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part.
It is further noted that, herein, relational terms such as first and second, and the like may be 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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a preferred embodiment of the present application and, although the present application discloses the foregoing preferred embodiments, the present application is not limited thereto. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (10)

1. A method of task execution, comprising:
determining a frequency threshold of the task to be processed according to the ratio of the actual execution interval time of the task to be processed to the scanning interval time;
scanning the task to be processed at the scanning interval time;
after the task to be processed is scanned and the status of the timed task of the task to be processed is determined to be effective, if the scanning times of the task to be processed is determined to be greater than or equal to the time threshold value after the task to be processed is executed for the last time, the task to be processed is executed.
2. The method of claim 1, further comprising:
after the task to be processed is scanned and the timing task state of the task to be processed is determined to be effective, adding 1 to a counter corresponding to the task to be processed, wherein the counter is used for counting the scanning times of the task to be processed;
and if the scanning times of the task to be processed are determined to be less than the time threshold value after the task to be processed is executed for the last time according to the counter, returning to execute the operation of scanning the task to be processed in the scanning interval time.
3. The method of claim 1, further comprising:
and if the timed task state of the task to be processed is not effective, returning to execute the operation of scanning the task to be processed by the scanning interval time.
4. The method according to any one of claims 1-3, wherein the number of scans for the pending task is determined by a counter, and after the pending task is executed, the method further comprises:
and clearing the counter.
5. The method according to any one of claims 1-3, wherein said scanning the task to be processed at the scan interval time comprises:
and scanning the task to be processed by utilizing a timer according to the scanning interval time, wherein the scanning interval time is the minimum interval time of the timer.
6. A task execution apparatus, comprising:
the device comprises a time threshold determining unit, a processing unit and a processing unit, wherein the time threshold determining unit is used for determining the time threshold of a task to be processed according to the ratio of the actual execution interval time and the scanning interval time of the task to be processed;
the scanning unit is used for scanning the task to be processed at the scanning interval time;
and the task execution unit is used for executing the task to be processed if the scanning times of the task to be processed are greater than or equal to the time threshold after the task to be processed is executed for the last time after the task to be processed is scanned and the timed task state of the task to be processed is determined to be effective.
7. The apparatus of claim 6, further comprising:
the counter adjusting unit is used for adding 1 to a counter corresponding to the task to be processed after the task to be processed is scanned and the timing task state of the task to be processed is determined to be effective, and the counter is used for counting the scanning times of the task to be processed;
and the first triggering module is used for triggering the scanning unit if the scanning times of the task to be processed is less than the time threshold value after the task to be processed is executed for the latest time according to the counter.
8. The apparatus of claim 6, further comprising:
and the second triggering unit is used for triggering the scanning unit if the timing task state of the task to be processed is not effective.
9. A task execution device, comprising: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-5.
10. A computer-readable storage medium having stored therein instructions that, when executed on a processing device, cause the processing device to perform the method of any of claims 1-5.
CN202211057803.1A 2022-08-30 2022-08-30 Task execution method and device and related equipment Pending CN115391013A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211057803.1A CN115391013A (en) 2022-08-30 2022-08-30 Task execution method and device and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211057803.1A CN115391013A (en) 2022-08-30 2022-08-30 Task execution method and device and related equipment

Publications (1)

Publication Number Publication Date
CN115391013A true CN115391013A (en) 2022-11-25

Family

ID=84125129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211057803.1A Pending CN115391013A (en) 2022-08-30 2022-08-30 Task execution method and device and related equipment

Country Status (1)

Country Link
CN (1) CN115391013A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700936A (en) * 2023-08-04 2023-09-05 深圳市智慧城市科技发展集团有限公司 Timing task execution method, terminal device and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116700936A (en) * 2023-08-04 2023-09-05 深圳市智慧城市科技发展集团有限公司 Timing task execution method, terminal device and computer readable storage medium

Similar Documents

Publication Publication Date Title
Bermbach et al. Using application knowledge to reduce cold starts in FaaS services
Xiao et al. {AntMan}: Dynamic scaling on {GPU} clusters for deep learning
US9250952B2 (en) Batch scheduling
CN107766101B (en) Method, device and equipment for processing App starting event
US8381216B2 (en) Dynamic thread pool management
CN106775977B (en) Task scheduling method, device and system
US8266622B2 (en) Dynamic critical path update facility
CN111767134A (en) Multitask dynamic resource scheduling method
CN113535367A (en) Task scheduling method and related device
US10623281B1 (en) Dynamically scheduled checkpoints in distributed data streaming system
Missimer et al. Mixed-criticality scheduling with I/O
CN115391013A (en) Task execution method and device and related equipment
US9128754B2 (en) Resource starvation management in a computer system
US9311139B1 (en) Batch processing of oversubscribed system based on subscriber usage patterns
Baresi et al. Cocos: A scalable architecture for containerized heterogeneous systems
Baek et al. Non-preemptive scheduling for mixed-criticality real-time multiprocessor systems
Cucinotta et al. A robust mechanism for adaptive scheduling of multimedia applications
US20050132038A1 (en) Resource reservation system and resource reservation method and recording medium storing program for executing the method
Pazzaglia et al. Simple and general methods for fixed-priority schedulability in optimization problems
US11474868B1 (en) Sharded polling system
CN115344371A (en) Interface calling method and device, storage medium and computer equipment
US10992517B1 (en) Dynamic distributed execution budget management system
JP2002099435A (en) Control method of multi-task and information processor
Zhang et al. End-to-end scheduling strategies for aperiodic tasks in middleware
Raheja et al. Improving architecture-based self-adaptation using preemption

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