SU1443007A1 - Device for solving problems of scheduling theory - Google Patents

Device for solving problems of scheduling theory Download PDF

Info

Publication number
SU1443007A1
SU1443007A1 SU874242950A SU4242950A SU1443007A1 SU 1443007 A1 SU1443007 A1 SU 1443007A1 SU 874242950 A SU874242950 A SU 874242950A SU 4242950 A SU4242950 A SU 4242950A SU 1443007 A1 SU1443007 A1 SU 1443007A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
block
group
tasks
Prior art date
Application number
SU874242950A
Other languages
Russian (ru)
Inventor
Олег Глебович Алексеев
Сергей Александрович Васильковский
Владимир Тихонович Данцев
Николай Иванович Ячкула
Original Assignee
Военная Артиллерийская Краснознаменная Академия Им.М.И.Калинина
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 Военная Артиллерийская Краснознаменная Академия Им.М.И.Калинина filed Critical Военная Артиллерийская Краснознаменная Академия Им.М.И.Калинина
Priority to SU874242950A priority Critical patent/SU1443007A1/en
Application granted granted Critical
Publication of SU1443007A1 publication Critical patent/SU1443007A1/en

Links

Landscapes

  • Multi Processors (AREA)

Abstract

Изобретение относитс  к вычислительной технике, может быть использовано дл  решени  задач теории расписаний и позвол ет минимизировать суммарное врем  исполнени  технологически зависимых заданий. Устройство содержит блок 1 синхронизации, счетчик 2, блок 3 пам ти, группу из Р накапливают х сумматоров 4, где Р - .количество однотипных исполнителей , между которыми распредел ют- с  задани , ключ 5, блок 6 выбора максимального кода, блок 7 выбора минимального кода, блок 8 приоритетов , группу из Р элементов И 9, коммутатор 10, элемент ИЛИ 11. Кроме того, на фиг. 1 цифровые обозначе- ни  имеют вход 12 начальной установки устройства, вход 13 задани  режима работы устройства, выход 14 номера задани  устройства, выход 15 назначени  времени исполнени  задани  устройства, выходы 16 признаков назначени  заданий исполнител м, выход 17 признака окончани  работы устройства, с первого по п тый выходы .18 - 22, блок синхронизации, вход 23 пуска устройства. Перед началом работы длительность исполнени  заданий заноситс  в блок 3 пам ти. Далее, по сигналам с выходом 18-22 блока 1 синхронизации врем  исполнени  заданий последовательно считьгаа- етс  из блока 3 пам ти и со ответст- вующие задани  назначаютс  исполнител м с учетом заданий, назначенных им в предшествующих тактах работы . 2 ил . (Л 4 4ib САРThe invention relates to computing, can be used to solve scheduling problems, and minimizes the total execution time of technologically dependent tasks. The device contains a synchronization block 1, a counter 2, a memory block 3, a group of P is accumulated x adders 4, where P is the number of performers of the same type between which they are distributed - task 5, block 6 for selecting the maximum code, block 7 for selecting minimum code, block 8 priorities, a group of P elements AND 9, the switch 10, the element OR 11. In addition, in FIG. 1 digital symbols have input 12 of the device setup, input 13 for setting the device operation mode, output 14 for the device setting number, output 15 for setting the device execution time, outputs 16 for signs of assigning tasks for the performers, output 17 for the sign of the device’s end on the fifth outputs .18–22, the synchronization unit, the start-up input 23 of the device. Before starting work, the duration of the execution of tasks is recorded in memory block 3. Further, according to the signals with the output 18-22 of the synchronization unit 1, the execution time of the tasks is sequentially counted from the memory block 3 and the corresponding tasks are assigned to the executors taking into account the tasks assigned to them in the preceding work cycles. 2 Il. (L 4 4ib SAR

Description

Изобретение относитс  к вычислительной технике и может быть использовано дл  оптимизации расписаний выполнени  технологически зависимых заданий однотипными исполнител ми .The invention relates to computing and can be used to optimize the schedules for the execution of technologically dependent tasks by the same type of executors.

Цель изобретени  - расширение функциональных возможностей устройства за счет решени  задачи минимизации суммарного времени исполнени  технологически зависимых заданий.The purpose of the invention is to expand the functionality of the device by solving the problem of minimizing the total execution time of technologically dependent tasks.

На фиг, I представлена функциональна  схема устройства; на фиг. 2- временна  диаграмма работы блока синхронизации.Fig, I presents the functional diagram of the device; in fig. 2- timing diagram of the synchronization unit.

Устройство содержит блок J синхронизации , счетчик 2, блок 3 пам ти , группу из Р накапливающих сумматоров 5 где Р - количество однотипных исполнителей, между которыми распредел ютс  задани , ключ 5} блок 6 выбора максимального кода, блок 7 выбора минимального.кода, блок 8 приоритетов, группу из Р элементов И 9, коммутатор 10, элемент ИЛИ 11.The device contains a synchronization block J, a counter 2, a memory block 3, a group of P accumulating adders 5 where P is the number of performers of the same type between which tasks are distributed, key 5} maximum code selection block 6, minimum code selection block 7, block 8 priorities, a group of P elements AND 9, switch 10, element OR 11.

