JP2010086137A - メッセージキューイング方法及びプログラム - Google Patents
メッセージキューイング方法及びプログラム Download PDFInfo
- Publication number
- JP2010086137A JP2010086137A JP2008252315A JP2008252315A JP2010086137A JP 2010086137 A JP2010086137 A JP 2010086137A JP 2008252315 A JP2008252315 A JP 2008252315A JP 2008252315 A JP2008252315 A JP 2008252315A JP 2010086137 A JP2010086137 A JP 2010086137A
- Authority
- JP
- Japan
- Prior art keywords
- message
- application
- processes
- control unit
- process control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1479—Generic software techniques for error detection or fault masking
- G06F11/1482—Generic software techniques for error detection or fault masking by means of middleware or OS functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2025—Failover techniques using centralised failover control functionality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
- G06F11/2028—Failover techniques eliminating a faulty processor or activating a spare
Abstract
【解決手段】メッセージ処理装置1のメッセージキュー部10は受信したメッセージを保存する。メッセージ受信制御部11は、メッセージ100の宛先の通知を受け、プロセスの現用又は待機を記録したプロセス制御表110に基づいて、現用プロセスに対するメッセージ100のみを取り出し、対応する現用プロセスのアプリケーション2Bへメッセージ100を送信する。一方、メッセージ受信制御部11は、待機プロセスのアプリケーション2Bに対しては、メッセージ100を送信しない。
【選択図】図1
Description
IPアドレスとポート番号の組等を指定)。
2 アプリケーション
10 メッセージキュー部
11 メッセージ受信制御部
12 監視スレッド部
13 プロセス制御部
100 メッセージ
110 プロセス制御表
Claims (5)
- メッセージを送信する送信アプリケーションと、多重化して構成されたメッセージを受信する複数の受信アプリケーションとの間のメッセージの送受信を処理する、コンピュータが実行するメッセージキューイング方法であって、
前記受信アプリケーションについての現用として設定可能なプロセス数の最大数である最大現用数と起動されている起動プロセスとを取得し、前記起動プロセスの各々について現用又は待機のいずれかの状態をプロセス制御テーブルに設定するプロセス制御ステップと、
前記送信アプリケーションからのメッセージをキューイング処理するメッセージキューイングステップと、
前記プロセス制御テーブルに設定された全てのプロセスと通信可能な状態を保持し、前記現用が設定されたプロセスのみに対して前記キューイングされているメッセージを取り出して送信するメッセージ受信制御ステップとを備える
ことを特徴とするメッセージキューイング方法。 - 前記現用が設定されたプロセスの通信状態を監視して通信障害を検出する通信管理ステップを備えると共に、
前記プロセス制御ステップにおいて、前記現用が設定されたプロセスの通信障害が検出された場合に、前記プロセス制御テーブルに待機が設定された少なくとも1つのプロセスの設定を現用に変更する処理ステップを備える
ことを特徴とする請求項1記載のメッセージキューイング方法。 - 前記プロセス制御ステップにおいて、前記受信アプリケーションのプロセスの追加を受け付け、前記プロセス制御テーブルに該受け付けたプロセスを追加し、前記プロセス制御テーブルに現用が設定されたプロセス数が前記最大現用数以上である場合に、該追加されたプロセスに待機を設定する処理ステップを備える
ことを特徴とする請求項1又は請求項2に記載のメッセージキューイング方法。 - 前記プロセス制御ステップにおいて、前記受信アプリケーションのプロセスの追加を受け付け、前記プロセス制御テーブルに該受け付けたプロセスを追加し、前記プロセス制御テーブルに現用が設定されたプロセス数が前記最大現用数に達しない場合に、前記プロセス制御テーブルに待機が設定されたプロセス又は該追加されたプロセスのいずれかのプロセスに現用を設定する処理ステップを備える
ことを特徴とする請求項1又は請求項2に記載のメッセージキューイング方法。 - メッセージを送信する送信アプリケーションと、多重化して構成されたメッセージを受信する複数の受信アプリケーションとの間のメッセージの送受信を処理する、メッセージキューイングプログラムであって、
前記受信アプリケーションについての現用として設定可能なプロセス数の最大数である最大現用数と起動されている起動プロセスとを取得し、前記起動プロセスの各々について現用又は待機のいずれかの状態をプロセス制御テーブルに設定するプロセス制御ステップと、
前記送信アプリケーションからのメッセージをキューイング処理するメッセージキューイングステップと、
前記プロセス制御テーブルに設定された全てのプロセスと通信可能な状態を保持し、前記現用が設定されたプロセスのみに対して前記キューイングされているメッセージを取り出して送信するメッセージ受信制御ステップとを、コンピュータに実行させる
ことを特徴とするメッセージキューイングプログラム。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008252315A JP5509564B2 (ja) | 2008-09-30 | 2008-09-30 | メッセージ送信方法及びプログラム |
US12/493,873 US8201017B2 (en) | 2008-09-30 | 2009-06-29 | Method for queuing message and program recording medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008252315A JP5509564B2 (ja) | 2008-09-30 | 2008-09-30 | メッセージ送信方法及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010086137A true JP2010086137A (ja) | 2010-04-15 |
JP5509564B2 JP5509564B2 (ja) | 2014-06-04 |
Family
ID=42058914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008252315A Active JP5509564B2 (ja) | 2008-09-30 | 2008-09-30 | メッセージ送信方法及びプログラム |
Country Status (2)
Country | Link |
---|---|
US (1) | US8201017B2 (ja) |
JP (1) | JP5509564B2 (ja) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7421052B2 (ja) | 2019-03-15 | 2024-01-24 | アイコム株式会社 | サーバシステムおよびプロセスの冗長化方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8483285B2 (en) * | 2008-10-03 | 2013-07-09 | Qualcomm Incorporated | Video coding using transforms bigger than 4×4 and 8×8 |
KR20160007120A (ko) | 2014-07-11 | 2016-01-20 | 삼성전자주식회사 | 의료 영상 장치 및 그에 따른 의료 영상 촬영 방법 |
US10831581B2 (en) * | 2015-12-04 | 2020-11-10 | Nec Corporation | File information collection system and method, and storage medium |
CN112445631A (zh) * | 2020-12-02 | 2021-03-05 | 广东博智林机器人有限公司 | Rtps的进程通信方法、装置、电子设备及存储介质 |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100872A (ja) * | 1991-10-04 | 1993-04-23 | Mitsubishi Electric Corp | タスク間通信管理方法 |
JPH08511120A (ja) * | 1993-12-30 | 1996-11-19 | インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン | データ処理システム及び待ち行列管理方法 |
JPH0969053A (ja) * | 1995-08-31 | 1997-03-11 | Toshiba Corp | メッセージ受信機構に於けるマルチスレッド制御方式及びキューイング方式 |
JPH09282296A (ja) * | 1996-04-10 | 1997-10-31 | Hitachi Ltd | 多重化ノード間通信制御方式 |
JPH1153202A (ja) * | 1997-07-30 | 1999-02-26 | Internatl Business Mach Corp <Ibm> | 並列トランザクション処理システム |
US5978933A (en) * | 1996-01-11 | 1999-11-02 | Hewlett-Packard Company | Generic fault tolerant platform |
JP2001290637A (ja) * | 2000-04-05 | 2001-10-19 | Nec Corp | コンポーネントの動的置換装置及びコンピュータ読み取り可能な記憶媒体 |
JP2002229943A (ja) * | 2001-02-05 | 2002-08-16 | Hitachi Ltd | サービスレベル制御機構を有するトランザクション処理システム及びそのためのプログラム |
JP2003271404A (ja) * | 2002-03-19 | 2003-09-26 | Fujitsu Ltd | マルチプロセッサシステム |
JP2003345609A (ja) * | 2002-05-27 | 2003-12-05 | Nippon Telegr & Teleph Corp <Ntt> | トランザクション処理装置、同装置のトランザクション処理方法、トランザクション処理プログラムおよび同プログラムを記録したコンピュータ読み取り可能な記録媒体 |
JP2005173643A (ja) * | 2003-12-05 | 2005-06-30 | Toshiba Corp | コンピュータシステム及びそのオペレーティング方法 |
JP2005235228A (ja) * | 2004-02-20 | 2005-09-02 | Sony Computer Entertainment Inc | マルチプロセッサシステムにおけるタスク管理方法および装置 |
JP2005284781A (ja) * | 2004-03-30 | 2005-10-13 | Nomura Research Institute Ltd | Mqデータ同期システム及びmqデータ同期プログラム |
JP3788697B2 (ja) * | 1998-11-18 | 2006-06-21 | 富士通株式会社 | メッセージ制御装置 |
JP2007079936A (ja) * | 2005-09-14 | 2007-03-29 | Hitachi Ltd | ジョブ処理システムの制御方法、ジョブ処理システム、管理装置の制御方法、管理装置、及びプログラム |
US20080163249A1 (en) * | 2003-05-28 | 2008-07-03 | International Business Machines Corporation | System for Workload Balancing by Resetting an Average Queue Depth upon the Start of the Server Instance |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04180425A (ja) | 1990-11-15 | 1992-06-26 | Toshiba Corp | 通信システム |
JPH08106440A (ja) | 1994-10-07 | 1996-04-23 | Hitachi Ltd | 分散共有メモリ計算機システム |
US6182109B1 (en) * | 1996-03-08 | 2001-01-30 | International Business Machines Corporation | Dynamic execution unit management for high performance user level network server system |
JP3541335B2 (ja) * | 1996-06-28 | 2004-07-07 | 富士通株式会社 | 情報処理装置及び分散処理制御方法 |
JPH117400A (ja) * | 1997-06-16 | 1999-01-12 | Mitsubishi Electric Corp | プログラム稼働数計測システム及びプログラム稼働数計測方法並びにプログラム稼働数計測プログラムを記録した記録媒体 |
US5974114A (en) * | 1997-09-25 | 1999-10-26 | At&T Corp | Method and apparatus for fault tolerant call processing |
JP2001227219A (ja) | 2000-12-19 | 2001-08-24 | Fuji Heavy Ind Ltd | 遠隔操作装置 |
US7992153B2 (en) * | 2007-05-30 | 2011-08-02 | Red Hat, Inc. | Queuing for thread pools using number of bytes |
-
2008
- 2008-09-30 JP JP2008252315A patent/JP5509564B2/ja active Active
-
2009
- 2009-06-29 US US12/493,873 patent/US8201017B2/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100872A (ja) * | 1991-10-04 | 1993-04-23 | Mitsubishi Electric Corp | タスク間通信管理方法 |
JPH08511120A (ja) * | 1993-12-30 | 1996-11-19 | インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン | データ処理システム及び待ち行列管理方法 |
JPH0969053A (ja) * | 1995-08-31 | 1997-03-11 | Toshiba Corp | メッセージ受信機構に於けるマルチスレッド制御方式及びキューイング方式 |
US5978933A (en) * | 1996-01-11 | 1999-11-02 | Hewlett-Packard Company | Generic fault tolerant platform |
JPH09282296A (ja) * | 1996-04-10 | 1997-10-31 | Hitachi Ltd | 多重化ノード間通信制御方式 |
JPH1153202A (ja) * | 1997-07-30 | 1999-02-26 | Internatl Business Mach Corp <Ibm> | 並列トランザクション処理システム |
JP3788697B2 (ja) * | 1998-11-18 | 2006-06-21 | 富士通株式会社 | メッセージ制御装置 |
JP2001290637A (ja) * | 2000-04-05 | 2001-10-19 | Nec Corp | コンポーネントの動的置換装置及びコンピュータ読み取り可能な記憶媒体 |
JP2002229943A (ja) * | 2001-02-05 | 2002-08-16 | Hitachi Ltd | サービスレベル制御機構を有するトランザクション処理システム及びそのためのプログラム |
JP2003271404A (ja) * | 2002-03-19 | 2003-09-26 | Fujitsu Ltd | マルチプロセッサシステム |
JP2003345609A (ja) * | 2002-05-27 | 2003-12-05 | Nippon Telegr & Teleph Corp <Ntt> | トランザクション処理装置、同装置のトランザクション処理方法、トランザクション処理プログラムおよび同プログラムを記録したコンピュータ読み取り可能な記録媒体 |
US20080163249A1 (en) * | 2003-05-28 | 2008-07-03 | International Business Machines Corporation | System for Workload Balancing by Resetting an Average Queue Depth upon the Start of the Server Instance |
JP2005173643A (ja) * | 2003-12-05 | 2005-06-30 | Toshiba Corp | コンピュータシステム及びそのオペレーティング方法 |
JP2005235228A (ja) * | 2004-02-20 | 2005-09-02 | Sony Computer Entertainment Inc | マルチプロセッサシステムにおけるタスク管理方法および装置 |
JP2005284781A (ja) * | 2004-03-30 | 2005-10-13 | Nomura Research Institute Ltd | Mqデータ同期システム及びmqデータ同期プログラム |
JP2007079936A (ja) * | 2005-09-14 | 2007-03-29 | Hitachi Ltd | ジョブ処理システムの制御方法、ジョブ処理システム、管理装置の制御方法、管理装置、及びプログラム |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7421052B2 (ja) | 2019-03-15 | 2024-01-24 | アイコム株式会社 | サーバシステムおよびプロセスの冗長化方法 |
Also Published As
Publication number | Publication date |
---|---|
JP5509564B2 (ja) | 2014-06-04 |
US8201017B2 (en) | 2012-06-12 |
US20100083031A1 (en) | 2010-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3490224B1 (en) | Data synchronization method and system | |
JP6164747B2 (ja) | 協働環境におけるフロー制御のためのおよび信頼性のある通信のための方法 | |
CN107528891B (zh) | 一种基于WebSocket的自动集群方法及其系统 | |
EP3817338B1 (en) | Method and apparatus for acquiring rpc member information, electronic device and storage medium | |
JP5509564B2 (ja) | メッセージ送信方法及びプログラム | |
US9967360B2 (en) | Method and system for information exchange utilizing an asynchronous persistent store protocol | |
CN111787079A (zh) | 基于通信群组的通信方法、装置、服务器、系统及介质 | |
EP3496337B1 (en) | Method and device for resetting network device to factory settings, and network device | |
JP4550604B2 (ja) | 設定情報同期プログラム | |
JP4415391B2 (ja) | データをネットワークに送信する方法及び装置並びにデータをネットワークから受信する方法及び装置 | |
JP3515839B2 (ja) | コンピュータシステム間通信システム | |
US20230146880A1 (en) | Management system and management method | |
JP2009217765A (ja) | 複数宛先への同期送信方法、その実施システム及び処理プログラム | |
US9467501B2 (en) | Relay server system | |
JP5945367B2 (ja) | ウェブページ間で通信を行うための方法およびシステム | |
CN113259408A (zh) | 数据传输方法和系统 | |
US20150081867A1 (en) | Obtaining a mac address from an external source | |
JP2016018222A (ja) | キューサーバ | |
CN114051047B (zh) | 一种会话消息的备份方法、装置、网络设备和存储介质 | |
US11277473B1 (en) | Coordinating breaking changes in automatic data exchange | |
CN113660339B (zh) | 用于去中心化集群的方法和装置 | |
KR102367017B1 (ko) | 통신 네트워크 시스템 및 그것의 제어방법 | |
CN108011849B (zh) | 表项同步方法及装置 | |
CN117201575A (zh) | 数据发送方法、装置、设备及介质 | |
CN115086153A (zh) | 消息处理系统、消息处理方法、设备和存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110708 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130607 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130625 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130826 |
|
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: 20140225 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140310 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5509564 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |