JP2002269037A - Server and data transmitting method - Google Patents

Server and data transmitting method

Info

Publication number
JP2002269037A
JP2002269037A JP2001069282A JP2001069282A JP2002269037A JP 2002269037 A JP2002269037 A JP 2002269037A JP 2001069282 A JP2001069282 A JP 2001069282A JP 2001069282 A JP2001069282 A JP 2001069282A JP 2002269037 A JP2002269037 A JP 2002269037A
Authority
JP
Japan
Prior art keywords
terminal
transmission data
terminal group
queue
transmission
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.)
Pending
Application number
JP2001069282A
Other languages
Japanese (ja)
Inventor
Yukio Fukuda
由紀雄 福田
Masahito Takada
雅仁 高田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001069282A priority Critical patent/JP2002269037A/en
Publication of JP2002269037A publication Critical patent/JP2002269037A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a server for automatically grouping terminals on the management of terminal groups when the terminal is increased or removed. SOLUTION: The server 1 transmitting data to terminals 61, 62, 63 and 64 is provide with a terminal group managing table 40 constituted of terminal names and terminal group numbers on the terminals, transmission data queues 21 and 22 corresponding to the terminal group numbers and terminal transmission processes 31 and 32 transmitting data to the terminals on the terminal group numbers in accordance with the transmission data queues 21 and 22. The terminal group number is allocated to the terminal which is to transmit data on the terminal group management table 40 based on the notice of a terminal state change from the terminal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数の端末に対し
てデータ送信するサーバ及び複数の端末にサーバからデ
ータ送信するデータ送信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server for transmitting data to a plurality of terminals and a data transmission method for transmitting data from the server to a plurality of terminals.

【0002】[0002]

【従来の技術】この種、サーバと複数の端末とからな
り、サーバ側から送信対象となる端末に対してデータを
送信するシステムでは、サービス対象の端末台数が少な
い場合はサーバ側は1プロセスで全端末をサービスして
いる。
2. Description of the Related Art In a system of this kind, which comprises a server and a plurality of terminals, and transmits data from the server to the terminal to be transmitted, if the number of terminals to be serviced is small, the server is one process. All terminals are serviced.

【0003】しかし、端末台数が多い場合には、端末群
を複数のグループに分割し、このグループに対してサー
バ側の1プロセスを割当てる方式が採用されている。
However, when the number of terminals is large, a method is adopted in which a terminal group is divided into a plurality of groups and one process on the server side is assigned to the groups.

【0004】[0004]

【発明が解決しようとする課題】かかる方式では、接続
される全端末に対してグループ分けのテーブルをあらか
じめ用意しておかなければならない。
In such a system, a grouping table must be prepared in advance for all connected terminals.

【0005】この場合、端末の増減が比較的頻繁に実施
されるシステムでは端末のグループ割当て作業を頻繁に
実施しなければならない。
[0005] In this case, in a system in which the number of terminals is increased and decreased relatively frequently, the terminal group assignment work must be performed frequently.

【0006】また、端末のグループ分けは出来る限りラ
ンダムな割当てが良いので、増設や撤去の度には全端末
のグループ分けを見直すことが好ましいが、実際は増設
又は撤去部分の更新分のみ作業するのが実情である。
[0006] In addition, it is preferable that the terminal grouping be randomized as much as possible. Therefore, it is preferable to review the grouping of all terminals each time an extension or removal is performed. Is the actual situation.

【0007】本発明の目的は、端末増設/撤去時の端末
グループの管理に関し、事前に端末グループ管理テーブ
ルを作成することなく、端末のグループ化を自動的に実
行することが可能なサーバ及びデータ送信方法を提供す
ることを目的とする。
An object of the present invention relates to management of a terminal group when a terminal is added / removed, and a server and data capable of automatically executing grouping of terminals without creating a terminal group management table in advance. It is intended to provide a transmission method.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明にかかる、複数の端末に対してデータ送信する
サーバは、前記端末に係る端末名及び端末グループ番号
からなる端末グループ管理テーブルと、前記端末グルー
プ番号に対応した送信データキューと、この送信データ
キューに従って前記端末グループ番号に係る端末に対す
るデータ送信を行う端末送信プロセスと、前記端末から
の端末状態変化の通知に基づき前記端末グループ管理テ
ーブル上にデータ送信可能な端末に対し前記端末グルー
プ番号を割り当てる手段と、前記端末グループ管理テー
ブルを参照して前記端末に送信すべきし送信データを前
記送信キューに送信する手段とを具備することを特徴と
する。
According to the present invention, there is provided a server for transmitting data to a plurality of terminals, comprising a terminal group management table comprising terminal names and terminal group numbers of the terminals. A transmission data queue corresponding to the terminal group number, a terminal transmission process for transmitting data to the terminal according to the terminal group number according to the transmission data queue, and the terminal group management based on a notification of a terminal state change from the terminal. Means for allocating the terminal group number to a terminal capable of transmitting data on a table, and means for transmitting transmission data to the terminal by referring to the terminal group management table and transmitting transmission data to the transmission queue. It is characterized by.

【0009】また、上記目的を達成するために本発明に
かかる、サーバから複数の端末に対しデータ送信するデ
ータ送信方法は、前記端末から前記サーバに送信された
稼動状態及び非稼動状態通知に基づき該当端末名と端末
グループ番号を登録及び削除し、前記端末へのデータ送
信時に、前記登録した端末の端末グループ番号を送信デ
ータキューで登録することを特徴とする。
According to another aspect of the present invention, there is provided a data transmission method for transmitting data from a server to a plurality of terminals according to the present invention, based on an operation state and a non-operation state notification transmitted from the terminal to the server. The terminal name and the terminal group number are registered and deleted, and when transmitting data to the terminal, the terminal group number of the registered terminal is registered in a transmission data queue.

【0010】本発明によれば、端末から端末状態変化の
通知、例えば稼動状態通知のあった端末だけを端末グル
ープ管理テーブルに登録しておき、端末側から端末状態
変化の通知、例えば非稼動通知があった場合には当該端
末を端末グループ管理テーブルから削除することによ
り、初期状態では端末グループ管理テーブルに端末名を
登録しなく、端末から端末状態変化の通知があったとき
に端末グループ管理テーブルを作成するようにして、端
末の増設時や撤去時における端末グループの管理を容易
とすることができる。
According to the present invention, a terminal status change notification from a terminal, for example, only a terminal that has received an operation status notification is registered in a terminal group management table, and a terminal status change notification, for example, a non-operation notification from the terminal side. In the initial state, the terminal name is not registered in the terminal group management table by deleting the terminal from the terminal group management table when there is a terminal group management table. , The management of the terminal group at the time of adding or removing a terminal can be facilitated.

【0011】[0011]

【発明の実施の形態】図1は、第1実施形態のシステム
構成例である。
FIG. 1 is an example of a system configuration according to a first embodiment.

【0012】本実施形態のサーバ1は、端末61,6
2,63,64と接続されている。サーバ1は、サーバ
1内のアプリケーションプロセスである業務アプリケー
ション11,12を有し、これらの業務アプリケーショ
ン11,12が処理した結果、端末61,62,63,
64に対してデータ送信が発生する。
The server 1 of the present embodiment comprises terminals 61 and 6
2, 63, 64. The server 1 has business applications 11 and 12, which are application processes in the server 1. As a result of processing by the business applications 11, 12, the terminals 61, 62, 63,
Data transmission occurs to the 64.

【0013】端末グループ#1の送信データキュー21
及び端末グループ#2の送信データキュー22は、それ
ぞれ端末グループ#1の端末送信プロセス31,端末グ
ループ#2の端末送信プロセス32に対応している。業
務アプリケーション11,12が端末61,62,6
3,64にデータ送信する場合に、端末グループ管理テ
ーブル40を参照して、送信先端末名に対応した送信デ
ータキューを選択して送信データ20をキューに登録す
る。
Transmission data queue 21 of terminal group # 1
The transmission data queue 22 of the terminal group # 2 corresponds to the terminal transmission process 31 of the terminal group # 1 and the terminal transmission process 32 of the terminal group # 2, respectively. The business applications 11, 12 are terminals 61, 62, 6
When data is transmitted to 3, 64, the terminal refers to the terminal group management table 40, selects a transmission data queue corresponding to the destination terminal name, and registers the transmission data 20 in the queue.

【0014】端末送信プロセス31,32は、それぞれ
送信データキュー21,22に登録された送信データ2
1を順次読み出して、指定された送信先の端末61,6
2,63,64にデータを送信する。
The terminal transmission processes 31 and 32 transmit the transmission data 2 registered in the transmission data queues 21 and 22, respectively.
1 are sequentially read out and the designated destination terminals 61, 6
2, 63 and 64.

【0015】端末監視プロセス50は、端末61,6
2,63,64からの稼動状態変化通知を受け取ると、
端末グループ管理テーブル40を更新する。
The terminal monitoring process 50 includes terminals 61 and 6
When the operating status change notification is received from 2, 63, 64,
The terminal group management table 40 is updated.

【0016】図2は、送信データ20の構成例であり、
データ種別20s,送信先端末名20t,データバイト
サイズ20b,送信内容20dから構成されている。送
信先端末名21tは、複数の端末名を登録することも可
能であるが、ここでは説明を簡単にするため1件として
おく。
FIG. 2 shows an example of the structure of the transmission data 20.
It is composed of a data type 20s, a destination terminal name 20t, a data byte size 20b, and a transmission content 20d. Although it is possible to register a plurality of terminal names as the transmission destination terminal name 21t, here, one case is set for the sake of simplicity.

【0017】図3は、端末グループ管理テーブル40の
構成例である。運用面でのシステム管理者の負担を軽減
するために端末から稼動状態通知のあった端末だけを登
録しておき、端末側から非稼動通知があった場合には削
除する方式とする。即ち、所期状態では、端末名は何も
登録されていない。この方式により事前に端末グループ
管理テーブルを作成しておく必要はなくなる。
FIG. 3 shows a configuration example of the terminal group management table 40. In order to reduce the burden on the system administrator on the operation side, only the terminals that have been notified of the operation status from the terminals are registered, and when there is a non-operation notification from the terminal side, they are deleted. That is, in the expected state, no terminal name is registered. This method eliminates the need to create a terminal group management table in advance.

【0018】端末グループ管理テーブル40は、登録件
数400,#1レコードの端末名401t,#1レコー
ドの端末グループ番号401g,#2レコードの端末名
402t,#2レコードの端末グループ番号402g,
#3レコードの端末名403t,#3レコード端末グル
ープ番号403g,#4レコードの端末名404t,#
4レコード端末グループ番号404gなどから構成され
る。端末名が記入されていないレコードが空きレコード
となる。
The terminal group management table 40 includes a registration number 400, a terminal name 401t of the # 1 record, a terminal group number 401g of the # 1 record, a terminal name 402t of the # 2 record, a terminal group number 402g of the # 2 record,
# 3 record terminal name 403t, # 3 record terminal group number 403g, # 4 record terminal name 404t, #
It is composed of four record terminal group numbers 404g and the like. Records without terminal names are empty records.

【0019】次に上述した構成の下で本発明に係るデー
タ送信方法を説明する。本方法は、業務アプリケーショ
ン11,12のプロセスが、端末グループ管理テーブル
40を直接参照して端末グループ番号に応じた送信デー
タキュー21又は22に送信データを登録する例であ
る。
Next, a data transmission method according to the present invention with the above configuration will be described. This method is an example in which the processes of the business applications 11 and 12 refer to the terminal group management table 40 and register the transmission data in the transmission data queue 21 or 22 corresponding to the terminal group number.

【0020】図4のフローチャートは、かかる例におけ
る端末から端末状態変化の通知、つまり稼動状態通知又
は非稼動状態通知を受信した場合の端末監視プロセス5
0を動作を示す。
FIG. 4 is a flowchart showing a terminal monitoring process 5 when a terminal status change notification from the terminal in this example, that is, an operation status notification or a non-operation status notification is received.
0 indicates operation.

【0021】先ず、ステップS101として、端末から
稼動状態変化通知を受信したか否かを調べる。ここで、
端末61,端末62,端末63,端末64から稼動状態
の変化の通知を受信している場合にはステップS102
へ進み、そうでない場合には終わりとする。
First, as step S101, it is checked whether or not an operating state change notification has been received from the terminal. here,
If a notification of a change in the operating state has been received from the terminal 61, the terminal 62, the terminal 63, or the terminal 64, the process proceeds to step S102.
Proceed to, otherwise end.

【0022】ステップS102では、通知内容が「稼動
状態」の通知か否かを調べる。通知内容が「稼動状態」
であればステップS103へ進み、そうでなければステ
ップS105へ進む。
In step S102, it is checked whether or not the notification content is a notification of "operating state". Notification content is "Operation status"
If so, the process proceeds to step S103; otherwise, the process proceeds to step S105.

【0023】ステップS103では、乱数を用いて端末
グループ番号を計算する。すなわち、端末グループの数
値、即ち端末送信プロセスの数をmとすれば、1からm
までの正整数の乱数を発生させる。例えば、図1では、
端末送信プロセスの数が2であるので、乱数の発生結果
は1又は2となる。
In step S103, a terminal group number is calculated using a random number. That is, if the numerical value of the terminal group, that is, the number of terminal transmission processes is m, 1 to m
Generate a random number of positive integers up to. For example, in FIG.
Since the number of terminal transmission processes is two, the result of random number generation is one or two.

【0024】ステップS104では、端末グループ管理
テーブル40に該当端末の情報を登録する。例えば、端
末名が端末62で、乱数の発生結果が2であったとし、
端末グループ管理テーブル40の空きレコードが#1レ
コードであったとする。
In step S104, the information of the corresponding terminal is registered in the terminal group management table 40. For example, if the terminal name is the terminal 62 and the random number generation result is 2,
It is assumed that the empty record in the terminal group management table 40 is the # 1 record.

【0025】この場合、端末状態管理テーブル40の#
1レコードに、#1レコードの端末名401tに端末6
2を書込む。
In this case, # in the terminal status management table 40
In one record, the terminal 6 is assigned to the terminal name 401t of the # 1 record.
Write 2.

【0026】次に、#1レコードの端末グループ番号4
01gに、乱数発生結果の値を書込む。
Next, the terminal group number 4 of the # 1 record
In 01g, the value of the random number generation result is written.

【0027】次に、登録件数400を+1とし、終わり
となる。
Next, the number of registered items 400 is set to +1 and the process ends.

【0028】尚、該当端末名が既に端末グループ管理テ
ーブル40に登録済みであれば、何もしないで終わりと
する。
If the corresponding terminal name has already been registered in the terminal group management table 40, the process ends without doing anything.

【0029】ステップS105では、通知内容が「非稼
動状態」の通知か否かを調べる。ここで、通知内容が
「非稼動状態」であればSステップS106へ進み、そ
うでなければ終わりとなる。
In step S105, it is checked whether or not the content of the notification is a "non-operating state" notification. Here, if the notification content is “non-operational state”, the process proceeds to S step S106, and if not, the process ends.

【0030】ステップS106では、端末グループ管理
テーブル40から該当端末の情報を削除する。端末グル
ープ管理テーブル40のレコードに端末名、端末62が
登録済みかどうか調べる。もし、端末名として、端末6
1が登録済みであり、そのレコードが#1レコードであ
るとすれば、#1レコードの端末名401tをクリア
し、#1レコードの端末グループ番号401gをクリア
し、登録件数400を−1とし、終わりとなる。
In step S106, the information of the corresponding terminal is deleted from the terminal group management table 40. It is checked whether the terminal name and the terminal 62 are already registered in the record of the terminal group management table 40. If the terminal name is terminal 6
If 1 is already registered and the record is the # 1 record, the terminal name 401t of the # 1 record is cleared, the terminal group number 401g of the # 1 record is cleared, and the number of registered items 400 is set to −1, It is the end.

【0031】次に、図5のフローチャートを参照して業
務アプリケーション11,12による、端末への送信デ
ータの送信要求時の動作を示す。
Next, the operation of the business applications 11 and 12 when requesting transmission of transmission data to the terminal by the business applications 11 and 12 will be described with reference to the flowchart of FIG.

【0032】先ず、ステップS201において端末グル
ープ管理テーブル40を参照して、送信先端末の所属す
る端末グループ番号を調べる。すなわち、送信データ2
0の送信先端末名を調べる。例えば、端末62であった
とする。
First, in step S201, the terminal group number to which the destination terminal belongs is checked with reference to the terminal group management table 40. That is, transmission data 2
Check the destination terminal name of 0. For example, assume that the terminal 62 is used.

【0033】次に、ステップS202で、端末グループ
番号に対応する送信データキュー#に送信データを登録
する。端末グループ管理テーブル40のレコードで端末
名として端末62のレコードを探す。例えば、#1レコ
ードに登録されていたとすれば、#1レコードの端末グ
ループ番号401gを得る。端末グループ番号401g
の値が示す送信データキューに送信データ20を登録す
る。
Next, in step S202, transmission data is registered in the transmission data queue # corresponding to the terminal group number. The record of the terminal 62 is searched as the terminal name in the record of the terminal group management table 40. For example, if it is registered in the # 1 record, the terminal group number 401g of the # 1 record is obtained. Terminal group number 401g
The transmission data 20 is registered in the transmission data queue indicated by the value of.

【0034】例えば、#1レコードの端末グループ番号
の値が「2」であれば、端末グループ#2の送信データ
キュー22に送信データを登録し、終わりとする。
For example, if the value of the terminal group number of the # 1 record is "2", the transmission data is registered in the transmission data queue 22 of the terminal group # 2, and the processing is ended.

【0035】図6のフローチャートで端末にデータ送信
する端末送信プロセス31,32の動作を示す。
The operation of the terminal transmission processes 31 and 32 for transmitting data to the terminal is shown in the flowchart of FIG.

【0036】先ず、ステップS301において、送信デ
ータキューから送信データを取り出す。例えば、端末送
信プロセス32であれば、端末グループ#2の送信デー
タキュー22から送信データ20を取り出す。
First, in step S301, transmission data is extracted from the transmission data queue. For example, in the case of the terminal transmission process 32, the transmission data 20 is extracted from the transmission data queue 22 of the terminal group # 2.

【0037】次に、ステップS302で、キューは空か
否かを調べる。
Next, in step S302, it is checked whether or not the queue is empty.

【0038】ここで、キューが空であれば終わりとな
り、そうでなければステップS303へ進む。
Here, if the queue is empty, the process ends; otherwise, the process proceeds to step S303.

【0039】ステップS303では、送信データを端末
に送信する。すなわち、送信データ20から送信先端末
名20tを求める。該当端末に送信データ20を送信
し、ステップ301に戻る。
In step S303, the transmission data is transmitted to the terminal. That is, the destination terminal name 20t is obtained from the transmission data 20. The transmission data 20 is transmitted to the corresponding terminal, and the process returns to step 301.

【0040】以上のように本実施形態によれば、次のよ
うな作用を奏する。すなわち、サーバ側の端末送信プロ
セス数を追加しないで端末数を増加した場合は、追加さ
れた端末は、端末からの稼動状態通知時に、端末グルー
プの番号が乱数により割当てられる。
As described above, according to the present embodiment, the following operation is achieved. That is, when the number of terminals is increased without adding the number of terminal transmission processes on the server side, the number of the added terminal is assigned by a random number when the operation status is notified from the terminal.

【0041】また、サーバ側の端末送信プロセス数を追
加し、端末数は変更しない場合は、端末からの稼動状態
通知時に端末グループの番号が乱数により割当てられ、
しかも端末グループ番号の最大値は、サーバ側の端末送
信プロセス数と連動しているので自動的に端末グループ
の割当てが変更される。
If the number of terminal transmission processes on the server side is added and the number of terminals is not changed, the terminal group number is assigned by a random number when the operation status is notified from the terminal.
Moreover, since the maximum value of the terminal group number is linked to the number of terminal transmission processes on the server side, the terminal group assignment is automatically changed.

【0042】さらに、端末からの稼動状態通知時に端末
グループを割当てるので、稼動中の端末に対して均等な
グループ割当てが実現される。
Further, a terminal group is assigned when the operation status is notified from the terminal, so that an even group can be assigned to the operating terminals.

【0043】例えば、事前割当て方式であれば、事前に
グループ#1に割当てられた端末だけが稼動し、他のグ
ループは稼動していない場合には、実質的に稼動するサ
ーバ側の端末送信プロセスは端末グループ#1のプロセ
スのみで他のプロセスは遊ぶことになる。しかし、本発
明では、端末グループに対応したサーバ側の全ての端末
送信プロセスに対して均等に稼動中の端末のグループが
自動的に割当てられるので、運用者が端末グループの割
当てを気にしなくてもシステムを効率よく運用すること
ができる。
For example, in the case of the pre-allocation method, only the terminal previously allocated to the group # 1 operates, and when the other groups are not operating, the terminal transmission process on the server which is substantially activated Means only the process of terminal group # 1 and the other processes play. However, according to the present invention, a group of operating terminals is automatically allocated equally to all terminal transmission processes on the server side corresponding to the terminal group, so that the operator does not have to worry about the terminal group allocation. Can also operate the system efficiently.

【0044】次に、図7を参照して本発明に係るサーバ
の第2実施形態を説明する。
Next, a second embodiment of the server according to the present invention will be described with reference to FIG.

【0045】本実施形態では、第1実施形態の構成を示
す図1と同一部分には同一符号を付し、その説明は省略
する。
In this embodiment, the same parts as those in FIG. 1 showing the configuration of the first embodiment are denoted by the same reference numerals, and the description thereof will be omitted.

【0046】本実施形態では、業務アプリケーションの
プロセスは端末グループ番号を意識する必要はなく、送
信データ振り分けキュー80に登録するだけである。
In this embodiment, the business application process does not need to be aware of the terminal group number, but only registers it in the transmission data distribution queue 80.

【0047】送信データ振り分けプロセス70は、送信
データ振り分けキュー80に登録された送信データ20
の送信先端末名に対応した端末グループ番号を端末管理
テーブルを参照して求め、端末グループ番号に応じた送
信データキューに送信データを登録し直している。
The transmission data distribution process 70 is for transmitting the transmission data 20 registered in the transmission data distribution queue 80.
The terminal group number corresponding to the destination terminal name is obtained by referring to the terminal management table, and the transmission data is registered again in the transmission data queue corresponding to the terminal group number.

【0048】次に、図8に示すフローチャートを参照し
て業務アプリケーション11,12の端末へのデータの
送信要求時の動作を示す。すなわち、ステップS401
として、送信データ20を送信データ振り分けキュー8
0に登録し、終わりとなる。
Next, referring to the flowchart shown in FIG. 8, the operation of the business applications 11 and 12 at the time of requesting data transmission to the terminal will be described. That is, step S401
As the transmission data distribution queue 8
Register 0 and end.

【0049】また、図9は、送信データ振り分けプロセ
ス70の動作を示している。
FIG. 9 shows the operation of the transmission data distribution process 70.

【0050】先ず、ステップS501にて、送信データ
振り分けキューから送信データを取り出す。すなわち、
送信データ振り分けキュー80から送信データ20を取
り出す。
First, in step S501, the transmission data is extracted from the transmission data distribution queue. That is,
The transmission data 20 is extracted from the transmission data distribution queue 80.

【0051】次に、ステップS502にて、キューは空
か否かを調べる。送信データ振り分けキュー80が空で
あれば終わりとなり、そうでなければステップS503
へ進む。
Next, in step S502, it is checked whether the queue is empty. If the transmission data distribution queue 80 is empty, the process ends, otherwise, step S503.
Proceed to.

【0052】ステップS503では、送信データから送
信先の端末名を調べる。すなわち、送信データ20から
送信先端末名21tを得る。例えば、端末62であると
する。
In step S503, the terminal name of the transmission destination is checked from the transmission data. That is, the destination terminal name 21t is obtained from the transmission data 20. For example, assume that the terminal 62 is used.

【0053】ステップS504では、端末グループ管理
テーブル40を参照して送信先端末の端末グループ番号
を調べる。すなわち、端末グループ管理テーブル40の
レコードに登録されている送信先端末名として端末62
のレコードを探す。例えば、#1レコードであるとす
る。#1レコードの端末グループ番号401gが求める
ものであり、この値は2である。
In step S504, the terminal group number of the destination terminal is checked with reference to the terminal group management table 40. That is, the terminal 62 is used as the destination terminal name registered in the record of the terminal group management table 40.
Find the record for For example, assume that the record is # 1. The terminal group number 401g of the # 1 record is obtained, and this value is 2.

【0054】次に、ステップS505にて、端末グルー
プ番号に対応した送信データキュー#に送信データを登
録する。端末グループ番号の値の示す送信データキュー
に登録する。例えば、端末グループ番号が2であれば、
端末グループ#2の送信データキュー22に登録し、ス
テップS501に戻る。
Next, in step S505, the transmission data is registered in the transmission data queue # corresponding to the terminal group number. Register in the transmission data queue indicated by the value of the terminal group number. For example, if the terminal group number is 2,
It is registered in the transmission data queue 22 of the terminal group # 2, and returns to step S501.

【0055】以上詳述した本実施形態によれは、第1実
施形態と同様の作用効果を得ることができる上に、次の
ような効果も得られる。すなわち、第1実施形態は、端
末グループ番号を業務アプリケーションに意識させる方
法であるが、第2実施形態でき業務アプリケーションに
端末グループ番号を意識させないというシステム構築上
の利点がある。
According to the present embodiment described in detail above, the same effects as those of the first embodiment can be obtained, and the following effects can also be obtained. That is, the first embodiment is a method for making the business application aware of the terminal group number. However, the second embodiment has an advantage in system construction that the business application is not made aware of the terminal group number.

【0056】[0056]

【発明の効果】以上のように本発明によれば、端末の増
設時や撤去時の端末グループの管理に関し、端末のグル
ープ化を自動的に実行することが可能なサーバ及びデー
タ送信方法を提供することができる
As described above, according to the present invention, a server and a data transmission method capable of automatically executing grouping of terminals with respect to management of terminal groups when adding or removing terminals are provided. can do

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態のサーバのシステム構成
例を示す図。
FIG. 1 is a diagram showing an example of a system configuration of a server according to a first embodiment of the present invention.

【図2】同実施形態における送信データの構成例を示す
図。
FIG. 2 is an exemplary view showing a configuration example of transmission data in the embodiment.

【図3】同実施形態における端末グループ管理テーブル
の構成例を示す図。
FIG. 3 is an exemplary view showing a configuration example of a terminal group management table in the embodiment.

【図4】同実施形態における端末から稼動状態変化の通
知を受信した場合の端末監視プロセスの動作を示すフロ
ーチャート。
FIG. 4 is an exemplary flowchart illustrating the operation of a terminal monitoring process when a notification of an operating state change is received from the terminal in the embodiment.

【図5】同実施形態における業務アプリケーションの端
末への送信データの総新要求時の動作を示すフローチャ
ート。
FIG. 5 is an exemplary flowchart illustrating the operation of the business application at the time of a total new request for transmission data to the terminal according to the embodiment;

【図6】同実施形態における端末にデータ送信する場合
の端末送信プロセスの動作を示すフローチャート。
FIG. 6 is an exemplary flowchart illustrating the operation of a terminal transmission process when data is transmitted to the terminal in the embodiment.

【図7】本発明の第2実施形態のサーバのシステム構成
例を示す図。
FIG. 7 is a diagram illustrating a system configuration example of a server according to a second embodiment of the present invention.

【図8】同実施形態における業務アプリケーションの端
末への送信データの総新要求時の動作を示すフローチャ
ート。
FIG. 8 is an exemplary flowchart showing the operation of the business application at the time of a total new request for transmission data to the terminal in the embodiment;

【図9】同実施形態における送信データ振り分けプロセ
スの動作を示すフローチャート。
FIG. 9 is an exemplary flowchart showing the operation of a transmission data distribution process in the embodiment.

【符号の説明】[Explanation of symbols]

1,1´ サーバ 11,12 業務アプリケーション 21,22 送信データキュー 31,32 端末送信プロセス 40 端末グループ管理テーブル 50 端末監視プロセス 70 送信データ振り分けプロセス 80 送信データ振り分けキュー 1,1 'server 11,12 business application 21,22 transmission data queue 31,32 terminal transmission process 40 terminal group management table 50 terminal monitoring process 70 transmission data distribution process 80 transmission data distribution queue

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成13年4月19日(2001.4.1
9)
[Submission date] April 19, 2001 (2001.4.1
9)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0010】本発明によれば、端末から端末状態変化の
通知、例えば稼動状態通知のあった端末だけを端末グル
ープ管理テーブルに登録しておき、端末側から端末状態
変化の通知、例えば非稼動通知があった場合には当該端
末を端末グループ管理テーブルから削除することによ
り、初期状態では端末グループ管理テーブルに端末名を
登録しなく、端末から端末状態変化の通知があったとき
に端末グループ管理テーブルを作成するようにして、端
末の増設時や撤去時における端末グループの管理を容易
とすることができる。また上記目的を達成するために本
発明にかかる、複数の端末に対してデータ送信するサー
バは、前記端末に係る端末名及び端末グループ番号から
なる端末グループ管理テーブルと、前記端末グループ番
号に対応した送信データキューと、この送信データキュ
ーに従って前記端末グループ番号に係る端末に対するデ
ータ送信を行う端末送信プロセスと、業務アプリケーシ
ョンプログラムの実行に係る送信データが登録される送
信データ振り分けキューと、前記送信データ振り分けキ
ューは、前記送信データ振り分けキューに登録された前
記業務アプリケーションプログラムの実行に係る送信デ
ータの送信先端末名を識別し、前記端末グループ管理テ
ーブルを参照して前記送信先端末名に対応した端末グル
ープ番号を求め、この端末グループ番号に対応して前記
送信データを前記送信データキューに登録する送信デー
タ振り分けプロセスとを具備することを特徴とする。上
記目的を達成するために本発明にかかる、サーバから複
数の端末に対しデータ送信するデータ送信方法は、業務
アプリケーションプログラムの実行により送信データを
送信データ振り分けキューに登録し、送信データ振り分
けプロセスによって前記送信データ振り分けキューに登
録された送信データの送信先端末名を識別し、端末グル
ープ管理テーブルを参照して送信先端末名に対応した端
末グループ番号を求め、この端末グループ番号に対応し
た送信データキューに登録することを特徴とする。この
ような本発明によれば、業務アプリケーションプログラ
ムは、送信先端末名を意識することなく送信データ振り
分けキューに送信データを登録するだけで、送信データ
振り分けプロセスによって送信処理が行われるので、業
務アプリケーションプログラムの数が多い場合、システ
ムの変更箇所が少なくして端末グループの管理を容易に
行うことができる。
According to the present invention, a terminal status change notification from a terminal, for example, only a terminal that has received an operation status notification is registered in the terminal group management table, and a terminal status change notification, for example, a non-operation notification from the terminal side. In the initial state, the terminal name is not registered in the terminal group management table by deleting the terminal from the terminal group management table when there is a terminal group management table. , The management of the terminal group at the time of adding or removing a terminal can be facilitated. In addition, the book
A service for transmitting data to a plurality of terminals according to the invention
Is calculated from the terminal name and the terminal group number of the terminal.
Terminal group management table and the terminal group number
Data queue corresponding to the
According to the terminal group number.
Terminal transmission process for data transmission and business application
Transmission data in which the transmission data related to the execution of the
Transmission data distribution queue and the transmission data distribution key.
The queue is the one before it was registered in the transmission data distribution queue.
Transmission data related to the execution of the business application program
The terminal name of the data transmission destination is identified,
Terminal group corresponding to the destination terminal name with reference to the
Group number, and according to this terminal group number,
Transmission data for registering transmission data in the transmission data queue
And a sorting process. Up
In order to achieve the above object, the server according to the present invention
The data transmission method for transmitting data to a number of terminals is a business
Send data by executing application program
Register in the transmission data distribution queue and distribute transmission data
The transmission data distribution queue by the
Identify the destination terminal name of the recorded transmission data, and
Terminal corresponding to the destination terminal name by referring to the
Terminal group number, and correspond to this terminal group number.
Registered in the transmission data queue. this
According to the present invention, the business application program
Data transmission without regard to the destination terminal name.
Just register the transmission data in the separation queue,
The transmission process is performed by the distribution process,
If the number of application programs is large,
Easier management of terminal groups with fewer system changes
It can be carried out.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の端末に対してデータ送信するサー
バにおいて、 前記端末に係る端末名及び端末グループ番号からなる端
末グループ管理テーブルと、前記端末グループ番号に対
応した送信データキューと、この送信データキューに従
って前記端末グループ番号に係る端末に対するデータ送
信を行う端末送信プロセスと、前記端末からの端末状態
変化の通知に基づき前記端末グループ管理テーブル上に
データ送信可能な端末に対し前記端末グループ番号を割
り当てる手段と、前記端末グループ管理テーブルを参照
して前記端末に送信すべきし送信データを前記送信キュ
ーに送信する手段とを具備することを特徴とするサー
バ。
1. A server for transmitting data to a plurality of terminals, comprising: a terminal group management table including a terminal name and a terminal group number relating to the terminal; a transmission data queue corresponding to the terminal group number; A terminal transmission process for transmitting data to a terminal associated with the terminal group number according to a queue, and allocating the terminal group number to a terminal capable of transmitting data on the terminal group management table based on a notification of a terminal state change from the terminal Means for transmitting to the terminal the transmission data to be transmitted to the terminal by referring to the terminal group management table.
【請求項2】 前記端末に対する端末グループ番号の割
当ては、乱数を用いることを特徴とする請求項1記載の
サーバ。
2. The server according to claim 1, wherein the terminal group number is assigned to the terminal by using a random number.
【請求項3】 送信データ振り分けキューと、送信デー
タ振り分けプロセスと、前記送信データ振り分けキュー
に業務アプリケーションプログラムの実行に係る送信デ
ータを登録し、前記送信データ振り分けプロセスに前記
送信データ振り分けキューに登録された送信データの送
信先端末名を識別し、前記端末グループ管理テーブルを
参照して前記送信先端末名に対応した端末グループ番号
を求め、この端末グループ番号に対応して前記送信デー
タを前記送信データキューに登録する手段とを具備する
ことを特徴とする請求項1記載のサーバ。
3. A transmission data distribution queue, a transmission data distribution process, and transmission data relating to execution of a business application program are registered in the transmission data distribution queue, and are registered in the transmission data distribution queue in the transmission data distribution process. The terminal group name corresponding to the destination terminal name by referring to the terminal group management table, and identifying the transmission data corresponding to the terminal group number. 2. The server according to claim 1, further comprising means for registering in a queue.
【請求項4】 サーバから複数の端末に対しデータ送信
するデータ送信方法において、 前記端末から前記サーバに送信された稼動状態及び非稼
動状態通知に基づき該当端末名と端末グループ番号を登
録及び削除し、前記端末へのデータ送信時に、前記登録
した端末の端末グループ番号を送信データキューで登録
することを特徴とするデータ送信方法。
4. A data transmission method for transmitting data from a server to a plurality of terminals, comprising: registering and deleting a corresponding terminal name and a terminal group number based on an operation state and a non-operation state notification transmitted from the terminal to the server. And transmitting the data to the terminal by registering the terminal group number of the registered terminal in a transmission data queue.
【請求項5】 前記送信データキューへの前記端末グル
ープ番号の登録は、前記端末にデータ送信するアプリケ
ーションプログラムによる前記端末グループ管理テーブ
ルの参照に引続いて行われることを特徴とする請求項4
記載のデータ送信方法。
5. The registration of the terminal group number in the transmission data queue is performed following reference to the terminal group management table by an application program that transmits data to the terminal.
Data transmission method described.
【請求項6】 前記端末グループ番号を送信データキュ
ーで登録するに先だって、業務アプリケーションプログ
ラムの実行により送信データを送信データ振り分けキュ
ーに登録し、送信データ振り分けプロセスによって前記
送信データ振り分けキューに登録された送信データの送
信先端末名を識別し、端末グループ管理テーブルを参照
して送信先端末名に対応した端末グループ番号を求め、
この端末グループ番号に対応した送信データキューに登
録することを特徴とする請求項5記載のデータ送信方
法。
6. Registering transmission data in a transmission data distribution queue by executing a business application program before registering the terminal group number in the transmission data queue, and registering the transmission data in the transmission data distribution queue by a transmission data distribution process. Identify the destination terminal name of the transmission data, find the terminal group number corresponding to the destination terminal name by referring to the terminal group management table,
6. The data transmission method according to claim 5, wherein the data is registered in a transmission data queue corresponding to the terminal group number.
JP2001069282A 2001-03-12 2001-03-12 Server and data transmitting method Pending JP2002269037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001069282A JP2002269037A (en) 2001-03-12 2001-03-12 Server and data transmitting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001069282A JP2002269037A (en) 2001-03-12 2001-03-12 Server and data transmitting method

Publications (1)

Publication Number Publication Date
JP2002269037A true JP2002269037A (en) 2002-09-20

Family

ID=18927337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001069282A Pending JP2002269037A (en) 2001-03-12 2001-03-12 Server and data transmitting method

Country Status (1)

Country Link
JP (1) JP2002269037A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370773C (en) * 2004-07-12 2008-02-20 华为技术有限公司 A system and method for implementing dynamic cluster reorganization based on VPN

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370773C (en) * 2004-07-12 2008-02-20 华为技术有限公司 A system and method for implementing dynamic cluster reorganization based on VPN

Similar Documents

Publication Publication Date Title
JP3364587B2 (en) System and method for controlling transmission of relatively large data objects in a communication system
JPS61289458A (en) Inter-process communication apparatus
US9015308B2 (en) Multilayer distributed processing system
CN1089973C (en) System and methods for transmitting and receiving data in connection with communication stack in communications system
JPH10301871A (en) System and method for controlling transmission of relatively large data object in communication system
JPH05102972A (en) Method and apparatus for selective message insertion
JPH1078943A (en) Group event management method and device in distributed computer environment
JP3584630B2 (en) Classification and aggregation processing method in database processing system
JP6543246B2 (en) Network interface
CN101253500B (en) Method for managing I/O
WO2021120754A1 (en) Instruction writing method and apparatus, and network device
JPS61289457A (en) Data managing apparatus for decentralized processing system
JP4548037B2 (en) Cache memory management method, storage device or computer system
JP2002269037A (en) Server and data transmitting method
JP2896394B2 (en) File server device
JP2004241979A (en) Authentication server, frame transfer network, program for realizing authentication server, and recording medium for recording program
CN114726657A (en) Method and device for interrupt management and data receiving and sending management and intelligent network card
CN114640678A (en) Pod management method, device and medium based on SR-IOV
US7146462B2 (en) Storage management method
JP2001306286A (en) Print job management system and method on network
JP2013186765A (en) Batch processing system, progress confirmation device, progress confirmation method and program
JP2994138B2 (en) Catalog Variable Management Method for Interactive Processing System
JP2015001766A (en) Asset management system and asset management method
WO2021157089A1 (en) Network management device, method and program
JP2009053804A (en) Community management apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20060718

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060822

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061023

A131 Notification of reasons for refusal

Effective date: 20061121

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20070119

Free format text: JAPANESE INTERMEDIATE CODE: A523

A02 Decision of refusal

Effective date: 20070313

Free format text: JAPANESE INTERMEDIATE CODE: A02