Кроме того, обозначены вход 12 начальной установки устройства, вход 13 задани  режима работы устройства , вход 14 номера задани  устройства , выход 15 назначени  времени исполнени  задани  устройства, выходы 16 признаков назначени  гзада- ний исполнител м, выход 17 признак  окончани  работы устройства, с первого по п тый выходы 18-22 блока 1 синхронизации, вход 23 пуска устройства .In addition, input 12 of the initial installation of the device, input 13 of setting the device operation mode, input 14 of the device setting number, output 15 of the device execution execution time assignment 15, outputs 16 of the signs of assigning assignments to the performers, output 17 of the first device on the fifth outputs 18-22 of the synchronization unit 1, the start-up input 23 of the device.

Устройство работает следуюпцда образом.The device works in the following way.

Пусть в рамках каждого из трех различных технологических процессов необходимо выполнить по три задани  с временем выполнени  заданий 5,3,7 (единиц времени) дл  первого процесса , 8,1,3 - дл  второго и 4,6,2 - дл  третьего силами двух () однотипных исполнителей (например, ЭёМ) При этом задани  различных технологических процессов нельз  вып.олн ть одновременн9. Перед началом работы времени исполнени  заданий в рамках каждого технологического процесса упор дочиваютс  по невозрастанию времени их исполнени  и занос тс  в блок 3 пам ти таким образом, что по адресам соответственно 0,l,.,,j,8 располагаютс  числа 7,5,3; 8,3,1 иSuppose that within each of the three different technological processes it is necessary to perform three tasks with a task execution time of 5.3.7 (units of time) for the first process, 8.1.3 for the second and 4.6.2 for the third with two forces () of the same type of performers (for example, MEM). At the same time, the assignment of various technological processes cannot be performed simultaneously. Before the start of work, the tasks execution time within the framework of each technological process is arranged according to the non-increase in the time of their execution and entered into memory block 3 in such a way that the numbers 0, l, ..., j, 8 are respectively 7.5.3 ; 8,3,1 and

6,4,2. Тем самым одновременно каждому заданию присваиваетс  номер, равный адресу, по которому в блок 36,4,2. Thus, at the same time, each task is assigned a number equal to the address at which in block 3

пам ти записано врем  исполнени  задани . Причем количество заданий в каждом из технологических процес- сой должно быть одинаковым. В противном случае технологические процессыThe memory recorded the execution time of the task. Moreover, the number of tasks in each of the technological process should be the same. Otherwise the technological processes

с меньшим количеством заданий дополн ютс  фиктивными задани ми с нуле- в ым временем исполнени  до их кол;;- чества в технологическом процессе с максимальным количеством заданий.with a smaller number of tasks are supplemented with fictitious tasks with zero execution time to their number ;; - in the technological process with the maximum number of tasks.

На вход 12 нача л:ьной установки устройства подают импульсный сигнал единичного уровн , при этом устанавливаетс  в ноль счетчик 2, замыкаетс  информационна  цепь ключа 5, обнул ютс  все сумматоры 4, На вход 23 пуска устройства подают импульсный сигнал единичного уровн , при этом блок 1 синхронизации начинает-выраба- тьшать последовательность импульсов,The input 12 of the beginning: installation of the device gives a pulse signal of a unit level, sets counter 2 to zero, closes the information circuit of the key 5, all adders 4 embed, Device 1 triggers a pulse signal at the start 23 the synchronization starts-generating a pulse train

предусмотренную временной диаграммой его работы.provided by the timeline of his work.

Импульсный сигнал единичного уро - н  по вл етс  на выходе 18 блока I. При этом из блока 3 пам ти считьюаетс  код числа 7 (максимальное по длительности задание первого технологического процесса), Через врем  Т1, достаточное дл  выбора числа 7 из блока 3 пам ти, блок I синхронизации формирует импульс на выходе 19, При этом на первом выходе 16 формируетс  признак назначени  задани  первому исполнителю и код числа 7 суммируетс  с содерж1 мым первого накапливающего сумматора 4 (поскольку последний хранит наименьший код и обладает наибольшим приоритетом). Через врем  Т2 достаточное дл  записи информации в сумматор 4 и обра-ботки исполнителем признака назн - чени  задани , блок 1 синхронизации сбрасьшает сигналы на выходах 8 и 19 и формирует импульсный сигнал единичного уровн  на выходе 20, приA single unit pulse signal appears at output 18 of unit I. In this case, code number 7 is read from memory block 3 (maximum duration of the task of the first technological process). After a time T1 sufficient to select the number 7 from memory block 3 , the synchronization unit I generates a pulse at the output 19. At the same time, at the first output 16, the indication of assigning the task to the first performer is formed and the code of the number 7 is summed with the contents of the first accumulating adder 4 (since the latter stores the smallest code and has the highest priority th). After time T2, which is sufficient for recording information into adder 4 and processing by the executor of the assignment characteristic, synchronization unit 1 resets the signals at outputs 8 and 19 and generates a pulse signal of a unit level at output 20,

этом на выходе счетчика прибавл ет к текущему значению единицу. Через врем  ТЗ, достаточное дл  прибавлени  единицы, блок сбрасывает сигнал на выходе 20 и формирует сигнал единичного уровн  на выходе 18, Далее устройство работает аналогично , и второе и третье по величине задани  назначаютс  второму исполнителю . Однако после того, ка сбралthis at the output of the counter adds one to the current value. After a TOR time sufficient to add one, the block resets the signal at output 20 and generates a single level signal at output 18. Next, the device operates in a similar way, and the second and third largest assignments are assigned to the second performer. However, after ka collected

сьтаетс  сигнал на выходе 20 (после назначени  третьей работы второму исполнителю ) , блок 1 синхронизации формирует импульсный сигнал единичного уровн  на выходе 21. При этом устройство выдаст исполнител м признак выдачи максимального времени исполнени  назначенных заданий и величину времени исполнени  заданий на выход 15 устройства.A signal is output at output 20 (after the assignment of the third work to the second performer), the synchronization unit 1 generates a pulse signal of a single level at output 21. At the same time, the device will issue the performers the indication of issuing the maximum execution time of the assigned tasks and the time of execution of the tasks at the device 15 output.

Через вр ем  ТА, достаточное дл  обработки исполнител ми признака выдачи времени исполнени , блок 1 синхронизации сбрасьшает сигнал на выходе 21 и формирует импульсный сигнал единичного уровн  на выходе 22. При этом обнул ютс  все накапливающи сумматоры А группы-(в том случае, если нет запрета на одновременность исполнени  заданий различных технологических процессов, то перед началом работы подают импульсный сигнал единичного уровн  на вход 13 задани  режима работы устройства, при этом размыкаетс  информационна  цепь ключа 5 jи по сигналу с выхода 22 блока 1 обнуление накапливающих сумматоров 4 не происходит). Через.врем  Т5, достаточное дл  установки в ноль сумматоров А, блок 1 синхрониза1у1И снимает сигнал с выхода 22 и формирует импульсный сигнал единичного уровн  на выходе 18,Through the time TA, sufficient for processing by the executors of the sign of issuing the execution time, synchronization unit 1 resets the signal at output 21 and generates a pulse signal of a single level at output 22. At the same time, all accumulating adders A of group- are wrapped ( the prohibition of simultaneous execution of tasks of various technological processes, before starting work, a pulse signal of a single level is fed to the input 13 of the device operation mode setting, and the information circuit of the key 5 j and signal is opened lu output 22 of block 1 zeroing accumulator 4 occurs). After a time T5, sufficient for setting zero of adders A, synchronization block 1U1I removes the signal from output 22 and generates a pulse signal of a unit level at output 18,

