Timed task starting method and device and electronic equipment

The invention discloses a timing task starting method and device and electronic equipment, and the method comprises the steps: obtaining the respective starting time of N timing tasks, extracting M timing tasks meeting a preset execution condition from the N timing tasks, and based on the correspond...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG BINBIN, JIA CHUAN, XIAO BING, HE TENGXIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a timing task starting method and device and electronic equipment, and the method comprises the steps: obtaining the respective starting time of N timing tasks, extracting M timing tasks meeting a preset execution condition from the N timing tasks, and based on the corresponding relation between the preset timing tasks and the number of threads, starting the N timing tasks according to the M timing tasks, and determining the total number of actual threads corresponding to each timed task in the M timed tasks, and in response to the fact that the current time is consistent with the starting time, controlling the threads of the total number of actual threads to execute the corresponding timed tasks in parallel. By means of the method, the M timed tasks meeting the preset execution condition are determined, the M timed tasks are executed in parallel, timed tasks not meeting the preset execution condition in the N timed tasks are avoided, the timed tasks can be started at the starting time