JPH0983579A - Detecting/notifying method for busy state of communication system - Google Patents

Detecting/notifying method for busy state of communication system

Info

Publication number
JPH0983579A
JPH0983579A JP7255560A JP25556095A JPH0983579A JP H0983579 A JPH0983579 A JP H0983579A JP 7255560 A JP7255560 A JP 7255560A JP 25556095 A JP25556095 A JP 25556095A JP H0983579 A JPH0983579 A JP H0983579A
Authority
JP
Japan
Prior art keywords
counter
memory blocks
memory block
busy
communication 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
Application number
JP7255560A
Other languages
Japanese (ja)
Other versions
JP3284295B2 (en
Inventor
Junji Goto
順二 後藤
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP25556095A priority Critical patent/JP3284295B2/en
Publication of JPH0983579A publication Critical patent/JPH0983579A/en
Application granted granted Critical
Publication of JP3284295B2 publication Critical patent/JP3284295B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an efficient busy state detecting/notifying method of a communication system with satisfactory real-time capability by collectively managing memory blocks. SOLUTION: A memory block management means which collectively manages plural tasks 1-7 processing and controlling information transmitted/received to/from respective communication control parts 1-1, 1-2 and 1-3 and, plural memory blocks 1-6 is provided. The memory block management means is provided with a counter 1-8 counting the number of use times of the memory blocks. When the respective tasks 1-7 occupy and use one of the memory blocks 1-6, the memory block management means increase the number of the counter 1-8 by one and simultaneously transmits busy signals to respective opposite stations through the communication control parts 1-1, 1-2 and 1-3 when the number of the counter 1-8 exceeds a set value. Then, a means is provided for reducing the number of the counter 1-8 by one when the respective tasks 1-7 releases the memory blocks 1-6 and executing busy releasing when the number of the counter 1-8 becomes less than the setting value.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はCPUを使用し、複
数局間で互いにデ−タを送受信し処理している通信シス
テムにおけるビジ−状態検出通知方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a busy state detection notification method in a communication system in which a CPU is used and data is transmitted and received among a plurality of stations.

【0002】[0002]

【従来の技術】従来より、複数局間で互いにデ−タを送
受信し処理している通信システムにおいては、自局内に
複数の相手局(移動局、基地局、センタ−等)に対応し
てそれぞれ通信制御部を設け、個々の通信制御部がそれ
ぞれメモリブロック(メモリ)を有し、相手局との送受
信デ−タ(メイル)の処理を行なっている。従って、各
通信制御部は処理開始時に個別にメモリブロックの使用
数を調べ、使用限界を超えれば相手局にビジ−信号を送
り相手局に待機してもらい、メモリブロックが空けばビ
ジ−状態解除を行ない継続して処理を行なっている。
2. Description of the Related Art Conventionally, in a communication system in which a plurality of stations transmit and receive data to and from each other, a plurality of partner stations (mobile stations, base stations, centers, etc.) are supported in the same station. Each communication control unit is provided, and each communication control unit has a memory block (memory), and processes transmission / reception data (mail) with the partner station. Therefore, each communication control unit individually checks the number of memory blocks used at the start of processing, sends a busy signal to the partner station if the usage limit is exceeded and causes the partner station to wait, and releases the busy state if the memory block becomes empty. And continues processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来の方法では各通信制御部ごとにメモリブロックの
管理を行なっているためにメモリブロックの有効活用が
出来ず効率が悪い。また、各通信制御部は処理開始時に
メモリブロックの使用数が限界超過しているか否かを判
別し、限界超過状態であればビジ−信号を送信するた
め、時々刻々変化する状態に対応するリアルタイム性に
欠け、ビジ−状態の時間も長くなるという問題があっ
た。
However, in the above-mentioned conventional method, since the memory block is managed for each communication control unit, the memory block cannot be effectively used and the efficiency is low. In addition, each communication control unit determines whether the number of memory blocks used has exceeded the limit at the start of processing, and transmits a busy signal if the number of used memory blocks exceeds the limit. There was a problem that it was lacking in sex and that the time in a busy state was prolonged.

【0004】本発明は上述の点に鑑みてなされたもの
で、メモリブロックを一括管理することで、効率がよ
く、リアルタイム性のよい通信システムのビジ−状態検
出及び通知方法を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a busy state detection and notification method for a communication system that is efficient and has good real-time performance by collectively managing memory blocks. And

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
本発明は、複数の通信制御部及び、複数のメモリブロッ
クを有し、CPUを使用し複数局間で互いにデ−タを送
受信し処理している通信システムのビジ−状態検出通知
方法において、図1に示すように、各通信制御部(1−
1、1−2、1−3)から送受信する情報の処理及び制
御を行なう複数のタスク1−7及び複数のメモリブロッ
ク1−6を一括管理するメモリブロック管理手段を設
け、メモリブロック管理手段にはメモリブロック1−6
の使用数を計数するカウンタ1−8を設け、メモリブロ
ック管理手段は各タスク1−7がメモリブロック1−6
の一つを占有して使用する際、前記カウンタ1−8の数
を1だけ加算し、カウンタ1−8の数が設定値を超過す
ると、各通信制御部(1−1、1−2、1−3)を介し
て一斉に各相手局2、3、4にビジ−信号を送信し、各
タスク1−7がメモリブロック1−6を解放する際、カ
ウンタ1−8の数を1だけ減算しカウンタ1−8の数が
設定値を下回るとビジ−解除する手段を設けたことを特
徴とする。
In order to solve the above problems, the present invention has a plurality of communication control units and a plurality of memory blocks, and uses a CPU to transmit and receive data to and from each other between a plurality of stations for processing. In the busy state detection notification method for a communication system that is currently operating, as shown in FIG.
1, 1-2, 1-3), and a memory block management means for collectively managing a plurality of tasks 1-7 and a plurality of memory blocks 1-6 for processing and controlling information transmitted and received. Is a memory block 1-6
A counter 1-8 for counting the number of used memory blocks is provided so that each task 1-7 in the memory block management means is a memory block 1-6.
When occupying and using one of the counters 1-8, if the number of the counters 1-8 is incremented by 1 and the number of the counters 1-8 exceeds the set value, the communication control units (1-1, 1-2, (1-3) send a busy signal to each of the partner stations 2, 3 and 4 all at once, and when each task 1-7 releases the memory block 1-6, the number of counters 1-8 is 1 It is characterized in that a means for canceling the busy state is provided when the number of the counters 1-8 is subtracted and falls below a set value.

【0006】本発明では、上述したように複数のメモリ
ブロック1−6を一括管理し、設定値(例えば80%)
以上でビジ−信号を一斉に出力し、他の設定値(例えば
40%)以下でビジ−解除するので、従来に比較しメモ
リブロック1−6は有効に活用され動作効率もよい。ま
た、タスク1−7がメモリブロック1−6を使用する時
点、及び、解放する時点でメモリブロック1−6の使用
数をカウントしビジ−状態か否かを判定するのでリアル
タイム性が高く、ビジ−状態の時間を短縮し復旧を早め
る効果がある。上記のビジ−を判定する値80%、解除
を判定する値40%は設定操作で容易に変えることがで
きる。
In the present invention, a plurality of memory blocks 1-6 are collectively managed as described above, and a set value (for example, 80%) is set.
As described above, since the busy signals are output all at once and the busy state is canceled at other set values (for example, 40%) or less, the memory blocks 1-6 are effectively utilized and the operation efficiency is good as compared with the conventional case. In addition, since the task 1-7 counts the number of use of the memory block 1-6 at the time of using the memory block 1-6 and at the time of releasing the memory block 1-6 and determines whether or not it is in the busy state, the real-time property is high. -It has the effect of shortening the state time and speeding up recovery. The value of 80% for determining the above-mentioned value and 40% for determining the cancellation can be easily changed by setting operation.

【0007】[0007]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は本発明のビジ−状態
検出通知方法を実施する自局通信システムの機能構成を
示す図である。図示するように、(自局)通信システム
1は通信制御部1−1、通信制御部1−2、通信制御部
1−3、メモリブロック獲得処理ル−チン1−4、メモ
リブロック解放処理ル−チン1−5、複数のメモリブロ
ック1−6、複数のタスク1−7及びカウンタ1−8を
具備し、通信制御部1−1、通信制御部1−2、通信制
御部1−3を介してそれぞれ相手局2、相手局3、相手
局4と接続されている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a diagram showing a functional configuration of a local station communication system that implements the busy state detection notification method of the present invention. As shown, the (local station) communication system 1 includes a communication control unit 1-1, a communication control unit 1-2, a communication control unit 1-3, a memory block acquisition processing routine 1-4, and a memory block release processing routine. A communication control unit 1-1, a communication control unit 1-2, and a communication control unit 1-3, each of which includes a chin 1-5, a plurality of memory blocks 1-6, a plurality of tasks 1-7, and a counter 1-8. It is connected to the partner station 2, the partner station 3, and the partner station 4, respectively.

【0008】相手局2、3、4は移動局や基地局やセン
タ−等の種々の局が想定される。複数のタスク1−7
(A〜D)は診断・タイマ−等を含むアプリケ−ション
タスクであり、相手局2、3、4からの受信情報、又は
自局からの送信情報を処理するタスクである。各タスク
1−7及び各通信制御部(1−1〜1−3)は複数個の
メモリ1−6を共用する。即ち、動作時はメモリブロッ
ク1−6の一つを占有使用して情報を処理し、終了後は
解放して他のタスク1−7が使用する。
Various stations such as mobile stations, base stations, centers, etc. are assumed as the partner stations 2, 3, 4. Multiple tasks 1-7
(A to D) are application tasks including diagnostics, timers, etc., which process received information from the partner stations 2, 3, 4 or transmitted information from the own station. Each task 1-7 and each communication control unit (1-1 to 1-3) share a plurality of memories 1-6. That is, during operation, one of the memory blocks 1-6 is exclusively used to process information, and after completion, it is released and used by another task 1-7.

【0009】図2は図1のメモリブロック獲得処理ル−
チンのフロ−チャ−トである。各タスク1−7(A〜
D)及び各通信制御部(1−1〜1−3)は各相手局
2、3、4からの情報(メイル)の処理に際し、本ル−
チンを呼出し必要なメモリブロック1−6を占有し、情
報(メイル)を処理するために使用する。まず、空いて
いるメモリブロック1−6の一つを獲得する(ステップ
ST21)。次にメモリブロック1−6の使用数を計数
するカウンタ1−8に1を加算し(ステップST2
2)、現在ビジ−フラグがセットされていなくて(ステ
ップST23)、且つ、メモリブロック1−6の使用数
が或る設定値(設定値80%)より大きくなれば(ステ
ップST24)、ビジ−フラグをセットし(ステップS
T25)、各通信制御部(1−1〜1−3)を介して各
相手局2、3、4へ自局がビジ−状態になったことを通
知する(ステップST26)。ビジ−状態の間は相手局
からの受信はできない(送信はできる)。
FIG. 2 shows the memory block acquisition processing routine of FIG.
It is a Chin's flow chart. Each task 1-7 (A ~
D) and each communication control unit (1-1 to 1-3), when processing the information (mail) from each of the partner stations 2, 3, and 4,
It calls the Chin and occupies the required memory blocks 1-6 and is used to process the information (mail). First, one of the vacant memory blocks 1-6 is acquired (step ST21). Next, 1 is added to the counter 1-8 that counts the number of used memory blocks 1-6 (step ST2
2) If the busy flag is not currently set (step ST23) and the number of memory blocks 1-6 used exceeds a certain set value (set value 80%) (step ST24), the busy flag is set. Set the flag (step S
T25), and notifies each partner station 2, 3 and 4 that their own station is in the busy state via each communication control unit (1-1 to 1-3) (step ST26). During the busy state, reception from the partner station is not possible (sending is possible).

【0010】図3は図1のメモリブロック解放処理ル−
チンのフロ−チャ−トである。まず各タスクは作業が終
わると本ル−チンを呼出し、使用していたメモリブロッ
ク1−6を解放する(ステップST31)。続いて、メ
モリブロック1−6の使用数を計数するカウンタから1
を減算し(ステップST32)、ビジ−フラグがセット
されていて(ステップST33)、且つ、メモリブロッ
ク1−6の使用数が或る設定値(設定値40%)より下
がれば(ステップST34)、ビジ−フラグをリセット
し(ステップST35)、各通信制御部(1−1〜1−
3)を介して各相手局2、3、4へ自局がビジ−解除に
なったことを通知する(ステップST36)。
FIG. 3 shows the memory block release processing routine of FIG.
It is a Chin's flow chart. First, each task calls this routine when the work is finished, and releases the used memory block 1-6 (step ST31). Then, from the counter that counts the number of used memory blocks 1-6,
Is subtracted (step ST32), the busy flag is set (step ST33), and the number of memory blocks 1-6 used falls below a certain set value (set value 40%) (step ST34), The busy flag is reset (step ST35), and each communication control unit (1-1 to 1-
It notifies the other stations 2, 3 and 4 via 3) that the own station has been released from the busy state (step ST36).