Далее работа устройства повтор етс . После того, как распределены все задани , происходит переполнение счетчика 2, Сигнал переполнени  останавливает блок 1 синхронизации и поступает на выход 17 устройства в качестве признака окончани  работы устройства,Further, the operation of the device is repeated. After all the tasks have been distributed, the counter 2 overflows, the overflow signal stops the synchronization unit 1 and enters the output 17 of the device as a sign of the end of the device’s operation,

В представленном примере первому исполнителю назначаютс  задани  с длительностью 7,8,6 единиц времени а.второму - задани  с длительностью 5,3,3,1,4,2 (в том случае, если задани  различных технологических процессов могут выполн тьс  одновременно- , они распредел ютс  между двум  исполнител ми следующим образом: 7,8 4 первому исполнителю и 5,3,3,1,6,2 второму исполнителю),In the presented example, tasks with a duration of 7.8.6 units of time are assigned to the first executor. The second task with duration is 5,3,3,1,4,2 (in that case, if the tasks of different technological processes can be performed simultaneously, they are distributed between two performers as follows: 7.8 4 to the first performer and 5,3,3,1,6,2 to the second performer),

Блок 3 пам ти может быть вьшолнен в виде матрицы регистров.Memory unit 3 can be executed in the form of a matrix of registers.

Claims (1)

Формула изобретени Invention Formula Устройство дл  решени  задач теории расписаний, содержащее блок па A device for solving scheduling theory problems, containing a block pa ЛЛП07LLP07 м ти, блок выбора максимального кода , группу из Р накапливающих сумматоров , где Р - количество однотипных исполнителей, между которыми рас- .предел ютс  задани , и блок синхронизации , вход пуска которого  вл етс  входом пуска устройства, отличающеес  тем, что, с целью Q раскгпрени  функциональных возможностей устройства за счет решени  задачи минимизации суммарного времени исполнени  технологически зависимых множеств работ, в него введены эле- 15 мент ИЛИ, счетчик, ключ, блок выбора минимального кода, блок приоритетов, группа из Р элементов И и коммутатор, причем вход начальной установки устройства подключен к входу отключени  20 ключа, к первому входу элемента ИЛИ и к входу установки в О счетчика, информационный выход которого  вл етс  выходом номера задани  устройства и подключен к адресному входу бло- 25 ка пам ти, выход которого подключен к входам слагаемого всех накапливающих сумматоров группы, выход К-го накапливаюв1его сумматора группы (К 1 , ,,,, Р) подключен к К-м ин- 30 формационным входам коммутатора, блока выбора максимального кода и блока выбора минимального кода, К-й выход позиции минимального кода которого подключен к К-му входу блока 25 приоритетов, К-й выход позиции сигнала с наибольшим приоритетом которого подключен к первому входу К-го элемента И группы, выход которого  вл етс  выходом признака назначе- 4Q ни  задани  К-му исполнителю устройства и подключен к входу признака записи К-го накапливающего сумматора группы, К-й выход позиции максимального кода блока выбора максимального 45 кода подключен к К-му управл ющему входу коммутатора, выход которого  вл етс  выходом назначени  времени исполнени  задани  устройства, первый выход блока синхронизации подключен к входу признака чтени  блока пам ти, второй выход блока синхронизации подключен к вторым входам всех элементов И группы, третий вйход блока синхронизации подключен к вы- сс читающему входу счетчика, выход признака переполнени  которого  вл етс  выходом признака окончани  работы устройства и подключен к входу останова блока синхронизации, четвертыйm, a block for selecting the maximum code, a group of P accumulating adders, where P is the number of performers of the same type between which tasks are assigned, and a synchronization unit whose start input is a device start input, characterized in that Q decoupling the functionality of the device by solving the problem of minimizing the total execution time of technologically dependent sets of work, an element OR 15, a counter, a key, a minimum code selection block, a priority block, a group of P elements are entered into it And And the switch, moreover, the device initial setup input is connected to the key disconnect input 20, to the first input of the OR element, and to the installation input on the O counter, whose information output is the device job number output and connected to the address of the memory block the output of which is connected to the inputs of the summand of all accumulating adders of the group, the output of the K-th accumulating group adder (К 1 ,, ,,,, Р) is connected to the K-m information inputs of the switch, the block for selecting the maximum code and the block for selecting the minimum code , th output of the position of the minimum code of which is connected to the K-th input of the priority block 25, the K-th output of the position of the signal with the highest priority of which is connected to the first input of the K-th element AND group, the output of which is the output of the assignment sign - 4Q to the device's executive and is connected to the input of the sign of the K-th accumulating group adder, the K-th output of the position of the maximum code of the block of selection of the maximum 45 code is connected to the K-th control input of the switch, the output of which is the output of time assignment According to the device, the first output of the synchronization unit is connected to the input of the read attribute of the memory unit, the second output of the synchronization unit is connected to the second inputs of all elements of the group, the third input of the synchronization unit is connected to the reading output of the counter, the output of the overflow indication is output the sign of the end of the operation of the device and connected to the stop input of the synchronization unit, the fourth 5050 14430076  14430076 выход которого  вл етс  призйаком вы- выход которого подключе к вход м дачи времени исполнени  задани  уст- установки в О всех накапливающих ройства, п тый выход блока синхронизации подключен к информационномуthe output of which is the output of which is connected to the input of the execution time of the task setting in O of all accumulating devices, the fifth output of the synchronization unit is connected to the information сумматоров группы, вход задани  реж ма работы устройства подключен к вadders of the group, the input of the job setting mode of the device is connected to выход которого подключе к вход м установки в О всех накапливающих the output of which is connected to the inputs of the installation in O of all accumulating сумматоров группы, вход задани  режима работы устройства подключен к вхоgroup adders, the device operation input is connected to the input входу ключа, выход которого подключен к .второму входу элемента ИЖ,the input key, the output of which is connected to the. second input of the element IL, ду включени  ключа.do enable key.
SU874242950A 1987-05-12 1987-05-12 Device for solving problems of scheduling theory SU1443007A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874242950A SU1443007A1 (en) 1987-05-12 1987-05-12 Device for solving problems of scheduling theory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874242950A SU1443007A1 (en) 1987-05-12 1987-05-12 Device for solving problems of scheduling theory

