CN105138406A - Task processing method, task processing device and task processing system - Google Patents

Task processing method, task processing device and task processing system Download PDF

Info

Publication number
CN105138406A
CN105138406A CN201510505874.7A CN201510505874A CN105138406A CN 105138406 A CN105138406 A CN 105138406A CN 201510505874 A CN201510505874 A CN 201510505874A CN 105138406 A CN105138406 A CN 105138406A
Authority
CN
China
Prior art keywords
cpu
operational order
instruction
task processing
order received
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
CN201510505874.7A
Other languages
Chinese (zh)
Inventor
周雨辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510505874.7A priority Critical patent/CN105138406A/en
Publication of CN105138406A publication Critical patent/CN105138406A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a task processing method, a task processing device and a task processing system. The method comprises the following steps: receiving an operation instruction issued by an operation system; judging whether the received operation instruction is an instruction belonging to a preconfigured simple instruction set; executing an operation corresponding to the received operation instruction if the received operation instruction is an instruction belonging to the preconfigured simple instruction set; and determining a target CPU for executing the received operation instruction, and sending the received operation instruction to the determined target CPU to enable the determined target CPU to execute the operation corresponding to the received operation instruction if the received operation instruction is not an instruction belonging to the preconfigured simple instruction set. According to the invention, the workload of the CPU can be shared, and the system can receive an operation instruction smoothly when the CPU is executing complex data tasks.

Description

