CN110879707B - Compiling task execution method and device - Google Patents

Compiling task execution method and device Download PDF

Info

Publication number
CN110879707B
CN110879707B CN201811036501.XA CN201811036501A CN110879707B CN 110879707 B CN110879707 B CN 110879707B CN 201811036501 A CN201811036501 A CN 201811036501A CN 110879707 B CN110879707 B CN 110879707B
Authority
CN
China
Prior art keywords
compiling
task
tasks
main
highest priority
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.)
Active
Application number
CN201811036501.XA
Other languages
Chinese (zh)
Other versions
CN110879707A (en
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201811036501.XA priority Critical patent/CN110879707B/en
Publication of CN110879707A publication Critical patent/CN110879707A/en
Application granted granted Critical
Publication of CN110879707B publication Critical patent/CN110879707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Abstract

The embodiment of the invention discloses a compiling task executing method and device, and relates to the field of data communication. The compiling efficiency is improved, and the waiting time of the compiling task is reduced. The method comprises the following steps: receiving a compiling task submitted by a user, storing the compiling task into a compiling task table, and classifying the compiling task according to a preset classification rule; selecting a main task from the similar compiling tasks which are included in the compiling task; polling the compiling task table according to a set time period, scheduling the main task in the compiling task table according to the scheduling time of the main task and executing compiling.

Description

Compiling task execution method and device
Technical Field
The invention belongs to the field of data communication, and particularly relates to a compiling task executing method and device.
Background
In the field of software engineering, a compiling method for compiling tasks generally adopts modes such as distributed compiling and dynamic allocation of a compiler to improve compiling efficiency. In the compiling method, each compiling task is usually compiled separately, and after the compiling is completed, each compiler is notified. When a plurality of compiling tasks with the same compiling result exist, independent compiling for each compiling task is still adopted, so that the problems of low compiling rate, long waiting time of the compiling task and the like are caused.
Disclosure of Invention
In view of the above problems, the present invention provides a method and an apparatus for executing a compilation task, which solve the problems in the prior art that when a plurality of compilation tasks with the same compilation result exist, independent compilation of each compilation task will result in a low compilation rate and long waiting time for the compilation task.
In a first aspect, the present invention provides a compilation task execution method, including:
receiving a compiling task submitted by a user, storing the compiling task into a compiling task table, and classifying the compiling task according to a preset classification rule;
selecting a main task from the similar compiling tasks which are included in the compiling task;
polling the compiling task table according to a set time period, scheduling the main task in the compiling task table according to the scheduling time of the main task and executing compiling.
In a second aspect, the present invention provides a compilation task executing apparatus, including:
the receiving module is used for receiving the compiling task submitted by the user and storing the compiling task in a compiling task table;
the classification module is used for classifying the compiling task according to a preset classification rule;
the classification module is also used for selecting a main task from the similar compiling tasks which are included in the compiling task;
the scheduling module is used for polling the compiling task table according to a set time period and scheduling the main task in the compiling task table according to the scheduling time of the main task;
and the execution module is used for compiling the main task scheduled by the scheduling module.
According to the compiling task executing method and device provided by the invention, the compiling tasks are classified into the same type of compiling tasks according to the preset classification rule, only the main tasks in the same type of compiling tasks are scheduled and compiled, and other compiling tasks in the same type of compiling tasks share the compiling result of the main tasks. The compiling efficiency is improved, and the waiting time of the compiling task is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for executing a compilation task according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a compilation task execution device according to an embodiment of 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 system architecture and the service scenario described in the embodiment of the present invention are for more clearly illustrating the technical solution of the embodiment of the present invention, and do not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by those skilled in the art that the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems along with the evolution of the system architecture and the appearance of a new service scenario.
The above method is described in detail with reference to specific examples.
An embodiment of the present invention provides a compilation task execution method, as shown in fig. 1, where the method includes:
step 101, receiving a compiling task submitted by a user, storing the compiling task into a compiling task table, and classifying the compiling task according to a preset classification rule;
in the embodiment of the invention, the compiling tasks submitted by the users are stored in the compiling task table. The compiling tasks submitted by the users comprise a just-in-time compiling task and a timing compiling task, and the timing compiling task comprises a periodic timing compiling task and an aperiodic timing compiling task; if the repeated repeat field of the timed compiling task is true, the timed compiling task is a periodic timed compiling task; if the repeat field of the timed compiling task is false, the timed compiling task is an aperiodic timed compiling task.
In this step, the classifying the compiling task according to the preset classification rule specifically includes:
if the compiling task submitted by the user is a timing compiling task, classifying the compiling tasks with the same attribute value and the same scheduling time into the same type of compiling task; the attribute value refers to a key information field value of the compiling task or a value calculated according to the key information field value of the compiling task. The key information fields in the practice of the present invention generally include: the product name, the compiling version type, the branch name, the code version and the like can be selected according to the actual situation, and part of key information field values can be selected to participate in the attribute value calculation, and the method is not limited specifically here.
In the embodiment of the present invention, compiling tasks with the same attribute value and the same scheduling time are classified into the same type of compiling tasks, which specifically includes:
selecting all compiling tasks with the same attribute values as the timed compiling tasks from the compiling task table according to the attribute values of the timed compiling tasks;
selecting matched scheduling time for the timing compiling task from the selected scheduling time of all compiling tasks with the same attribute value, and setting the matched scheduling time as the scheduling time of the timing compiling task;
and classifying the timed compiling task and the selected compiling task with the same attribute value and the same scheduling time into the same type of compiling task.
And if the compiling task submitted by the user is a just-in-time compiling task, classifying the compiling tasks with the same attribute value into the same type of compiling task.
102, selecting a main task from the similar compiling tasks which are included in the compiling task;
in this step, if the compiling task submitted by the user is a timing compiling task, selecting a main task from the similar compiling tasks into which the compiling task is classified includes:
selecting a compiling task with the highest priority from the similar compiling tasks which are included in the compiling tasks as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and one periodic timing compiling task is in the compiling tasks with the highest priority, the periodic timing compiling task with the highest priority is selected as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and the compiling task with the highest priority has a plurality of periodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; if the compiling task with the highest priority is multiple and all aperiodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task;
if the compiling task submitted by the user is a just-in-time compiling task, selecting a main task from the similar compiling tasks included in the compiling task, wherein the main task comprises the following steps:
selecting a compiling task with the highest priority from the similar compiling tasks which are included in the compiling tasks as a main task; and if a plurality of compiling tasks with the highest priority exist, selecting the compiling task with the lowest task ID with the highest priority as the main task.
In the embodiment of the invention, after the main task is selected, the scheduling cycle field value in the main task is set as the union of the scheduling cycle field values of all the compiling tasks in the same type compiling task, namely the scheduling cycle field value in the main task comprises all the scheduling cycles of the same type compiling task. Setting the main task ID field value in the main task as null; setting the field value of the scheduling period in other compiling tasks in the same type of compiling task to be null, and setting the field value of the main task ID in other compiling tasks in the same type of compiling task to be the task ID of the main task.
Further, in the embodiment of the present invention, after any compiling task in the same type of compiling tasks is deleted, the main task of the same type of compiling task needs to be reselected.
Furthermore, when partial fields of any one compiling task in the same-class compiling tasks are modified to cause the compiling task to be changed to other similar compiling tasks, the main task of the original same-class compiling task needs to be reselected, and meanwhile, the main tasks of the other similar compiling tasks need to be reselected.
And 103, polling the compiling task table according to a set time period, scheduling the main task in the compiling task table according to the scheduling time of the main task and executing compiling.
In the embodiment of the present invention, the scheduling of the compiling task is an independent background process, and generally polls the compiling task table according to a set time period, where the set time period is generally an empirical value, such as 30 seconds. And each polling of the scheduling process only acquires the main task meeting the scheduling time in the compiling task table, scheduling and compiling are carried out according to the field value of the scheduling period of the main task, and after the compiling is finished, the compiler of all compiling tasks of the same type of compiling task where the main task is located is informed that the compiling is finished so that all the compilers in the same type of compiling task can acquire the compiling result. And transferring the compiled same type of compiling task to a compiling result table, and deleting the compiling task with repeat field of false in the same type of compiling task.
Specifically, for the timed compiling task, after the compiling is completed, the compiling task in which all the scheduling cycles are compiled and the repeat field is false is deleted, the main task of the same type of compiling task is reselected, the field value of the scheduling cycle of the selected main task is calculated, and meanwhile, the field values of the main tasks ID of other compiling tasks in the same type of compiling task are set as the task ID of the selected main task. Waiting for the next scheduling.
And aiming at the just-in-time compiling task, deleting all similar compiling tasks of the just-in-time compiling task after the compiling is finished.
The embodiment of the invention solves the problem of low compiling efficiency caused by executing a plurality of compiling tasks with the same compiling result at the same time. According to the compiling task executing method provided by the embodiment of the invention, only the main task in the same type of compiling task can be scheduled and compiled, and other compiling tasks in the same type of compiling task share the compiling result of the main task, so that other compiling tasks in the same type of compiling task do not need to be scheduled and compiled, the compiling efficiency is improved, and the waiting time of the compiling task is reduced.
According to the compiling task executing method provided by the invention, the compiling tasks are classified into the same type of compiling tasks according to the preset classification rule, only the main tasks in the same type of compiling tasks are scheduled and compiled, and other compiling tasks in the same type of compiling tasks share the compiling result of the main tasks. The compiling efficiency is improved, and the waiting time of the compiling task is reduced.
The embodiment of the present invention takes an attribute value as an example of a value obtained by performing MD5 calculation on a key information field value, and details a specific implementation process of a compilation task execution method provided by the embodiment of the present invention:
and receiving a compiling task submitted by a user, storing the compiling task in a compiling task table, and calculating an MD5 value according to key information field values of a product name, a compiling version type, a branch name, a code version and the like of the compiling task. Judging the compiling task submitted by the user, and if the compiling task submitted by the user is a timed compiling task, selecting all compiling tasks with the same value as the MD5 value of the timed compiling task from a compiling task table according to the MD5 value of the timed compiling task; selecting matched scheduling time for the timing compiling task from the selected scheduling time of all compiling tasks with the same MD5 value, and setting the matched scheduling time as the scheduling time of the timing compiling task; and classifying the timed compiling task as the same type compiling task as the selected compiling task with the same MD5 value and the same scheduling time. Selecting a compiling task with the highest priority from the similar compiling tasks which are classified into the timing compiling task as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and one periodic timing compiling task is in the compiling task with the highest priority, selecting the periodic timing compiling task with the highest priority as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and the compiling task with the highest priority has a plurality of periodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; if a plurality of compiling tasks with the highest priority are all aperiodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; after the main task is selected, setting scheduling period schedule field values in the main task as a union set of scheduling period field values of all compiling tasks in the same compiling task, and setting main task ID field values in the main task as null; setting schedule field values in other compiling tasks in the same type of compiling task as null, and setting main task ID field values in other compiling tasks in the same type of compiling task as task IDs of main tasks. And polling the compiling task table every 30 seconds, scheduling the main task in the compiling task table according to the scheduling time of the main task and executing the compiling. And after the compiling is finished, informing the compiler of all the compiling tasks of the same type of compiling task where the main task is located that the compiling is finished so that all the compilers in the same type of compiling task can obtain the compiling result. And transferring the compiled same type compiling task to a compiling result table, deleting the compiling task of which all scheduling periods are compiled and the repeat field is false in the same type compiling task, reselecting the main task of the same type compiling task, calculating the field value of the scheduling period of the selected main task, and setting the field values of the main tasks ID of other compiling tasks in the same type compiling task as the task ID of the selected main task. Waiting for the next scheduling.
And if the compiling task submitted by the user is a just-in-time compiling task, classifying the compiling tasks with the same MD5 value into the same type of compiling task. Selecting a compiling task with the highest priority from the similar compiling tasks which are included in the just-in-time compiling task as a main task; and if the compiling task with the highest priority is multiple, selecting the compiling task with the lowest task ID with the highest priority as the main task. After the main task is selected, setting the main task ID field value in the main task to be null; and setting the main task ID field value in other compiling tasks in the same type of compiling task as the task ID of the main task. And polling the compiling task table every 30 seconds, scheduling the main task in the compiling task table and executing the compiling. And after the compiling is finished, informing the compiler of all the compiling tasks of the same type of compiling task where the main task is located that the compiling is finished so that all the compilers in the same type of compiling task can obtain the compiling result. And transferring the compiled same type of compiling tasks to a compiling result table, and deleting all the same type of compiling tasks of the just-in-time compiling task.
According to the compiling task executing method provided by the invention, the compiling tasks are classified into the same type of compiling tasks according to the preset classification rule, only the main tasks in the same type of compiling tasks are scheduled and compiled, and other compiling tasks in the same type of compiling tasks share the compiling result of the main tasks. The compiling efficiency is improved, and the waiting time of the compiling task is reduced.
As shown in fig. 2, an embodiment of the present invention provides a compilation task executing device 20, where the device 20 includes:
a receiving module 201, configured to receive a compiling task submitted by a user and store the compiling task in a compiling task table;
the classification module 202 is configured to classify the compilation task according to a preset classification rule;
the classification module 202 is further configured to select a main task from the similar compiling tasks included in the compiling task;
the scheduling module 203 is configured to poll the compiling task table according to a set time period, and schedule a main task in the compiling task table according to the scheduling time of the main task;
and the execution module 204 is configured to perform compiling on the main task scheduled by the scheduling module.
The compiling tasks submitted by the users comprise a just-in-time compiling task and a timing compiling task, and the timing compiling task comprises a periodic timing compiling task and an aperiodic timing compiling task; if the repeated repeat field of the timed compiling task is true, the timed compiling task is a periodic timed compiling task; and if the repeat field of the timed compiling task is false, the timed compiling task is an aperiodic timed compiling task.
The classifying module 202 is specifically configured to:
if the compiling task submitted by the user is a timing compiling task, classifying the compiling tasks with the same attribute value and the same scheduling time into the same type of compiling task;
and if the compiling task submitted by the user is a just-in-time compiling task, classifying the compiling tasks with the same attribute value into the same type of compiling task.
The classification module 202 is further specifically configured to:
selecting all compiling tasks with the same attribute values as the timed compiling tasks from the compiling task table according to the attribute values of the timed compiling tasks; the attribute value refers to a key information field value of the compilation task or a value calculated according to the key information field value of the compilation task. The key information fields in the practice of the present invention generally include: the product name, the compiling version type, the branch name, the code version and the like can be selected according to the actual situation, and part of key information field values can be selected to participate in the attribute value calculation, and the method is not limited specifically here.
Selecting matched scheduling time for the timing compiling task from the selected scheduling time of all compiling tasks with the same attribute value, and setting the matched scheduling time as the scheduling time of the timing compiling task;
and classifying the timed compiling task and the selected compiling task with the same attribute value and scheduling time into the same type of compiling task.
The classification module 202 is further specifically configured to: if the compiling task submitted by the user is a timing compiling task, selecting the compiling task with the highest priority from the similar compiling tasks in which the compiling task is classified as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and one periodic timing compiling task is in the compiling task with the highest priority, selecting the periodic timing compiling task with the highest priority as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and the compiling task with the highest priority has a plurality of periodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; if a plurality of compiling tasks with the highest priority are all aperiodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task;
if the compiling task submitted by the user is a just-in-time compiling task, selecting the compiling task with the highest priority from the similar compiling tasks in which the compiling task is classified as a main task; and if a plurality of compiling tasks with the highest priority exist, selecting the compiling task with the lowest task ID with the highest priority as the main task.
The embodiment of the invention solves the problem of low compiling efficiency caused by executing a plurality of compiling tasks with the same compiling result at the same time. According to the compiling task executing device provided by the embodiment of the invention, only the main task in the same type of compiling task can be scheduled and compiled, other compiling tasks in the same type of compiling task share the compiling result of the main task, and other compiling tasks in the same type of compiling task do not need to be scheduled and compiled, so that the compiling efficiency is improved, and the waiting time of the compiling task is reduced.
According to the compiling task executing device provided by the invention, the compiling tasks are classified into the same type of compiling tasks according to the preset classification rule, only the main task in the same type of compiling tasks is scheduled and compiled, and other compiling tasks in the same type of compiling tasks share the compiling result of the main task. The compiling efficiency is improved, and the waiting time of the compiling task is reduced.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A compilation task execution method, comprising:
receiving a compiling task submitted by a user, storing the compiling task into a compiling task table, and classifying the compiling task according to a preset classification rule; the compiling tasks submitted by the users comprise a just-in-time compiling task and a timing compiling task; the classifying the compiling task according to a preset classification rule specifically comprises the following steps:
if the compiling task is a timing compiling task, classifying the compiling tasks with the same attribute value and the same scheduling time into the same type compiling task;
if the compiling task is a just-in-time compiling task, classifying the compiling tasks with the same attribute value into the same type of compiling task;
selecting a main task from the similar compiling tasks which are included in the compiling task;
polling the compiling task table according to a set time period, scheduling the main task in the compiling task table according to the scheduling time of the main task and executing compiling;
and after the main task finishes executing the compilation, informing a compiler of all compilation tasks of the same type of compilation task where the main task is located that the compilation is finished so that all compilers in the same type of compilation task can obtain a compilation result.
2. The method of claim 1, wherein the timed compilation task comprises a periodic timed compilation task and an aperiodic timed compilation task.
3. The method according to claim 2, wherein the grouping of the compiling tasks with the same attribute value and the same scheduling time into the same type of compiling task specifically comprises:
selecting all compiling tasks with the same attribute values as the timed compiling tasks from the compiling task table according to the attribute values of the timed compiling tasks;
selecting matched scheduling time for the timing compiling task from the selected scheduling time of all compiling tasks with the same attribute value, and setting the matched scheduling time as the scheduling time of the timing compiling task;
and classifying the timed compiling task and the selected compiling task with the same attribute value and the same scheduling time into the same type of compiling task.
4. The method according to claim 2, wherein if the compilation task submitted by the user is a timed compilation task, said selecting a main task from the same type of compilation tasks into which the compilation task belongs comprises:
selecting a compiling task with the highest priority from the similar compiling tasks which are included in the compiling tasks as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and one periodic timing compiling task is in the compiling tasks with the highest priority, the periodic timing compiling task with the highest priority is selected as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and the compiling task with the highest priority has a plurality of periodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; if a plurality of compiling tasks with the highest priority are all aperiodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task;
if the compiling task submitted by the user is a just-in-time compiling task, selecting a main task from the similar compiling tasks included in the compiling task, wherein the main task comprises the following steps:
selecting a compiling task with the highest priority from the similar compiling tasks which are included in the compiling tasks as a main task; and if a plurality of compiling tasks with the highest priority exist, selecting the compiling task with the lowest task ID with the highest priority as the main task.
5. The method according to any one of claims 1 to 4, wherein the attribute value refers to a key information field value of the compilation task or a value calculated from the key information field value of the compilation task.
6. A compilation task execution apparatus, comprising:
the receiving module is used for receiving the compiling task submitted by the user and storing the compiling task in a compiling task table; the compiling tasks submitted by the users comprise a just-in-time compiling task and a timing compiling task;
the classification module is used for classifying the compiling task according to a preset classification rule;
the classification module is also used for selecting a main task from the similar compiling tasks classified into the compiling tasks;
the scheduling module is used for polling the compiling task table according to a set time period and scheduling the main task in the compiling task table according to the scheduling time of the main task;
the execution module is used for compiling the main task scheduled by the scheduling module, and notifying the compiler of all the compiling tasks of the same type of compiling task where the main task is located of the completion of compiling after the main task completes compiling so that all the compilers in the same type of compiling task can obtain compiling results;
the classification module is specifically configured to:
if the compiling task is a timing compiling task, classifying the compiling tasks with the same attribute value and the same scheduling time into the same type compiling task;
and if the compiling task is a just-in-time compiling task, classifying the compiling tasks with the same attribute value into the same type of compiling task.
7. The apparatus of claim 6, wherein the timed compilation task comprises a periodic timed compilation task and an aperiodic timed compilation task.
8. The apparatus according to claim 7, wherein the classifying module is further configured to:
selecting all compiling tasks with the same attribute values as the timed compiling tasks from the compiling task table according to the attribute values of the timed compiling tasks;
selecting matched scheduling time for the timed compiling task from the selected scheduling time of all compiling tasks with the same attribute value, and setting the matched scheduling time as the scheduling time of the timed compiling task;
and classifying the timed compiling task and the selected compiling task with the same attribute value and scheduling time into the same type of compiling task.
9. The apparatus according to claim 7, wherein the classification module is further configured to: if the compiling task submitted by the user is a timing compiling task, selecting the compiling task with the highest priority from the similar compiling tasks which are classified into the compiling task as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and one periodic timing compiling task is in the compiling task with the highest priority, selecting the periodic timing compiling task with the highest priority as a main task; if the compiling task with the highest priority has a plurality of compiling tasks and the compiling task with the highest priority has a plurality of periodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task; if a plurality of compiling tasks with the highest priority are all aperiodic timing compiling tasks, selecting the compiling task with the lowest task ID with the highest priority as a main task;
if the compiling task submitted by the user is a just-in-time compiling task, selecting the compiling task with the highest priority from the similar compiling tasks in which the compiling task is classified as a main task; and if a plurality of compiling tasks with the highest priority exist, selecting the compiling task with the lowest task ID with the highest priority as the main task.
10. The apparatus of any one of claims 6-9, wherein the attribute value refers to a key information field value of the compilation task or a value calculated from the key information field value of the compilation task.
CN201811036501.XA 2018-09-06 2018-09-06 Compiling task execution method and device Active CN110879707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811036501.XA CN110879707B (en) 2018-09-06 2018-09-06 Compiling task execution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811036501.XA CN110879707B (en) 2018-09-06 2018-09-06 Compiling task execution method and device

Publications (2)

Publication Number Publication Date
CN110879707A CN110879707A (en) 2020-03-13
CN110879707B true CN110879707B (en) 2022-10-14

Family

ID=69727693

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811036501.XA Active CN110879707B (en) 2018-09-06 2018-09-06 Compiling task execution method and device

Country Status (1)

Country Link
CN (1) CN110879707B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541640A (en) * 2011-12-28 2012-07-04 厦门市美亚柏科信息股份有限公司 Cluster GPU (graphic processing unit) resource scheduling system and method
CN105162878A (en) * 2015-09-24 2015-12-16 网宿科技股份有限公司 Distributed storage based file distribution system and method
CN105578212A (en) * 2015-12-15 2016-05-11 南京邮电大学 Point-to-point streaming media real-time monitoring method under big data stream computing platform
CN107957903A (en) * 2017-11-13 2018-04-24 中国平安财产保险股份有限公司 Asynchronous task scheduling method, server and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4750350B2 (en) * 2003-03-13 2011-08-17 パナソニック株式会社 Task switching device, method and program
CN101807159B (en) * 2010-03-18 2013-01-02 西北工业大学 Self-adapting task scheduling method
KR20120126161A (en) * 2011-05-11 2012-11-21 삼성전자주식회사 Mobile terminal and method for controlling screen using the same
CN102722402B (en) * 2012-05-28 2014-03-05 上海微频莱机电科技有限公司 Processing system and method for dispatching multiple tasks in real time in non-preemptive mode
CN102831011B (en) * 2012-08-10 2015-11-18 上海交通大学 A kind of method for scheduling task based on many core systems and device
CN103631650A (en) * 2012-08-25 2014-03-12 成都勤智数码科技股份有限公司 Collection scheduling method used for IT operation and maintenance system
CN105141541A (en) * 2015-09-23 2015-12-09 浪潮(北京)电子信息产业有限公司 Task-based dynamic load balancing scheduling method and device
CN106874087A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain intelligence contract timed task dispatching method
CN107273141B (en) * 2017-07-10 2020-12-29 无锡走向智能科技有限公司 Embedded real-time operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541640A (en) * 2011-12-28 2012-07-04 厦门市美亚柏科信息股份有限公司 Cluster GPU (graphic processing unit) resource scheduling system and method
CN105162878A (en) * 2015-09-24 2015-12-16 网宿科技股份有限公司 Distributed storage based file distribution system and method
CN105578212A (en) * 2015-12-15 2016-05-11 南京邮电大学 Point-to-point streaming media real-time monitoring method under big data stream computing platform
CN107957903A (en) * 2017-11-13 2018-04-24 中国平安财产保险股份有限公司 Asynchronous task scheduling method, server and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Using logistic regression method to classify tweets into the selected topics;S.T.Indra 等;《2016 International Conference on Advanced Computer Science and Information Systems (ICACSIS)》;20170309;第385-390页 *
云环境下基于相关性的并行任务调度策略;段菊 等;《计算机技术与发展》;20180224;第28卷(第6期);第178-183页 *

Also Published As

Publication number Publication date
CN110879707A (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN102467532A (en) Task processing method and task processing device
CN104834564A (en) Task scheduling method and device
CN103235835A (en) Inquiry implementation method for database cluster and device
CN107015849B (en) Timed task reminding method and device
CN104156264A (en) Baseband signal processing task parallelism real-time scheduling method based on multiple GPUs
CN103019805A (en) Timer setting method under multithreading environment
CN103744730A (en) Task scheduling method and device
CN112199180A (en) Multitask scheduling method and device, electronic equipment and readable storage medium
CN104461710A (en) Method and device for processing tasks
CN112748993A (en) Task execution method and device, storage medium and electronic equipment
CN103679388A (en) Production scheduling method and system
CN114217966A (en) Deep learning model dynamic batch processing scheduling method and system based on resource adjustment
CN110879707B (en) Compiling task execution method and device
CN104090747B (en) The method that Linux intelligent terminals are optimized using Real-Time Scheduling optimizer
CN103778005A (en) Automatic task allocation method and device
CN113485817A (en) Task scheduling method and multi-task cooperative processing method based on multiple data sources
CN113535481A (en) Data backtracking method and device and nonvolatile computer readable storage medium
CN105446812A (en) Multitask scheduling configuration method
CN113051054A (en) Method, apparatus and computer readable storage medium for scheduling artificial intelligence platform resources
CN107832461B (en) Data migration method and system
CN105931003A (en) Order processing method, system and device
CN111723961A (en) Goods position arrangement optimization method, device, equipment and storage medium
CN106325991B (en) Instruction scheduling method and device of flow engine
CN113190335B (en) Multi-task scheduling and collecting method of power collecting terminal and power collecting system
CN106445687A (en) Large transaction execution method and system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.