Publications (1)

Publication Number Publication Date
SU1443007A1 true SU1443007A1 (en) 1988-12-07

Family

ID=21303474

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874242950A SU1443007A1 (en) 1987-05-12 1987-05-12 Device for solving problems of scheduling theory

Country Status (1)

Country Link
SU (1) SU1443007A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470324B1 (en) * 1999-02-19 2002-10-22 Daimlerchrysler Corporation Dealer inventory management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1233161, кл. G 06 F 15/20, 1984. Авторское свидетельство СССР 1336042, 31.10.86. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470324B1 (en) * 1999-02-19 2002-10-22 Daimlerchrysler Corporation Dealer inventory management system

Similar Documents

Publication Publication Date Title
SU1443007A1 (en) Device for solving problems of scheduling theory
SU1381504A1 (en) Microprogram controller
US4841463A (en) Nonrecursive digital filter
SU1417000A2 (en) Variable priority device
SU1437862A1 (en) Multichannel priority device
SU1513475A1 (en) Program-controlled digital filter
SU1550517A1 (en) Device for servicing inquiries
SU1471192A1 (en) Request priority handling unit
SU1246096A1 (en) Device for distributing jobs among processors
RU1824637C (en) Device for control of request processing
SU1481854A1 (en) Dynamic memory
SU1665386A1 (en) Correlator
SU1615721A1 (en) Device for distributing tasks among processors
SU1686445A1 (en) Multichannel priority device
RU1837288C (en) Device for dynamic priority
SU1531095A1 (en) Priority service device
SU1709293A2 (en) Device for information input
SU1070551A1 (en) Device for group servicing of requests
SU1174919A1 (en) Device for comparing numbers
SU1705827A1 (en) Device for distributing tasks by processor
SU1444773A1 (en) Multichannel arrangement for selecting tasks to be served
SU1305771A1 (en) Buffer memory driver
SU1444769A1 (en) Multichannel arrangement for distributing tasks among processors
SU1265795A1 (en) Device for executing walsh transform of signals with adamard ordering
SU1084794A1 (en) Device for servicing requests according to arrival order