JPH0611153B2 - Line response control method - Google Patents
Line response control methodInfo
- Publication number
- JPH0611153B2 JPH0611153B2 JP59087453A JP8745384A JPH0611153B2 JP H0611153 B2 JPH0611153 B2 JP H0611153B2 JP 59087453 A JP59087453 A JP 59087453A JP 8745384 A JP8745384 A JP 8745384A JP H0611153 B2 JPH0611153 B2 JP H0611153B2
- Authority
- JP
- Japan
- Prior art keywords
- response
- control station
- task
- call signal
- interrupt
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L13/00—Details of the apparatus or circuits covered by groups H04L15/00 or H04L17/00
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】 (1)発明の技術分野 本発明は制御局により制御される作業端末において、動
作するタスクが長時間実行権を放棄しない場合にも、制
御局からの呼出しに応答してレスポンスを返すようにし
た回線のレスポンス制御方式に関するものである。Description: (1) Technical Field of the Invention The present invention responds to a call from a control station in a work terminal controlled by the control station even when a task to be operated does not give up the execution right for a long time. The present invention relates to a response control method of a line that returns a response by using the line.
(2)従来技術と問題点 従来、制御局の制御下に複数の作業端末を有するシステ
ムが用いられている。第1図はその1例であり、制御局
1の配下で制御される作業端末(WS)21,22が設けられ、
この制御局1からの送信問合せに対し、作業端末側たと
えばWS21ではタスク処理部11-2から応答処理が行なわれ
る。この場合タスク処理部11-2以外のタスクA11-3が長
時間実行権を放棄しないで動作中であれば、WS21の割込
処理部11-1に割込みが行なわれ、割込処理終了後に実行
権はタスクA11-3に戻り再び長時間の確保が行なわれ
る。従つてタスク処理部11-2に実行権が移らず制御局1
の呼出しに対するレスポンスが返らないため、制御局1
では割込みに対する処理状態を確認することができず、
再送を繰返すことが起る。(2) Conventional Technology and Problems Conventionally, a system having a plurality of work terminals under the control of a control station has been used. FIG. 1 is an example thereof, in which work terminals (WS) 2 1 , 2 2 controlled under the control station 1 are provided,
To send an inquiry from the control station 1, it is performed response process from working terminal eg WS2 1 In task processing unit 11-2. If this case is in operation in the task processing unit 11-2 except task A11-3 does not abandon the long-running right, an interrupt is performed to WS2 1 interrupt processing unit 11-1, after the interrupt process is completed The execution right is returned to task A11-3, and a long time is secured again. Therefore, the execution right is not transferred to the task processing unit 11-2 and the control station 1
Control station 1 because the response to the call of
In, it is not possible to check the processing status for interrupts,
Repeated retransmissions may occur.
第2図(a)〜(c)はこの状態を図示したものである。動図
(a)に示すように、制御局1からの呼出し信号イが回線C
Aを転送されWS21に割込みが行なわれ、この時同図(c)の
別のタスクAが動作中であるとする。そして、同図(b)
に示すように制御局1の呼出し信号イがくるとハの時点
で実行権が同図(c)のタスクAから割込処理部11-1に移
る。この割込処理部11-1はたとえば図示のように呼出信
号イに対応し3段の手順に分けられる。手順は受信割
込処理段で、データかコマンドかを判定し、その後WS21
に外付けのタイマが起動される。次の手順はタイマ走
行段で制御局1側のモード切替えの期間を設定し、その
間タスクAをニから走行させる。手順はタイムアウト
割込み処理段で、割込処理の終了である。しかし、従来
の割込みは終了とともに実行権は元の同図(c)のタスク
Aに戻され、タスクAがホから続行される。FIGS. 2 (a) to (c) illustrate this state. Motion
As shown in (a), the call signal B from the control station 1
Interrupt to WS2 1 forward A is performed, and another task A in this case the figure (c) is in operation. And the figure (b)
As shown in (c), when the call signal a of the control station 1 arrives, the execution right shifts from the task A of FIG. The interrupt processing unit 11-1 is divided into three steps corresponding to the calling signal B as shown in the figure. The procedure is the reception interrupt processing stage, which determines whether it is data or command, and then WS2 1
An external timer is started at. In the next procedure, the period of mode switching on the control station 1 side is set at the timer running stage, and task A is run from D during that period. The procedure is the time-out interrupt processing stage, which is the end of the interrupt processing. However, when the conventional interrupt ends, the execution right is returned to the original task A in FIG. 7C, and the task A is continued from E.
このタスクAが次に到来する呼出信号ロ以前に終了しな
い場合には、さらに次の呼出信号の周期に処理が移行す
る。If this task A does not end before the next incoming call signal B, the process shifts to the cycle of the next incoming signal.
このように、WS21のタスク処理部11-2に制御権が移らな
いから仲々レスポンス(RS)が返らないため、呼出しの
再送を必須とすることが起つた。Since the not returned is Naka s response (RS) because there is no Utsura control to WS2 1 task processing unit 11-2, the stand be a mandatory retransmission call.
これに対する対策として、タスクが長時間実行権を放棄
しない場合は、別にチヤネルを設けてレスポンスを返す
ようにした。しかしこのための手順が複雑となり、かつ
このチヤネルは常時使用するものではないから利用効率
がよいとは言えない。As a countermeasure against this, if a task does not abandon the execution right for a long time, a separate channel is provided and a response is returned. However, the procedure for this is complicated, and since this channel is not always used, it cannot be said that the utilization efficiency is good.
(3)発明の目的 本発明の目的は制御局により制製される作業端末におい
て動作するタスクが長時間実行権を放棄しない場合、制
御局からの呼出しに応答してレスポンスを返すようにし
た簡単な構成のレスポンス制御方式を提供することであ
る。(3) Object of the invention The object of the present invention is to simply return the response in response to the call from the control station when the task operating in the work terminal manufactured by the control station does not give up the execution right for a long time. It is to provide a response control method with various configurations.
(4)発明の構成 前記目的を達成するため、本発明の回線レスポンス制御
方式は制御局からの呼出信号を受けた時に、前記呼出信
号に基づく割込の受付け処理を行なう割込み処理部と、
前記呼出信号に応じた処理を実行すると共に、前記呼出
信号に対して前記制御局のモード切替えのための所定の
タイミング時間が経過した後にレスポンスを返すタスク
処理部を具備する回線制御部を有する作業端末であっ
て、 前記制御局からの呼出信号に対し、前記所定のタイミン
グ時間が経過したことを知らせるためのタイムアウト割
込が生じたとき、該タイムアウト割込処理のために中断
せしめておいたタスクの再開前に、前記割込処理部から
前記制御局にレスポンスを返し、当該レスポンス返送後
に前記中断せしめておいたタスクを再開させるように制
御することを特徴とするものである。(4) Configuration of the invention, in order to achieve the above object, the line response control method of the present invention, when receiving a call signal from the control station, an interrupt processing unit that performs interrupt acceptance processing based on the call signal,
Work having a line control unit including a task processing unit that executes processing according to the ringing signal and returns a response to the ringing signal after a predetermined timing time for mode switching of the control station has elapsed In the terminal, when a time-out interrupt for notifying that the predetermined timing time has elapsed in response to a call signal from the control station, the task that has been suspended for the time-out interrupt processing Prior to resuming, the interrupt processing unit returns a response to the control station, and after the response is returned, the interrupted task is resumed.
(5)発明の実施例 従来技術では、制御局から作業端末に呼出しを行なう場
合、処理中のタスクから一旦実行権が回線制御部の割込
処理部に移るが、割込処理終了後自動的に元のタスクに
戻り、規定時間内に制御局にレスポンスを返せないとこ
ろに問題がある。本発明では割込処理終了後直ちにレス
ポンスを制御局に戻すことにより、割込みの処理状態を
監視することができる。(5) Embodiments of the Invention In the prior art, when a call is made from the control station to the work terminal, the execution right is temporarily transferred from the task being processed to the interrupt processing unit of the line control unit, but automatically after the interrupt processing is completed. There is a problem in that it cannot return a response to the control station within the specified time by returning to the original task. In the present invention, the interrupt processing status can be monitored by returning the response to the control station immediately after the completion of the interrupt processing.
第3図(a)〜(c)は本発明の実施例の動作説明図である。
第2図の従来例と異なる点は、同図(a)の呼出信号と、
同図(b)の割込処理部に示すように、呼出し信号が第1
図の制御局1からWS21の割込処理部11-1に割込信号が送
られ、第1図と同様手順〜を経て処理終了後、規定
時間内にレスポンスを制御局1に返すことである。FIGS. 3 (a) to 3 (c) are operation explanatory views of the embodiment of the present invention.
The difference from the conventional example of FIG. 2 is that the call signal of FIG.
As shown in the interrupt processing section of FIG. 7B, the call signal is the first
Interrupt signal from the control station 1 to WS2 1 interrupt processing unit 11-1 in Fig are sent after processing through the same steps ~ and Figure 1, by returning a response to the control station 1 within the specified time is there.
このレスポンスを返すことにより、制御局1はWS21に
おける割込みの処理状態を知ることができる。このレス
ポンスの返送後実行権は再びタスクAに移りホから処
理を続行する。By returning the response, the control station 1 can know the processing state of the interrupt in WS2 1. After the return of this response, the execution right moves to the task A again and the processing is continued from E.
(6)発明の効果 以上説明したように、本発明によれば制御局より呼出信
号を発生しレスポンスを返す作業端末において、制御局
から割込みを行なう場合、処理中のタスクより一旦実行
権が割込側に移るが、この割込処理が終了した時点でレ
スポンスを制御局に返すように制御するものである。こ
れにより、処理中のタスクが長時間実行権を放棄しない
場合にもレスポンスを補償するから、従来のように再送
するような事態の発生を避けることができる。(6) Effects of the Invention As described above, according to the present invention, when an interrupt is issued from the control station in a work terminal that generates a call signal from the control station and returns a response, the execution right is temporarily assigned to the task being processed. The process moves to the ingress side, but the control is such that a response is returned to the control station when this interrupt processing is completed. As a result, the response is compensated even when the task being processed does not abandon the execution right for a long time, so that it is possible to avoid the occurrence of the situation of retransmitting as in the conventional case.
第1図は従来例および本発明のシステムの一般説明図、
第2図は従来例の動作説明図、第3図は本発明の実施例
の動作説明図であり、図中、1は制御局、21,22は作業
端末、11-1は割込処理部、11-2はタスク処理部、PSは呼
出信号、RSはレスポンスを示す。FIG. 1 is a general explanatory view of a conventional example and the system of the present invention,
FIG. 2 is a diagram for explaining the operation of the conventional example, and FIG. 3 is a diagram for explaining the operation of the embodiment of the present invention. In the figure, 1 is a control station, 2 1 and 2 2 are work terminals, and 11-1 is an interrupt. A processing unit, 11-2 is a task processing unit, PS is a calling signal, and RS is a response.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−10833(JP,A) 特開 昭57−10834(JP,A) 特開 昭59−36456(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-57-10833 (JP, A) JP-A-57-10834 (JP, A) JP-A-59-36456 (JP, A)
Claims (1)
呼出信号に基づく割込の受付け処理を行なう割込み処理
部と、前記呼出信号に応じた処理を実行すると共に、前
記呼出信号に対して前記制御局のモード切替えのための
所定のタイミング時間が経過した後にレスポンスを返す
タスク処理部を具備する回線制御部を有する作業端末で
あって、 前記制御局からの呼出信号に対し、前記所定のタイミン
グ時間が経過したことを知らせるためのタイムアウト割
込が生じたとき、該タイムアウト割込処理のために中断
せしめておいたタスクの再開前に、前記割込処理部から
前記制御局にレスポンスを返し、当該レスポンス返送後
に前記中断せしめておいたタスクを再開させるように制
御することを特徴とする回線レスポンス制御方式。1. An interrupt processing unit which, when receiving a call signal from a control station, accepts an interrupt based on the call signal, executes a process according to the call signal, and responds to the call signal. A work terminal having a line control unit including a task processing unit that returns a response after a predetermined timing time for switching the mode of the control station has passed, and the predetermined operation is performed in response to a call signal from the control station. When a time-out interrupt for notifying that the timing time has elapsed has occurred, a response is sent from the interrupt processing unit to the control station before the restart of the task suspended for the time-out interrupt processing. A line response control method, wherein the line response control method is characterized in that after the response is returned, the suspended task is restarted.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59087453A JPH0611153B2 (en) | 1984-04-28 | 1984-04-28 | Line response control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59087453A JPH0611153B2 (en) | 1984-04-28 | 1984-04-28 | Line response control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60230749A JPS60230749A (en) | 1985-11-16 |
| JPH0611153B2 true JPH0611153B2 (en) | 1994-02-09 |
Family
ID=13915275
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59087453A Expired - Lifetime JPH0611153B2 (en) | 1984-04-28 | 1984-04-28 | Line response control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0611153B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5953574B2 (en) * | 1980-06-24 | 1984-12-26 | 富士通株式会社 | Communication control method |
| JPS5953575B2 (en) * | 1980-06-24 | 1984-12-26 | 富士通株式会社 | Communication control method |
| JPS5936456A (en) * | 1982-08-24 | 1984-02-28 | Nec Corp | Communication controller |
-
1984
- 1984-04-28 JP JP59087453A patent/JPH0611153B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60230749A (en) | 1985-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108710597B (en) | Method and system for optimizing MCU communication by using GPIO | |
| JPH0611153B2 (en) | Line response control method | |
| CN111858177B (en) | Inter-process communication abnormality repairing method and device, electronic equipment and storage medium | |
| KR20010075510A (en) | Method for controlling sequential machine processes | |
| JPH05250225A (en) | Inter-device communication controller | |
| US5469493A (en) | Telephone call saving system and method for an integrated service digital network | |
| KR100206991B1 (en) | Communication protocol processing method | |
| JP2879480B2 (en) | Switching system when redundant computer system loses synchronization | |
| JPS5826057B2 (en) | complex computer system | |
| JP3148099B2 (en) | Input / output control method and input / output control method | |
| JPS61198864A (en) | Control method for facsimile system | |
| CN118338055A (en) | Control method and device, cloud computer server and storage medium | |
| JP2576656B2 (en) | Electronic switching system including additional processor | |
| CN117193972A (en) | Task execution method of SOC processor and electronic equipment | |
| JP2003249976A (en) | Serial communication hardware flow control method | |
| JP2704095B2 (en) | Exchange system | |
| JPS61289796A (en) | Interrupt control method for electronic switching system | |
| JPS628830B2 (en) | ||
| JPH04169939A (en) | System call retry processing system | |
| JPS63314046A (en) | Operation monitor device for destination processor | |
| JPS5979656A (en) | Method for controlling transmission of data | |
| JPH0378862A (en) | Control system for build-in of electronic computer | |
| JPH0287855A (en) | Fault information sending-out system | |
| JPH04301945A (en) | High efficiency multicast system | |
| JPH01213727A (en) | Stall monitor system |