A kind of task processing method, Apparatus and system
Technical field
The present invention relates to operating system working mechanism and integrated circuit (IC) design technology, espespecially a kind of task processing method, Apparatus and system.
Background technology
Along with the develop rapidly of computer technology, high performance computer system more and more becomes the needs of socio-economic development.In traditional server, the task that CPU needs process all operations system to issue, but, once occur that some process occupies the execution time of a large amount of CPU, just there will be the situation that operating system time delay strengthens, card crashes even.
For above-mentioned problem, at present effective solution is not yet proposed.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of task processing method, Apparatus and system, achieve the workload sharing CPU, when CPU is when performing some complex data task, ensureing the fluency of system acceptance operational order.
In order to reach the object of the invention, the invention provides a kind of control method, comprising: receive the operational order that operating system issues; Judge the instruction in the simple and easy instruction set whether operational order belongs to pre-configured; If the operational order received belongs to the instruction in pre-configured simple and easy instruction set, perform the operation stated corresponding to operational order; If the operational order received does not belong to the instruction in described pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
Alternatively, the target CPU determining performing the operational order received described in comprises: search CPU idle in current slot, and in the CPU of described free time, determine described target CPU.
Alternatively, the target CPU determining performing the operational order received described in comprises: search CPU idle in current slot; When there is not the CPU of described free time in described current slot, according to the Mechanism of Task Allocation of described operating system, CPU idle at first after described current slot is defined as described target CPU.
Further, the invention provides a kind of Task Processing Unit, comprising: receiving element, for receiving the operational order that operating system issues; Judging unit, for judging the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured; Performance element, if the operational order for receiving belongs to the instruction in described pre-configured simple and easy instruction set, performs the operation corresponding to operational order received; Control module, if the operational order for receiving does not belong to the instruction in described pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
Alternatively, described control module determines performing the target CPU of the operational order received for performing following steps: search CPU idle in current slot, and in the CPU of described free time, determine described target CPU.
Alternatively, described control module determines performing the target CPU of the operational order received for performing following steps: search CPU idle in current slot; When there is not the CPU of described free time in described current slot, according to the Mechanism of Task Allocation of described operating system, CPU idle at first after described current slot is defined as described target CPU.
In embodiments of the present invention, by identifying operational order, and determine that distribution performs or self performs, share a part of workload of CPU, make CPU can put in complex data computation better, for easy operational order, need not part CPU time be separated again process, and then when CPU is when performing some complex data task, ensures the fluency of system acceptance operational order, avoiding CPU and take too high system " seemingly-dead " phenomenon caused.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for instructions, is used from and explains technical scheme of the present invention, do not form the restriction to technical solution of the present invention with the embodiment one of the application.
Fig. 1 is the schematic flow sheet of a kind of task processing method according to the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of task processing method according to the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of Task Processing Unit according to the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
The embodiment of the present invention provides a kind of task processing method, and as shown in Figure 1, the method can comprise the following steps:
Step 101, receives the operational order that operating system issues.
In this step, the executive agent of disposal route of executing the task can be Task Processing Unit.Operating system generates corresponding operational order in response to the operation of user, and this operational order is issued to Task Processing Unit.As Task Processing Unit, after receiving the operational order that operating system issues, can the operational order received be identified.
Step 102, judges the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured.
In this step, Task Processing Unit is after receiving the operational order that operating system issues, and whether can identify the operational order received, identifying this operational order received is simple and easy instruction.Particularly, whether the operational order that Task Processing Unit identification receives is that the method for simple and easy instruction can for judging the instruction in the simple and easy instruction set whether this operational order received belongs to pre-configured, wherein, if this operational order received belongs to the instruction in pre-configured simple and easy instruction set, think that this operational order received is simple and easy instruction, vice versa.
Exemplarily, display can be comprised in pre-configured simple and easy instruction set, the date checks, the instruction such as timed task write.
Above-mentioned pre-configured ease of Use instruction set can be that operation maintenance personnel is pre-configured, and wherein, this pre-configured ease of Use instruction set can be configured in Task Processing Unit, and Task Processing Unit can directly call; Also can configure in a database, when Task Processing Unit needs the identification carrying out operational order to database request; Also can be configured in the storage medium of server, the present embodiment does not limit this.
Step 103, if the operational order received belongs to the instruction in pre-configured simple and easy instruction set, performs the operation corresponding to operational order received.
In this step, based on the judgement of above-mentioned steps 102, when instruction in the simple and easy instruction set that the operational order received belongs to pre-configured (operational order namely received is simple and easy instruction), Task Processing Unit directly can perform this operation corresponding to operational order received, if namely this operational order received belongs to simple and easy instruction (such as idsplay order, date check instruction, timed task write instruction etc.), Task Processing Unit can be given tacit consent to this operational order received and be performed by self.
Step 104, if the operational order received does not belong to the instruction in pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
In this step, based on the judgement of above-mentioned steps 102, when instruction in the simple and easy instruction set that the operational order received does not belong to pre-configured (operational order namely received is complicated order), the operational order that Task Processing Unit can select a target CPU to receive for performing this, and after determining performing the target CPU of the operational order received, the operational order this received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
As from the foregoing, the scheme that the above embodiments of the present application provide, by identifying operational order, and determining that distribution performs or self performs, having shared a part of workload of CPU, CPU is made to put in complex data computation better, for easy operational order, need not part CPU time be separated again process, and then when CPU is when performing some complex data task, ensure the fluency of system acceptance operational order, avoid CPU and take too high system " seemingly-dead " phenomenon caused.
As the optional embodiment of one, the method determining the target CPU performing the operational order received can comprise:
Step 201, searches CPU idle in current slot, and determine target CPU in the CPU of free time.
In this step, the method that Task Processing Unit determines the target CPU performing the operational order received can be, find CPU idle in current slot, and then the CPU of this free time is defined as target CPU, in another kind of situation, when the CPU of the free time searched out has multiple, task processor can select one as target CPU arbitrarily in the CPU of the plurality of free time, also can according to the configuration of the CPU of each free time (such as dominant frequency, bus speed etc.) select suitable one as target CPU, the present embodiment does not limit this.
Alternatively, in the CPU of free time, determine that target CPU comprises: if the quantity of the CPU of the free time found is one, using the CPU of free time that finds as described target CPU; If the quantity of the CPU of the free time found is multiple, in the CPU of multiple free time, Stochastic choice one is as described target CPU.
As the optional embodiment of another kind, the method determining the target CPU performing the operational order received can comprise:
Step 301, searches CPU idle in current slot.
Step 302, when there is not idle CPU in current slot, according to the Mechanism of Task Allocation of operating system, is defined as target CPU by CPU idle at first after current slot.
In this step, the method that Task Processing Unit determines the target CPU performing the operational order received can be, find CPU idle in current slot, if there is no idle CPU in current slot, Task Processing Unit obtains the Mechanism of Task Allocation of operating system, and this Mechanism of Task Allocation is resolved, CPU that can be idle at first after determining in current slot, and then this CPU idle is at first defined as target CPU.
Similarly, when CPU idle at first has multiple, task processor can select arbitrarily one as target CPU in the plurality of CPU idle at first, also can according to the configuration (such as dominant frequency, bus speed etc.) of each CPU idle at first select suitable one as target CPU, the present embodiment does not limit this.
Alternatively, pre-configured simple and easy instruction set comprises one or more instructions following: idsplay order, date check instruction, timed task write instruction.
You need to add is that, the task processing method that the embodiment of the present invention provides can be applied but be not limited to x86 server, and x86 server increases independently Task Processing Unit, for receiving the operational order of operating system, and carries out distributing or self execution.
Below, as shown in Figure 2, take Task Processing Unit as associated treatment chip be example, exemplary illustration carried out to above-mentioned task processing method:
Step a, operating system issues operational order.
In this step, when the operational order that have received user of operating system, this operational order can be passed to associated treatment chip the very first time by associated treatment mechanism.
Step b, associated treatment chip receives operational order.
In this step, as associated treatment chip, above-mentioned operational order can be received, and then operational order is identified, determine distribution or self perform.
Step c, associated treatment chip judges whether operational order is simple and easy instruction.
In this step, associated treatment chip is after receiving the operational order that operating system issues, and whether can identify operational order, identifying this operational order is simple and easy instruction.Particularly, whether associated treatment chip identification operational order is that the method for simple and easy instruction can for judging the instruction in the simple and easy instruction set whether this operational order belongs to pre-configured, wherein, if this operational order belongs to the instruction in pre-configured simple and easy instruction set, think that this operational order is simple and easy instruction, vice versa.
Exemplarily, display can be comprised in pre-configured simple and easy instruction set, the date checks, the instruction such as timed task write.
Above-mentioned pre-configured ease of Use instruction set can be that operation maintenance personnel is pre-configured, and wherein, this pre-configured ease of Use instruction set can be configured in associated treatment chip, and associated treatment chip can directly call; Also can configure in a database, when associated treatment chip needs the identification carrying out operational order to database request; Also can be configured in the storage medium of server, the present embodiment does not limit this.
In the embodiment of the present invention, associated treatment chip is used to replace traditional CPU to carry out the various operational orders of processing server.Associated treatment chip can tell the complexity of system directive, and self performs simple and easy order, complicated order is handed down to CPU and performs.Associated treatment chip independent of CPU, but does not depart from CPU, and it can communicate with CPU.It can the ease of Use instruction of only operation system, does not participate in any complicated calculations work.
Steps d, if so, associated treatment chip performs.
In this step, when instruction in the simple and easy instruction set that operational order belongs to pre-configured (namely operational order is simple and easy instruction), associated treatment chip directly can perform the operation corresponding to this operational order, if namely this operational order belongs to simple and easy instruction (such as idsplay order, date check instruction, timed task write instruction etc.), associated treatment chip can be given tacit consent to this operational order and be performed by self.
In the embodiment of the present invention, use associated treatment chip to carry out the process that aiding CPU carries out server instruction, realize performing simple and easy separating with complicated order, in the work that all CPU of Deterministic service device can all put into high loss, height takies, keep maximizing efficiency.
Step e, if not, CPU performs.
In this step, when instruction in the simple and easy instruction set that operational order does not belong to pre-configured (namely operational order is complicated order), associated treatment chip can select a target CPU for performing this operational order, and after the target CPU determining executable operations instruction, this operational order is sent to target CPU, so that the operation corresponding to the instruction of target CPU executable operations.
Step f, returns execution result to operating system.
In this step, after performing the operation corresponding to aforesaid operations instruction, associated treatment chip or CPU need execution result to return to operating system.
The task processing method of the present embodiment, improve the work efficiency of current server greatly, the existence of associated treatment chip makes the CPU of server internal all to put in complex data computation, need not separate part CPU time again to process easy operational order, and these simple and easy instructions exactly can use associated treatment chip to perform.And if server is when performing some and extremely consuming the task of CPU, associated treatment chip can ensure the fluency of system receives user instruction, avoids CPU and takies too high system " seemingly-dead " phenomenon caused.
In embodiments of the present invention, by identifying operational order, and determine that distribution performs or self performs, share a part of workload of CPU, make CPU can put in complex data computation better, for easy operational order, need not part CPU time be separated again process, and then when CPU is when performing some complex data task, ensures the fluency of system acceptance operational order, avoiding CPU and take too high system " seemingly-dead " phenomenon caused.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computing machine, server, or the network equipment etc.) perform the method for each embodiment of the present invention.
According to the embodiment of the present invention, additionally provide a kind of device embodiment for implementing said method embodiment, the device that the above embodiments of the present application provide can run on computer terminals.
Fig. 3 is the structural representation of the Task Processing Unit according to the embodiment of the present application.
As shown in Figure 3, this Task Processing Unit can comprise receiving element 301, judging unit 302, performance element 303 and control module 304.
Wherein, receiving element 301, for receiving the operational order that operating system issues; Judging unit 302, for judging the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured; Performance element 303, if the operational order for receiving belongs to the instruction in described pre-configured simple and easy instruction set, performs the operation corresponding to operational order received; Control module 304, if the operational order for receiving does not belong to the instruction in described pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
As from the foregoing, the scheme that the above embodiments of the present application provide, by identifying operational order, and determining that distribution performs or self performs, having shared a part of workload of CPU, CPU is made to put in complex data computation better, for easy operational order, need not part CPU time be separated again process, and then when CPU is when performing some complex data task, ensure the fluency of system acceptance operational order, avoid CPU and take too high system " seemingly-dead " phenomenon caused.
It should be noted that herein, above-mentioned receiving element 301, judging unit 302, performance element 303 and control module 304 corresponds to above-mentioned step 101 to step 104, the example that four modules and corresponding step realize is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment.It should be noted that, above-mentioned module may operate in terminal as a part for device, can pass through software simulating, also can pass through hardware implementing.
Alternatively, described control module 304 determines performing the target CPU of the operational order received for performing following steps: search CPU idle in current slot, and in the CPU of described free time, determine described target CPU.
Wherein, the method that described control module 304 determines the target CPU of executable operations instruction can be, find CPU idle in current slot, and then the CPU of this free time is defined as target CPU, in another kind of situation, when the CPU of the free time searched out has multiple, task processor can select one as target CPU arbitrarily in the CPU of the plurality of free time, also can according to the configuration of the CPU of each free time (such as dominant frequency, bus speed etc.) select suitable one as target CPU, the present embodiment does not limit this.
Alternatively, described control module 304 determines described target CPU for performing following steps in the CPU of described free time: if the quantity of the CPU of the free time found is one, using the CPU of free time that finds as described target CPU; If the quantity of the CPU of the free time found is multiple, in the CPU of multiple free time, Stochastic choice one is as described target CPU.
Alternatively, described control module 304 determines performing the target CPU of the operational order received for performing following steps: search CPU idle in current slot; When there is not the CPU of described free time in described current slot, according to the Mechanism of Task Allocation of described operating system, CPU idle at first after described current slot is defined as described target CPU.
Wherein, the method that described control module 304 determines the target CPU of executable operations instruction can be, find CPU idle in current slot, if there is no idle CPU in current slot, Task Processing Unit obtains the Mechanism of Task Allocation of operating system, and this Mechanism of Task Allocation is resolved, CPU that can be idle at first after determining in current slot, and then this CPU idle is at first defined as described target CPU.
Similarly, when CPU idle at first has multiple, task processor can select arbitrarily one as target CPU in the plurality of CPU idle at first, also can according to the configuration (such as dominant frequency, bus speed etc.) of each CPU idle at first select suitable one as target CPU, the present embodiment does not limit this.
Alternatively, described pre-configured simple and easy instruction set comprises one or more instructions following: idsplay order, date check instruction, timed task write instruction.
According to the embodiment of the present invention, also provide a kind of task processing system, this task processing system comprises the Task Processing Unit with above-mentioned arbitrary characteristics and at least one CPU be connected with Task Processing Unit.
Wherein, Task Processing Unit, for receiving the operational order that operating system issues; Judge the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured; If the operational order received belongs to the instruction in described pre-configured simple and easy instruction set, perform the operation corresponding to operational order received; If the operational order received does not belong to the instruction in described pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received; Target CPU, for receiving the operational order received from task processing system; Perform the operation corresponding to operational order received.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In the embodiment that the application provides, should be understood that, disclosed technology contents, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, can be that a kind of logic function divides, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed on multiple unit.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Although the embodiment disclosed by the present invention is as above, the embodiment that described content only adopts for ease of understanding the present invention, and be not used to limit the present invention.Those of skill in the art belonging to any the present invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be carried out in the form implemented and details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (11)

