CN103885823B - System and method for distributing tasks of portable master station - Google Patents

System and method for distributing tasks of portable master station Download PDF

Info

Publication number
CN103885823B
CN103885823B CN201410152359.0A CN201410152359A CN103885823B CN 103885823 B CN103885823 B CN 103885823B CN 201410152359 A CN201410152359 A CN 201410152359A CN 103885823 B CN103885823 B CN 103885823B
Authority
CN
China
Prior art keywords
task
terminates
tasks
timing
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410152359.0A
Other languages
Chinese (zh)
Other versions
CN103885823A (en
Inventor
高峰
顾慧春
朱旻捷
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Shanghai Electric Power 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 State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Shanghai Electric Power Co Ltd
Priority to CN201410152359.0A priority Critical patent/CN103885823B/en
Publication of CN103885823A publication Critical patent/CN103885823A/en
Application granted granted Critical
Publication of CN103885823B publication Critical patent/CN103885823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a system and method for distributing tasks of a portable master station. The method comprises the steps that the task timer of each set is triggered by a corresponding task so as to start timing; a task timing finishing judgment module judges whether the tasks are finished or not according to timing counting states; when the tasks are judged not to be finished, a task executer continues to carry out execution; when the tasks are judged to be finished or the task execution is finished, the corresponding tasks are finished by a task finishing module; a multi-task redistributor is connected with the task finishing module in a receiving mode to distribute the tasks again. A plurality of timing paths are independent from one another, parallel processing is achieved, and execution of the tasks is controlled by timed time. The relative stability of task distribution of the system of the portable master station is achieved, and the system for distributing the tasks of the portable master station has the advantages of being high in efficiency, good in performance and low in cost.

Description

A kind of task distribution system and method for portable main website
Technical field
The invention belongs to electronic circuit field, more particularly to a kind of task distribution system and method for portable main website.
Background technology
In the design of portable main station system, multitask real-time control framework is used, this framework is relied primarily on Accurate clock time-sharing circuit is completing.This requires the relatively stable of Mechanism of Task Allocation.
In actual field environment, due to itself disturbing by the electromagnetic interference in work condition environment and high-frequency circuit, when Clock timing often produces deviation, causes timing unstable, causes the unstable of event task work status, can cause when serious The collapse of whole portable main station system.
In such a case it is necessary to parallel processing mechanism is introduced in timing circuit, by stable subsection timing frequency Rate, timing allocation task.
The content of the invention
It is an object of the invention to provide the task distribution system and method for a kind of portable main website are realizing portable master It is relatively stable that system task of standing is distributed, and with efficiency high, performance is good, the advantage of low cost.
Realizing a technical scheme of above-mentioned purpose is:A kind of task distribution system of portable main website is provided, it is provided with The multigroup equipment corresponding with multiple tasks, wherein every group of equipment includes:Task timer, task timing terminate judge module, Task performer, task terminate module;
The corresponding task that task timer is received according to its input triggers to start timing;
Task timing terminates the input of judge module and is connected with the outfan of task timer, receives timer counter state Whether to terminate to judge to task;
Task timing terminates judge module and is connected to provide expression times with the input of task performer in negative outfan The unclosed negative output order of business continues executing with corresponding task until the tasks carrying is finished to order about task performer;
Task timing terminates judge module and is connected to provide expression with the input of task terminate module in outfan certainly The affirmative output order that task terminates;The outfan of task performer is also connected with the input of task terminate module;
Task terminate module, when being finished when the order of output certainly is received or in task, terminates corresponding appointing Business;
The task distribution system is additionally provided with multitask redistributor, and the task terminate module for receiving each group terminates phase The signal exported after task is answered to redistribute task.
Realizing another technical scheme of above-mentioned purpose is:A kind of method for allocating tasks of portable main website is provided, is used Above-mentioned system, in the method for allocating tasks,
Per group of task timer starts timing according to the triggering of corresponding task, and exports timer counter state;
Task timing terminates judge module and receives the output timer counter state to judge whether task terminates, and accordingly The unclosed negative output order of affirmative output order or expression task that the expression task that ground provides terminates;
Task performer continues executing with corresponding task until the tasks carrying is finished according to the negative output order;
Task terminate module terminates corresponding appointing when the order of output certainly is received or when being finished in task Business;
The task terminate module for receiving each group by multitask redistributor again terminates the signal exported after corresponding task To redistribute task.
The task distribution system and method for a kind of portable main website provided as a result of the present invention, multiple timing paths Separate, parallel processing, with the execution of timing control task, realizes the relative of portable main station system task distribution Stable, with efficiency high, performance is good, the advantage of low cost.
Description of the drawings
Fig. 1 is the structural representation of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
Fig. 1 is refer to, a kind of task distribution system of portable main website is given in figure, including:First task intervalometer, Second task timer, the 3rd task timer, first task timing terminate judge module, the timing of the second task and terminate to judge mould Block, the 3rd task timing terminate judge module, first task executor, the second task performer, the 3rd task performer, first Task terminate module, the second task terminate module, the 3rd task terminate module and multitask redistributor.
Based on said system, in the method for allocating tasks of the portable main website that the present invention is provided, first task intervalometer by First task triggering starts timing, and output timer counter state to first task timing terminates judge module to judge first task When terminate, first task timing terminates the judgement output of judge module there are two, and negative output No connection first tasks are performed Device, exports Yes connection first task terminate modules certainly, and the output of first task executor also connects first task and terminates mould Block, the output connection multitask redistributor of first task terminate module redistributes task.
Second task timer starts timing by the triggering of the second task, and output timer counter state to the second task timing is tied Beam judge module is judging when the second task terminates, and the timing of the second task terminates the judgement output of judge module two, no Surely export No and connect the second task performer, certainly output Yes connects the second task terminate module, the second task performer it is defeated Go out and also connect the second task terminate module, the output connection multitask redistributor of the second task terminate module is redistributed and appointed Business.
3rd task timer starts timing by the triggering of the 3rd task, and output timer counter state to the 3rd task timing is tied Beam judge module is judging when the 3rd task terminates, and the timing of the 3rd task terminates the judgement output of judge module two, no Surely export No and connect the 3rd task performer, certainly output Yes connects the 3rd task terminate module, the 3rd task performer it is defeated Go out also the 3rd task terminate module of connection, the output connection multitask redistributor of the 3rd task terminate module is redistributed and appointed Business.
The present invention operation principle be:Using the operation principle of parallel processing timing, there is provided a kind of portable main website appoints Business distribution system and method, realizes the relatively stable of portable main station system task distribution, with efficiency high, performance is good, into This low advantage.
The present invention is described in detail above in association with accompanying drawing embodiment, those skilled in the art can be according to upper State and bright many variations example is made to the present invention.Thus, some of embodiment details should not constitute limitation of the invention, this Invention is by the scope defined using appended claims as protection scope of the present invention.

Claims (2)

1. a kind of task distribution system of portable main website, it is characterised in that be provided with corresponding with multiple tasks multigroup set It is standby, wherein every group of equipment includes:Task timer, task timing terminate judge module, task performer, task terminate module;
The corresponding task that task timer is received according to its input triggers to start timing;
Task timing terminates the input of judge module and is connected with the outfan of task timer, receives timer counter state and comes right Whether task terminates is judged;
Task timing terminates judge module and is connected to provide expression task not with the input of task performer in negative outfan The negative output order of end continues executing with corresponding task until the tasks carrying is finished to order about task performer;
Task timing terminates judge module and is connected to provide expression task with the input of task terminate module in outfan certainly The affirmative output order of end;The outfan of task performer is also connected with the input of task terminate module;
Task terminate module, it is when the order of output certainly is received or complete in tasks carrying the task performer is received The signal exported when complete, terminates corresponding task;
The task distribution system is additionally provided with multitask redistributor and is connected with the outfan of the task terminate module of each group, The task terminate module for receiving each group terminates the signal exported after corresponding task redistributing task.
2. a kind of method for allocating tasks of portable main website, using the system as claimed in claim 1, it is characterised in that described In method for allocating tasks,
Per group of task timer starts timing according to the triggering of corresponding task, and exports timer counter state;
Task timing terminates judge module and receives the output timer counter state to judge whether task terminates, and correspondingly carries The unclosed negative output order of affirmative output order or expression task terminated for expression task;
Task performer continues executing with corresponding task until the tasks carrying is finished according to the negative output order;
Task terminate module is when the certainly output order is received or when receiving task performer and being finished in task The signal of output, terminates corresponding task;
The task terminate module for receiving each group by multitask redistributor again terminates the signal exported after corresponding task weighing New distribution task.
CN201410152359.0A 2014-04-16 2014-04-16 System and method for distributing tasks of portable master station Active CN103885823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410152359.0A CN103885823B (en) 2014-04-16 2014-04-16 System and method for distributing tasks of portable master station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410152359.0A CN103885823B (en) 2014-04-16 2014-04-16 System and method for distributing tasks of portable master station

Publications (2)

Publication Number Publication Date
CN103885823A CN103885823A (en) 2014-06-25
CN103885823B true CN103885823B (en) 2017-05-03

Family

ID=50954732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410152359.0A Active CN103885823B (en) 2014-04-16 2014-04-16 System and method for distributing tasks of portable master station

Country Status (1)

Country Link
CN (1) CN103885823B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400773A (en) * 2006-03-31 2009-04-01 花王株式会社 Cleaning composition
US20120137295A1 (en) * 2010-11-30 2012-05-31 Alcatel-Lucent Canada Inc. Method for displaying cpu utilization in a multi-processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400773A (en) * 2006-03-31 2009-04-01 花王株式会社 Cleaning composition
US20120137295A1 (en) * 2010-11-30 2012-05-31 Alcatel-Lucent Canada Inc. Method for displaying cpu utilization in a multi-processing system

Also Published As

Publication number Publication date
CN103885823A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN103324546B (en) A kind of method and device of watchdog service delay
CN103544065B (en) Avionics system partition window scheduling method under ARINC653 standard
CN105183698B (en) A kind of control processing system and method based on multi-core DSP
US9251308B2 (en) Simulation method, system, and program
CN105677455A (en) Device scheduling method and task administrator
CN104331270B (en) A kind of method of flow data processing, apparatus and system
CN108462656A (en) The resource regulating method and device of integrated services deployment based on container
CN106062648A (en) Controller
CN102306133B (en) USB (universal serial bus) host controller and data transfer method thereof
CN103617088A (en) Method, device and processor of device for distributing core resources in different types of threads of processor
CN104035901A (en) TTCAN bus timing and data transmitting method
CN102508717A (en) Memory scheduling method and memory scheduling device for multi-core processor
CN103870350A (en) Microprocessor multi-core strengthening method based on watchdog
CN106325996A (en) GPU resource distribution method and system
CN104679583B (en) A kind of method and device of dynamic adjustment clock interrupt
CN106412088A (en) Data synchronization method and terminal
CN103885823B (en) System and method for distributing tasks of portable master station
CN106874129B (en) Method for determining process scheduling sequence of operating system and control method
CN106095550A (en) A kind of calculating method for scheduling task and device
CN103425058A (en) Timing method, central processing unit and electronic device
CN115599438A (en) Method, device, equipment and medium for constructing application program publishing package
CN107918443B (en) Signal generation method and device
CN103530742A (en) Method and device for increasing scheduling operation speed
CN108388228A (en) A kind of synchronous debugging method and apparatus for multichannel embedded control system
CN104699526A (en) Method and device for reading optical module information by utilizing software

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant