JP4609070B2 - マルチ呼処理スレッド処理方法 - Google Patents
マルチ呼処理スレッド処理方法 Download PDFInfo
- Publication number
- JP4609070B2 JP4609070B2 JP2004379909A JP2004379909A JP4609070B2 JP 4609070 B2 JP4609070 B2 JP 4609070B2 JP 2004379909 A JP2004379909 A JP 2004379909A JP 2004379909 A JP2004379909 A JP 2004379909A JP 4609070 B2 JP4609070 B2 JP 4609070B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- call processing
- processing
- thread
- scheduler
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/524—Deadlock detection or avoidance
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Exchange Systems With Centralized Control (AREA)
- Debugging And Monitoring (AREA)
- Telephonic Communication Services (AREA)
Description
澤田勉、澤田綾子、永井正武共著、「LinuxとWindowsを理解するためのOS入門」、共立出版株式会社2003年11月発行、126〜130頁
以下、本発明によるマルチ呼処理タスク処理方法の一実施形態を、図面を参照しながら詳述する。
本発明によるマルチ呼処理タスク処理装置及び方法は、その適用対象が、上記実施形態のようなコールエージェントに限定されるものではなく、メディアゲートウェイコントローラ(MGC)などの他の電話交換装置にも適用できる。
Claims (2)
- シングルCPUがメモリ上に展開された呼処理プログラムに従い、輻輳的に発生する呼処理イベントを実行するマルチ呼処理スレッド処理方法において、
TSSスケジューラを実装しているOSと、呼処理アプリケーションとの間に、呼処理イベントスケジューラを介挿し、上記呼処理イベントスケジューラは、キュー管理され順序制御が行われた1又は複数の処理時間が短い呼処理イベントを、上記TSSスケジューラが呼処理イベントの1回の処理に割り当てている最大のCPU時間を使用して処理させるものであり、
上記呼処理イベントスケジューラは監視スレッドを有し、この監視スレッドが、呼処理イベントが入力されキューイングされると、新たなイベント処理を実施するためのユーザ実行用スレッドを生成し、上記ユーザ実行用スレッドは、入力されたイベントに係るコンテキストを生成した後、イベントの有無を確認し、イベントが存在すると、実行するユーザを選択し、上記ユーザの処理を実行して、上記イベントの有無の確認に戻って、上記イベントの有無の確認間のループ処理を繰返し実行し、上記TSSスケジューラが呼処理イベントの1回の処理に割り当てている最大のCPU時間の経過によるディスパッチがあったときは、上記イベントの有無の確認間のループ処理を中断し、上記TSSスケジューラによる自己へのディスパッチによって上記イベントの有無の確認を再開する
ことを特徴とするマルチ呼処理スレッド処理方法。 - シングルCPUがメモリ上に展開された呼処理プログラムに従い、輻輳的に発生する呼処理イベントを実行するマルチ呼処理スレッド処理方法において、
TSSスケジューラを実装しているOSと、呼処理アプリケーションとの間に、コンテキストの連結/管理と、順序制御と、呼処理コンテキストのハングチェックとを行う呼処理イベントエンジンを設け、
上記呼処理イベントエンジンが、キュー管理され順序制御が行われた1又は複数の処理時間が短い呼処理イベントを、上記TSSスケジューラが呼処理イベントの1回の処理に割り当てている最大のCPU時間を使用して処理させる呼処理イベントスケジューラを有し、
上記呼処理イベントスケジューラは監視スレッドを有し、この監視スレッドは、呼処理イベントが入力されキューイングされると、新たなイベント処理を実施するためのユーザ実行用スレッドを生成し、上記ユーザ実行用スレッドは、入力されたイベントに係るコンテキストを生成した後、イベントの有無を確認し、イベントが存在すると、実行するユーザを選択し、上記ユーザの処理を実行して、上記イベントの有無の確認に戻って、上記イベントの有無の確認間のループ処理を繰返し実行し、上記最大のCPU時間の経過によるディスパッチがあったときは、上記イベントの有無の確認間のループ処理を中断し、上記TSSスケジューラによる自己へのディスパッチによって上記イベントの有無の確認を再開する
ことを特徴とするマルチ呼処理スレッド処理方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004379909A JP4609070B2 (ja) | 2004-12-28 | 2004-12-28 | マルチ呼処理スレッド処理方法 |
US11/313,750 US20060143616A1 (en) | 2004-12-28 | 2005-12-22 | System and method for performing multi-task processing |
CNB2005101381073A CN100495344C (zh) | 2004-12-28 | 2005-12-28 | 多重呼叫处理线程处理方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004379909A JP4609070B2 (ja) | 2004-12-28 | 2004-12-28 | マルチ呼処理スレッド処理方法 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009260064A Division JP5029675B2 (ja) | 2009-11-13 | 2009-11-13 | マルチ呼処理スレッド処理方法及び呼処理装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006185303A JP2006185303A (ja) | 2006-07-13 |
JP4609070B2 true JP4609070B2 (ja) | 2011-01-12 |
Family
ID=36613283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004379909A Expired - Lifetime JP4609070B2 (ja) | 2004-12-28 | 2004-12-28 | マルチ呼処理スレッド処理方法 |
Country Status (3)
Country | Link |
---|---|
US (1) | US20060143616A1 (ja) |
JP (1) | JP4609070B2 (ja) |
CN (1) | CN100495344C (ja) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100442239C (zh) * | 2007-01-09 | 2008-12-10 | 上海新时达电气有限公司 | 中断程序的分时运行方法 |
US8296767B1 (en) | 2007-02-16 | 2012-10-23 | Vmware, Inc. | Defining and measuring skew between coscheduled contexts |
US8127301B1 (en) | 2007-02-16 | 2012-02-28 | Vmware, Inc. | Scheduling selected contexts in response to detecting skew between coscheduled contexts |
US8171488B1 (en) * | 2007-02-16 | 2012-05-01 | Vmware, Inc. | Alternating scheduling and descheduling of coscheduled contexts |
US8176493B1 (en) | 2007-02-16 | 2012-05-08 | Vmware, Inc. | Detecting and responding to skew between coscheduled contexts |
US8001336B2 (en) * | 2007-03-02 | 2011-08-16 | International Business Machines Corporation | Deterministic memory management in a computing environment |
US9720729B2 (en) * | 2008-06-02 | 2017-08-01 | Microsoft Technology Licensing, Llc | Scheduler finalization |
JP2010160537A (ja) * | 2009-01-06 | 2010-07-22 | Hitachi Ltd | 通信装置および系切り替え方法 |
US8752058B1 (en) | 2010-05-11 | 2014-06-10 | Vmware, Inc. | Implicit co-scheduling of CPUs |
CN101976206B (zh) * | 2010-10-28 | 2016-04-20 | 北京中星微电子有限公司 | 一种中断处理方法和装置 |
US8695009B2 (en) * | 2011-04-18 | 2014-04-08 | Microsoft Corporation | Allocating tasks to machines in computing clusters |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190633A (ja) * | 1985-02-20 | 1986-08-25 | Oki Electric Ind Co Ltd | プログラム運用管理方式 |
JPH02166526A (ja) * | 1988-12-20 | 1990-06-27 | Fujitsu Ltd | 長時間使用資源検出方式 |
JPH0357026A (ja) * | 1989-07-26 | 1991-03-12 | Hitachi Ltd | タスク制御方式 |
JPH09319597A (ja) * | 1996-03-28 | 1997-12-12 | Hitachi Ltd | 周期的プロセスのスケジューリング方法 |
JPH10155010A (ja) * | 1996-09-30 | 1998-06-09 | Oki Data:Kk | パケット処理方法とネットワ−クア−キテクチャ |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6035321A (en) * | 1994-06-29 | 2000-03-07 | Acis, Inc. | Method for enforcing a hierarchical invocation structure in real time asynchronous software applications |
US6766515B1 (en) * | 1997-02-18 | 2004-07-20 | Silicon Graphics, Inc. | Distributed scheduling of parallel jobs with no kernel-to-kernel communication |
JP3823475B2 (ja) * | 1997-09-18 | 2006-09-20 | ソニー株式会社 | データ処理方法、記録媒体及びデータ処理装置 |
US6697935B1 (en) * | 1997-10-23 | 2004-02-24 | International Business Machines Corporation | Method and apparatus for selecting thread switch events in a multithreaded processor |
US7296271B1 (en) * | 2000-06-28 | 2007-11-13 | Emc Corporation | Replaceable scheduling algorithm in multitasking kernel |
US6986146B2 (en) * | 2001-05-30 | 2006-01-10 | Siemens Communications, Inc. | Method and apparatus for providing a state machine operating on a real-time operating system |
JP4086846B2 (ja) * | 2002-11-13 | 2008-05-14 | 富士通株式会社 | マルチスレッディングプロセッサにおけるスケジューリング方法およびマルチスレッディングプロセッサ |
US7415540B2 (en) * | 2002-12-31 | 2008-08-19 | Intel Corporation | Scheduling processing threads |
US7552446B1 (en) * | 2003-12-31 | 2009-06-23 | Emc Corporation | Methods and apparatus for a timer event service infrastructure |
-
2004
- 2004-12-28 JP JP2004379909A patent/JP4609070B2/ja not_active Expired - Lifetime
-
2005
- 2005-12-22 US US11/313,750 patent/US20060143616A1/en not_active Abandoned
- 2005-12-28 CN CNB2005101381073A patent/CN100495344C/zh not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61190633A (ja) * | 1985-02-20 | 1986-08-25 | Oki Electric Ind Co Ltd | プログラム運用管理方式 |
JPH02166526A (ja) * | 1988-12-20 | 1990-06-27 | Fujitsu Ltd | 長時間使用資源検出方式 |
JPH0357026A (ja) * | 1989-07-26 | 1991-03-12 | Hitachi Ltd | タスク制御方式 |
JPH09319597A (ja) * | 1996-03-28 | 1997-12-12 | Hitachi Ltd | 周期的プロセスのスケジューリング方法 |
JPH10155010A (ja) * | 1996-09-30 | 1998-06-09 | Oki Data:Kk | パケット処理方法とネットワ−クア−キテクチャ |
Also Published As
Publication number | Publication date |
---|---|
CN100495344C (zh) | 2009-06-03 |
US20060143616A1 (en) | 2006-06-29 |
CN1797349A (zh) | 2006-07-05 |
JP2006185303A (ja) | 2006-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Tindell et al. | Holistic schedulability analysis for distributed hard real-time systems | |
Strosnider et al. | The deferrable server algorithm for enhanced aperiodic responsiveness in hard real-time environments | |
US6223207B1 (en) | Input/output completion port queue data structures and methods for using same | |
US7493436B2 (en) | Interrupt handling using simultaneous multi-threading | |
Pyarali et al. | Evaluating and optimizing thread pool strategies for real-time CORBA | |
JP4609070B2 (ja) | マルチ呼処理スレッド処理方法 | |
US9535756B2 (en) | Latency-hiding context management for concurrent distributed tasks in a distributed system | |
Buttazzo | Rate monotonic vs. EDF: Judgment day | |
Kitayama et al. | RT-IPC: An IPC Extension for Real-Time Mach. | |
US20140068165A1 (en) | Splitting a real-time thread between the user and kernel space | |
Nakajima et al. | Experiments with Real-Time Servers in Real-Time Mach. | |
Lin et al. | {RingLeader}: efficiently Offloading {Intra-Server} Orchestration to {NICs} | |
US7703103B2 (en) | Serving concurrent TCP/IP connections of multiple virtual internet users with a single thread | |
Tindell et al. | Guaranteeing Hard Real Time End-to-End Communications Deadlines | |
JP5029675B2 (ja) | マルチ呼処理スレッド処理方法及び呼処理装置 | |
Ramakrishna et al. | Efficient round robin CPU scheduling algorithm for operating systems | |
Mercer et al. | Preemptibility in Real-Time Operating Systems. | |
JP2007265137A (ja) | マルチタスク処理方法及びマルチタスク処理装置 | |
CN116700901A (zh) | 基于微内核的容器构建与运行系统及方法 | |
Chu | CPU service classes: A soft real-time framework for multimedia applications | |
JP2007323256A (ja) | 割込制御方法および情報処理装置 | |
JP2009075766A (ja) | 仮想計算機システム及び同システムにおけるスケジュール調整方法 | |
Caccamo et al. | Real-time scheduling for embedded systems | |
Li et al. | Towards Virtualization-Agnostic Latency for Time-Sensitive Applications | |
Iwasaki et al. | A micro-kernel for isochronous video-data transfer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070903 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090507 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090519 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090714 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090915 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091113 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100330 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100630 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20100707 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100914 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100927 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131022 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4609070 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131022 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131022 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |