CN1409209A - Realizing method for multiple task real-time operation system - Google Patents
Realizing method for multiple task real-time operation system Download PDFInfo
- Publication number
- CN1409209A CN1409209A CN 01126906 CN01126906A CN1409209A CN 1409209 A CN1409209 A CN 1409209A CN 01126906 CN01126906 CN 01126906 CN 01126906 A CN01126906 A CN 01126906A CN 1409209 A CN1409209 A CN 1409209A
- Authority
- CN
- China
- Prior art keywords
- task
- function
- steps
- ready
- time
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
A realization method of real time operation system for embeddeed multitask of single chip computer sets up the maximum allowable waiting time for each task which is classified into priorable and normal ones and to use round number recording the waiting time of each task as well as the number value to be refroshed with decrement. The task will be connected with the corresponding task program or realized the multitask dispatching in noncritical area through establkishing the set-up function and hang-up function. The task which is over the maximum allowable waiting time is operated in the dispatch, and if there is a prior able task, the next available prior able task is confirmed according to the rotary method; if there is no prior able task, the next available normal task is conformed by the rotary method.
Description
Technical field
The present invention relates to operating system design and realize technical field, be specifically related to a kind of method that in microcontroller embedded real time operating system, realizes multi-task scheduling.
Background technology
Now, in the emerging computing equipment and embedded market that with the network are the center, embedded real-time operating system (RTOS) has obtained widespread use, especially in DSP, PDA and wireless application etc.Embedded RTOS is breeding huge business opportunity.For reducing cost, many Embedded Application all extensively adopt single-chip microcomputer miscellaneous to realize the intellectuality of product.The single-chip microcomputer target system software in the past more adopts assembly language to realize.After single-chip microcomputer C compilers such as Franklin, ArchimedesC51 produce, because the C language has abundant built-in function, the compile efficiency height, that uses writes target system software and can shorten the construction cycle greatly, increases the readability of software, is convenient to improve and safeguard.Generally adopted the C language to develop 8051 single-chip microcomputers such as grade now.But application system is varied, and application software also varies; If design the RTOS of a single-chip microcomputer, in the support of this RTOS, writing of application software just can be tried one's best simply so, and modularization realizes more excellent portability simultaneously.
In application system,, just need the support of an operating system when the target system software more complicated, when scale is huger.At present, the fashionable whole world of Embedded RTOS, Palm for example, VxWorks, Windows CE or the like.But it is too high to buy a commercial RTOS cost, and can't obtain source code, simultaneously because commercial RTOS possesses than perfect functions, and larger, the internal memory and the external memory that need are more, and difficult being transplanted on the concrete single-chip microcomputer mini system.Therefore it is strong to write an applicability, and function is suitable, and the less single-chip microcomputer operating system of scale just seems and has been necessary very much.This also helps writing of single-chip microcomputer application software to standardize and modularization.
Summary of the invention
The technical problem to be solved in the present invention is how to realize in the micro-kernel real time operating system particularly a kind of multi-task scheduling method of realizing in microcontroller embedded real time operating system on single-chip microcomputer.
Technical matters of the present invention is to solve like this, construct a kind of implementation method that can be used for the multiple task real-time operation system of microcontroller embedded system, it is characterized in that: may further comprise the steps: for each task is provided with a maximum permission stand-by period, each task that need take CPU operation is divided into priority tasks and general task, writes down the stand-by period of each task and in timer program, its numerical value is carried out decrement and refresh with the array of an integer type; The task creation function is set, a task can be linked to each other with its corresponding task program, and set up the TCB of this task, the random length timeslice that one or more its length is not more than the base unit time is distributed to a task; The task suspension function is set, be used for the scheduling between the memory headroom realization multitask in non-critical district, during scheduling, replace the local variable of scheduling place with the form of function and global variable, each task took CPU before assigned timeslice finishes or is suspended; Carry out multi-task scheduling according to following steps: have or not task in preservation presence states, the formation of inspection ready task, then utilize dispatching algorithm to take out a ready task if any task, the task that calling task operation function should take out is set to running status, recovers presence states; Wherein, described dispatching algorithm may further comprise the steps: if there is the stand-by period to surpass the maximum task of allowing the stand-by period, then move this task; If priority tasks is arranged, then determine next ready priority tasks according to rotation therapy; If there is not priority tasks, determine next ready general task according to rotation therapy.
In according to method provided by the invention, it is to carry out following steps that described calling task is hung up function: with the suspension time of pairing task suspension second parametric representation of the first parametric representation task number, described suspension time is a unit with the base unit time, described suspension time is 0 o'clock, the task of the described first parametric representation task number correspondence is re-applied to the end of described ready task formation; Described suspension time is not 0 o'clock, behind the suspension time with described second time representation of task suspension of the described first parametric representation task number correspondence, is re-applied to the end of described ready task formation again.
In according to method provided by the invention, further comprising the steps of: the ready function of the task that is provided with is used to make some tasks to be in ready state.
In according to method provided by the invention, further comprising the steps of: task priority is set function is set, be used for when calling this function, changing general task is that priority tasks or change priority tasks are general task.
In according to method provided by the invention, further comprising the steps of: as task deletion function to be set to be used to delete a task.
In according to method provided by the invention, described preservation scene may further comprise the steps: close and interrupt; Preserve the current task breakpoint information, wait until in the TCB environment of this task as storehouse, program pointer, register and open interruption; Described recovery scene may further comprise the steps: close and interrupt; CPU storehouse, program pointer, register etc. are set and open interruption with the environmental information that is kept among this TCB.
Implement the implementation method of a kind of multiple task real-time operation system of in microcontroller embedded real time operating system, realizing provided by the invention, compare with many existing RTOS, have following marked improvement: allow a plurality of tasks in parallel, the speed of performing task is fast, can requirement of real time; Can support abundant parallel task, parallel task quantity only is subjected to the actual hardware condition restriction, for example 8051 internal system and external RAM space.By reasonably adjusting the nesting allocation of program, can allow 32 or more tasks synchronization execution.This is enough for general Embedded Application; Utilize the inventive method realize like operating system take few resource; And make things convenient for the user to call, and the user is said that he need not understand the principle of OS, do not need to understand assurance mechanism such as semaphore.The usage of only understanding several call functions gets final product, and provides enough dirigibilities to user program again simultaneously, can realize task scheduling at any suitable procedure place; Specific aim and practicality are very strong.Based on method of the present invention, can increase the function of RTOS at current many softwares, and whole process is very simple, meanwhile, also provides an OS platform, makes things convenient for the modularization work of software.
Description of drawings
Fig. 1 utilizes the inventive method to carry out the realization flow figure of task scheduling;
Fig. 2 is the process flow diagram of explanation according to the implementation procedure of the task scheduling algorithm of the inventive method.
Embodiment
For sake of convenience, with the 8051 single-chip microcomputers hardware foundation that explanation is relied on as following examples.
For in embedded OS, realizing multitask, also to satisfy real-time simultaneously, need divide CPU time.In the present invention, the time of task divides and does not adopt the regular time sheet, and adopts the random length timeslice, and timeslice length can be provided with arbitrarily by the user, as long as enough accurate timer is arranged.Because 8051 resource-constraineds and application system vary, operating system does not have to take some concrete timers yet, so this timer needs the user to provide.Suppose that the user is provided with 8051 timer T0, timing cycle is 10ms, and the basic time unit of this duration (10ms) as task scheduling.So, 10ms is exactly the minimum timeslice of a task, the possible minimum delay time of just executing the task.In order to guarantee real-time, just need the user task program in 10ms, to finish, if can't finish, must hang up this task, vacate the task that CPU gives other needs operation.
Supposing has a task task0 in the example, this task all is finished needs 15ms.So, can be this task program separated into two parts.Carry out earlier the program part (as long as less than 10ms) of the about 8ms of first of this task, hang up this task after, allow other tasks to take CPU, the wait scheduler program distributes CPU once more, carries out the program of remaining second portion.
How does task dispatch so? usually in multitask environment, because the memory headroom true(-)running that task must oneself assigned to, do not disturb mutually, do not destroy mutually, like this for each task, all need enough memory headrooms to preserve current a large amount of ambient conditions, the operating system occupation space will be bigger like this.If 10 tasks are arranged in the user program, a task takies the 1K ram space, and 10 tasks will take 10K RAM so, and this will consume a large amount of precious resources of embedded user, and very uneconomical, applicability is very poor.
As preceding introduction, the multitask implementation method that the present invention adopts is actually and is similar to MSDOS, " the cooperation multitask " of Win31, and promptly task (program) runs to them always and initiatively abdicates till the CPU.Rather than Linux, " seizing the scheduling multitask " that Windows NT is supported.Adopt present this method, obviously user program need be realized task scheduling in a place (place after promptly being to discharge critical resource) that is not in the critical section, replaces the local variable of scheduling place with the form of function and global variable.Like this, operating system just need not keep the current a large amount of status informations of each task, and the undesired signal amount, complicated concurrent assurance mechanism such as mailbox.Like this, this operating system just can be accomplished very short and pithy, and (can allow 8 tasks to carry out simultaneously, if the task increase and decrease, ram space increases and decreases ratio only to take at present the ROM space of the RAM and the 2k of 128 bytes.In fact, ram space is all TCB occupation space just), can in general embedded system, be widely used.
The specific implementation of task scheduling can realize with a function of hanging up task.This function has two parameters, the task number that parameter 1 expression is hung up, the unit interval that parameter 2 expressions are hung up.Obviously, any one task can be hung up other task, also can self hang up; When self hangs up, promptly be to have abdicated CPU; When suspension time is 0, promptly be the tail of the queue that self task has been re-applied to ready task.The operation dispatching algorithm is distributed to the task of being about to operation to CPU then.
Adopt which kind of dispatching algorithm so? basically adopt loop dispatching method, i.e. the timeslice rotation therapy.Suppose that ready task one has 4, adopt the dispatching method of " 1 → 2 → 3 → 4 → 1 ", can both carry out to guarantee all tasks.In other words, after each task is used the CPU of a timeslice, after the release processor comes the task of ready head of the queue to the next one, oneself turn back to the tail of the queue (perhaps simply hang up the some time, find time) of ready queue to other ready tasks.For priority tasks, such as the task of interrupt levels, perhaps frequent the execution but very of short duration again task of execution time, the execution of can trying to be the first, but follow loop dispatching method equally then.Need to define a maximum latency in the user program.Owing to tried to be the first by priority, when causing that the stand-by period surpasses maximum latency in ready queue, this general task will be carried out at first by unconditional when general other task of level.After adopting above-mentioned dispatching method, just can guarantee that all tasks can be performed, can guarantee the real-time of the task of priority again.
In operating system, provide with lower interface to the user user friendly flexible Application: 1) task creation function a: task is linked to each other with its corresponding task program, and set up the TCB of this task as an embodiment of the inventive method; 2) task deletion function: delete a task; 3) the ready function of task: make some tasks be in ready attitude; 4) task priority is provided with function: the priority that changes a task; 5) task run function: carry out some tasks at once; 6) task suspension function: hang up some task regular hours; 7) os starting function: start operation.
In addition, the array that needs an integer type.The number of this array element is the sum of task, and element is the duration of the unit interval of each task wait.The user need carry out decrement operation to all array elements in user's timer program.Operating system needs each task dispatching to treat duration (operating system itself does not have the timer counter function), just can carry out correct scheduling and control.
In the realization flow shown in Fig. 1, in frame 101, close and interrupt based on multi-task scheduling method of the present invention, in frame 102, preserve the current task breakpoint information, wait until in this task TCB environment as storehouse, program pointer, register, in frame 103, open interruption; In frame 104, check in the ready task formation, have or not formation (whether formation is empty), if formation is empty, then returns frame 104 and continue to check; As the ready task formation is not empty, enter frame 105, in frame 105, take out a ready task in Fig. 2 according to the dispatching algorithm that its flow process provides, and enter in the frame 106, in frame 106, it is running status that this task is set, and closes in frame 107 frames and interrupts, in 108 frames, with the environmental information that is kept among this TCB CPU storehouse, program pointer, register etc. are set, in frame 109, open interruption.
In the process flow diagram of the dispatching algorithm shown in Fig. 2, in frame 201, inspection has or not the stand-by period to surpass the maximum task of allowing the stand-by period, as do not have, then in frame 202, check to have or not priority tasks, as do not have, then in frame 203, find next ready general task, in frame 205, take out this task at last according to rotation therapy; There is priority tasks as in frame 202, finding, then in frame 204, finds next ready priority tasks, and enter frame 205 these tasks of taking-up according to rotation therapy; If in frame 201, be checked through and have its stand-by period above the maximum task of allowing the stand-by period, then directly arrive frame 205 and take out these tasks.
Illustrating with a concrete example program below utilizes the inventive method to realize that RTOS carries out the actual usage of multi-task scheduling.
Operation hardware environment: 80C552 mini system; Show: 16 * 2 character LCD; Keyboard: 4 keys.Program is finished following function: LCD upper left corner part is taken in turn by two demonstration tasks, and the LCD upper right corner shows the current time; LCD lower left corner part realizes animation display by a task, and the LCD lower right corner shows a real time data, and when keyboard was pressed, these data were changed.
Simple declaration is this example program once.This program has 6 tasks, and division is as follows:
The every 100ms of Task0 carries out once, realizes adding up of a general data variable, and the coordinate (0,0) that is shown to display screen is located;
Task1 carries out once in per 1 second, reads and shows that the current time arrives coordinate (8,0) and locate, and in 1 minute time, allows Task0 and Task4 alternately to carry out 30 seconds simultaneously;
Task2 realizes simple animation display, is shown to coordinate (0,1) and locates;
What the every 500ms of Task3 realized a real time data refreshes display position (8,1);
Task4 realizes simple animation display, is shown to coordinate (0,0) and locates;
The every 10ms of Task5 reads the keyboard mouth, when keyboard is pressed, changes real time data, and moves Task3 at once.
Obviously, painstakingly Task0 and Task4 displaying contents are in same position here, come the deletion of validation task and rebuild function.
Set a 10ms timer T0 in the user program, in timer interrupt program, each value in the task counter array has all been moved a decrement computing (perhaps be called and subtract an operation).Operating system just can be carried out correct task scheduling according to the numerical value in the task counter array and handled like this.Therefore the chronomere of operating system is exactly 10ms.The fastest response and control will be carried out behind 10ms, thereby satisfy real-time.
Main program can followingly be realized:
Task0:
At first, this general data variable progressively increases, and is presented at coordinate (0,0) by decimal format and locates, and the time of self hanging up 10 units then gets final product.
Task1:
From a realtime clock chip, after the DS1687 time for reading, be presented at coordinate (8,0) by the time display format and locate; Judge whether this time is preceding 30 seconds, if, rebuild Task0, deletion Task4, otherwise rebuild Task4, and deletion Task0, self hangs up the time of 100 units at last;
Task2:
To between (7,1), show the small icon of a position ring shift left at coordinate (0,1), show 100 milliseconds of spacings at every turn, promptly self hangs up the time of 10 units;
Task3:
Show that by decimal format a real time data arrives coordinate (8,1) and locates, self hangs up the time of 50 units then;
Task4:
To between (7,0), show the small icon of a position ring shift right at coordinate (0,0), show 100 milliseconds of spacings at every turn, promptly self hangs up the time of 10 units;
Task5:
Read keyboard mouth data,, and continued for 60 seconds, close LCD backlight if there is not key to be pressed; Otherwise according to the numerical value of key change real time data, call Task3 (promptly finishing refreshing in real time of data) then at once, self hangs up the time of 1 unit at last.
In user's master routine, begin respectively calling task and set up function and set up 6 tasks; Initialization timing device T0 then, last call operation system start-up function gets final product.
In addition, the Task5 in this program regularly the keyboard Processing tasks select from 10 milliseconds of timer interrupt routine parts in the monitor system software of a reality.Therefrom as seen, the every 10ms of this task carries out once, reads the keyboard mouth, and the shake that disappears allows user's accelerator key to use, and sends into one automatically and withdraws from key assignments in keyboard buffer in per 30 seconds.Obviously, this program is bigger and complicated, carries out in timer interrupt routine and can reduce software reliability and efficient (interrupt routine should be short and small as far as possible), carries out to guarantee to read the real-time of key and demonstration again in backdrop procedure.As mentioned above, keyboard is handled function be used as a task execution, just ideally solved the problems referred to above.
In sum, realize the implementation method of the embedded RTOS of the support multi-task scheduling that the present invention proposes, when a plurality of tasks of abundant assurance are real-time, guarantee the real-time of response.Though the foregoing description with single-chip microcomputer 8051 for example, in fact it may be used on the Single Chip Microcomputer (SCM) system of other types.It can be used as a kind of micro-kernel RTOS, needs the user that task scheduling rationally is set during practical application.Owing to need not open up the environment that huge ram space is preserved each task, therefore seem very short and pithy, can be used in many Embedded Application.That uses is wonderful, has lain in each one.
Claims (6)
1, a kind of implementation method of multiple task real-time operation system is characterized in that: may further comprise the steps:
(1) for each task is set a maximum permission stand-by period, each task that need take the CPU operation is divided into priority tasks and general task, write down the stand-by period of each task and in timer program, its numerical value is carried out decrement and refresh with the array of an integer type, it is characterized in that, may further comprise the steps:
(2) a task creation function is set, a task can be linked to each other with its corresponding task program, and set up the TCB of this task, the random length timeslice that one or more its length is not more than the base unit time is distributed to a task;
(3) a task suspension function is set, be used for the scheduling between the memory headroom realization multitask in non-critical district, during scheduling, replace the local variable of scheduling place with the form of function and global variable, each task took CPU before assigned timeslice finishes or is suspended;
(4) carry out multi-task scheduling according to following steps: have or not task in preservation presence states, the formation of inspection ready task, then utilize dispatching algorithm to take out a ready task if any task, the task that calling task operation function should take out is set to running status, recovers presence states; Wherein, described dispatching algorithm may further comprise the steps: if there is the stand-by period to surpass the maximum task of allowing the stand-by period, then move this task; If priority tasks is arranged, then determine next ready priority tasks according to rotation therapy; If there is not priority tasks, determine next ready general task according to rotation therapy.
2, according to the described method of claim 1, it is characterized in that, it is to carry out following steps that described calling task is hung up function: with the suspension time of pairing task suspension second parametric representation of the first parametric representation task number, described suspension time is a unit with the base unit time, described suspension time is 0 o'clock, the task of the described first parametric representation task number correspondence is re-applied to the end of described ready task formation; Described suspension time is not 0 o'clock, behind the suspension time with described second time representation of task suspension of the described first parametric representation task number correspondence, is re-applied to the end of described ready task formation again.
According to the described method of claim 1, it is characterized in that 3, further comprising the steps of: the ready function of the task that is provided with is used to make some tasks to be in ready state.
According to the described method of claim 1, it is characterized in that 4, further comprising the steps of: task priority is set function is set, be used for when calling this function, changing general task is that priority tasks or change priority tasks are general task.
5, according to the described method of claim 1, it is characterized in that, further comprising the steps of: as task deletion function to be set to be used to delete a task.
According to the described method of claim 1, it is characterized in that 6, described preservation scene may further comprise the steps: close and interrupt; Preserve the current task breakpoint information, wait until in the TCB environment of this task as storehouse, program pointer, register and open interruption; Described recovery scene may further comprise the steps: close and interrupt; CPU storehouse, program pointer, register etc. are set and open interruption with the environmental information that is kept among this TCB.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011269065A CN100485605C (en) | 2001-09-24 | 2001-09-24 | Realizing method for multiple task real-time operation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB011269065A CN100485605C (en) | 2001-09-24 | 2001-09-24 | Realizing method for multiple task real-time operation system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1409209A true CN1409209A (en) | 2003-04-09 |
CN100485605C CN100485605C (en) | 2009-05-06 |
Family
ID=4666909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB011269065A Expired - Lifetime CN100485605C (en) | 2001-09-24 | 2001-09-24 | Realizing method for multiple task real-time operation system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100485605C (en) |
Cited By (55)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1295583C (en) * | 2003-08-14 | 2007-01-17 | 株式会社东芝 | Method and system for realizing real-time operation |
CN1304949C (en) * | 2005-01-12 | 2007-03-14 | 宁波大学 | Timer dispatching method for real-time multi-task operating system |
CN1317640C (en) * | 2004-08-31 | 2007-05-23 | 华为技术有限公司 | Multi-task application software module management method in real-time operating system environment |
CN100345132C (en) * | 2003-07-28 | 2007-10-24 | 华为技术有限公司 | Parallel processing method and system |
CN100349121C (en) * | 2005-07-08 | 2007-11-14 | 北京中星微电子有限公司 | Embedded type parallel computation system and embedded type parallel computing method |
CN100365544C (en) * | 2006-03-10 | 2008-01-30 | 浙江大学 | Energy-saving switching method for waiting overtime judge of flush type system outer apparatus |
CN100383743C (en) * | 2006-04-07 | 2008-04-23 | 浙江大学 | Real-time task scheduling method in Java operating system |
CN100383742C (en) * | 2006-04-07 | 2008-04-23 | 浙江大学 | Implementation method for real-time task establishment in Java operating system |
CN100395702C (en) * | 2006-09-30 | 2008-06-18 | 华为技术有限公司 | Timer implementation method |
CN100405306C (en) * | 2004-04-08 | 2008-07-23 | 台湾积体电路制造股份有限公司 | Process scheduling system and method |
CN100419687C (en) * | 2005-05-27 | 2008-09-17 | 佛山市顺德区顺达电脑厂有限公司 | Mobile device of balance system availability factor and its method |
CN100462924C (en) * | 2005-03-25 | 2009-02-18 | 株式会社东芝 | Schedulability determination method and real-time system |
CN100462923C (en) * | 2003-11-18 | 2009-02-18 | 丰田自动车株式会社 | Task management system |
CN101221528B (en) * | 2008-01-22 | 2010-06-16 | 中兴通讯股份有限公司 | Method for testing scheduling performance of embedded operation system |
CN101290595B (en) * | 2007-04-17 | 2011-04-20 | 国际商业机器公司 | System and method for probing system management program task in asynchronous environment |
CN102043667A (en) * | 2010-11-25 | 2011-05-04 | 深圳市科陆电子科技股份有限公司 | Task scheduling method for embedded operating system |
CN1862575B (en) * | 2005-08-19 | 2011-08-03 | 华为技术有限公司 | Method for planing dispatching timing task |
CN101290585B (en) * | 2007-04-19 | 2011-09-21 | 中兴通讯股份有限公司 | Embedded system real time task scheduling method |
CN101290509B (en) * | 2007-04-19 | 2012-01-18 | 中兴通讯股份有限公司 | Embedded system low-power consumption real time task scheduling method |
CN102521049A (en) * | 2011-11-18 | 2012-06-27 | 清华大学 | Method for scheduling internal memory among multiple cores |
CN102541643A (en) * | 2011-12-30 | 2012-07-04 | 上海新时达电气股份有限公司 | Logic signal delayed processing method for embedded system |
CN102662670A (en) * | 2012-04-05 | 2012-09-12 | 林添孝 | Implementation method of scene type kernel-free embedded real-time operating system |
CN101567873B (en) * | 2008-04-25 | 2013-05-15 | 锐迪科微电子(上海)有限公司 | Multitask Parallel processing method and multitask parallel processing system |
CN101551758B (en) * | 2009-05-13 | 2013-06-05 | 中兴通讯股份有限公司 | System and method for implementing paralleling work of device management and tasks |
CN101826032B (en) * | 2009-03-06 | 2013-07-31 | 盈威力新能源科技(上海)有限公司 | High-efficiency real-time multi-task operating system kernel |
CN103257864A (en) * | 2013-05-09 | 2013-08-21 | 南京航空航天大学 | Task scheduling method of embedded software |
CN103294544A (en) * | 2012-02-27 | 2013-09-11 | 展讯通信(上海)有限公司 | Embedded system as well as interrupt processing method and device thereof |
CN103293967A (en) * | 2012-02-29 | 2013-09-11 | 陕西省地方电力(集团)有限公司 | Multi-task control method for intelligent meter reading terminal |
CN103559085A (en) * | 2013-10-21 | 2014-02-05 | 福建升腾资讯有限公司 | Interrupt and critical event management operation method in embedded system |
CN103592871A (en) * | 2013-05-20 | 2014-02-19 | 赛龙通信技术(深圳)有限公司 | Multitask timing control system and interruption response method thereof |
CN104102491A (en) * | 2014-07-28 | 2014-10-15 | 航天科工深圳(集团)有限公司 | Implementation method and system for parallel execution of real-time task and time-consuming task of single chip microcomputer |
CN105204857A (en) * | 2015-09-21 | 2015-12-30 | 中国船舶重工集团公司第七〇五研究所 | Design method of embedded control system capable of accurately scheduling a plurality of time slices based on polling mode |
CN101639792B (en) * | 2008-07-29 | 2016-04-06 | 阿里巴巴集团控股有限公司 | A kind of concurrent data disposal route, device and a kind of electronic accounting system |
CN101216786B (en) * | 2007-01-05 | 2016-09-21 | 三星电子株式会社 | The method of scheduler task, medium and equipment in real time operating system |
CN106354557A (en) * | 2016-08-29 | 2017-01-25 | 佛山市美的清湖净水设备有限公司 | Household appliance based on time slice task scheduling system and control method and controller thereof |
CN106445659A (en) * | 2016-09-09 | 2017-02-22 | 北京控制工程研究所 | Periodic hybrid random task scheduling method for spacecraft |
CN106528288A (en) * | 2015-09-10 | 2017-03-22 | 中兴通讯股份有限公司 | Resource management method, device and system |
CN106775988A (en) * | 2016-12-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of data processing method and equipment |
CN106875029A (en) * | 2016-08-16 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of resource object information-pushing method and device |
CN106919520A (en) * | 2015-12-28 | 2017-07-04 | 龙芯中科技术有限公司 | Memory access command scheduling method, device and system |
CN107221014A (en) * | 2017-06-26 | 2017-09-29 | 上海联影医疗科技有限公司 | The dispatching method and device and medical image system of medical image reconstruction tasks |
CN107273141A (en) * | 2017-07-10 | 2017-10-20 | 无锡走向智能科技有限公司 | Embedded real-time operating system |
CN108859759A (en) * | 2018-06-25 | 2018-11-23 | 武汉科技大学 | Electric vehicle instrument system and its dispatching method |
CN109165042A (en) * | 2018-07-23 | 2019-01-08 | 努比亚技术有限公司 | Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application |
CN109324885A (en) * | 2018-09-13 | 2019-02-12 | 厦门拓宝科技有限公司 | A kind of multitask management process applied to the monolithic processor controlled minimum operation system of UPS and based on minimum operation system |
CN109597383A (en) * | 2018-12-08 | 2019-04-09 | 顾满洲 | A kind of lightweight mini system reliability structure design |
CN109725992A (en) * | 2018-05-14 | 2019-05-07 | 网联清算有限公司 | Method for processing business and its device |
CN109784647A (en) * | 2018-12-14 | 2019-05-21 | 兰州空间技术物理研究所 | A kind of method for scheduling task of the active potential control system for space station |
CN109947434A (en) * | 2018-12-19 | 2019-06-28 | 中国兵器装备集团上海电控研究所 | Non-interrupted formula and pseudo- parallel embedded software real-time response method, system and medium |
CN109992388A (en) * | 2019-04-08 | 2019-07-09 | 中国核动力研究设计院 | One kind being used for npp safety grade device software multiple task management system |
CN110794759A (en) * | 2019-10-29 | 2020-02-14 | 北京和利时智能技术有限公司 | PLC task scheduling method and device |
CN112416546A (en) * | 2020-11-10 | 2021-02-26 | 光华临港工程应用技术研发(上海)有限公司 | Multitask scheduling method, electronic device and computer storage medium |
WO2021046932A1 (en) * | 2019-09-12 | 2021-03-18 | 北京东土科技股份有限公司 | Message drive method and device based on real-time operating system |
CN113900787A (en) * | 2021-10-14 | 2022-01-07 | 中国电子科技集团公司第五十四研究所 | Method for realizing preemptive multi-task real-time operating system for micro single-chip microcomputer |
CN117851012A (en) * | 2024-01-08 | 2024-04-09 | 广州南网科研技术有限责任公司 | Multi-task COS operating system, operation method, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0631036U (en) * | 1992-09-28 | 1994-04-22 | 株式会社東京ディップ | Terminal insulation sleeve |
-
2001
- 2001-09-24 CN CNB011269065A patent/CN100485605C/en not_active Expired - Lifetime
Cited By (67)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100345132C (en) * | 2003-07-28 | 2007-10-24 | 华为技术有限公司 | Parallel processing method and system |
CN1295583C (en) * | 2003-08-14 | 2007-01-17 | 株式会社东芝 | Method and system for realizing real-time operation |
CN100462923C (en) * | 2003-11-18 | 2009-02-18 | 丰田自动车株式会社 | Task management system |
CN100405306C (en) * | 2004-04-08 | 2008-07-23 | 台湾积体电路制造股份有限公司 | Process scheduling system and method |
CN1317640C (en) * | 2004-08-31 | 2007-05-23 | 华为技术有限公司 | Multi-task application software module management method in real-time operating system environment |
CN1304949C (en) * | 2005-01-12 | 2007-03-14 | 宁波大学 | Timer dispatching method for real-time multi-task operating system |
CN100462924C (en) * | 2005-03-25 | 2009-02-18 | 株式会社东芝 | Schedulability determination method and real-time system |
CN100419687C (en) * | 2005-05-27 | 2008-09-17 | 佛山市顺德区顺达电脑厂有限公司 | Mobile device of balance system availability factor and its method |
CN100349121C (en) * | 2005-07-08 | 2007-11-14 | 北京中星微电子有限公司 | Embedded type parallel computation system and embedded type parallel computing method |
CN1862575B (en) * | 2005-08-19 | 2011-08-03 | 华为技术有限公司 | Method for planing dispatching timing task |
CN100365544C (en) * | 2006-03-10 | 2008-01-30 | 浙江大学 | Energy-saving switching method for waiting overtime judge of flush type system outer apparatus |
CN100383742C (en) * | 2006-04-07 | 2008-04-23 | 浙江大学 | Implementation method for real-time task establishment in Java operating system |
CN100383743C (en) * | 2006-04-07 | 2008-04-23 | 浙江大学 | Real-time task scheduling method in Java operating system |
CN100395702C (en) * | 2006-09-30 | 2008-06-18 | 华为技术有限公司 | Timer implementation method |
CN101216786B (en) * | 2007-01-05 | 2016-09-21 | 三星电子株式会社 | The method of scheduler task, medium and equipment in real time operating system |
CN101290595B (en) * | 2007-04-17 | 2011-04-20 | 国际商业机器公司 | System and method for probing system management program task in asynchronous environment |
CN101290509B (en) * | 2007-04-19 | 2012-01-18 | 中兴通讯股份有限公司 | Embedded system low-power consumption real time task scheduling method |
CN101290585B (en) * | 2007-04-19 | 2011-09-21 | 中兴通讯股份有限公司 | Embedded system real time task scheduling method |
CN101221528B (en) * | 2008-01-22 | 2010-06-16 | 中兴通讯股份有限公司 | Method for testing scheduling performance of embedded operation system |
CN101567873B (en) * | 2008-04-25 | 2013-05-15 | 锐迪科微电子(上海)有限公司 | Multitask Parallel processing method and multitask parallel processing system |
CN101639792B (en) * | 2008-07-29 | 2016-04-06 | 阿里巴巴集团控股有限公司 | A kind of concurrent data disposal route, device and a kind of electronic accounting system |
CN101826032B (en) * | 2009-03-06 | 2013-07-31 | 盈威力新能源科技(上海)有限公司 | High-efficiency real-time multi-task operating system kernel |
CN101551758B (en) * | 2009-05-13 | 2013-06-05 | 中兴通讯股份有限公司 | System and method for implementing paralleling work of device management and tasks |
CN102043667A (en) * | 2010-11-25 | 2011-05-04 | 深圳市科陆电子科技股份有限公司 | Task scheduling method for embedded operating system |
CN102521049A (en) * | 2011-11-18 | 2012-06-27 | 清华大学 | Method for scheduling internal memory among multiple cores |
CN102521049B (en) * | 2011-11-18 | 2013-07-10 | 清华大学 | Method for scheduling internal memory among multiple cores |
CN102541643A (en) * | 2011-12-30 | 2012-07-04 | 上海新时达电气股份有限公司 | Logic signal delayed processing method for embedded system |
CN103294544A (en) * | 2012-02-27 | 2013-09-11 | 展讯通信(上海)有限公司 | Embedded system as well as interrupt processing method and device thereof |
CN103294544B (en) * | 2012-02-27 | 2016-08-17 | 展讯通信(上海)有限公司 | Embedded system and interruption processing method thereof and device |
CN103293967A (en) * | 2012-02-29 | 2013-09-11 | 陕西省地方电力(集团)有限公司 | Multi-task control method for intelligent meter reading terminal |
CN102662670A (en) * | 2012-04-05 | 2012-09-12 | 林添孝 | Implementation method of scene type kernel-free embedded real-time operating system |
CN102662670B (en) * | 2012-04-05 | 2014-12-03 | 林添孝 | Implementation method of scene type kernel-free embedded real-time operating system |
CN103257864A (en) * | 2013-05-09 | 2013-08-21 | 南京航空航天大学 | Task scheduling method of embedded software |
CN103592871A (en) * | 2013-05-20 | 2014-02-19 | 赛龙通信技术(深圳)有限公司 | Multitask timing control system and interruption response method thereof |
CN103559085B (en) * | 2013-10-21 | 2016-10-05 | 福建星网锐捷通讯股份有限公司 | A kind of embedded system is carried out interrupt and the method for criticality incident management operation |
CN103559085A (en) * | 2013-10-21 | 2014-02-05 | 福建升腾资讯有限公司 | Interrupt and critical event management operation method in embedded system |
CN104102491A (en) * | 2014-07-28 | 2014-10-15 | 航天科工深圳(集团)有限公司 | Implementation method and system for parallel execution of real-time task and time-consuming task of single chip microcomputer |
CN104102491B (en) * | 2014-07-28 | 2017-07-14 | 深圳航天工业技术研究院有限公司 | The method and system that single-chip microcomputer real-time task is performed parallel with consuming task |
CN106528288A (en) * | 2015-09-10 | 2017-03-22 | 中兴通讯股份有限公司 | Resource management method, device and system |
CN105204857A (en) * | 2015-09-21 | 2015-12-30 | 中国船舶重工集团公司第七〇五研究所 | Design method of embedded control system capable of accurately scheduling a plurality of time slices based on polling mode |
CN105204857B (en) * | 2015-09-21 | 2018-08-07 | 中国船舶重工集团公司第七〇五研究所 | The embedded control system design method that one kind is accurately dispatched based on " polling type " more timeslices |
CN106919520A (en) * | 2015-12-28 | 2017-07-04 | 龙芯中科技术有限公司 | Memory access command scheduling method, device and system |
CN106919520B (en) * | 2015-12-28 | 2019-11-05 | 龙芯中科技术有限公司 | Memory access command scheduling method, device and system |
CN106875029A (en) * | 2016-08-16 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of resource object information-pushing method and device |
CN106875029B (en) * | 2016-08-16 | 2020-05-29 | 阿里巴巴集团控股有限公司 | Resource object information pushing method and device |
CN106354557A (en) * | 2016-08-29 | 2017-01-25 | 佛山市美的清湖净水设备有限公司 | Household appliance based on time slice task scheduling system and control method and controller thereof |
CN106445659A (en) * | 2016-09-09 | 2017-02-22 | 北京控制工程研究所 | Periodic hybrid random task scheduling method for spacecraft |
CN106445659B (en) * | 2016-09-09 | 2019-07-12 | 北京控制工程研究所 | A kind of spacecraft periodically blendes together Random Task dispatching method |
CN106775988A (en) * | 2016-12-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of data processing method and equipment |
CN107221014A (en) * | 2017-06-26 | 2017-09-29 | 上海联影医疗科技有限公司 | The dispatching method and device and medical image system of medical image reconstruction tasks |
CN107273141A (en) * | 2017-07-10 | 2017-10-20 | 无锡走向智能科技有限公司 | Embedded real-time operating system |
CN109725992A (en) * | 2018-05-14 | 2019-05-07 | 网联清算有限公司 | Method for processing business and its device |
CN108859759B (en) * | 2018-06-25 | 2021-02-09 | 武汉科技大学 | Electric automobile instrument system and dispatching method thereof |
CN108859759A (en) * | 2018-06-25 | 2018-11-23 | 武汉科技大学 | Electric vehicle instrument system and its dispatching method |
CN109165042A (en) * | 2018-07-23 | 2019-01-08 | 努比亚技术有限公司 | Restoration methods, terminal and computer readable storage medium are interrupted in a kind of application |
CN109324885A (en) * | 2018-09-13 | 2019-02-12 | 厦门拓宝科技有限公司 | A kind of multitask management process applied to the monolithic processor controlled minimum operation system of UPS and based on minimum operation system |
CN109597383A (en) * | 2018-12-08 | 2019-04-09 | 顾满洲 | A kind of lightweight mini system reliability structure design |
CN109597383B (en) * | 2018-12-08 | 2021-10-08 | 顾满洲 | Lightweight small system reliability structural design |
CN109784647A (en) * | 2018-12-14 | 2019-05-21 | 兰州空间技术物理研究所 | A kind of method for scheduling task of the active potential control system for space station |
CN109947434A (en) * | 2018-12-19 | 2019-06-28 | 中国兵器装备集团上海电控研究所 | Non-interrupted formula and pseudo- parallel embedded software real-time response method, system and medium |
CN109992388A (en) * | 2019-04-08 | 2019-07-09 | 中国核动力研究设计院 | One kind being used for npp safety grade device software multiple task management system |
CN109992388B (en) * | 2019-04-08 | 2021-04-13 | 中核控制系统工程有限公司 | Multi-task management system for safety-level equipment software of nuclear power plant |
WO2021046932A1 (en) * | 2019-09-12 | 2021-03-18 | 北京东土科技股份有限公司 | Message drive method and device based on real-time operating system |
CN110794759A (en) * | 2019-10-29 | 2020-02-14 | 北京和利时智能技术有限公司 | PLC task scheduling method and device |
CN112416546A (en) * | 2020-11-10 | 2021-02-26 | 光华临港工程应用技术研发(上海)有限公司 | Multitask scheduling method, electronic device and computer storage medium |
CN113900787A (en) * | 2021-10-14 | 2022-01-07 | 中国电子科技集团公司第五十四研究所 | Method for realizing preemptive multi-task real-time operating system for micro single-chip microcomputer |
CN117851012A (en) * | 2024-01-08 | 2024-04-09 | 广州南网科研技术有限责任公司 | Multi-task COS operating system, operation method, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN100485605C (en) | 2009-05-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100485605C (en) | Realizing method for multiple task real-time operation system | |
US20230245374A1 (en) | Graphics Processor with Non-Blocking Concurrent Architecture | |
EP2316091B1 (en) | Protected mode scheduling of operations | |
Stein et al. | Implementing Lightweight Threads. | |
US8607235B2 (en) | Mechanism to schedule threads on OS-sequestered sequencers without operating system intervention | |
Mascarenhas et al. | Ariadne: Architecture of a portable threads system supporting thread migration | |
CN111597042A (en) | Service thread running method and device, storage medium and electronic equipment | |
JP2005284749A (en) | Parallel computer | |
Dong et al. | SenSpire OS: A predictable, flexible, and efficient operating system for wireless sensor networks | |
CN111209046A (en) | Multitask-oriented embedded SPARC processor operating system design method | |
WO2005048009A2 (en) | Method and system for multithreaded processing using errands | |
Gadepalli et al. | Slite: OS support for near zero-cost, configurable scheduling | |
Razaghi et al. | Host-compiled multicore RTOS simulator for embedded real-time software development | |
Huh et al. | Cross‐layer resource control and scheduling for improving interactivity in Android | |
Goyette | An analysis and description of the inner workings of the freertos kernel | |
Tan et al. | StateOS: A memory-efficient hybrid operating system for IoT devices | |
Beronić et al. | Comparison of structured concurrency constructs in java and kotlin–virtual threads and coroutines | |
CN115543551A (en) | Thread scheduling method and device and electronic equipment | |
Mascarenhas et al. | Ariadne: Architecture of a portable threads system supporting mobile processes | |
Bi et al. | Research of key technologies for embedded Linux based on ARM | |
Zhou et al. | An event-driven multi-threading real-time operating system dedicated to wireless sensor networks | |
Niknam et al. | Resource optimization for real-time streaming applications using task replication | |
Labrosse | Operating systems | |
MARZ et al. | Reducing power consumption and latency in mobile devices by using a gui scheduler | |
Lakhani et al. | Supporting the migration between ‘event triggered’and ‘time triggered’software architectures: A small pattern collection intended for use by the developers of reliable embedded systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
ASS | Succession or assignment of patent right |
Owner name: SHENZHENG CITY ZTE CO., LTD. Free format text: FORMER OWNER: SHENZHENG CITY ZTE CO., LTD. SHANGHAI SECOND INSTITUTE Effective date: 20030724 |
|
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20030724 Applicant after: Zhongxing Communication Co., Ltd., Shenzhen City Applicant before: Shanghai Inst. of No.2, Zhongxing Communication Co., Ltd., Shenzhen City |
|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20090506 |
|
CX01 | Expiry of patent term |