TR2022010810A1 - A system and method for managing the expiration times of time counter operations. - Google Patents

A system and method for managing the expiration times of time counter operations.

Info

Publication number
TR2022010810A1
TR2022010810A1 TR2022/010810 TR2022010810A1 TR 2022010810 A1 TR2022010810 A1 TR 2022010810A1 TR 2022/010810 TR2022/010810 TR 2022/010810 TR 2022010810 A1 TR2022010810 A1 TR 2022010810A1
Authority
TR
Turkey
Prior art keywords
time
task
delay
time counter
server
Prior art date
Application number
TR2022/010810
Other languages
Turkish (tr)
Inventor
Gokhan Yilmaz Evren
Cem Orhan Mustafa
Original Assignee
Tttech Auto Turkey Yazilim Anoni̇m Şi̇rketi̇
Filing date
Publication date
Application filed by Tttech Auto Turkey Yazilim Anoni̇m Şi̇rketi̇ filed Critical Tttech Auto Turkey Yazilim Anoni̇m Şi̇rketi̇
Publication of TR2022010810A1 publication Critical patent/TR2022010810A1/en

Links

Abstract

Birden çok görevin başlangıç ve bitiş zamanlarına göre işlem sürelerini sayan bir zaman sayacını (S6) içeren bir bilgisayar sisteminde (S), zaman sayacı (S6) işlemlerinin sona erme zamanlarının yönetilmesine ilişkin olarak mevcut buluşla geliştirilen sistem, görevlerin ardışık olarak gerçekleştirilmesi için her bir görevinin işlem sürelerini planlayan bir planlama aracını (1); zaman sayacını (S6) kontrol eden bir sunucuyu (2) ve sunucuyla (2) ve planlama aracıyla (1) bağlantılı olan, planlama aracından (1) her bir göreve ilişkin zaman sayacı ayarlama komutunu (K1) alıp sunucuya (2) iletmek üzere ve sunucudan (2), zaman sayacının (S6) saydığı süre dolduğunda, zaman sayacı işlemi sona erdi komutunu (K2) alıp planlama aracına (1) iletmek üzere yapılandırılan, tamamlanmış görevlere ait gerçek gecikme değerlerini içeren gecikme matrisi doğrultusunda tahmini gecikme değerini belirleyen, tahmini gecikme değeri doğrultusunda ilgili görevin planlanan bitiş zamanını yeni bitiş zamanı olarak güncelleyen ve yeni bitiş zamanını, zaman sayacı ayarlama komutu (K1) ile sunucuya (2) ileten, zaman sayacı işlemi sona erdi komutuyla (K2) sunucudan (2) gelen gerçek bitiş zamanı doğrultusunda gecikme matrisini güncelleyen bir düzenleme aracını (3) içermektedir.In a computer system (S) that includes a time counter (S6) that counts the processing times of multiple tasks according to their start and finish times, the system developed with the present invention for managing the expiration times of the time counter (S6) processes is used to perform each task sequentially. a planning tool (1) that plans processing times; a server (2) that controls the time counter (S6) and a system connected to the server (2) and the planning tool (1) to receive the time counter adjustment command (K1) for each task from the planning tool (1) and transmit it to the server (2), and It is configured to receive the time counter operation ended command (K2) from the server (2) when the time counted by the time counter (S6) expires and transmit it to the planning tool (1), which determines the estimated delay value in line with the delay matrix containing the actual delay values of completed tasks. It updates the planned finish time of the relevant task as the new finish time in line with the value and transmits the new finish time to the server (2) with the time counter adjustment command (K1), and delays it in line with the actual finish time coming from the server (2) with the time counter operation ended command (K2). It includes an editing tool (3) that updates the matrix.

Description

TARIFNAME ZAMAN SAYACI ISLEMLERININ SONA ERME ZAMANLARININ YÖNETIMI IÇIN BIR SISTEM VE YÖNTEM Mevcut bulus, bilgisayar sistemlerinde, uygulamalarin özellikle gerçek zamanli olarak isletilmesi için gerçeklestirilen görevlerin islem sürelerinin sayilmasini saglayan zaman sayaçlarinin islemlerinin sona erme (interrupt) zamanlarinin yönetilmesine iliskin bir sistem ve yöntem ile ilgilidir. Önceki Teknik Sekil 1'de örneklendigi üzere tipik bir bilgisayar sisteminde (8) uygulamalarin (84) yürütüldügü bir kullanici alani (81), çekirdegin (kernel) (85) bulundugu bir isletim sistemi (82) ve zaman sayaçlarinin (86) bulundugu bir donanim (83) bulunmaktadir. Burada genel olarak kullanici alani (81) ve donanim (83), isletim sistemiyle (82) ayri ayri veri alisverisi yapmaktadir. Gerçek zamanli isletim sistemi (real time operating system - RT08) bulunan gömülü sistemlerde zaman sayacinin (86) kaynaklari, kullanici alani (81) bakis açisindan isletim sistemi (82) tarafindan kontrol edilmektedir. Bu minvalde, sekil 2'de örneklendigi gibi kullanici alaninda (81) yer alan uygulamalar (84), isletim sisteminin (82) sunucu oldugu durumlar için zaman sayacinin (86) istemcisidir. Diger bir deyisle, bir görevle (task) iliskili olarak kullanici alaninda (81) yer alan uygulamalarin (84) zaman sayaci (86) ile iletisimi, uygulamanin (84) isletim sisteminde (82) ilettigi zaman sayaci ayarlama komutuyla (K1) ve isletim sisteminden (82) uygulamaya (84) iletilen zaman sayaci islemi sona erdi komutuyla (K2) gerçeklestirilmektedir. Ayni zamanda isletim sistemi (82), sekil 3'te gösterildigi gibi donanimda (83) yer alan zaman sayacinin (86) ayarlanmasi için donanimi (83) kontrol etmektedir. Diger bir deyisle, bahsedilen görevle iliskili olarak isletim sistemine (82) gelen zaman sayaci ayarlama komutu (K1), isletim sistemindeki (82) çekirdek (85) vasitasiyla donanima (83) iletilmekte ve donanimin (83), söz konusu görevin islem süresini saymasi için zaman sayacini (86) ayarlamasi saglanmaktadir. Zaman sayacinin (86) süre sayma islemi tamamlandiginda ise donanim (83), uygulamaya (84) iletilmesi için zaman sayaci islemi sona erdi komutunu (K2) 52881TR çekirdege (85) iletmektedir. Bu durumda da donanim (83) sunucu görevini üstlenmekte ve isletim sistemi (82) de donanimin (83) ve dolayisiyla zaman sayacinin (86) istemcisi olmaktadir. Bilgisayar sistemlerinde (8) kullanici alanindaki (81) uygulamalar (84), farkli zaman sürelerine sahip birden çok görevi gerçeklestirebilmektedir. Ancak özellikle gerçek zamanli isletim sistemlerindeki kullanici alani (81) uygulamalarinda (84), söz konusu görevlerin dogru bir sekilde gerçeklestirilebilmesi için görevlerin zaman araliklarinin birbirleriyle çakismamasi gerekmektedir. Bu dogrultuda, kullanici alani (81) uygulamalari (84), bir planlama aracindaki bir zaman planlayici uygulamasi ile iletisim halindedir. Söz konusu zaman planlayici uygulamasi, periyotlari ve yürütme zamanlari sistem çalismaya baslamadan önce statik olarak bilinen periyodik görevlerin çalistirilmasindan sorumludur. Dolayisiyla zaman planlayici uygulamasi, bu periyodik görevlerin yürütülmesinin tetiklenmesi için zaman sayaçlarini (86) kullanmaktadir. Bu periyodik görevler genellikle periyodik olarak yürütülen bir zaman planlama tablosuna göre tetiklenmektedir. Normal kosullarda görevler, bir görevin bitis zamaniyla bir diger görevin baslangiç zamani ayni olacak sekilde ardisik olarak planlanmakta ve zaman sayaci (86) da buna göre ayarlanmaktadir. Ancak kimi zaman, zaman sayacinin (86) bir göreve iliskin islem süresi sayimi vaktinde tamamlansa dahi çesitli sebeplerden ötürü (örnegin zaman sayaci sunucusu kaynakli olarak veya eszamanli islem sonlandirma istekleri sebebiyle veya islem sonlandirma yönetim mekanizmasinin tasarimindan ötürü vs.), bir göreve iliskin, zaman sayacinin (86) isleminin tamamlanmasini bekleyen istemcinin zaman sayaci islemi sona erdi komutunu (K2) almasinda gecikmeler (Iatency) olabilmektedir. Bu gecikmeler de dolayisiyla zaman planlamasinda problemlere yol açabilmektedir. Örnegin T1-T2 zaman araliginda yürütülecek bir birinci görevin ve T2-T3 zaman araliginda yürütülecek birinci görevi takip eden bir ikinci görevin mevcudiyetinde, bir sebepten ötürü meydana gelen bir gecikme sonucu birinci görev T2 zamanindan bir "t" süre kadar sonra tamamlanirsa, T2 zamaninda yürütülmeye baslayan ikinci görev bu "t" sürelik zamanda birinci görevle çakismaktadir. Bu durumlarin elimine edilmesi için bilinen teknikte, görev planlamalari, görevlerin bitis zamanlari, planlanan bitis zamanindan, önceden belirlenen bir tampon süre kadar sonra olacak sekilde gerçeklestirilmektedir. Ancak bu tampon süre kullanimi bilgisayar sistemleri (8) için bir ek yük getirmektedir ve bilgisayar sistemlerindeki (8) merkezi islemci birimleri (CPU) tarafindan kullanilacak sekilde planlanamamaktadir. 52881TR Örnegin mevcut örnekte her ne kadar birinci ve ikinci görevler T3-T1 kadarlik bir merkezi islemci süresinde tamamlansa da sistem tasariminin bu iki görevin yürütülmesi için bahsedilen tampon süre kadarlik bir ekstra süre ayiriyor olmasi gerekmektedir. Bu ekstra süre her bir görev için degiskenlik göstereceginden, bu sekilde bir zaman sayaci (86) yönetimi yeterince efektif olamamakta, bilgisayar sisteminin (S) performansinin düsük olmasina yol açabilmektedir. Bulusun Kisa Açiklamasi En az bir uygulamanin isletilmesi için birden çok görevi gerçeklestirmek üzere yapilandirilan, söz konusu görevlerin baslangiç ve bitis zamanlarina göre baslangiç ve bitis zamani arasindaki islem sürelerini sayan en az bir zaman sayacini içeren bir bilgisayar sisteminde zaman sayaci islemlerinin sona erme zamanlarinin yönetilmesine iliskin olarak mevcut bulusla gelistirilen sistem, söz konusu görevlerin ardisik olarak gerçeklestirilmesi için her bir görevinin baslangiç ve bitis zamanlarini ve dolayisiyla islem sürelerini planlayan en az bir planlama aracini; bahsedilen zaman sayacini kontrol eden en az bir sunucuyu ve sunucuyla ve planlama araciyla baglantili olan, planlama aracindan her bir göreve iliskin bir zaman sayaci ayarlama komutunu alip sunucuya iletmek üzere ve sunucudan da ilgili görev için zaman sayacinin saydigi süre doldugunda, söz konusu göreve iliskin, zaman sayaci islemi sona erdi komutunu alip planlama aracina iletmek üzere yapilandirilan, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini içeren bir gecikme matrisi dogrultusunda bir tahmini gecikme degerini belirleyen, tahmini gecikme degeri dogrultusunda söz konusu göreve ait planlanan bitis zamanini bir yeni bitis zamani olarak güncelleyen ve bu yeni bitis zamanini zaman sayaci ayarlama komutu ile sunucuya ileten, zaman sayaci islemi sona erdi komutuyla sunucudan gelen, söz konusu göreve ait gerçek bitis zamani dogrultusunda gecikme matrisini güncelleyen en az bir düzenleme aracini içermektedir. Bahsi geçen zaman sayaci islemlerinin sona erme zamanlarinin yönetilmesine iliskin olarak mevcut bulusla gelistirilen yöntem de o bir baslangiç ve bir planlanan bitis zamani bulunan bir göreve iliskin bir zaman sayaci ayarlama komutunun, planlama araci vasitasiyla düzenleme aracina iletilmesi; 52881TR o zaman sayaci ayarlama komutu alindiginda düzenleme araci vasitasiyla, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini içeren bir gecikme matrisi dogrultusunda bir tahmini gecikme degerinin belirlenmesi; o düzenleme araci vasitasiyla, zaman sayaci ayarlama komutuyla gelen planlanan bitis zamaniyla tahmini gecikme degeri arasindaki farka bir güvenlik tampon degerinin eklenmesiyle söz konusu göreve iliskin bir yeni bitis zamaninin hesaplamasi; o düzenleme araci vasitasiyla, planlama aracindan alinan zaman sayaci ayarlama komutunun, yeni bitis zamani dogrultusunda güncellenmesi ve zaman sayacinin baslangiç ve yeni bitis zamani arasindaki islem süresini sayma islemini gerçeklestirmesi için sunucuya iletilmesi; o zaman sayacinin söz konusu görev için süre sayma islemi sona erdiginde sunucunun, söz konusu göreve iliskin gerçek bitis zamani dogrultusunda, zaman sayaci islemi sona erdi komutunu olusturarak düzenleme aracina iletmesi; o düzenleme araci vasitasiyla zaman sayaci islemi sona erdi komutuyla gelen gerçek bitis zamani ile yeni bitis zamani arasindaki farkin belirlenmesi ve söz konusu göreve iliskin bir gerçek gecikme degeri olarak gecikme matrisine kaydedilmesi; o düzenleme aracinin zaman sayaci islemi sona erdi komutunu planlama aracina iletmesi adimlarini içermektedir. Gelistirilen sistem ve yöntem sayesinde, önceki görevlerde yasanan gecikmeler, dogru ve etkin bir sekilde ele alinabilmekte ve bu gecikme verileri dogrultusunda aktif görevde meydana gelebilecek gecikme kestirilebilmektedir. Bu sekilde ardisik görevlerde meydana gelebilecek çakismalar elimine edilebilmekte ve/veya ihtiyaç duyulmayacak kadar fazla gecikme degerlerinin kullanimi elimine edilebilmektedir. Dolayisiyla hem islem yükü, hem islemler esnasinda ortaya çikabilecek problemler hem de islem süreleri azaltilmakta ve daha iyi bir islemci kullanimi ile zamanlama hassasiyeti ortaya koyulabilmektedir. Bulusun Amaci Mevcut bulusun amaci, bilgisayar sistemlerindeki zaman sayaçlarinin islemlerinin sona erme zamanlarinin yönetilmesine iliskin bir sistem ve yöntem gelistirmektir. 52881TR Mevcut bulusun bir diger amaci zaman sayaci isleminin sonlandirilmasina yönelik planlamalarda bilgisayar sistemine ek yük getirmeyen bir sistem ve yöntem gelistirmektir. Mevcut bulusun bir diger amaci, zaman sayaci isleminin sonlandirilmasina yönelik planlamanin daha etkin, daha efektif ve daha net bir sekilde gerçeklestirilmesini saglayan bir sistem ve yöntem gelistirmektir. Mevcut bulusun diger bir amaci ise zaman sayaci isleminin sonlandirilmasina yönelik gecikme sürelerini azaltan bir sistem ve yöntem gelistirmektir. Sekillerin Açiklamasi Bilinen teknikteki zaman sayaci uygulamalarinin ve mevcut bulusla gelistirilen zaman sayaci uygulamasinin örnekleri ekli sekillerde gösterilmis olup bu sekillerden; Sekil 1; bilinen teknikteki zaman sayacinin bir bilgisayar sistemindeki kullaniminin bir sematik gösterimidir. Sekil 2; bilinen teknikteki zaman sayacinin kullanildigi bir bilgisayar sisteminde, kullanici alani ile isletim sistemi iliskisinin bir sematik gösterimidir. Sekil 3; bilinen teknikteki zaman sayacinin kullanildigi bir bilgisayar sisteminde, zaman sayacinin bulundugu donanim ile isletim sistemi iliskisinin bir sematik gösterimidir. Sekil 4; mevcut bulusla gelistirilen, zaman sayaci islemi sona erme zamaninin yönetilmesine iliskin sistemin bir sematik gösterimidir. Sekillerdeki parçalar tek tek numaralandirilmis olup bu numaralarin karsiliklari asagida verilmistir: Bilgisayar sistemi (8) Kullanici alani (81) Isletim sistemi (82) Donanim (83) Uygulama (S4) 52881TR Çekirdek (85) Zaman sayaci (86) Zaman sayaci ayarlama komutu (K1) Zaman sayaci islemi sona erdi komutu (K2) Planlama araci (1) Düzenleme araci (3) Bulusun Açiklamasi Bilgisayar sistemleri genellikle bir isletim sistemini ve bu isletim sistemiyle ayri ayri iletisim kuran bir kullanici alanini ve bir donanimi içermektedir. Söz konusu bilgisayar sistemlerinin çalismasi, kullanici alaninda yer alan uygulamalarda olusturulan çesitli görevlerin ardisik olarak yürütülmesiyle gerçeklestirilmektedir. Söz konusu görevlerin baslangiç ve bitis zamanlari bulunmakta olup bu baslangiç ve bitis zamanlari, donanimda bulunan zaman sayaçlariyla takip edilmektedir. Geleneksel uygulamalarda, sekil1-3'te de gösterildigi gibi, kullanici alanindaki (81) bir uygulamada (84), bir baslangiç ve bir bitis zamani bulunan bir görev olusturulmakta; bu baslangiç ve bitis zamanina göre donanimdaki (S3) zaman sayacinin (86) ayarlanmasi için bir zaman sayaci ayarlama komutu (K1), uygulamadan (84) isletim sistemine (S2) iletilmekte; isletim sisteminde (S2) bulunan bir çekirdek (85), zaman sayaci ayarlama komutunu (K1) donanima (S3) iletmekte ve zaman sayaci (86) da buna göre çalismaktadir. Ilgili görevin bitis zamani geldiginde zaman sayacinin (86) islemi sona ermekte ve bu dogrultuda bir zaman sayaci islemi sona erdi komutu (K2) olusturularak donanimdan (83) isletim sistemine (82) isletim sisteminden (82) de uygulamaya (S4) iletilmektedir. Ancak bu zaman sayaci islemi sona erdi komutunun (K2) uygulamaya iletilmesi sürecinde, çesitli sebeplerden ötürü gecikmeler yasanabilmektedir. Bu gecikmeler de yürütülme zamanlari ardisik planlanan birden çok görevin çakismasina ve bilgisayar sisteminin (S) çalismasinda problem olusturmasina yol açabilmektedir. Bilinen teknikte, bu gecikmelerin yönetimi için çesitli uygulamalar bulunmakla birlikte bu uygulamalar bilgisayar sistemine (S) ek islem yükü getirmektedir ve kimi zaman zaman sayaci isleminin sonlandirilmasina yönelik planlama etkin bir sekilde gerçeklestirilemeyebilmektedir. Bu baglamda mevcut bulusla, söz konusu problemlerin çözümüne yönelik olarak, bilgisayar sistemlerindeki zaman sayaçlarinin 52881TR islemlerinin sona erme zamanlarinin yönetilmesine iliskin bir sistem ve yöntem gelistirilmektedir. Uygulama örnegi sekil 4'te verilen mevcut bulusla gelistirilen sistem, birden çok görevi gerçeklestirmek üzere yapilandirilan, söz konusu görevlerin baslangiç ve bitis zamanlarina göre yürütülme sürelerini (diger bir deyisle görevlerin islem sürelerini) sayan en az bir zaman sayacini (86) içeren bir bilgisayar sisteminde (8) kullanima uygun olup söz konusu görevlerin ardisik olarak gerçeklestirilmesi için her bir görevinin baslangiç ve bitis zamanlarini ve dolayisiyla yürütülme sürelerini planlayan en az bir planlama aracini (1); bahsedilen zaman sayacini (86) kontrol eden en az bir sunucuyu (2) (bu sunucu (2) gerçeklestirilen göreve göre donanim (83), isletim sistemi (82) vs. olabilmektedir) ve sunucuyla (2) ve planlama araciyla (1) baglantili olan, planlama aracindan (1) her bir göreve iliskin bir zaman sayaci ayarlama komutunu (K1) alip sunucuya (2) iletmek üzere ve sunucudan (2) da ilgili görev için zaman sayacinin (86) saydigi süre doldugunda, söz konusu göreve iliskin zaman sayaci islemi sona erdi komutunu (K2) alip planlama aracina (1) iletmek üzere yapilandirilan, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini içeren (bu gerçek gecikme degerleri tercihen her bir görevin tanimlayici adiyla (id) ve/veya gerçek bitis zamaniyla iliskili olacak sekilde matriste kayitlidir) bir gecikme matrisi dogrultusunda bir tahmini gecikme degerinin belirleyen, tahmini gecikme degeri dogrultusunda söz konusu göreve ait planlanan bitis zamanini bir yeni bitis zamani olarak güncelleyen ve bu yeni bitis zamanini zaman sayaci ayarlama komutu (K1) ile sunucuya (2) ileten, zaman sayaci islemi sona erdi komutuyla (K2) sunucudan (2) gelen, söz konusu göreve ait gerçek bitis zamani dogrultusunda gecikme matrisini güncelleyen en az bir düzenleme aracini (3) içermektedir. Mevcut bulusla gelistirilen yöntem ise o bir baslangiç ve bir planlanan bitis zamani bulunan bir göreve iliskin bir zaman sayaci ayarlama komutunun (K1), planlama araci (1) vasitasiyla düzenleme aracina (3) iletilmesi; o zaman sayaci ayarlama komutu (K1) alindiginda düzenleme araci (3) vasitasiyla, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini içeren (bu gerçek gecikme degerleri tercihen her bir görevin tanimlayici adiyla (id) ve/veya gerçek bitis zamaniyla iliskili olacak sekilde matriste kayitlidir) bir gecikme matrisi dogrultusunda bir tahmini gecikme degerinin belirlenmesi; 52881TR o düzenleme araci (3) vasitasiyla, zaman sayaci ayarlama komutuyla (K1) gelen planlanan bitis zamaniyla tahmini gecikme degeri arasindaki farka bir güvenlik tampon degerinin eklenmesiyle söz konusu göreve iliskin bir yeni bitis zamaninin hesaplamasi (yeni bitis zamani = planlanan bitis zamani -tahmini gecikme degeri + güvenlik tampon degeri); 0 düzenleme araci vasitasiyla (3), planlama aracindan (1) alinan zaman sayaci ayarlama komutunun (K1), yeni bitis zamani dogrultusunda güncellenmesi ve zaman sayacinin (86) baslangiç ve yeni bitis zamani arasindaki islem süresini sayma islemini gerçeklestirmesi için sunucuya (2) iletilmesi; o zaman sayacinin (86) söz konusu görev için süre sayma islemi sona erdiginde sunucunun (2), süre sayma isleminin sona erme zamani (diger bir deyisle söz konusu göreve iliskin gerçek bitis zamani [bu gerçek bitis zamani, yeni bitis zamanina esit, yeni bitis zamanindan az veya yeni bitis zamanindan fazla olabilir]) dogrultusunda, zaman sayaci islemi sona erdi komutunu (K2) olusturarak düzenleme aracina (3) iletmesi; o düzenleme araci (3) vasitasiyla zaman sayaci islemi sona erdi komutuyla (K2) gelen gerçek bitis zamani ile yeni bitis zamani arasindaki farkin belirlenmesi ve söz konusu göreve iliskin bir gerçek gecikme degeri olarak gecikme matrisine kaydedilmesi; o düzenleme aracinin (3) zaman sayaci islemi sona erdi komutunu (K2) planlama aracina (1) iletmesi adimlarini içermektedir. Bahsedilen güvenlik tampon degeri, tahmini gecikme degerini optimize etmek için kullanilan bir degerdir ve daha küçük düzeltme ile zaman sapmasinin önüne geçilmesini saglamaktadir. Diger bir deyisle yeni bitis zamani hesaplamasinin gerçek gecikme degerine mümkün oldugunca yakin bir degerle yapilmasini saglamaktadir. Dolayisiyla yeni bitis zamaninin çok yüksek degerlerde ayarlanmasini önlemektedir. Bahsedilen güvenlik tampon degeri, tercihen, tahmini gecikme degerinin Gerçek zamanli bilgisayar sistemlerinde (S) yürütülen görevlerin ardisik/periyodik olarak gerçeklestirilebilmesi için zaman sayaçlarinin islem sona erdi bildirimi/sinyali kullanilmaktadir. Ancak söz konusu bildirimin/sinyalin sistem içerisinde, planlama aracina (1) dönüsü esnasinda gecikmeler yasanabilmektedir. Mevcut bulusla gelistirilen sistem ve yöntem sayesinde görev bitis zamanina iliskin bilgi bu gecikmeler ele alinarak zaman 52881TR sayacina (86) iletilmektedir. Özellikle gerçek zamanli sistemlerde, görevlerin birbirleriyle çakismadan ardisik olarak gerçeklestirilmesi, sistemin performansi ve islemlerin düzgün bir biçimde yürütülebilmesi açisindan oldukça önemlidir. Ancak örnegin bilgisayar sistemlerinde (S), görevin baslangiç/bitis zamanlarini ve dolayisiyla gerçeklesme süresini planlayan planlama araci (1) kismi ile bu zamanlara ulasilip ulasilmadigini, dolayisiyla görev tamamlanma süresine erisilip erisilmedigini kontrol ve/veya takip eden zaman sayaci (86) kismi birbirlerinden gerek fiziksel olarak gerekse yapisal olarak farkli olabilmektedir. Bunun yani sira bilgisayar sistemlerindeki (S) ek islem yükleri de bilgisayar sistemindeki islem sürelerini etkileyebilmektedir. Dolayisiyla bunlar gibi çesitli gerekçelerle bir birinci görevin bitis zamaninda gecikme yasanabilmekte; bu durumda bu birinci görevi takip eden bir ikinci görev, birinci görev tamamlanmadan yürütülebilmekte ve bundan ötürü de birinci görev ile ikinci görev çakisarak sistem (donanimsal ve/veya yazilimsal) hatalarina yol açabilmekte, islemlerin dogru bir sekilde gerçeklestirilmesine engel olabilmektedir. Mevcut bulusla gelistirilen sistem ve yöntemle, tamamlanmis görevlerin gecikme süreleri dogrultusunda mevcut göreve iliskin bir tahmini gecikme süresi belirlenmekte ve zaman sayacinin isleminin sona erme zamani bu tahmini gecikme süresine göre güncellenmektedir. Bu sekilde ardisik görevler arasinda meydana gelebilecek çakismalar, bilgisayar sistemine (S) ek islem yükü olusturmadan minimize edilebilmekte ve görev yönetimi etkin bir sekilde gerçeklestirilebilmektedir. Bulusun tercih edilen bir uygulamasinda, bir uygulamaya (S4) yönelik geçmis tamamlanmis görevlerin bulunmadigi ilk islem baslangicinda söz konusu gecikme matrisi bir bos matristir. Uygulamaya (S4) iliskin ilk görev tamamlandiginda bu göreve iliskin yeni bitis zamaniyla gerçek bitis zamani arasindaki fark (diger bir deyisle gerçek gecikme degeri), birinci eleman olarak gecikme matrisine kaydedilmekte ve bu sekilde ardisik her bir görev için hesaplanan gerçek gecikme degeri, bir sonraki görevin tahmini gecikme degerinin belirlenmesinde kullanilmak üzere gecikme matrisine kaydedilmektedir. Böylelikle tahmini gecikme degeri daha etkin, daha efektif ve daha net bir sekilde belirlenebilmekte ve dolayisiyla zaman sayaci islemlerinin sona erme zamanlari daha dogru bir sekilde yönetilerek ardisik görevler arasindaki çakisma etkin bir sekilde minimize edilebilmektedir. Bir diger alternatif uygulamada gelistirilen yöntemin tahmini gecikme degerinin belirlenmesi adimi tercihen, 52881TR o zaman sayaci ayarlama komutu (K1) alindiginda düzenleme araci (3) vasitasiyla, bahsedilen gecikme matrisindeki eleman sayisinin, önceden belirlenen bir tahmin sayisi (bu tahmin sayisi tercihen, söz konusu görevin bitis zamani dogrultusunda bir tahmini gecikme degeri olusturmak için yeterli eleman sayisidir) kadar olup olmadiginin kontrol edilmesi; o gecikme matrisindeki eleman sayisi tahmin sayisina esit veya tahmin sayisindan fazla ise gecikme matrisindeki elemanlarin degerleri dogrultusunda, söz konusu görevin planlanan bitis zamanina iliskin bir tahmini gecikme degerinin (ve dolayisiyla güvenlik tampon degerinin), düzenleme araci (3) vasitasiyla belirlenmesi; o gecikme matrisindeki eleman sayisi tahmin sayisindan az ise söz konusu göreve iliskin tahmini gecikme degerinin ve güvenlik tampon degerinin, düzenleme araci (3) vasitasiyla "0" olarak belirlenmesi; alt adimlarini içermektedir. Böylelikle bir uygulamanin (S4) baslangiç asamasinda, gecikme matrisinde, tahmini gecikme degerini belirlemek için yeterli eleman sayisi bulunmadigi durumlarda dahi gecikme degeri kestirimi yapilabilmekte ve sistemin ve yöntemin sorunsuz bir sekilde yürütülmesi saglanabilmektedir. Söz konusu zaman sayaçlari, bir uygulamadaki görevlerin sürelerinin sayilmasi islemini belirli periyotlar halinde döngüsel olarak gerçeklestirmektedir. Tipik döngü süreleri de 100ms, 200ms, 300ms, 400ms vs. olarak örneklenebilmektedir. Dolayisiyla gecikme matrisinde yeterli eleman sayisinin bulunmasi için saniyeler bazinda bir süre yeterli olmaktadir. Bu süreçte her periyotta gerçeklesen yüzlerce zaman sayaci süre sayma islemi sona ermesi (diger bir deyisle zamanlayici kesmesi) ve bunlarin sapmalari toplanip analiz edilmektedir. Bu minvalde, söz konusu döngü sayisina karsilik gelen, örnegin 10-20 araliginda bir deger olabilen tahmin sayisi, her bir uygulamaya, göreve özgü olarak, zaman sayaci ayarlama komutunun (K1), planlama araci (1) vasitasiyla düzenleme aracina (3) iletilmesinin ardindan belirlenmektedir. Bir diger alternatif uygulamada tahmini gecikme degerinin belirlenmesi islemi gecikme matrisindeki gecikme degerlerinin periyotlarinin, düzenleme araci (3) vasitasiyla, tercihen Ayrik Fourier Dönüsümü (DFT), Ilinti (correlation) Tabanli Tahmin Algoritmasi gibi bir periyot tahmin algoritmasiyla tespit edilmesiyle gerçeklestirilmektedir. Bilindigi üzere gerçek zamanli bilgisayar sistemlerde görevlerin periyodik olacak sekilde planlamasindan ötürü, bu görevlere yönelik islemler de genellikle periyodik olarak gerçeklesmektedir. Bu10 52881TR minvalde bir göreve iliskin olarak, islem yükü veya diger etkenler sebebiyle ortaya çikan zaman sayaci bitis zamani gecikmeleri de periyodiktir ve dolayisiyla gecikme degerleri periyodik davranis egilimine sahiptir. Söz konusu uygulama sayesinde, veri madenciligi yöntemiyle daha önceki gecikmelerin periyodikligi tespit edilmekte ve zaman sayacinin (86) isleminin sona erme zamanindaki gecikmeler azaltilabilmekte ve gerçek zamanli sistemlerdeki planlama araçlarinin (1) planlama dogrulugu iyilestirilebilmektedir. Söz konusu uygulamada tercihen, periyot tahmin algoritmasi isletilmeden önce, gecikme matrisindeki eleman sayisinin, bu algoritmayi yürütmek için yeterli olup olmadigi kontrol edilmektedir. Bu minvalde söz konusu uygulamada, periyot tahmin algoritmasi isletilmeden önce, tahmini gecikme degerinin belirlenmesi adiminda tercihen zaman sayaci ayarlama komutu (K1) alindiginda düzenleme araci (3) vasitasiyla, bahsedilen gecikme matrisindeki eleman sayisinin, önceden belirlenen bir tahmin sayisi (bu tahmin sayisi tercihen, söz konusu görevin bitis zamani dogrultusunda bir tahmini gecikme degeri olusturmak için yeterli eleman sayisidir) kadar olup olmadigi kontrol edilmekte; gecikme matrisindeki eleman sayisi tahmin sayisina esit veya tahmin sayisindan fazla ise gecikme matrisindeki elemanlarin degerleri dogrultusunda, söz konusu görevin planlanan bitis zamanina iliskin bir tahmini gecikme degeri, bahsedilen periyot tahmin algoritmasi kullanilarak düzenleme araci (3) vasitasiyla belirlenmekte ve gecikme matrisindeki eleman sayisi tahmin sayisindan az ise söz konusu göreve iliskin tahmini gecikme degeri ve güvenlik tampon degeri, düzenleme araci (3) vasitasiyla "0" olarak belirlenmektedir. Böylelikle tahmin algoritmasinin yürütülemedigi durumlarda dahi sistemin ve yöntemin sorunsuz bir sekilde çalismasi saglanabilmektedir. Bir diger alternatif uygulamada gecikme matrisindeki elemanlarin degerleri, özellikle yeterince uzun bir zaman araliginda deterministik degerler olabilmektedir. Yukarida da belirtildigi üzere zaman sayaçlari bir döngü halinde çalistigindan, döngü sayisi arttikça zaman sayacinin gerçeklestirdigi islem süresi de artmaktadir. Dolayisiyla, her bir görevle ve/veya uygulamayla iliskili olarak zaman sayacinin gerçeklestirdigi döngü sayisi arttikça görevlerin bitis zamanlarina yönelik gerçek gecikme degerlerinde belirli bir karakteristik ortaya çikmaktadir. Bu alternatif uygulamaya göre, örnegin 10-20 döngü sonra (diger bir deyisle 10-20 görev tamamlandiginda) elde edilen gerçek gecikme degerleri, deterministik degerler olabilmektedir. Bu durumda gecikme matrisi, özellikle tercihen devam eden10 52881TR görevler için, belirli bir baslangiç ve planlanan bitis zamani arasindaki islem süresine yönelik belirli bir statik tahmini gecikme degerine sahip bir taramali tablo (look-up table) olmaktadir. Böylelikle, herhangi bir tahmini gecikme degeri hesaplamasina ihtiyaç duyulmadan, bir görevin baslangiç ve planlanan bitis zamani arasindaki islem süresi hesaplanarak bu islem süresine karsilik olarak gecikme matrisinde yer alan tahmini gecikme degeri bulunmakta ve ilgili görevin yeni bitis süresi, bu tahmini gecikme degeri üzerinden belirlenmektedir. Dolayisiyla bilgisayar sisteminin (S) islem yükü azaltilmakta ve olasi problemler elimine edilerek etkin bir sistem ve yöntem elde edilmektedir. Tercih edilen bir baska uygulamada da düzenleme araci (2) vasitasiyla gecikme matrisindeki elemanlarin degerlerinin önceden belirlenen bir sinir degeri (örnegin 100ms'lik bir hiper-periotta 20-30mikrosaniye gibi) altinda olup olmadigi kontrol edilmekte ve sinir degerine esit ve sinir degerinin üstünde olan degerler dogrultusunda tahmini gecikme degeri belirlenmektedir. Bu sekilde, görevlerin yürütülmesinde problem olusturmayacak nispeten düsük gerçek gecikme degerleri göz ardi edilebilmekte ve probleme yol açabilecek yüksek gerçek gecikme degerleri dikkate alinarak planlanan bitis süresine bir düzeltme uygulanabilmektedir. Dolayisiyla bilgisayar sisteminin islem yükü azaltilabilmekte ve bu islem yükü kaynakli ortaya çikabilecek gecikmeler de bu sekilde minimize edilebilmektedir. Bir diger uygulamada da bahsedilen gecikme matrisi tercihen, belirli bir uygulamaya (S4), isleme ve/veya göreve yönelik sabit gerçek gecikme degerlerini içerebilmektedir. Örnegin zaman sayaci (86), bir sensörün girisiyle harici baglantili bir bilgisayar sisteminde (S), zaman sayaci islemi sona erdi komutu (K2), bu sensöre yönelik görevleri yürüten uygulamaya, sabit bir gecikme degeriyle iletilebilmektedir. Bu gibi durumlarda gecikme matrisinin elemanlarinin sabit gerçek gecikme degerine sahip olmasi saglanarak islem kolayligi ortaya koyulabilmekte ve hata payi minimize edilebilmektedir. Bulusun tercih edilen bir uygulamasinda ise gelistirilen yöntemde, gecikme matrisindeki gerçek gecikme degerleri dogrultusunda bir derin ögrenme algoritmasi yürütülebilmekte ve tahmini gecikme degerinin belirlenmesinde bu derin ögrenme algoritmasi kullanilabilmektedir. 52881TR Mevcut bulusla gelistirilen sistem ve yöntem, bir gömülü sistemin, bir çip üzerinde sistemin (800) veya bir isletim sisteminin oldugu tüm bilgisayar sistemlerinde (S), zaman sayacinin islemlerinin sona erme zamanlarinin yönetilmesinde, zaman sayaci ilem sona erme zamanlarindaki gecikmelerin hassas bir sekilde belirlenmesinde ve görevlerin planlamalarinin bu gecikmeler dogrultusunda gerçeklestirilmesinde kullanilabilmektedir. Gelistirilen sistem ve yöntem sayesinde, önceki görevlerde yasanan gecikmeler, dogru ve etkin bir sekilde ele alinabilmekte ve bu gecikme verileri dogrultusunda aktif görevde meydana gelebilecek gecikme kestirilebilmektedir. Bu sekilde ardisik görevlerde meydana gelebilecek çakismalar elimine edilebilmekte ve/veya ihtiyaç duyulmayacak kadar fazla gecikme degerlerinin kullanimi elimine edilebilmektedir. Dolayisiyla hem islem yükü, hem islemler esnasinda ortaya çikabilecek problemler hem de islem süreleri azaltilmakta ve daha iyi bir islemci kullanimi ile zamanlama hassasiyeti ortaya koyulabilmektedir. TR TR TR DESCRIPTION A SYSTEM AND METHOD FOR MANAGEMENT OF THE TERMINATION TIMES OF TIME COUNTER OPERATIONS The present invention relates to a system and method for managing the interruption times of the operations of time counters, which enable counting the processing times of tasks performed for the operation of applications, especially in real time, in computer systems. Prior Art As exemplified in Figure 1, in a typical computer system (8), there is a user area (81) where applications (84) are executed, an operating system (82) where the kernel (85) is located, and a hardware with time counters (86). (83) are available. Here, in general, the user area (81) and the hardware (83) exchange data separately with the operating system (82). In embedded systems with real time operating system (RT08), the resources of the time counter (86) are controlled by the operating system (82) from the perspective of the user area (81). In this regard, as exemplified in Figure 2, the applications (84) located in the user area (81) are the clients of the time counter (86) for cases where the operating system (82) is the server. In other words, the communication of the applications (84) located in the user area (81) in relation to a task (81) with the time counter (86) is carried out by the time counter setting command (K1) transmitted by the application (84) to the operating system (82) and sent by the operating system. The time counter operation transmitted to the application (84) is carried out with the finished command (K2). At the same time, the operating system (82) controls the hardware (83) to adjust the time counter (86) located in the hardware (83), as shown in Figure 3. In other words, the time counter adjustment command (K1) coming to the operating system (82) in relation to the task in question is transmitted to the hardware (83) through the kernel (85) in the operating system (82), and the hardware (83) is required to count the processing time of the task in question. The time counter (86) is set. When the time counting process of the timer (86) is completed, the hardware (83) transmits the timer process ended command (K2) to the 52881TR core (85) to be transmitted to the application (84). In this case, the hardware (83) acts as the server and the operating system (82) becomes the client of the hardware (83) and therefore the time counter (86). In computer systems (8), applications (84) in the user area (81) can perform multiple tasks with different time periods. However, especially in user space (81) applications (84) in real-time operating systems, the time intervals of the tasks must not overlap each other in order for the tasks in question to be performed correctly. Accordingly, user area (81) applications (84) are in communication with a scheduler application in a scheduling tool. The scheduler application in question is responsible for running periodic tasks whose periods and execution times are known as static before the system starts running. Therefore, the scheduler application uses time counters 86 to trigger the execution of these periodic tasks. These periodic tasks are usually triggered according to a scheduling table that is executed periodically. Under normal circumstances, tasks are planned consecutively so that the end time of one task and the start time of another task are the same, and the time counter (86) is adjusted accordingly. However, sometimes, even if the processing time counting of the time counter (86) for a task is completed on time, due to various reasons (for example, due to the time counter server or due to simultaneous process termination requests or due to the design of the process termination management mechanism, etc.), the time for a task There may be delays (Iatency) in receiving the time counter operation ended command (K2) of the client waiting for the operation of the counter (86) to be completed. These delays can therefore cause problems in time planning. For example, if there is a first task to be executed in the time interval T1-T2 and a second task following the first task to be executed in the time interval T2-T3, if the first task is completed a "t" time after time T2 as a result of a delay due to some reason, it will continue to be executed at time T2. The second task that starts coincides with the first task at this time "t". In order to eliminate these situations, in the known technique, task planning is carried out in such a way that the finish times of the tasks are a predetermined buffer period after the planned finish time. However, this buffer time usage brings an additional burden for the computer systems (8) and cannot be planned to be used by the central processor units (CPU) in the computer systems (8). 52881EN For example, in the current example, although the first and second tasks are completed in a central processor time of T3-T1, the system design should allocate an extra time equal to the mentioned buffer time for the execution of these two tasks. Since this extra time will vary for each task, such a time counter (86) management cannot be effective enough and may lead to low performance of the computer system (S). Brief Description of the Invention Regarding the management of the expiration times of time counter operations in a computer system configured to perform multiple tasks for the operation of at least one application, including at least one time counter that counts the processing times between the start and end time according to the start and end times of the tasks in question. The system developed with the present invention includes at least one planning tool that plans the start and end times and therefore processing times of each task in order to perform the said tasks sequentially; at least one server controlling the said time counter and connected with the server and the planning tool, to receive a time counter setting command for each task from the planning tool and transmit it to the server, and from the server, when the time counted by the time counter for the relevant task expires, the time for the task in question is The counter is configured to receive the process finished command and transmit it to the planning tool, determines an estimated delay value in line with a delay matrix containing the actual delay values of previously completed tasks, updates the planned finish time of the task in question as a new finish time in line with the estimated delay value, and It includes at least one editing tool that transmits the new finish time to the server with the time counter adjustment command, and updates the delay matrix in line with the actual finish time of the task in question, coming from the server with the time counter operation ended command. The method developed with the present invention regarding managing the expiration times of the said time counter operations is to transmit a time counter adjustment command for a task with a start and a planned end time to the editing tool through the planning tool; 52881TR then determining, through the editing tool, an estimated delay value in accordance with a delay matrix containing the actual delay values of previously completed tasks when the command to set the time counter is received; calculating, via the editing tool, a new finish time for said task by adding a safety buffer value to the difference between the planned finish time and the estimated delay value resulting from the timer setting command; o updating the time counter adjustment command received from the planning tool, through the editing tool, in line with the new end time and transmitting it to the server to perform the counting of the processing time between the start of the time counter and the new end time; then, when the time counter has finished counting the time for the task in question, the server generates and transmits the time counter process has ended command to the editing tool, in line with the actual end time for the task in question; determining, by means of the editing tool, the difference between the actual finish time coming with the time counter operation ended command and the new finish time, and recording it in the delay matrix as an actual delay value for the task in question; It includes the steps of the editing tool transmitting the time counter operation ended command to the planning tool. Thanks to the developed system and method, delays experienced in previous missions can be handled accurately and effectively, and the delay that may occur in active duty can be predicted in line with this delay data. In this way, conflicts that may occur in consecutive tasks can be eliminated and/or the use of unnecessary delay values can be eliminated. Therefore, both the processing load, the problems that may arise during transactions, and the processing times are reduced, and timing precision can be demonstrated with better processor usage. Purpose of the Invention The purpose of the present invention is to develop a system and method for managing the expiration times of time counters in computer systems. 52881EN Another aim of the present invention is to develop a system and method that does not impose an additional burden on the computer system in planning for the termination of the time counter process. Another aim of the present invention is to develop a system and method that enables planning for the termination of the time counter process to be carried out more effectively, more effectively and more clearly. Another aim of the present invention is to develop a system and method that reduces the delay times for terminating the time counter process. Explanation of the Figures Examples of time counter applications in the known technique and the time counter application developed with the present invention are shown in the attached figures and from these figures; Figure 1; is a schematic representation of the use of a prior art time counter in a computer system. Figure 2; It is a schematic representation of the relationship between the user space and the operating system in a computer system where the time counter of the known technique is used. Figure 3; It is a schematic representation of the relationship between the hardware where the time counter is located and the operating system in a computer system where the time counter of the known technique is used. Figure 4; is a schematic representation of the system for managing the timer operation expiration time developed with the present invention. The parts in the figures are numbered one by one and the equivalents of these numbers are given below: Computer system (8) User area (81) Operating system (82) Hardware (83) Application (S4) 52881TR Kernel (85) Time counter (86) Time counter setting command ( K1) Time counter operation ended command (K2) Planning tool (1) Editing tool (3) Description of the Invention Computer systems generally include an operating system, a user area and hardware that communicate separately with this operating system. The operation of the computer systems in question is achieved by sequentially executing various tasks created in the applications located in the user area. The tasks in question have start and end times, and these start and end times are tracked by time counters in the hardware. In traditional applications, as shown in Figures 1-3, a task with a start and an end time is created in an application (84) in the user area (81); A time counter setting command (K1) is transmitted from the application (84) to the operating system (S2) in order to adjust the time counter (86) in the hardware (S3) according to this start and end time; A kernel (85) in the operating system (S2) transmits the time counter adjustment command (K1) to the hardware (S3) and the time counter (86) operates accordingly. When the end time of the relevant task reaches, the operation of the time counter (86) ends and accordingly, a time counter operation ended command (K2) is generated and transmitted from the hardware (83) to the operating system (82), and from the operating system (82) to the application (S4). However, delays may occur due to various reasons in the process of transmitting this timer operation ended command (K2) to the application. These delays may lead to overlapping of multiple tasks whose execution times are planned consecutively and to create problems in the operation of the computer system (S). Although there are various applications in the known technique for the management of these delays, these applications impose additional processing load on the computer system (S) and sometimes planning for the termination of the time counter process cannot be carried out effectively. In this context, with the present invention, a system and method is developed for managing the expiration times of 52881TR transactions of time counters in computer systems, in order to solve the problems in question. The system developed with the present invention, the application example of which is given in Figure 4, is built in a computer system that is configured to perform multiple tasks and includes at least one time counter (86) that counts the execution times of the tasks in question (in other words, the processing times of the tasks) according to their start and end times. (8) at least one planning tool (1) that is suitable for use and plans the start and end times and therefore the execution times of each task in order to perform the said tasks sequentially; at least one server (2) that controls the said time counter (86) (this server (2) may be hardware (83), operating system (82), etc. depending on the task performed) and is connected to the server (2) and the planning tool (1). which is to receive a time counter setting command (K1) for each task from the planning tool (1) and transmit it to the server (2), and from the server (2) when the time counted by the time counter (86) for the relevant task expires, the time counter for the task in question is set. Configured to receive the finished command (K2) and transmit it to the planning tool (1), containing the actual delay values of previously completed tasks (these actual delay values are preferably stored in the matrix in a way that is associated with the identifying name (id) of each task and/or the actual finish time. time counter) that determines an estimated delay value in line with a delay matrix, updates the planned finish time of the task in question as a new finish time in line with the estimated delay value, and transmits this new finish time to the server (2) with the time counter adjustment command (K1). It includes at least one editing tool (3) that updates the delay matrix in line with the actual finish time of the task in question, coming from the server (2) with the process ended command (K2). The method developed with the present invention is to transmit a time counter adjustment command (K1) for a task with a start and a planned end time to the editing tool (3) through the planning tool (1); Then, when the time counter setting command (K1) is received, via the editing tool (3), the actual delay values are recorded in the matrix containing the actual delay values of the previously completed tasks (preferably these actual delay values are associated with the identifier name (id) of each task and/or the actual finish time. ) determining an estimated delay value based on a delay matrix; 52881TR o calculation of a new finish time for the task in question by adding a safety buffer value to the difference between the planned finish time and the estimated delay value that comes with the time counter adjustment command (K1) via the editing tool (3) (new finish time = planned finish time - estimated delay value + security buffer value); 0, through the editing tool (3), the time counter adjustment command (K1) received from the planning tool (1) is updated in line with the new end time and the time counter (86) is transmitted to the server (2) to perform the counting of the processing time between the start and the new end time. ; Then, when the time counter (86) ends the time counting process for the task in question, the server (2) will calculate the end time of the time counting process (in other words, the actual end time for the task in question [this real finish time is equal to the new finish time, It may be less than the time or more than the new end time]), creating the time counter process has ended command (K2) and transmitting it to the editing tool (3); determining the difference between the actual finish time and the new finish time coming with the time counter operation ended command (K2) by means of the editing tool (3) and recording it in the delay matrix as an actual delay value for the task in question; It includes the steps of the editing device (3) transmitting the timer operation ended command (K2) to the planning tool (1). The mentioned security buffer value is a value used to optimize the estimated delay value and prevents time deviation with smaller correction. In other words, it ensures that the new end time calculation is made with a value as close as possible to the actual delay value. Therefore, it prevents the new end time from being set at very high values. The mentioned security buffer value is preferably used as the process end notification/signal of time counters in order to ensure that the tasks carried out in real-time computer systems (S) can be carried out sequentially/periodically. However, delays may occur while the notification/signal in question is returned within the system to the planning tool (1). Thanks to the system and method developed with the present invention, information regarding the task completion time is transmitted to the time 52881TR counter (86) by handling these delays. Especially in real-time systems, performing tasks sequentially without conflicting with each other is very important for the performance of the system and the smooth execution of operations. However, for example, in computer systems (S), the planning tool (1) part, which plans the start/end times and therefore the execution time of the task, and the time counter (86) part, which checks and/or tracks whether these times have been reached and therefore whether the task completion time has been reached, are not mutually exclusive. They may be different both physically and structurally. In addition, additional processing loads in computer systems (S) may also affect the processing times in the computer system. Therefore, there may be a delay in the completion time of the first task due to various reasons such as these; In this case, a second task following this first task may be executed before the first task is completed, and therefore the first task and the second task may conflict, causing system (hardware and/or software) errors and preventing the operations from being carried out correctly. With the system and method developed with the present invention, an estimated delay time for the current task is determined in line with the delay times of the completed tasks and the end time of the time counter is updated according to this estimated delay time. In this way, conflicts that may occur between consecutive tasks can be minimized without creating additional processing load on the computer system (S), and task management can be carried out effectively. In a preferred embodiment of the invention, at the beginning of the first process where there are no past completed tasks for an application (S4), the delay matrix in question is an empty matrix. When the first task for the application (S4) is completed, the difference between the new finish time and the real finish time for this task (in other words, the real delay value) is recorded in the delay matrix as the first element, and in this way, the real delay value calculated for each successive task is calculated for the next task. It is recorded in the delay matrix to be used in determining the estimated delay value. In this way, the estimated delay value can be determined more effectively, more effectively and more clearly, and therefore the termination times of time counter operations can be managed more accurately and the conflict between consecutive tasks can be effectively minimized. In another alternative embodiment, the step of determining the estimated delay value of the developed method is preferably, 52881TR then, when the counter adjustment command (K1) is received, by means of the editing tool (3), the number of elements in the said delay matrix is calculated by a predetermined estimate number (this estimate number is preferably the task of the task in question). Checking whether there are enough elements to create an estimated delay value in line with the end time; o If the number of elements in the delay matrix is equal to or greater than the number of predictions, determining an estimated delay value (and therefore the safety buffer value) for the planned completion time of the task in question, in line with the values of the elements in the delay matrix, through the editing tool (3); o If the number of elements in the delay matrix is less than the estimated number, the estimated delay value and safety buffer value for the task in question is determined as "0" by means of the editing tool (3); It includes sub-steps. Thus, at the initial stage of an application (S4), even when there are not enough elements in the delay matrix to determine the estimated delay value, the delay value can be estimated and the system and method can be executed smoothly. These time counters count the duration of tasks in an application cyclically at certain periods. Typical cycle times are 100ms, 200ms, 300ms, 400ms etc. can be exemplified as . Therefore, a period of seconds is sufficient to have a sufficient number of elements in the delay matrix. In this process, hundreds of timer terminations (in other words, timer interrupts) occurring in each period and their deviations are collected and analyzed. In this regard, the number of predictions corresponding to the number of cycles in question, which can be a value in the range of 10-20 for example, is determined specific to each application and task, after the time counter adjustment command (K1) is transmitted to the editing tool (3) via the planning tool (1). is determined. In another alternative application, the determination of the estimated delay value is carried out by determining the periods of the delay values in the delay matrix through the editing tool (3), preferably with a period estimation algorithm such as Discrete Fourier Transform (DFT), Correlation Based Estimation Algorithm. As it is known, since tasks are planned periodically in real-time computer systems, operations for these tasks generally occur periodically. For a task like this, time counter end time delays that occur due to processing load or other factors are also periodic, and therefore delay values have a tendency to periodic behavior. Thanks to the application in question, the periodicity of previous delays is determined by the data mining method and the delays in the termination time of the time counter (86) can be reduced and the planning accuracy of the planning tools (1) in real-time systems can be improved. In the application in question, preferably before running the period estimation algorithm, it is checked whether the number of elements in the delay matrix is sufficient to execute this algorithm. In this regard, in the application in question, before the period estimation algorithm is executed, when the time counter adjustment command (K1) is preferably received in the step of determining the estimated delay value, the number of elements in the said delay matrix is calculated by a predetermined number of estimates (this number of estimates is preferably It is checked whether there are enough staff to create an estimated delay value in line with the completion time of the task in question; If the number of elements in the delay matrix is equal to or more than the number of predictions, an estimated delay value for the planned completion time of the task in question is determined by the editing tool (3) using the said period prediction algorithm, in line with the values of the elements in the delay matrix, and the number of elements in the delay matrix is less than the number of predictions. The estimated delay value and security buffer value for the task in question are determined as "0" by the regulation tool (3). In this way, it is possible to ensure that the system and method operate smoothly even in cases where the prediction algorithm cannot be executed. In another alternative application, the values of the elements in the delay matrix can be deterministic values, especially over a long enough time interval. As mentioned above, since timers work in a cycle, as the number of cycles increases, the processing time of the timer also increases. Therefore, as the number of cycles performed by the time counter associated with each task and/or application increases, a certain characteristic emerges in the actual delay values for the completion times of the tasks. According to this alternative implementation, the actual delay values obtained after, for example, 10-20 cycles (in other words, when 10-20 tasks are completed) may be deterministic values. In this case, the delay matrix is a look-up table with a certain static estimated delay value for the processing time between a certain start and planned finish time, especially for tasks that are preferably ongoing10 52881TR. Thus, without the need for any estimated delay value calculation, the processing time between the start and planned finish time of a task is calculated, the estimated delay value in the delay matrix is found corresponding to this processing time, and the new finish time of the relevant task is determined based on this estimated delay value. Therefore, the processing load of the computer system (S) is reduced and possible problems are eliminated and an effective system and method is obtained. In another preferred embodiment, it is checked whether the values of the elements in the delay matrix are below a predetermined limit value (for example, 20-30 microseconds in a 100ms hyper-period) by means of the regulation tool (2) and values that are equal to the limit value and above the limit value are determined. The estimated delay value is determined accordingly. In this way, relatively low actual delay values that will not cause problems in the execution of tasks can be ignored, and a correction can be applied to the planned finish time by taking into account high actual delay values that may cause problems. Therefore, the processing load of the computer system can be reduced and delays that may arise due to this processing load can be minimized in this way. In another embodiment, the said delay matrix may preferably include fixed real delay values for a specific application (S4), process and/or task. For example, in a computer system (S) where the time counter (86) is externally connected to the input of a sensor, the time counter operation ended command (K2) can be transmitted with a fixed delay value to the application that carries out the tasks for this sensor. In such cases, ease of operation can be achieved and the margin of error can be minimized by ensuring that the elements of the delay matrix have a constant real delay value. In a preferred embodiment of the invention, in the developed method, a deep learning algorithm can be run in line with the actual delay values in the delay matrix and this deep learning algorithm can be used to determine the estimated delay value. 52881EN The system and method developed with the present invention are useful in managing the expiration times of time counter operations and precisely determining the delays in time counter operation termination times in all computer systems (S) where there is an embedded system, a system on a chip (800) or an operating system. and can be used to plan tasks in line with these delays. Thanks to the developed system and method, delays experienced in previous missions can be handled accurately and effectively, and the delay that may occur in active duty can be predicted in line with this delay data. In this way, conflicts that may occur in consecutive tasks can be eliminated and/or the use of unnecessary delay values can be eliminated. Therefore, both the processing load, the problems that may arise during the transactions, and the processing times are reduced, and timing precision can be demonstrated with a better processor usage.TR TR TR

Claims (1)

1.STEMLER En az bir uygulamanin (84) isletilmesi için birden çok görevi gerçeklestirmek üzere yapilandirilan, söz konusu görevlerin baslangiç ve bitis zamanlarina göre baslangiç ve bitis zamani arasindaki islem sürelerini sayan en az bir zaman sayacini (86) içeren bir bilgisayar sisteminde (8) zaman sayaci (86) islemlerinin sona erme zamanlarinin yönetilmesine iliskin bir sistem olup özelligi; söz konusu görevlerin ardisik olarak gerçeklestirilmesi için her bir görevinin baslangiç ve bitis zamanlarini ve dolayisiyla islem sürelerini planlayan en az bir planlama aracini (1); bahsedilen zaman sayacini (86) kontrol eden en az bir sunucuyu (2) ve sunucuyla (2) ve planlama araciyla (1) baglantili olan, planlama aracindan (1) her bir göreve iliskin bir zaman sayaci ayarlama komutunu (K1) alip sunucuya (2) iletmek üzere ve sunucudan (2) da ilgili görev için zaman sayacinin (86) saydigi süre doldugunda, söz konusu göreve iliskin, zaman sayaci islemi sona erdi komutunu (K2) alip planlama aracina (1) iletmek üzere yapilandirilan, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini içeren bir gecikme matrisi dogrultusunda, ilgili görev için bir tahmini gecikme degerini belirleyen, tahmini gecikme degeri dogrultusunda söz konusu göreve ait planlanan bitis zamanini bir yeni bitis zamani olarak güncelleyen ve bu yeni bitis zamanini zaman sayaci ayarlama komutu (K1) ile sunucuya (2) ileten, zaman sayaci islemi sona erdi komutuyla (K2) sunucudan (2) gelen, söz konusu göreve ait gerçek bitis zamani dogrultusunda gecikme matrisini güncelleyen en az bir düzenleme aracini (3) içermesidir. Istem 1'e uygun bir sistem olup özelligi; gecikme matrisindeki gerçek gecikme degerlerinin her bir görevin tanimlayici adiyla ve/veya gerçek bitis zamaniyla iliskili olacak sekilde gecikme matrisinde kayitli olmasidir. Istem 1'e veya 2”ye uygun bir sistemde kullanima yönelik bir yöntem olup özelligi; o bir baslangiç ve bir planlanan bitis zamani bulunan bir göreve iliskin bir zaman sayaci ayarlama komutunun (K1), planlama araci (1) vasitasiyla düzenleme aracina (3) iletilmesi; o zaman sayaci ayarlama komutu (K1) alindiginda düzenleme araci (3) vasitasiyla, daha önce tamamlanmis görevlere ait gerçek gecikme degerlerini 52881TR içeren bir gecikme matrisi dogrultusunda bir tahmini gecikme degerinin belirlenmesi; o düzenleme araci (3) vasitasiyla, zaman sayaci ayarlama komutuyla (K1) gelen planlanan bitis zamaniyla tahmini gecikme degeri arasindaki farka bir güvenlik tampon degerinin eklenmesiyle söz konusu göreve iliskin bir yeni bitis zamaninin hesaplamasi; o düzenleme araci vasitasiyla (3), planlama aracindan (1) alinan zaman sayaci ayarlama komutunun (K1), yeni bitis zamani dogrultusunda güncellenmesi ve zaman sayacinin (86) baslangiç ve yeni bitis zamani arasindaki islem süresini sayma islemini gerçeklestirmesi için sunucuya (2) iletilmesi; o zaman sayacinin (86) söz konusu görev için süre sayma islemi sona erdiginde sunucunun (2), söz konusu göreve iliskin gerçek bitis zamani dogrultusunda, zaman sayaci islemi sona erdi komutunu (K2) olusturarak düzenleme aracina (3) iletmesi; o düzenleme araci (3) vasitasiyla zaman sayaci islemi sona erdi komutuyla (K2) gelen gerçek bitis zamani ile yeni bitis zamani arasindaki farkin belirlenmesi ve söz konusu göreve iliskin bir gerçek gecikme degeri olarak gecikme matrisine kaydedilmesi; o düzenleme aracinin (3) zaman sayaci islemi sona erdi komutunu (K2) planlama aracina (1) iletmesi adimlarini içermesidir. Istem 3'e uygun bir yöntem olup özelligi; bir uygulamaya (S4) yönelik geçmis tamamlanmis görevlerin bulunmadigi ilk islem baslangicinda söz konusu gecikme matrisinin bir bos matris olmasidir. Istem 3-4”ten herhangi birine uygun bir yöntem olup özelligi; bahsedilen tahmini gecikme degerinin belirlenmesi adiminin, o zaman sayaci ayarlama komutu (K1) alindiginda düzenleme araci (3) vasitasiyla, bahsedilen gecikme matrisindeki eleman sayisinin, önceden belirlenen bir tahmin sayisi kadar olup olmadiginin kontrol edilmesi; o gecikme matrisindeki eleman sayisi tahmin sayisina esit veya tahmin sayisindan fazla ise gecikme matrisindeki elemanlarin degerleri 52881TR dogrultusunda, söz konusu görevin planlanan bitis zamanina iliskin bir tahmini gecikme degerinin, düzenleme araci (3) vasitasiyla belirlenmesi; o gecikme matrisindeki eleman sayisi tahmin sayisindan az ise söz konusu göreve iliskin tahmini gecikme degerinin ve güvenlik tampon degerinin, düzenleme araci (3) vasitasiyla “0” olarak belirlenmesi; alt adimlarini içermesidir. Istem 3-5'ten herhangi birine uygun bir yöntem olup özelligi; tahmini gecikme degerinin belirlenmesi isleminin, gecikme matrisindeki gecikme degerlerinin periyotlarinin, düzenleme araci (3) vasitasiyla, bir periyot tahmin algoritmasiyla gerçeklestirilmesidir. Istem 3-6'dan herhangi birine uygun bir yöntem olup özelligi; gecikme matrisindeki elemanlarin degerlerinin deterministik degerler oldugu durumda gecikme matrisinin, belirli bir baslangiç ve planlanan bitis zamani arasindaki islem süresine yönelik belirli bir statik tahmini gecikme degerine sahip bir taramali tablo olmasidir. Istem 3-7'den herhangi uygun bir yöntem olup özelligi; düzenleme araci (2) vasitasiyla gecikme matrisindeki elemanlarin degerlerinin önceden belirlenen bir sinir degeri altinda olup olmadiginin kontrol edilmesi ve sinir degerine esit ve sinir degerinin üstünde olan degerler dogrultusunda tahmini gecikme degerinin belirlenmesidir. Istem 3-8'den herhangi birine uygun bir yöntem olup özelligi; gecikme matrisinin, belirli bir uygulamaya (S4), isleme ve/veya göreve yönelik sabit gerçek gecikme degerlerini içermesidir. 5288/TR TR TR TR1.SYSTEMS A computer system (8) configured to perform multiple tasks for the operation of at least one application (84), including at least one time counter (86) that counts the processing times between the start and end time of the said tasks according to the start and end times of the said tasks. It is a system for managing the expiration times of time counter (86) transactions and its feature is; at least one planning tool (1) that plans the start and end times and therefore the processing times of each task in order to perform the said tasks sequentially; At least one server (2) that controls the said time counter (86) and which is connected to the server (2) and the planning tool (1), receives a time counter setting command (K1) for each task from the planning tool (1) and sends it to the server (2). ) and from the server (2) when the time counted by the time counter (86) for the relevant task expires, the time counter process has ended command (K2) for the task in question and is configured to transmit it to the planning tool (1) for previously completed tasks. It determines an estimated delay value for the relevant task in line with a delay matrix containing real delay values, updates the planned finish time of the task in question as a new finish time in line with the estimated delay value, and sends this new finish time to the server with the time counter adjustment command (K1). 2) It contains at least one editing tool (3) that updates the delay matrix in line with the actual finish time of the task in question, coming from the server (2) with the time counter operation ended command (K2). It is a system in accordance with Claim 1 and its feature is; The actual delay values in the delay matrix are recorded in the delay matrix in a way that is associated with the descriptive name and/or actual finish time of each task. It is a method for use in a system according to claim 1 or 2 and its feature is; o transmitting a time counter setting command (K1) for a task with a start and a planned end time to the editing means (3) through the planning means (1); then, when the counter adjustment command (K1) is received, determining an estimated delay value in accordance with a delay matrix containing the actual delay values 52881TR of previously completed tasks, through the editing tool (3); o calculating a new finish time for the task in question by adding a safety buffer value to the difference between the planned finish time and the estimated delay value coming from the time counter adjustment command (K1), via the editing tool (3); o through the editing tool (3), the time counter adjustment command (K1) received from the planning tool (1) is updated in line with the new end time and the time counter (86) is transmitted to the server (2) to perform the counting of the processing time between the start and the new end time. ; then, when the time counting process of the time counter (86) for the task in question ends, the server (2) generates the time counter process has ended command (K2) and transmits it to the editing tool (3), in line with the actual end time of the task in question; determining the difference between the actual finish time and the new finish time coming with the time counter operation ended command (K2) by means of the editing tool (3) and recording it in the delay matrix as an actual delay value for the task in question; It includes the steps of the editing tool (3) transmitting the timer operation ended command (K2) to the planning tool (1). It is a method in accordance with claim 3 and its feature is; The delay matrix in question is an empty matrix at the beginning of the first transaction, where there are no past completed tasks for an application (S4). It is a method suitable for any of the claims 3-4 and its feature is; the step of determining the said estimated delay value, then checking whether the number of elements in the said delay matrix is as much as a predetermined estimate number, through the regulation tool (3) when the counter adjustment command (K1) is received; o If the number of elements in the delay matrix is equal to or greater than the number of predictions, determining an estimated delay value for the planned finish time of the task in question, in line with the values of the elements in the delay matrix 52881TR, by means of the editing tool (3); o If the number of elements in the delay matrix is less than the estimated number, the estimated delay value and safety buffer value for the task in question is determined as "0" by means of the regulation tool (3); It contains sub-steps. It is a method in accordance with any of the claims 3-5 and its feature is; The process of determining the estimated delay value is carried out by a period estimation algorithm, by means of the editing tool (3), of the periods of the delay values in the delay matrix. It is a method in accordance with any of the claims 3-6 and its feature is; In case the values of the elements in the delay matrix are deterministic values, the delay matrix is a look-up table with a certain static estimated delay value for the processing time between a certain start and planned end time. It is a method according to any of the claims 3-7 and its feature is; It is to check whether the values of the elements in the delay matrix are below a predetermined limit value by means of the editing tool (2) and to determine the estimated delay value in line with the values equal to and above the limit value. It is a method in accordance with any of the claims 3-8 and its feature is; The delay matrix contains fixed real delay values for a specific application (S4), process and/or task. 5288/TR TR TR TR
TR2022/010810 2022-06-29 A system and method for managing the expiration times of time counter operations. TR2022010810A1 (en)

Publications (1)

Publication Number Publication Date
TR2022010810A1 true TR2022010810A1 (en) 2024-01-22

Family

ID=

Similar Documents

Publication Publication Date Title
Chen et al. Many suspensions, many problems: a review of self-suspending tasks in real-time systems
US20090077380A1 (en) Resource scheduling in workflow management systems
US10552215B1 (en) System and method of handling real-time process overruns on a multiprocessor
US7941332B2 (en) Apparatus, system, and method for modeling, projecting, and optimizing an enterprise application system
US9990229B2 (en) Scheduling method and apparatus for applying laxity correction based on task completion proportion and preset time
US7440811B2 (en) Dynamic-state waiting time analysis method for complex discrete manufacturing
US10514949B1 (en) Efficient data processing in a serverless environment
Yalcinkaya et al. An exact schedulability test for non-preemptive self-suspending real-time tasks
US20040039935A1 (en) Method and device for measuring the execution time of a real task in a real time system
KR20130091368A (en) Apparatus and method for scheduling kernel execution order
US20050192750A1 (en) Scheduling method and system for controlling execution of processes
TR2022010810A1 (en) A system and method for managing the expiration times of time counter operations.
Vardanega et al. On the dynamic semantics and the timing behavior of ravenscar kernels
EP2840513B1 (en) Dynamic task prioritization for in-memory databases
Martina et al. Performance evaluation of Fischer's protocol through steady-state analysis of Markov regenerative processes
CN105450737B (en) A kind of data processing method, device and system
Panic et al. Enabling TDMA arbitration in the context of MBPTA
US10198290B2 (en) Method for composing and executing a real-time task sequence plan
Gerdsmeier et al. Analysis of scheduling behaviour using generic timed automata
US20040003019A1 (en) Process management for real time systems management controller
Gobillot et al. Periodic state-machine aware real-time analysis
Cai et al. Specification and formal verification of atomic concurrent real-time transactions
Lalo et al. Overhead-Aware Schedule Synthesis for Logical Execution Time (LET) in Automotive Systems
US20230289316A1 (en) Method of transmitting data and command through rs232 serial port
Thane et al. Integration testing of fixed priority scheduled real-time systems