1. a task processing method, is characterized in that, comprising:
Receive the operational order that operating system issues;
Judge the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured;
If the operational order received belongs to the instruction in pre-configured simple and easy instruction set, perform the operation corresponding to operational order received;
If the operational order received does not belong to the instruction in pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
2. task processing method according to claim 1, is characterized in that, described in determine performing the operational order received target CPU comprise:
Search CPU idle in current slot, and in the CPU of described free time, determine described target CPU.
3. task processing method according to claim 2, is characterized in that, describedly in the CPU of described free time, determines that described target CPU comprises:
If the quantity of the CPU of the free time found is one, using the CPU of free time that finds as described target CPU;
If the quantity of the CPU of the free time found is multiple, in the CPU of multiple free time, Stochastic choice one is as described target CPU.
4. task processing method according to claim 1, is characterized in that, described in determine performing the operational order received target CPU comprise:
Search CPU idle in current slot;
When there is not the CPU of described free time in described current slot, according to the Mechanism of Task Allocation of described operating system, CPU idle at first after described current slot is defined as described target CPU.
5. task processing method according to any one of claim 1 to 4, is characterized in that, described pre-configured simple and easy instruction set comprises one or more instructions following: idsplay order, date check instruction, timed task write instruction.
6. a Task Processing Unit, is characterized in that, comprising:
Receiving element, for receiving the operational order that operating system issues;
Judging unit, for judging the instruction in the simple and easy the instruction set whether operational order received belongs to pre-configured;
Performance element, if the operational order for receiving belongs to the instruction in described pre-configured simple and easy instruction set, performs the operation corresponding to operational order received;
Control module, if the operational order for receiving does not belong to the instruction in described pre-configured simple and easy instruction set, determine the target CPU performing the operational order received, and the operational order received is sent to the target CPU determined, so that the target CPU determined performs the operation corresponding to operational order received.
7. Task Processing Unit according to claim 6, is characterized in that, described control module determines performing the target CPU of the operational order received for performing following steps:
Search CPU idle in current slot, and in the CPU of described free time, determine described target CPU.
8. Task Processing Unit according to claim 7, is characterized in that, described control module determines described target CPU for performing following steps in the CPU of described free time:
If the quantity of the CPU of the free time found is one, using the CPU of free time that finds as described target CPU;
If the quantity of the CPU of the free time found is multiple, in the CPU of multiple free time, Stochastic choice one is as described target CPU.
9. Task Processing Unit according to claim 6, is characterized in that, described control module determines performing the target CPU of the operational order received for performing following steps:
Search CPU idle in current slot;
When there is not the CPU of described free time in described current slot, according to the Mechanism of Task Allocation of described operating system, CPU idle at first after described current slot is defined as described target CPU.
10. the Task Processing Unit according to any one of claim 6 to 9, is characterized in that, described pre-configured simple and easy instruction set comprises one or more instructions following: idsplay order, date check instruction, timed task write instruction.
11. 1 kinds of task processing systems, is characterized in that, comprise Task Processing Unit according to any one of claim 6 to 10 and with as described at least one CPU of being connected of Task Processing Unit.
CN201510505874.7A 2015-08-17 2015-08-17 Task processing method, task processing device and task processing system Pending CN105138406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510505874.7A CN105138406A (en) 2015-08-17 2015-08-17 Task processing method, task processing device and task processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510505874.7A CN105138406A (en) 2015-08-17 2015-08-17 Task processing method, task processing device and task processing system