【0011】上述したように本実施例は複数のメモリブ
ロック1−6を一括管理し、設定値(例えば80%)以
上でビジ−信号を一斉に出力し、他の設定値(例えば4
0%)以下でビジ−解除するので、従来に比較しメモリ
ブロック1−6は有効に活用され動作効率もよい。ま
た、タスク1−7がメモリブロック1−6を使用する時
点、及び解放する時点でメモリブロック1−6の使用数
をカウントしビジ−状態か否かを判定するのでリアルタ
イム性が高く、ビジ−状態の時間を短縮し復旧を早める
効果がある。また、ビジ−/ビジ−解除を判定する基準
値(例では80%、40%)は設定変更可能な定数であ
り状況に応じて適切な値を設定することができる。
As described above, the present embodiment collectively manages a plurality of memory blocks 1-6, outputs a busy signal all at once with a set value (for example, 80%) or more, and outputs another set value (for example, 4).
Since the busy state is canceled at 0%) or less, the memory blocks 1-6 are effectively utilized and the operation efficiency is good as compared with the conventional case. In addition, since the task 1-7 counts the number of used memory blocks 1-6 at the time of using the memory block 1-6 and at the time of releasing the memory block 1-6 and determines whether or not it is in the busy state, the real-time property is high and the busy state is high. It has the effect of shortening the status time and speeding up recovery. Further, the reference value (80%, 40% in the example) for determining the busy / busy cancellation is a constant whose setting can be changed, and an appropriate value can be set according to the situation.

【0012】[0012]

【発明の効果】以上説明したように本発明によれば、下
記のような優れた効果が期待される。複数のメモリブロ
ックを一括管理し、或る値(例えば80%)以上でビジ
−信号を一斉に出力し、或る値(例えば40%)以下で
ビジ−解除するので従来に比較しメモリブロックは有効
に活用され効率もよい。また、タスクがメモリブロック
を使用する時点、及び、解放する時点でメモリブロック
の使用数をカウントしビジ−状態か否かを判定するので
リアルタイム性が高く、ビジ−状態の時間も短縮でき
る。
As described above, according to the present invention, the following excellent effects are expected. A plurality of memory blocks are collectively managed, a busy signal is output at a certain value (eg, 80%) or more, and a busy signal is released at a certain value (eg, 40%) or less. It is effectively used and efficient. Further, since the number of used memory blocks is counted at the time when the task uses the memory block and at the time when the memory block is released, it is determined whether or not the task is in the busy state, so that the real-time property is high and the time in the busy state can be shortened.

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

【図1】本発明の通信システムのビジ−状態検出通知方
法を実施する自局通信システムの機能構成を示す図であ
る。
FIG. 1 is a diagram showing a functional configuration of a local station communication system that implements a busy-state detection notification method of a communication system of the present invention.

【図2】メモリブロック獲得処理ル−チンのフロ−を示
す図である。
FIG. 2 is a diagram showing a flow of a memory block acquisition processing routine.

【図3】メモリブロック解放処理ル−チンのフロ−を示
す図である。
FIG. 3 is a diagram showing a flow of a memory block release processing routine.

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

1 自局通信システム 1−1 通信制御部 1−2 通信制御部 1−3 通信制御部 1−4 メモリブロック獲得処理ル−チン 1−5 メモリブロック解放処理ル−チン 1−6 メモリブロック 1−7 タスク 1−8 カウンタ 2 相手局 3 相手局 4 相手局 1 Local station communication system 1-1 Communication control unit 1-2 Communication control unit 1-3 Communication control unit 1-4 Memory block acquisition processing routine 1-5 Memory block release processing routine 1-6 Memory block 1- 7 tasks 1-8 counter 2 partner station 3 partner station 4 partner station

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の通信制御部及び複数のメモリブロ
ックを有し、CPUを使用し複数局間で互いにデ−タを
送受信し処理している通信システムのビジ−状態検出通
知方法において、 前記各通信制御部から送受信する情報の処理及び制御を
行なう複数のタスク及び前記複数のメモリブロックを一
括管理するメモリブロック管理手段を設け、 前記メモリブロック管理手段には前記メモリブロックの
使用数を計数するカウンタを設け、 前記メモリブロック管理手段は前記各タスクがメモリブ
ロックの一つを占有して使用する際、前記カウンタの数
を1だけ加算し、前記カウンタの数が設定値を超過する
と、前記各通信制御部を介して一斉に各相手局にビジ−
信号を送信し、 また、前記各タスクがメモリブロックを解放する際、前
記カウンタの数を1だけ減算しカウンタの数が設定値を
下回るとビジ−解除する手段を設けたことを特徴とする
通信システムのビジ−状態検出通知方法。
1. A method for notifying a busy state of a communication system comprising a plurality of communication control units and a plurality of memory blocks, wherein a CPU is used to transmit and receive data between a plurality of stations and process the data. A plurality of tasks that process and control information transmitted and received from each communication control unit and a memory block management unit that collectively manages the plurality of memory blocks are provided, and the memory block management unit counts the number of used memory blocks. A counter is provided, and when each task occupies and uses one of the memory blocks, the memory block management unit increments the number of the counter by one, and when the number of the counter exceeds a set value, Visible to all other stations all at once via the communication control unit
A communication is provided, which transmits a signal, and further comprises means for decrementing the number of the counter by 1 when each task releases the memory block and canceling the busy when the number of the counter falls below a set value. System busy-state detection notification method.
JP25556095A 1995-09-06 1995-09-06 Busy state detection notification method for communication system Expired - Fee Related JP3284295B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25556095A JP3284295B2 (en) 1995-09-06 1995-09-06 Busy state detection notification method for communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25556095A JP3284295B2 (en) 1995-09-06 1995-09-06 Busy state detection notification method for communication system

Publications (2)

Publication Number Publication Date
JPH0983579A true JPH0983579A (en) 1997-03-28
JP3284295B2 JP3284295B2 (en) 2002-05-20

Family

ID=17280427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25556095A Expired - Fee Related JP3284295B2 (en) 1995-09-06 1995-09-06 Busy state detection notification method for communication system

Country Status (1)

Country Link
JP (1) JP3284295B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012074883A (en) * 2010-09-28 2012-04-12 Toshiba Corp Communication device and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012074883A (en) * 2010-09-28 2012-04-12 Toshiba Corp Communication device and communication method
US8781444B2 (en) 2010-09-28 2014-07-15 Kabushiki Kaisha Toshiba Communication apparatus and method

Also Published As

Publication number Publication date
JP3284295B2 (en) 2002-05-20

Similar Documents

Publication Publication Date Title
US5943479A (en) Method for reducing the rate of interrupts in a high speed I/O controller
US4763323A (en) Communication system for the transfer of small digital message blocks and large digital message blocks
JPH04215158A (en) Data transfer control method and interface system
JPS6223257A (en) Information transmission
CN109688070A (en) A kind of data dispatching method, the network equipment and retransmission unit
US20020004868A1 (en) Parallel processing system in which use efficiency of CPU is improved and parallel processing method for the same
JPH0983579A (en) Detecting/notifying method for busy state of communication system
JP2002171262A (en) Communication method and its communication system
JP3034405B2 (en) Local area network device
JPS59122257A (en) Polling method
JP3012746B2 (en) Mobile communication device
JP2530679B2 (en) Polling method in communication line
JPS63155249A (en) Inter-equipment communication system
JPS593642Y2 (en) data transmission equipment
JP2538901B2 (en) Bus coupling device
KR19980047248A (en) Real time processing method of traffic data in mobile communication base station
CN100428712C (en) Method for implementing mixed-granularity virtual cascade
KR100212450B1 (en) Base station of mobile telecommunication system
JPS636188B2 (en)
CN116406005A (en) Wireless resource scheduling method, device and storage medium
JPH04215160A (en) Information processor
JPS6223649A (en) Network system
JPH01293049A (en) Reception controlling system for distributed processing type packet exchange
JPS6248148A (en) Communication system with highest priority in loop network
JPH0573513A (en) Bus capacity control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees