CN110879707A - Compiling task execution method and device - Google Patents

Compiling task execution method and device Download PDF

Info

Publication number
CN110879707A
CN110879707A CN201811036501.XA CN201811036501A CN110879707A CN 110879707 A CN110879707 A CN 110879707A CN 201811036501 A CN201811036501 A CN 201811036501A CN 110879707 A CN110879707 A CN 110879707A
Authority
CN
China
Prior art keywords
compiling
task
tasks
highest priority
main
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.)
Granted
Application number
CN201811036501.XA
Other languages
Chinese (zh)
Other versions
CN110879707B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Devices For Executing Special Programs (AREA)

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; and 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 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 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 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.
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 compiling task in the same type of compiling tasks are modified to cause the compiling task to be changed to other similar compiling tasks, the main task of the original similar 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 timed 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 timed compiling task; and classifying the timed compiling task and the selected compiling task with the same MD5 value and the same scheduling time as the same type compiling task. 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 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; 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 compilers 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 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. 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 compilers 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 classification 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 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 the same 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 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 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 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 kind of compiling tasks can be scheduled and compiled, and other compiling tasks in the same kind of compiling tasks share the compiling result of the main task, so that other compiling tasks in the same kind of compiling tasks do not need to be scheduled and compiled, the compiling efficiency is improved, and the waiting time of the compiling tasks 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 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 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 conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within 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;
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.
2. The method of claim 1, wherein the user-submitted compilation tasks include just-in-time compilation tasks and timed compilation tasks, the timed compilation tasks including periodic timed compilation tasks and aperiodic timed compilation tasks; the classifying the compiling task according to a preset classification rule specifically comprises the following steps:
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.
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 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 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 smallest task I D 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 smallest highest priority I D 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; if there are more compiling tasks with the highest priority, the compiling task with the smallest highest priority I D is selected 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 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.
7. The apparatus of claim 6, wherein the user submitted compilation tasks comprise a just-in-time compilation task and a timed compilation task, the timed compilation task comprising a periodic timed compilation task and an aperiodic timed compilation task;
the classification module 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.
8. The apparatus according to claim 7, wherein the classification 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 the same 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 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 smallest task I D 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 smallest highest priority I D 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; if there are more compiling tasks with the highest priority, the compiling task with the smallest highest priority I D is selected 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 true CN110879707A (en) 2020-03-13
CN110879707B 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181791A1 (en) * 2003-03-13 2004-09-16 Kunihiko Hayashi Task switching apparatus, method and program
CN101807159A (en) * 2010-03-18 2010-08-18 西北工业大学 Self-adapting task scheduling method
CN102541640A (en) * 2011-12-28 2012-07-04 厦门市美亚柏科信息股份有限公司 Cluster GPU (graphic processing unit) resource scheduling system and method
CN102722402A (en) * 2012-05-28 2012-10-10 上海微频莱机电科技有限公司 Processing system and method for dispatching multiple tasks in real time in non-preemptive mode
US20120290972A1 (en) * 2011-05-11 2012-11-15 Samsung Electronics Co., Ltd. Mobile terminal and method for controlling screen thereof
CN102831011A (en) * 2012-08-10 2012-12-19 上海交通大学 Task scheduling method and device based on multi-core system
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
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
CN106874087A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain intelligence contract timed task dispatching method
CN107273141A (en) * 2017-07-10 2017-10-20 无锡走向智能科技有限公司 Embedded real-time operating system
CN107957903A (en) * 2017-11-13 2018-04-24 中国平安财产保险股份有限公司 Asynchronous task scheduling method, server and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040181791A1 (en) * 2003-03-13 2004-09-16 Kunihiko Hayashi Task switching apparatus, method and program
CN101807159A (en) * 2010-03-18 2010-08-18 西北工业大学 Self-adapting task scheduling method
US20120290972A1 (en) * 2011-05-11 2012-11-15 Samsung Electronics Co., Ltd. Mobile terminal and method for controlling screen thereof
CN102541640A (en) * 2011-12-28 2012-07-04 厦门市美亚柏科信息股份有限公司 Cluster GPU (graphic processing unit) resource scheduling system and method
CN102722402A (en) * 2012-05-28 2012-10-10 上海微频莱机电科技有限公司 Processing system and method for dispatching multiple tasks in real time in non-preemptive mode
CN102831011A (en) * 2012-08-10 2012-12-19 上海交通大学 Task scheduling method and device based on multi-core system
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
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
CN106874087A (en) * 2017-01-25 2017-06-20 上海钜真金融信息服务有限公司 A kind of block chain intelligence contract timed task dispatching method
CN107273141A (en) * 2017-07-10 2017-10-20 无锡走向智能科技有限公司 Embedded real-time operating system
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
S.T.INDRA 等: "Using logistic regression method to classify tweets into the selected topics", 《2016 INTERNATIONAL CONFERENCE ON ADVANCED COMPUTER SCIENCE AND INFORMATION SYSTEMS (ICACSIS)》 *
段菊 等: "云环境下基于相关性的并行任务调度策略", 《计算机技术与发展》 *

Also Published As

Publication number Publication date
CN110879707B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN110389816B (en) Method, apparatus and computer readable medium for resource scheduling
CN104915378A (en) Rapid statistics task generation system and method suitable for big data
CN104536811A (en) HIVE task based task scheduling method and device
CN109725993A (en) Task executing method, device, equipment and computer readable storage medium
CN102467532A (en) Task processing method and task processing device
CN104156264A (en) Baseband signal processing task parallelism real-time scheduling method based on multiple GPUs
CN103744730B (en) Task scheduling method and device
CN105630588A (en) Distributed job scheduling method and system
CN112988362B (en) Task processing method and device, electronic equipment and storage medium
CN104834564A (en) Task scheduling method and device
CN108536530B (en) Multithreading task scheduling method and device
CN102270156A (en) Method for managing real-time embedded system timers
CN108958789B (en) Parallel stream type computing method, electronic equipment, storage medium and system
CN112199180A (en) Multitask scheduling method and device, electronic equipment and readable storage medium
CN111582629B (en) Resource scheduling method, device, equipment and storage medium
CN113190427A (en) Caton monitoring method and device, electronic equipment and storage medium
CN113051054A (en) Method, apparatus and computer readable storage medium for scheduling artificial intelligence platform resources
CN117149388A (en) Batch task scheduling method and system, electronic equipment and storage medium
CN113535481B (en) Data backtracking method and device and non-volatile computer readable storage medium
CN113296788B (en) Instruction scheduling method, device, equipment and storage medium
Feljan et al. Task allocation optimization for multicore embedded systems
CN110879707B (en) Compiling task execution method and device
CN104090747B (en) The method that Linux intelligent terminals are optimized using Real-Time Scheduling optimizer
CN112052077B (en) Method, device, equipment and medium for managing software tasks
WO2023221949A1 (en) Model scheduling method and device, and storage medium

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

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.

CP02 Change in the address of a patent holder