Publications (1)

Publication Number Publication Date
CN105138406A true CN105138406A (en) 2015-12-09

Family

ID=54723762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510505874.7A Pending CN105138406A (en) 2015-08-17 2015-08-17 Task processing method, task processing device and task processing system

Country Status (1)

Country Link
CN (1) CN105138406A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110457119A (en) * 2019-07-19 2019-11-15 上海易点时空网络有限公司 Asynchronous process callback method and device
WO2020062086A1 (en) * 2018-09-28 2020-04-02 华为技术有限公司 Method and device for selecting processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153934A1 (en) * 2008-12-12 2010-06-17 Peter Lachner Prefetch for systems with heterogeneous architectures
CN102073618A (en) * 2010-12-07 2011-05-25 浪潮(北京)电子信息产业有限公司 Heterogeneous computing system and processing method thereof
CN103645954A (en) * 2013-11-21 2014-03-19 华为技术有限公司 CPU scheduling method, device and system based on heterogeneous multi-core system
CN104714785A (en) * 2015-03-31 2015-06-17 中芯睿智(北京)微电子科技有限公司 Task scheduling device, task scheduling method and data parallel processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153934A1 (en) * 2008-12-12 2010-06-17 Peter Lachner Prefetch for systems with heterogeneous architectures
CN102073618A (en) * 2010-12-07 2011-05-25 浪潮(北京)电子信息产业有限公司 Heterogeneous computing system and processing method thereof
CN103645954A (en) * 2013-11-21 2014-03-19 华为技术有限公司 CPU scheduling method, device and system based on heterogeneous multi-core system
CN104714785A (en) * 2015-03-31 2015-06-17 中芯睿智(北京)微电子科技有限公司 Task scheduling device, task scheduling method and data parallel processing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062086A1 (en) * 2018-09-28 2020-04-02 华为技术有限公司 Method and device for selecting processor
CN112292667A (en) * 2018-09-28 2021-01-29 华为技术有限公司 Method and apparatus for selecting processor
CN112292667B (en) * 2018-09-28 2022-04-29 华为技术有限公司 Method and apparatus for selecting processor
CN110457119A (en) * 2019-07-19 2019-11-15 上海易点时空网络有限公司 Asynchronous process callback method and device

Similar Documents

Publication Publication Date Title
CN105338082A (en) Load balancing method and load balancing device based on application proxy server
CN103346912A (en) Method, device and system for conducting warning correlation analysis
CN109417488A (en) The method and apparatus of virtual network function resource management
CN110290166B (en) Cross-cluster data interaction method, system and device and readable storage medium
CN104580194A (en) Virtual resource management method and device oriented to video applications
CN105446871A (en) Resource leakage detection method, apparatus and system
CN109446515A (en) Group information analysis method, electronic device and computer readable storage medium
CN111813517A (en) Task queue allocation method and device, computer equipment and medium
CN116467061A (en) Task execution method and device, storage medium and electronic equipment
US8543722B2 (en) Message passing with queues and channels
CN102929770B (en) The monitoring and positioning method that Embedded Linux System User space task is exclusive
CN108965403B (en) Operation and maintenance monitoring connection establishing method and terminal equipment
CN105138406A (en) Task processing method, task processing device and task processing system
CN103713953A (en) Device and method for transferring data in memory
CN116820714A (en) Scheduling method, device, equipment and storage medium of computing equipment
CN115334001B (en) Data resource scheduling method and device based on priority relation
CN114862223A (en) Robot scheduling method, device, equipment and storage medium
CN112988383A (en) Resource allocation method, device, equipment and storage medium
CN112667682A (en) Data processing method, data processing device, computer equipment and storage medium
CN110033145B (en) Financial sharing job order separating method and device, equipment and storage medium
JP2007293761A (en) Arrangement program, method and device for agent
CN109510682A (en) A kind of pond server system BMC clock synchronizing method, device, terminal and storage medium
CN116743589B (en) Cloud host migration method and device and electronic equipment
CN114637564B (en) Data visualization method and device, electronic equipment and storage medium
CN112532750B (en) Big data push processing method and system and cloud platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication