JPH10289188A - Server-client communication priority controller - Google Patents

Server-client communication priority controller

Info

Publication number
JPH10289188A
JPH10289188A JP9100011A JP10001197A JPH10289188A JP H10289188 A JPH10289188 A JP H10289188A JP 9100011 A JP9100011 A JP 9100011A JP 10001197 A JP10001197 A JP 10001197A JP H10289188 A JPH10289188 A JP H10289188A
Authority
JP
Japan
Prior art keywords
communication
client
server
priority
information
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
JP9100011A
Other languages
Japanese (ja)
Inventor
Kenichi Kanbe
賢一 神部
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9100011A priority Critical patent/JPH10289188A/en
Publication of JPH10289188A publication Critical patent/JPH10289188A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To keep the load of a server and a network at each fixed level and to secure the effective communication by adding the priority to every information to be communicated and performing the communication control to notify a client of the communication start time via the server. SOLUTION: A server S stores a current client C and the number of processes under communication in a communication process number storage part M2 and also decides the upper limit of the communication process number. If the number of processes under communication exceeds its upper limit value on the inquiry about the propriety of communication of the client C, a priority class and the priority class-based sequence are stored in a communication wait list storage part M1 based on the priority class attendant on the communication request information on the client C. When the number of processes under communication becomes less than its upper limit value, the communication is allowed to the request of the highest priority based on the priority class and the priority class-based sequence stored in the part M1. Then a communication enable state is notified to the client C and the communication is started.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、サーバ・クライ
アント間の情報通信装置に係わり、特にサーバ・クライ
アント間の通信の優先度を制御する装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information communication apparatus between a server and a client, and more particularly to an apparatus for controlling the priority of communication between a server and a client.

【0002】[0002]

【従来の技術】図6は従来例のクライアントとサーバの
通信方法を示す図である。図中で、通信は通信を受け付
けるサーバSと、通信を要求するクライアントC間で行
われ、サーバSは通信を受け付けるたびに通信のために
必要となる記憶領域Mを確保し、通信が終了したことに
より通信のために確保した記憶領域を解放する方式であ
る。この通信の方法については、「UNIXネットワー
クプログラミング、オーム社、1993」に詳しく説明
されている。
2. Description of the Related Art FIG. 6 is a diagram showing a conventional communication method between a client and a server. In the figure, communication is performed between a server S that accepts communication and a client C that requests communication. The server S secures a storage area M required for communication each time it accepts communication, and the communication ends. This is a method of releasing a storage area secured for communication. This communication method is described in detail in "UNIX Network Programming, Ohmsha, 1993".

【0003】[0003]

【発明が解決しようとする課題】従来の通信制御装置
は、通信を受け付けた順に処理を行い、また、受け付け
た情報を並列的に通信処理を行っていたため、通信の要
求が増大し、記憶領域の使用量が増大することでサーバ
Sの負荷が高くなった場合、通信が非常に遅くなること
があり、またサーバSの処理遅延によりネットワークの
負荷が増大し、障害の一要因となるという問題点があっ
た。
The conventional communication control apparatus performs processing in the order in which the communication is received, and performs communication processing of the received information in parallel. If the load on the server S increases due to an increase in the usage of the server, communication may be extremely slow, and the processing load on the server S may increase the load on the network and cause a failure. There was a point.

【0004】[0004]

【課題を解決するための手段】第1の発明によるサーバ
・クライアント間通信優先度制御装置は、クライアント
は、サーバへ通信の可否を問い合わせる問い合わせを行
い、サーバは、各クライアントに対し通信の可否を含む
識別子を与え、上記サーバとクライアントとの通信にお
いて識別子に従い通信制御を行う通信制御手段を備え、
上記通信制御手段は、サーバにおいて上記各クライアン
トとの通信を受付ける受付手段と、各種情報が、それぞ
れの情報に対してあらかじめ定めた優先度を持ち、サー
バは、記憶装置にクライアントからの問い合わせがあっ
た時間と、問い合わせがあったクライアントの名称と、
クライアントが送信要求を行った情報の優先度を記憶装
置に保持する保持手段と、各クライアントの通信の優先
度毎に通信の可否を判別する判別手段と、前記判別を行
った結果を各クライアントに通知する通知手段とを備え
たものである。
According to a first aspect of the present invention, there is provided a server / client communication priority control apparatus in which a client makes an inquiry to a server to inquire whether communication is possible, and the server determines whether each client can communicate. A communication control means for giving an identifier including, and performing communication control according to the identifier in the communication between the server and the client,
The communication control means includes: a receiving means for receiving communication with each of the clients in the server; and various types of information having a predetermined priority with respect to each information. The server receives an inquiry from the client to the storage device. Time, the name of the client who contacted us,
Holding means for holding in the storage device the priority of the information for which the client has made a transmission request; determining means for determining whether or not communication is possible for each of the client's communication priorities; and providing the result of the determination to each client. Notification means for notifying.

【0005】第2の発明によるサーバ・クライアント間
通信優先度制御装置は、あらかじめ優先度ごとに問い合
わせを受けてからの経過時間に対する上限を設けること
により、経過時間の上限を超えた場合はクライアントが
通信を開始できることを判別する判別手段と、あらかじ
め同時に通信を実行できる通信プログラム起動数の上限
を設け、通信を実行できる通信プログラム起動数を優先
度ごとの通信受け付け状況から動的に変更できる変更手
段を設けたものである。
The server-client communication priority control apparatus according to the second aspect of the present invention sets an upper limit on the elapsed time after receiving an inquiry for each priority in advance, so that when the upper limit of the elapsed time is exceeded, the client will Determining means for determining that communication can be started, and changing means for setting an upper limit on the number of communication program activations that can simultaneously execute communication in advance and dynamically changing the number of communication program activations that can execute communication from the communication reception status for each priority Is provided.

【0006】第3の発明によるサーバ・クライアント間
通信優先度制御装置は、各種情報が、ある一定の大きさ
以上である場合は、クライアントからサーバへ通信の可
否を問い合わせる際に、情報を一定の大きさに分割し、
分割された情報ごとに問い合わせを行う問い合わせ手段
と、分割した情報の優先度を変更することにより通信の
遅延を少なくする優先度変更機能と、サーバで分割して
送られてきた情報を結合する機能を設けたものである。
In the server-client communication priority control apparatus according to the third invention, when various types of information are equal to or larger than a certain size, when the client inquires of the server whether or not communication is possible, the information is fixed. Divide into sizes,
Inquiring means for making an inquiry for each of the divided information, a priority changing function for reducing the communication delay by changing the priority of the divided information, and a function of combining the information divided and sent by the server Is provided.

【0007】[0007]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.図1は、この発明の実施の通信シーケン
スを示す図であり、クライアントCからの通信要求に対
し、当該クライアントCの名称、要求の受付時刻及び優
先度として各種情報が持つ優先度クラスと現在の同一優
先度クラスの中の受付順位として優先度クラス別順位を
通信待リスト記憶部M1に保存する。
Embodiment 1 FIG. FIG. 1 is a diagram showing a communication sequence according to an embodiment of the present invention. In response to a communication request from a client C, the name of the client C, the request reception time, and the priority class of various information as priority and the current The priority order by priority class is stored in the communication waiting list storage unit M1 as the reception order in the same priority class.

【0008】クライアントCでは、サーバSへ通信要求
を行う際、通信を行う情報がクライアントC側であらか
じめ定めた通信データ量の上限を超えていた場合、あら
かじめ定めたデータ量に分割し、分割した情報毎にサー
バSへ通信の要求を行う。この際、サーバSとの通信状
況から、通信遅延があらかじめ定めた値より大きくなる
場合は、後から送信要求を行う情報の優先度を1クラス
高くして通信要求を行う。
In the client C, when making a communication request to the server S, if the information to be communicated exceeds the upper limit of the communication data amount predetermined on the client C side, the communication is divided into the predetermined data amount and the divided data amount is divided. A communication request is made to the server S for each piece of information. At this time, if the communication delay becomes larger than a predetermined value due to the communication status with the server S, the communication request is made with the priority of the information for which the transmission request is made later increased by one class.

【0009】次にサーバSでは現在の通信プロセス数の
上限値及び現在通信を行っている通信プロセス数を通信
プロセス数記憶部M2に保持し、クライアントCからの
要求により現在の通信プロセス数があらかじめ定めたら
れた上限を超えているか通信プロセス数記憶部M2を検
査し、上限を超えていなければクライアントCに通信を
許可する。
Next, the server S stores the upper limit value of the current number of communication processes and the number of communication processes currently performing communication in the number-of-communications-processes storage unit M2. The number-of-communications-processes storage unit M2 is checked to see if it exceeds a predetermined upper limit, and if it does not exceed the upper limit, the client C is permitted to communicate.

【0010】通信を許可されたクライアントCは、サー
バSとの通信を開始する。この際サーバSは通信プロセ
ス数記憶部M2の数を1増加させる。
[0010] The client C permitted to communicate starts communication with the server S. At this time, the server S increases the number of the communication process number storage unit M2 by one.

【0011】サーバSでは、通信時にクライアントCで
情報を分割して送信した場合は、当該情報を結合を行
う。
In the server S, when information is divided and transmitted by the client C during communication, the information is combined.

【0012】クライアントCは通信終了後サーバSに通
信終了通知を行う。この際サーバSは通信プロセス数記
憶部M2の数を1減らす。
After the communication is completed, the client C notifies the server S of the communication completion. At this time, the server S decreases the number of the communication process number storage unit M2 by one.

【0013】実施の形態2.図1は、クライアントCか
らの通信要求に対し、当該クライアントCの名称、要求
の受付時刻及び優先度として各種情報が持つ優先度クラ
スと現在の同一優先度クラスの中の受付順位として優先
度クラス別順位を通信待リスト記憶部M1に保存する。
Embodiment 2 FIG. FIG. 1 shows, in response to a communication request from a client C, the name of the client C, the reception time of the request, and the priority class of the various information as the priority and the priority class as the reception priority in the current same priority class. Another order is stored in the communication waiting list storage unit M1.

【0014】クライアントCでは、サーバSへ通信要求
を行う際、通信を行う情報がクライアントC側であらか
じめ定めた通信データ量の上限を超えていた場合、あら
かじめ定めたデータ量に分割し、分割した情報毎にサー
バSへ通信の要求を行う。
In the client C, when making a communication request to the server S, if the information to be communicated exceeds the upper limit of the communication data amount predetermined on the client C side, the communication is divided into the predetermined data amount and the divided data amount is divided. A communication request is made to the server S for each piece of information.

【0015】次にサーバSでは現在の通信プロセス数の
上限値及び現在通信を行っている通信プロセス数を通信
プロセス数記憶部M2に保持し、クライアントCからの
要求により現在の通信プロセス数があらかじめ定められ
た上限を超えているか通信プロセス数記憶部M2を検査
し、上限を超えていればクライアントCに待機を通知す
る。
Next, the server S stores the upper limit value of the current number of communication processes and the number of communication processes currently performing communication in the number-of-communications-processes storage unit M2. The communication process number storage unit M2 is checked to see if it exceeds the predetermined upper limit, and if it exceeds the upper limit, the client C is notified of standby.

【0016】他の通信が終了し実行中の通信プロセス数
が減ればサーバSの通信待リスト記憶部に記憶している
要求毎の受付時間から現在の時刻を引くことにより待ち
時間を計算し、優先度クラスおよび優先度クラス別順位
を設定する。この際、優先度クラスごとに待ち時間のし
きい値をあらかじめ定めておき、そのしきい値を超えて
いる要求は優先度クラスを1クラス上げ、上位の優先度
クラスの現在の通信待リスト中の最後の次の順位を優先
度クラス別順位として割り当てる。
If the other communication is completed and the number of running communication processes is reduced, the waiting time is calculated by subtracting the current time from the reception time for each request stored in the communication waiting list storage unit of the server S, Set the priority class and the priority order by priority class. At this time, a threshold value of the waiting time is determined in advance for each priority class, and a request exceeding the threshold value increases the priority class by one class. Is assigned as the priority order by priority class.

【0017】あらかじめ最上位の優先度クラスの通信待
リストに保持できる数の上限を設け、その上限を超えた
場合は、サーバSの通信プロセス数の上限値を1増加さ
せ、クライアントCに通信を行えるよう通知する。この
処理を行った際は、当該通信終了後通信プロセス数の上
限値を1減らす。
An upper limit is set in advance for the number that can be held in the communication waiting list of the highest priority class. If the upper limit is exceeded, the upper limit of the number of communication processes of the server S is increased by one, and communication to the client C is performed. Notify that you can do it. When this process is performed, the upper limit value of the number of communication processes after the end of the communication is reduced by one.

【0018】通信を許可されたクライアントCは、サー
バSとの通信を開始する。この際サーバSは通信プロセ
ス数記憶部M2の数をD1増加させる。
[0018] The client C permitted to communicate starts communication with the server S. At this time, the server S increases the number of communication process number storage units M2 by D1.

【0019】サーバSでは、通信時にクライアントCで
情報を分割して送信した場合は、当該情報を結合を行
う。
In the server S, when information is divided and transmitted by the client C during communication, the information is combined.

【0020】クライアントCは通信終了後サーバSに通
信終了通知を行う。この際サーバSは通信プロセス数記
憶部M2の数を1減らす。
After the communication is completed, the client C notifies the server S of the communication completion. At this time, the server S decreases the number of the communication process number storage unit M2 by one.

【0021】実施の形態3.図3は、この発明の実施の
通信シーケンスを示す図であり、図中の1ではクライア
ントからの通信の要求を受け付けており、要求がない場
合は2において要求があるまで待機する。要求があった
場合は3以降で送信の可否を決定する。
Embodiment 3 FIG. 3 is a diagram showing a communication sequence according to an embodiment of the present invention. In FIG. 3, a request 1 for communication is received from a client. If there is a request, it is determined whether or not transmission is possible after 3.

【0022】上記1にてクライアントからの要求を受け
付けた場合、3では、通信待リスト記憶部に通信要求が
あった情報の優先度クラスに従い通信待リスト記憶部に
要求の受付時刻、優先度クラス及び現在の同一優先度ク
ラスの中の順位として優先度クラス別順位を記憶する。
When a request from the client is received in the above 1, in 3, the request reception time and the priority class are stored in the communication wait list storage according to the priority class of the information requested to be transmitted in the communication wait list storage. And the priority order by priority class is stored as the order in the current same priority class.

【0023】4では待機している要求があるかどうか判
別し、待たされている要求がなければ6で受付があった
要求に対してクライアントに通信を許可する。4で待ち
時間が長い要求があれば5において通信プロセス数記憶
部の内容を検査する。7では、通信プロセス数があらか
じめ定められた通信プロセス数の上限を超えているかど
うか判別し、超えていなければ9で受付があった要求に
対してクライアントに通信を許可する。通信プロセス数
の上限を超えている場合は8の処理を行う。
At 4 it is determined whether there is a waiting request. If there is no waiting request, at 6 the client is permitted to communicate with the accepted request. If there is a request with a long waiting time in step 4, the contents of the communication process number storage unit are checked in step 5. At 7, it is determined whether or not the number of communication processes exceeds a predetermined upper limit of the number of communication processes. If the number does not exceed, the client is permitted to communicate with the request accepted at 9. If the number of communication processes exceeds the upper limit, the process of step 8 is performed.

【0024】8では、あらかじめ最上位の優先度クラス
の通信待リストに保持できる数の上限を超えた場合は、
10にてサーバSの通信プロセス数の上限値を1増加さ
せ、9にてクライアントが通信を行えるよう通知する。
また最上位の優先度クラスの通信待リストに保持できる
数の上限を超えていない場合は、11にてクライアント
に対して通信の待機を通知する。
[0024] In the case of 8, if the number exceeds the maximum number that can be held in the communication waiting list of the highest priority class in advance,
At 10, the upper limit of the number of communication processes of the server S is increased by 1, and at 9 it is notified that the client can communicate.
If the number does not exceed the upper limit of the number that can be held in the communication waiting list of the highest priority class, the client is notified in step 11 of communication waiting.

【0025】実施の形態4.図4は、この発明の実施の
通信シーケンスを示す図であり、図において12では、
クライアントに通信の許可を通知し、通信待リスト記憶
部から当該要求に関するデータを削除し、通信プロセス
数記憶部の数字を1増加し、クライアントと通信を開始
する。
Embodiment 4 FIG. 4 is a diagram showing a communication sequence according to the embodiment of the present invention.
The communication permission is notified to the client, the data related to the request is deleted from the communication waiting list storage unit, the number in the communication process number storage unit is increased by 1, and communication with the client is started.

【0026】13及び15では通信の継続を監視し、通
信が終了したら14にて通信プロセス数記憶部の数字を
1減ずる。また14では、10にて通信プロセスの上限
を超えて通信を行った場合には通信プロセスの上限の数
字を1減ずる。16では、クライアント側で情報を分割
して送信した場合の情報の結合を行う。
At 13 and 15, the continuation of the communication is monitored, and when the communication is completed, at 14 the number in the communication process number storage section is decremented by one. Also, in 14, when the communication is performed at 10 exceeding the upper limit of the communication process, the number of the upper limit of the communication process is reduced by one. In step 16, the information is combined when the information is divided and transmitted on the client side.

【0027】17では、通信待リスト記憶部を検査し、
通信待ちの要求があれば図3の4の処理を行う。待機し
ている要求がなければ処理を終了し、クライアントから
の要求待ち状態へ戻る。
At 17, the communication waiting list storage section is inspected,
If there is a request to wait for communication, the process of 4 in FIG. 3 is performed. If there is no request waiting, the process ends, and the process returns to a state of waiting for a request from a client.

【0028】実施の形態5.図5は、この発明の実施の
フローチャートを示す図であり、18においてクライア
ントは送信する情報の大きさが規定の大きさの範囲であ
るか否かを確認する。規定の範囲内であれば19処理に
移行する。規定の大きさの範囲より大きい場合は、20
の処理で情報を規定の大きさに分割し、その情報の優先
度クラスを1上げる。
Embodiment 5 FIG. 5 is a flowchart showing an embodiment of the present invention. In step 18, the client confirms whether or not the size of the information to be transmitted is within a specified range. If it is within the specified range, the process proceeds to step 19. 20 if it is larger than the specified size range
Divides the information into prescribed sizes and raises the priority class of the information by one.

【0029】19ではサーバSに対して通信の許可を求
める。通信の許可が下りた場合は、22通信を開始す
る。通信の許可が下りず待機を指示された場合は、21
通信が許可されるまで当該通信を待機する。
In step 19, the server S is requested to permit communication. If the communication is permitted, the communication 22 is started. If the communication is not permitted and the standby is instructed, 21
The communication waits until the communication is permitted.

【0030】クライアントは、23,24で通信の継続
を監視し、通信が終了したら通信を終了した旨サーバS
に通知し、通信を終了する。
The client monitors the continuation of the communication at 23 and 24, and when the communication is completed, the server S informs that the communication has been completed.
And terminates the communication.

【0031】なお、第1〜第3の発明の特徴点を以下に
示す。
The features of the first to third aspects of the present invention are described below.

【0032】第1の発明によるサーバ・クライアント間
通信優先度制御装置は、まず、サーバは、通信プロセス
数記憶部に現在クライアントと通信中の通信プログラム
起動数(通信プロセス数。)を保持する。また、サーバ
は通信プロセス数の上限をあらかじめ定める。クライア
ントは、サーバへの通信が必要になった際、サーバへ通
信の可否を問い合わせ、サーバは通信プロセス数記憶部
に記憶してある現在通信中の通信プロセス数が上限を超
えていなければクライアントに通信を許可する。通信中
の通信プロセス数が上限を超えている場合は、クライア
ントからの通信要求があった情報に付随する優先度クラ
スに従い通信待リスト記憶部に当該クライアントの名
称、要求の受付時刻及び優先度として各種情報が持つ優
先度クラスと現在の同一優先度クラスの中の受付順位と
して優先度クラス別順位を記憶する。通信中の通信プロ
セス数が上限値から減った場合は、通信待リスト記憶部
に保管されている優先度クラス及び優先度クラス別順位
で一番優先度の高い要求に対して通信を許可するように
判別し、当該クライアントへ通信ができることを通知
し、通信を開始することを特徴とする。
In the server / client communication priority control apparatus according to the first aspect of the present invention, the server first stores the number of activated communication programs (the number of communication processes) currently communicating with the client in the number of communication processes storage unit. In addition, the server determines an upper limit of the number of communication processes in advance. When the client needs to communicate with the server, the client inquires of the server whether communication is possible.If the number of currently communicating communication processes stored in the number of communication processes storage unit does not exceed the upper limit, the client asks the client. Allow communication. If the number of communication processes during communication exceeds the upper limit, the name of the client, the request reception time and the priority are stored in the communication waiting list storage unit according to the priority class attached to the information requested by the client. The priority class-specific order is stored as the priority order of the priority class of the various information and the current same priority class. When the number of communication processes during communication is reduced from the upper limit value, communication is permitted for the priority class stored in the communication waiting list storage unit and the request with the highest priority in the priority class order. , The client is notified that communication is possible, and communication is started.

【0033】第2の発明によるサーバ・クライアント間
通信優先度制御装置は、サーバが同時に通信できる通信
プロセス数の上限を設け、サーバの通信プロセス数が上
限値から減った場合、サーバの通信待リスト記憶部に記
憶している要求毎の受付時間から現在の時刻を引くこと
により待ち時間を計算し、優先度クラスおよび優先度ク
ラス別順位を設定する。この際、優先度クラスごとに待
ち時間のしきい値をあらかじめ定めておき、そのしきい
値を超えている要求は優先度クラスを1クラス上げ、上
位の優先度クラスの現在の通信待リスト中の最後の次の
順位を優先度クラス別順位として割り当てる。また、あ
らかじめ最上位の優先度クラスの通信待リストに保持で
きる数の上限を設け、その上限を超えた場合は、サーバ
の通信プロセス数の上限値を1増加させ、クライアント
に通信を行えるように通知し、通信を開始し、当該通信
終了後通信プロセス数の上限値を1減らすことを特徴と
する。
A server-client communication priority control apparatus according to a second aspect of the present invention provides an upper limit of the number of communication processes that the server can simultaneously communicate with, and when the number of communication processes of the server decreases from the upper limit, the communication waiting list of the server. The waiting time is calculated by subtracting the current time from the reception time for each request stored in the storage unit, and the priority class and the priority class order are set. At this time, a threshold value of the waiting time is determined in advance for each priority class, and a request exceeding the threshold value increases the priority class by one class. Is assigned as the priority order by priority class. In addition, an upper limit of the number that can be held in the communication waiting list of the highest priority class is set in advance, and when the upper limit is exceeded, the upper limit of the number of communication processes of the server is increased by 1 so that the client can communicate with the client. The communication is started, the communication is started, and the upper limit value of the number of communication processes is reduced by 1 after the communication is completed.

【0034】第3の発明によるサーバ・クライアント間
通信優先度制御装置は、通信を行うデータがクライアン
ト側であらかじめ定めた通信データ量の上限を超えてい
た場合、あらかじめ定めたデータ量に分割し、分割した
情報毎にサーバへ通信の要求を行う。また、サーバとの
通信状況から、通信遅延があらかじめ定めた値より大き
くなる場合は、後から送信要求を行う情報の優先度を1
クラス高くして通信要求を行う。サーバではクライアン
トで分割して送信した情報を結合し、情報の受信を完了
することを特徴とする。
The server-client communication priority control apparatus according to the third invention divides the communication data into a predetermined data amount when the communication data exceeds a communication data amount upper limit predetermined on the client side. A communication request is made to the server for each of the divided information. If the communication delay becomes larger than a predetermined value due to the communication status with the server, the priority of the information for which the transmission request is made later is set to 1
Make a communication request with the class higher. The server combines the information divided and transmitted by the client to complete the reception of the information.

【0035】[0035]

【発明の効果】以上説明した本発明のサーバ・クライア
ント間通信優先度制御装置は、以下のような効果を得る
ことができる。
The server / client communication priority control apparatus of the present invention described above has the following effects.

【0036】第1の発明によれば、通信を行う情報毎に
優先度を付け、サーバSが通信の開始時期をクライアン
トに通知する通信制御を行うため、サーバSの負荷及び
ネットワークの負荷が一定に保たれ、効率よく通信を行
うことができる。
According to the first aspect, the priority is assigned to each piece of information to be communicated, and the server S performs communication control for notifying the client of the start time of the communication, so that the load on the server S and the load on the network are constant. Communication can be performed efficiently.

【0037】第2の発明によれば、サーバS側でクライ
アントの通信の可否に関する判断を行い、クライアント
との通信時期を制御することにより、効率よく通信を行
うことができる。
According to the second aspect of the present invention, the server S determines whether or not the client can communicate, and controls the timing of communication with the client, thereby enabling efficient communication.

【0038】第3の発明によれば、クライアント側でデ
ータ量が大きいデータを分割して送信し、分割した個々
のデータについてサーバSと通信か可否の問い合わせを
行うことで、効率よく通信を行うことができる。
According to the third aspect of the present invention, efficient communication is performed by dividing data having a large data amount on the client side and transmitting the divided data, and inquiring whether or not the divided data can communicate with the server S. be able to.

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

【図1】 この発明の実施の通信シーケンス1を示す図
である。
FIG. 1 is a diagram showing a communication sequence 1 according to an embodiment of the present invention.

【図2】 この発明の実施の通信シーケンス2を示す図
である。
FIG. 2 is a diagram showing a communication sequence 2 according to the embodiment of the present invention.

【図3】 この発明の実施のフローチャート1を示す図
である。
FIG. 3 is a diagram showing a flowchart 1 of the embodiment of the present invention.

【図4】 この発明の実施のフローチャート2を示す図
である。
FIG. 4 is a diagram showing a flowchart 2 of the embodiment of the present invention.

【図5】 この発明の実施のフローチャート3を示す図
である。
FIG. 5 is a diagram showing a flowchart 3 of the embodiment of the present invention.

【図6】 従来の方法を示す図である。FIG. 6 is a diagram showing a conventional method.

【符号の説明】 S サーバ、C クライアント、M1 通信待リスト記
憶部、M2 通信プロセス数記憶部、M サーバ記憶領
域。
[Description of Signs] S server, C client, M1 communication waiting list storage unit, M2 communication process number storage unit, M server storage area.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 各種情報を送信する複数のクライアント
と、上記複数のクライアントから各種情報を受信するサ
ーバとの間の通信を制御するサーバ・クライアント間通
信制御装置において、上記クライアントは、サーバへ通
信の可否を問い合わせる問い合わせを行い、上記サーバ
は、各クライアントに対し通信の可否を含む識別子を与
え、上記サーバとクライアントとの通信において識別子
に従い通信制御を行う通信制御手段を備え、上記通信制
御手段は、サーバにおいて上記各クライアントとの通信
を受付ける受付手段と、各種情報が、それぞれの情報に
対してあらかじめ定めた優先度を持ち、サーバは、記憶
装置にクライアントからの問い合わせがあった時間と、
問い合わせがあったクライアントの名称と、クライアン
トが送信要求を行った情報の優先度を記憶装置に保持す
る保持手段と、各クライアントの通信の優先度毎に通信
の可否を判別する判別手段と、前記判別を行った結果を
各クライアントに通知する通知手段とを含むことを特徴
とするサーバ・クライアント間通信優先度制御装置。
1. A server-client communication control device for controlling communication between a plurality of clients transmitting various information and a server receiving the various information from the plurality of clients, wherein the client communicates with the server. The server performs an inquiry to inquire whether or not communication is possible, the server provides an identifier including communication availability to each client, and includes communication control means for performing communication control according to the identifier in communication between the server and the client, wherein the communication control means comprises: Receiving means for receiving communication with each of the clients in the server, various kinds of information have a predetermined priority for each information, the server, the time when the storage device has been inquired from the client,
Holding means for holding, in a storage device, the name of the client that has made the inquiry and the priority of the information for which the client has made a transmission request; determining means for determining whether communication is possible for each communication priority of each client; And a notifying means for notifying each client of the result of the determination.
【請求項2】 あらかじめ優先度ごとに問い合わせを受
けてからの経過時間に対する上限を設けることにより、
経過時間の上限を超えた場合はクライアントが通信を開
始できることを判別する判別手段と、あらかじめ同時に
通信を実行できる通信プログラム起動数の上限を設け、
通信を実行できる通信プログラム起動数を優先度ごとの
通信受け付け状況から動的に変更できる変更手段を含む
ことを特徴とする請求項1記載のサーバ・クライアント
間通信優先度制御装置。
2. An upper limit is set in advance for an elapsed time after receiving an inquiry for each priority,
If the elapsed time exceeds the upper limit, a determination unit that determines that the client can start communication, and an upper limit of the number of communication program activations that can simultaneously execute communication in advance are provided,
2. The server-client communication priority control device according to claim 1, further comprising a change unit that can dynamically change the number of communication program activations that can execute communication from the communication reception status for each priority.
【請求項3】 各種情報が、ある一定の大きさ以上であ
る場合は、クライアントからサーバへ通信の可否を問い
合わせる際に、情報を一定の大きさに分割し、分割され
た情報ごとに問い合わせを行う問い合わせ手段と、分割
した情報の優先度を変更することにより通信の遅延を少
なくする優先度変更機能と、サーバで分割して送られて
きた情報を結合する機能を含むことを特徴とする請求項
1記載のサーバ・クライアント間通信優先度制御装置。
3. When various types of information are larger than a certain size, when the client inquires of the server whether or not communication is possible, the information is divided into certain sizes, and an inquiry is made for each of the divided information. Requesting means for performing, a priority changing function for reducing a communication delay by changing a priority of the divided information, and a function of combining information transmitted separately by the server. Item 2. The server-client communication priority control device according to item 1.
JP9100011A 1997-04-17 1997-04-17 Server-client communication priority controller Pending JPH10289188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9100011A JPH10289188A (en) 1997-04-17 1997-04-17 Server-client communication priority controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9100011A JPH10289188A (en) 1997-04-17 1997-04-17 Server-client communication priority controller

Publications (1)

Publication Number Publication Date
JPH10289188A true JPH10289188A (en) 1998-10-27

Family

ID=14262626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9100011A Pending JPH10289188A (en) 1997-04-17 1997-04-17 Server-client communication priority controller

Country Status (1)

Country Link
JP (1) JPH10289188A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002051312A (en) * 2000-07-31 2002-02-15 Ricoh Co Ltd Information processor, information processing means and recording medium for executing that method through computer
JP2008227798A (en) * 2007-02-07 2008-09-25 Hitachi Ltd On-vehicle gateway device and data transfer method
JP2010245793A (en) * 2009-04-03 2010-10-28 Honda Motor Co Ltd On-vehicle gateway apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002051312A (en) * 2000-07-31 2002-02-15 Ricoh Co Ltd Information processor, information processing means and recording medium for executing that method through computer
JP4571733B2 (en) * 2000-07-31 2010-10-27 株式会社リコー Information processing apparatus and information processing method
JP2008227798A (en) * 2007-02-07 2008-09-25 Hitachi Ltd On-vehicle gateway device and data transfer method
JP2010245793A (en) * 2009-04-03 2010-10-28 Honda Motor Co Ltd On-vehicle gateway apparatus

Similar Documents

Publication Publication Date Title
US5870604A (en) Job execution processor changing method and system, for load distribution among processors
JP3922093B2 (en) Network access control apparatus and method for CDMA mobile communication system
JPH10289188A (en) Server-client communication priority controller
JPH11296452A (en) Software resource distribution system
JPH076110A (en) Method for reducing communication overhead in distributed processing system
JP4151330B2 (en) I / O control method for network file system
JP3738701B2 (en) System setting method in transaction processing system
JP3082297B2 (en) Task control method
JPS59177638A (en) Control system of message preferential transmission
JPH11338695A (en) Software resource distribution system provided with execution time limit for client selective distribution
JPH09168007A (en) Data distribution system
JP2002278862A (en) Method, program and device for distributing push type information, and storage medium
JP3543548B2 (en) How to execute network management service
JP2669363B2 (en) Process switching control method and system for system call in cluster-coupled multiprocessor system
JP2890420B2 (en) Traffic control method between online processing systems
JP2739794B2 (en) Magnetic tape device allocation management system
JPH10247616A (en) Exposure device, semiconductor production system and manufacture of semiconductor
JP2601513B2 (en) Dynamic change processing method of communication path multiplicity
JPH11191076A (en) Information processor
JP2002009717A (en) System for receiving satellite distribution at any time
JPH02212962A (en) Transaction message output control system
JP2003224565A (en) Network connection controller, network connection control method and program therefor
JP2921156B2 (en) File transceiver
JP2000259374A (en) Printing control method and printing system
JPH09251436A (en) Down load system