JPH09107393A - Timer control method and device - Google Patents

Timer control method and device

Info

Publication number
JPH09107393A
JPH09107393A JP26561695A JP26561695A JPH09107393A JP H09107393 A JPH09107393 A JP H09107393A JP 26561695 A JP26561695 A JP 26561695A JP 26561695 A JP26561695 A JP 26561695A JP H09107393 A JPH09107393 A JP H09107393A
Authority
JP
Japan
Prior art keywords
timer
task
timers
value
circuit
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
JP26561695A
Other languages
Japanese (ja)
Other versions
JP3777633B2 (en
Inventor
Yoshihiro Matsuzaki
義寛 松崎
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP26561695A priority Critical patent/JP3777633B2/en
Publication of JPH09107393A publication Critical patent/JPH09107393A/en
Application granted granted Critical
Publication of JP3777633B2 publication Critical patent/JP3777633B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Predetermined Time Intervals (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the number of times in use by giving an elapsed notice of timer set values of plural timers not in simultaneous operation to a timer request source so as to use one timer for the notice for the plural timers. SOLUTION: When a call request from a man-machine interface MMI task conducting input signal processing of a keyboard is fed to a communication CC task in which a transmission reception circuit 4 conducts protocol execution while a microcomputer is started, transmission control for connection request to a base station is applied to the circuit 4 and a CC publicates a start function T1 of start of a task T1 to a TT task making timer control. Then the CC receives a connection setup signal from the circuit 4 and sends a call request signal to the circuit 4. The CC sends a timer T1 stop function T1 to the TT in the connection processing from the circuit 4 to the base station. Furthermore, the CC informs start of connection processing to the MMI and simultaneously the CC gives a timer T4 start function T4 to the TT, and when the circuit 4 receives a call tone, the timer T4 stop function T4 is given to the TT, the CC informs a calling state to the MMI to start talking.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば携帯電話装
置に使用して好適なタイマ制御方法及び装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timer control method and device suitable for use in, for example, a mobile phone device.

【0002】[0002]

【従来の技術】例えば携帯電話装置においては、発呼及
び着呼等の呼のプロトコル等において多数のタイマが使
用されている。すなわち例えば呼のプロトコルにおい
て、例えば発呼を行う際には、発呼要求の信号の送信
後、基地局側からの接続処理あるいは接続拒否の回答を
得るまでの待機時間を計るタイマT1(30秒)が設け
られている。従ってこの間にこれらの回答が得られなか
った場合には、再度発呼要求の処理を行うものである。
2. Description of the Related Art For example, in a portable telephone device, a large number of timers are used in call protocols such as calling and receiving calls. That is, for example, in a call protocol, for example, when making a call, a timer T1 (30 seconds) for measuring the waiting time after the connection request from the base station side or the response of connection refusal is received after the call request signal is transmitted. ) Is provided. Therefore, if these answers are not obtained during this period, the call request process is performed again.

【0003】また、通話を終了する際には、通話終了要
求の信号の送信後、基地局側からの終了の確認あるいは
拒否の回答を得るまでの待機時間を計るタイマT2(3
0秒)が設けられている。さらに通信を終了する際に
は、通信終了要求の信号の送信後、基地局側からの終了
の確認あるいは拒否の回答を得るまでの待機時間を計る
タイマT3(30秒)が設けられている。従ってこれら
の間に各回答が得られなかった場合には、再度通話ある
いは通信の終了要求の処理を行うものである。
In addition, when ending a call, a timer T2 (3) for measuring the waiting time after the call end request signal is transmitted and before the end confirmation or refusal from the base station is obtained.
0 seconds) is provided. Further, when the communication is ended, a timer T3 (30 seconds) is provided for measuring the waiting time after the signal for requesting the end of communication is transmitted until the end confirmation or the reply of refusal is obtained from the base station side. Therefore, if each answer is not obtained during this period, the processing of the call or communication end request is performed again.

【0004】一方、例えば発呼の要求後に基地局側から
の接続処理の信号が受信された際には、基地局側からの
着信側への呼出音やその他の処理の信号を得るまでの待
機時間を計るタイマT4(30秒)が設けられている。
従ってこの間に基地局側からの任意の処理の信号が得ら
れなかった場合には、再度最初の発呼要求の信号の送信
からの処理を行うか、通常の内部の処理の動作を行うも
のである。
On the other hand, for example, when a signal for connection processing is received from the base station side after requesting a call, waiting for obtaining a ringing tone from the base station side to the called side or a signal for other processing. A timer T4 (30 seconds) for counting time is provided.
Therefore, if the signal of any processing from the base station side is not obtained during this period, the processing from the transmission of the signal of the first call request is performed again, or the normal internal processing operation is performed. is there.

【0005】さらに着呼時に通話を開始する際には、接
続要求の信号の送信後、基地局側からの接続の確認の回
答を得るまでの待機時間を計るタイマT5(30秒)が
設けられている。またファクシミリ通信などで通信仕様
の変更を行う際には、変更要求の信号の送信後、基地局
側からの変更の確認あるいは拒否の回答を得るまでの待
機時間を計るタイマT6(30秒)が設けられている。
従ってこれらの間に各回答が得られなかった場合には、
再度これらの要求の処理を行うものである。
Further, when a call is started at the time of an incoming call, a timer T5 (30 seconds) is provided for measuring the waiting time until the connection confirmation signal from the base station is obtained after the connection request signal is transmitted. ing. In addition, when changing the communication specifications by facsimile communication, etc., a timer T6 (30 seconds) for measuring the waiting time after the change request signal is transmitted until the change confirmation or the refusal response from the base station is obtained is provided. It is provided.
Therefore, if each answer is not obtained during these periods,
The processing of these requests is performed again.

【0006】また、発呼においていわゆるデュアルトー
ンによってダイヤル信号の発生を行う際には、デュアル
トーンの発生期間を制御するためのタイマT7(200
m秒)及び停止期間を制御するためのタイマT8(20
0m秒)が設けられている。従ってこれらのタイマT7
及びT8を用いることによって、例えばデュアルトーン
によるダイヤル信号の発生を良好に行うことができるも
のである。
Further, when a dial signal is generated by a so-called dual tone when a call is made, a timer T7 (200) for controlling the generation period of the dual tone is used.
msec) and a timer T8 (20 for controlling the stop period)
0 ms) is provided. Therefore, these timers T7
By using T8 and T8, it is possible to favorably generate a dial signal by dual tone, for example.

【0007】[0007]

【発明が解決しようとする課題】すなわち上述の説明に
おいて、例えば呼のプロトコルにおいては8個のタイマ
が必要とされている。一方、携帯電話装置の仕様におい
ては、同時に5つまでの呼の処理を行えることが規定さ
れており、上述の1つの呼のプロトコルにおいて8個の
タイマが必要とされている場合には、全体で8×5=4
0個のタイマが必要とされることになる。
That is, in the above description, for example, eight timers are required in the call protocol. On the other hand, the specifications of the mobile phone device stipulate that up to five calls can be processed at the same time, and if eight timers are required in the above-mentioned one-call protocol, the entire 8 × 5 = 4
Zero timers would be required.

【0008】ところでこのような多数のタイマを装置内
で使用する場合には、例えば所定の時間(10m秒)ご
とに値が増加される時計を用いて、それぞれのタイマの
起動時に、この時計の値に設定されるタイマの値を加算
した値を記憶し、この加算値と時計の値が一致したとき
にタイマ時間の経過を判断することが行われている。従
って各タイマには各々IDが付与され、このIDごとに
加算値が記憶され、タイマ時間の経過が判断されると、
このIDと共に告知が行われるものである。
By the way, when such a large number of timers are used in the apparatus, for example, a clock whose value is incremented every predetermined time (10 msec) is used, and when each timer is activated The value obtained by adding the value of the timer set to the value is stored, and the elapse of the timer time is determined when the added value and the value of the clock match. Therefore, each timer is given an ID, the added value is stored for each ID, and when the elapse of the timer time is determined,
Notification is made with this ID.

【0009】ところがこのようなタイマにおいて、タイ
マ時間の経過の判断は、上述の時計の値の増加される所
定の時間(10m秒)ごとに、全てのIDに記憶されて
いる加算値に対して行わなければならない。従ってこの
ような判断を行うことのできるタイマの数には限界があ
り、例えば本発明の適用される装置では128個までと
されている。このため他の処理でもタイマが使用される
ことを考慮すると、上述の呼のプロトコルだけで40個
ものタイマを占有することには問題がある。
However, in such a timer, the judgment of the elapse of the timer time is made with respect to the added value stored in all the IDs at every predetermined time (10 msec) in which the value of the clock is increased. It must be made. Therefore, there is a limit to the number of timers that can make such a judgment, and for example, the number of timers is 128 in the apparatus to which the present invention is applied. Therefore, considering that timers are used in other processes, it is problematic to occupy as many as 40 timers with only the above call protocol.

【0010】この出願はこのような点に鑑みて成された
ものであって、解決しようとする問題点は、装置内で使
用されるタイマの数には限界があり、例えば特定のプロ
トコルだけで多数のタイマを占有することには問題があ
るというものである。
This application has been made in view of such a point, and the problem to be solved is that the number of timers used in the device is limited, and for example, only a specific protocol is available. There is a problem in occupying a large number of timers.

【0011】[0011]

【課題を解決するための手段】このため本発明において
は、一連の処理において同時に動作することのない複数
のタイマに対して同一のIDを付与し、タイマの起動時
にタイマの要求元の名称を含むパラメータをタイマ手段
に供給し、タイマ値が経過したときの告知をパラメータ
に示めされたタイマの要求元へ行うものであって、これ
によれば複数のタイマに対して1つのタイマで処理する
ことができ、使用されるタイマの数を大幅に削減するこ
とができる。
Therefore, in the present invention, the same ID is assigned to a plurality of timers that do not operate simultaneously in a series of processing, and the name of the request source of the timer is set when the timer is started. The parameter including the parameter is supplied to the timer means, and the notification when the timer value has elapsed is sent to the request source of the timer indicated by the parameter. According to this, one timer processes a plurality of timers. And the number of timers used can be significantly reduced.

【0012】[0012]

【発明の実施の形態】すなわち本発明においては、一連
の処理中に使用されるタイマの内で同時に動作すること
のない複数のタイマに対して同一のIDを付与すると共
に、任意のタイマの起動時に少なくとも同一のIDの値
と可変のタイマ値とタイマの要求元の名称を含むパラメ
ータをIDで示される単一のタイマ手段に供給し、タイ
マ値が経過したときに名称で示されるタイマの要求元へ
の告知を行うものである。
BEST MODE FOR CARRYING OUT THE INVENTION That is, according to the present invention, the same ID is assigned to a plurality of timers that do not operate at the same time among the timers used during a series of processing, and an arbitrary timer is activated. Sometimes a parameter including at least the same ID value, a variable timer value, and the name of the requestor of the timer is supplied to a single timer means indicated by the ID, and when the timer value elapses, the timer request indicated by the name is requested. It is a notification to the original.

【0013】以下、図面を参照して本発明を説明する
に、図1は本発明によるタイマ制御方法及び装置を適用
した携帯電話装置の一例の構成を示すブロック図であ
る。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an example of a portable telephone device to which a timer control method and device according to the present invention are applied.

【0014】この図1において、マイクロフォン1から
の音声信号がアンプ2を通じて音声信号の符号化復号化
回路3に供給され、符号化された音声信号が送受信回路
4、切り換えスイッチ5を通じてアンテナ6から送信さ
れる。またアンテナ6で受信された信号が切り換えスイ
ッチ5を通じて送受信回路4に供給され、受信された符
号化信号が符号化復号化回路3に供給されて音声信号が
復号化される。そしてこの復号化された音声信号がアン
プ7を通じてスピーカ8に供給される。
In FIG. 1, a voice signal from a microphone 1 is supplied to a voice signal coding / decoding circuit 3 through an amplifier 2, and the coded voice signal is transmitted from an antenna 6 through a transmitting / receiving circuit 4 and a changeover switch 5. To be done. Further, the signal received by the antenna 6 is supplied to the transmission / reception circuit 4 through the changeover switch 5, and the received coded signal is supplied to the coding / decoding circuit 3 to decode the voice signal. Then, the decoded audio signal is supplied to the speaker 8 through the amplifier 7.

【0015】さらにこれらの符号化復号化回路3及び送
受信回路4の動作が、マイクロコンピュータ9によって
制御される。またこのマイクロコンピュータ9には、着
呼時の呼出音や警報音等を発生するリンガー10、動作
処理のためのデータを記憶するメモリ11、使用者から
の各種の指示の入力されるキーボード12等が接続され
る。またこのマイクロコンピュータ9には、動作状態等
の表示を行う液晶ディスプレイ13が駆動回路14を通
じて接続される。
Further, the microcomputer 9 controls the operations of the encoding / decoding circuit 3 and the transmission / reception circuit 4. Further, the microcomputer 9 includes a ringer 10 for generating a ringing sound and an alarm sound when an incoming call is made, a memory 11 for storing data for operation processing, a keyboard 12 for inputting various instructions from a user, and the like. Are connected. Further, a liquid crystal display 13 for displaying an operating state and the like is connected to the microcomputer 9 through a drive circuit 14.

【0016】そしてこのマイクロコンピュータ9におい
ては、上述のキーボード12からの入力信号の処理や液
晶ディスプレイ13での表示等の処理を行うためのマン
=マシン・インターフェース(MMI)のタスクや、送
受信回路4での上述の呼のプロトコルを行うためのコミ
ュニケーション(CC)のタスク、符号化復号化回路3
での符号化復号化のための制御を行うためのタスク、さ
らにタイマ制御を行うためのタイマ(TT)のタスクな
どが設けられる。
In the microcomputer 9, a man-machine interface (MMI) task for processing an input signal from the keyboard 12 and a display on the liquid crystal display 13 and the transmission / reception circuit 4 are provided. (CC) task for performing the above-mentioned call protocol in the above, the encoding / decoding circuit 3
Tasks for performing control for encoding / decoding in 1., and a task for a timer (TT) for performing timer control are provided.

【0017】従ってこのマイクロコンピュータ9におい
て例えば発呼を行う際には、例えば図2に示すように処
理が行われる。すなわち図2では、まずCCタスクは不
動作状態とされている。この状態でMMIタスクからの
発呼要求がCCタスクに供給されると、これによってC
Cタスクから送受信回路4に対して基地局への接続要求
の信号を送信する制御が行われる。またCCタスクから
TTタスクに対して上述のタイマT1を起動するための
起動関数〔T1〕が発行される。
Therefore, when making a call, for example, in the microcomputer 9, the processing is performed as shown in FIG. 2, for example. That is, in FIG. 2, first, the CC task is inactive. When the call request from the MMI task is supplied to the CC task in this state, the C task
Control is performed from the C task to the transmission / reception circuit 4 to transmit a signal of a connection request to the base station. Further, the CC task issues an activation function [T1] for activating the above-mentioned timer T1 to the TT task.

【0018】さらにCCタスクでは、送受信回路4で基
地局からの接続確立の信号が受信されると、送受信回路
4に対して基地局への発呼要求の信号を送信する制御が
行われる。そして送受信回路4で基地局からの接続処理
の信号が受信されると、CCタスクからTTタスクに対
して上述のタイマT1を停止するための停止関数〔T
1〕が発行される。
Further, in the CC task, when the transmission / reception circuit 4 receives a connection establishment signal from the base station, the transmission / reception circuit 4 is controlled to transmit a call request signal to the base station. When the transmission / reception circuit 4 receives a signal for connection processing from the base station, the stop function [T for stopping the above-mentioned timer T1 from the CC task to the TT task is received.
1] is issued.

【0019】またCCタスクからMMIタスクに対して
接続処理開始の告知が行われる。それと共にCCタスク
からTTタスクに対して上述のタイマT4を起動するた
めの起動関数〔T4〕が発行される。そして送受信回路
4で基地局からの着信側への呼出音の信号が受信される
と、CCタスクからTTタスクに対して上述のタイマT
4を停止するための停止関数〔T4〕が発行される。ま
たCCタスクからMMIタスクに対して呼出中の告知が
行われる。
Further, the CC task notifies the MMI task of the start of the connection process. At the same time, the CC task issues to the TT task an activation function [T4] for activating the timer T4. When the transmitting / receiving circuit 4 receives the ringing tone signal from the base station to the receiving side, the above-mentioned timer T is sent from the CC task to the TT task.
A stop function [T4] for stopping 4 is issued. In addition, the CC task notifies the MMI task that it is calling.

【0020】さらに送受信回路4で基地局からの接続の
信号が受信されると、CCタスクから送受信回路4に対
して基地局への接続確認の信号を送信する制御が行われ
る。そしてCCタスクからMMIタスクに対して通話開
始の告知が行われ、通話が開始される。
Further, when the transmission / reception circuit 4 receives a connection signal from the base station, the CC task controls the transmission / reception circuit 4 to transmit a connection confirmation signal to the base station. Then, the CC task notifies the MMI task of the start of the call, and the call is started.

【0021】またこの図2において、起動関数〔T1〕
が発行されてから停止関数〔T1〕が発行されるまでの
間、または起動関数〔T4〕が発行されてから停止関数
〔T4〕が発行されるまでの間に、TTタスクでタイマ
値の時間の経過が判断されると、それぞれTTタスクか
らCCタスクに経過の告知〔T1〕または〔T4〕が発
行される。この場合にCCタスクでは、最初のMMIタ
スクからの発呼要求がCCタスクに供給された時点から
の動作が再度行われる。
Further, in FIG. 2, the starting function [T1]
From the issuance of the stop function [T1] to the issuance of the start function [T4] to the issuance of the stop function [T4] of the TT task. When the progress of is judged, the progress notification [T1] or [T4] is issued from the TT task to the CC task. In this case, in the CC task, the operation from the time when the call request from the first MMI task is supplied to the CC task is performed again.

【0022】さらに上述のマイクロコンピュータ9にお
いて例えば着呼の際には、例えば図3に示すように処理
が行われる。すなわち図3では、まずCCタスクは不動
作状態とされている。この状態で送受信回路4で基地局
からの着呼の信号がCCタスクに供給されると、CCタ
スクからMMIタスクに対して着呼の告知が行われる。
そしてMMIタスクから着呼の確認が戻されると、CC
タスクから送受信回路4に対して基地局への着呼確認の
信号を送信する制御が行われる。
Further, in the microcomputer 9 described above, for example, when receiving an incoming call, the processing is performed as shown in FIG. 3, for example. That is, in FIG. 3, first, the CC task is inactive. In this state, when the transmission / reception circuit 4 supplies an incoming call signal from the base station to the CC task, the CC task notifies the MMI task of the incoming call.
When the MMI task returns confirmation of the incoming call, CC
The task controls the transmission / reception circuit 4 to transmit an incoming call confirmation signal to the base station.

【0023】またMMIタスクから呼出音発生が報告さ
れると、CCタスクから送受信回路4に対して基地局へ
の呼出音の信号を送信する制御が行われる。さらにMM
Iタスクから応答開始が報告されると、CCタスクから
送受信回路4に対して基地局への応答告知の信号を送信
する制御が行われる。それと共にCCタスクからTTタ
スクに対して上述のタイマT5を起動するための起動関
数〔T5〕が発行される。
When the MMI task reports that a ringing tone is generated, the CC task controls the transmitting / receiving circuit 4 to transmit a ringing tone signal to the base station. Further MM
When the response start is reported from the I task, the CC task controls the transmission / reception circuit 4 to transmit a response notification signal to the base station. At the same time, the CC task issues to the TT task an activation function [T5] for activating the timer T5.

【0024】そして送受信回路4で基地局からの応答告
知の確認の信号が受信されると、CCタスクからTTタ
スクに対して上述のタイマT5を停止するための停止関
数〔T5〕が発行される。さらにCCタスクからMMI
タスクに対して通話開始の告知が行われ、通話が開始さ
れる。
When the transmission / reception circuit 4 receives the signal for confirming the response notification from the base station, the CC task issues a stop function [T5] to the TT task to stop the timer T5. . From CC task to MMI
The task is notified that the call is started, and the call is started.

【0025】また起動関数〔T5〕が発行されてから停
止関数〔T5〕が発行されるまでの間に、TTタスクで
タイマ値の時間の経過が判断されると、TTタスクから
CCタスクに経過の告知〔T5〕が発行される。そして
この場合にCCタスクでは、MMIタスクから応答開始
が報告された時点からの動作が再度行われる。
If the TT task determines that the time of the timer value has elapsed between the issuance of the start function [T5] and the issuance of the stop function [T5], the TT task transits to the CC task. [T5] is issued. In this case, in the CC task, the operation from the time when the response start is reported from the MMI task is performed again.

【0026】このようにして、例えば発呼及び着呼を行
う際の処理が行われる。そしてこれらの処理やその他の
処理において、上述の起動関数〔Tn〕(n=1〜8)
は、使用されるタイマのID値、それぞれのタイマ値、
タイマを要求したタスク(CC)の入力ポート名、後述
するメッセージの開始アドレス等によって構成される。
従ってこの起動関数〔Tn〕を形成するために、CCタ
スクにはそのメモリのワークエリアの一部に例えば図4
のAに示すようなテーブルが設けられる。
In this way, processing for making a call and a call is performed, for example. Then, in these processing and other processing, the above-mentioned starting function [Tn] (n = 1 to 8)
Is the ID value of the timer used, the respective timer value,
It is composed of an input port name of a task (CC) requesting a timer, a start address of a message described later, and the like.
Therefore, in order to form this activation function [Tn], the CC task has a part of its work area, for example, as shown in FIG.
A table as shown in A of FIG.

【0027】すなわち図4のAにおいて、テーブルは上
述のタイマT1〜T8のそれぞれに対して設けられ、そ
れぞれ使用されるタイマのID値、タイマ値(ミリ秒単
位)と、後述するメッセージの形成ごとにインクリメン
トされるシリアル番号が書き込まれる。なおこの場合
に、使用されるタイマのID値はタイマT1〜T6で同
一である。またタイマ値はそれぞれ必要な値がミリ秒単
位で書き込まれる。
That is, in FIG. 4A, a table is provided for each of the above-mentioned timers T1 to T8, and the ID value of each timer used, the timer value (in milliseconds), and the formation of each message described later. The serial number that is incremented to is written. In this case, the ID values of the timers used are the same for the timers T1 to T6. Also, as the timer value, a required value is written in milliseconds.

【0028】これに対してTTタスクには、そのメモリ
のワークエリアの一部に例えば図4のBに示すようなテ
ーブルが設けられる。すなわち図4のBにおいて、それ
ぞれのタイマIDごとに、使用不使用を示すステータス
値、設定されたタイマ経過の時刻、要求元のタスクのポ
ート名、後述するメッセージの開始アドレスが書き込ま
れる。
On the other hand, in the TT task, a table as shown in FIG. 4B, for example, is provided in a part of the work area of the memory. That is, in FIG. 4B, a status value indicating use / non-use, a set timer elapsed time, a port name of a request source task, and a start address of a message described later are written for each timer ID.

【0029】そしてこれらのテーブルを用いて、上述の
起動関数〔Tn〕の発行は、例えば図5のAに示すよう
にして行われる。すなわち図5のAにおいて、まずステ
ップ〔1〕で、タイマTnのタイマID値で示されるT
TタスクのタイマIDがリセットされる。次にステップ
〔2〕で、そのタイマIDのステータス値が使用中を示
すように設定される。
Using these tables, the above-mentioned activation function [Tn] is issued, for example, as shown in A of FIG. That is, in A of FIG. 5, first, in step [1], T indicated by the timer ID value of the timer Tn.
The timer ID of the T task is reset. Next, in step [2], the status value of the timer ID is set to indicate that it is in use.

【0030】さらにステップ〔3〕で、CCタスクのメ
モリのワークエリアの一部に例えば図4のCに示すよう
なメッセージエリアが確保される。そしてステップ
〔4〕で、このメッセージエリアに、タイマ名〔Tn〕
と、ソースタスク(この場合はタイマタスク)、データ
長(=0)が書き込まれる。
Further, in step [3], a message area as shown in C of FIG. 4 is secured in a part of the work area of the memory of the CC task. Then, in step [4], the timer name [Tn] is added to this message area.
Then, the source task (timer task in this case) and the data length (= 0) are written.

【0031】またステップ〔5〕で、上述のタイマT1
〜T8のテーブルのシリアル番号が“+1”インクリメ
ントされ、この値がT1〜T8のテーブルのシリアル番
号に書き込まれる。さらにステップ〔6〕で、このシリ
アル番号と、上述の規定された5つの呼のいずれかを示
す名称が上述のメッセージエリアに書き込まれる。
Further, in step [5], the above-mentioned timer T1
The serial number of the table of T8 to T8 is incremented by "+1", and this value is written in the serial number of the table of T1 to T8. Further, in step [6], the serial number and the name indicating any one of the above-mentioned five defined calls are written in the above-mentioned message area.

【0032】そしてステップ〔7〕で、上述のタイマT
1〜T8のテーブルに書き込まれたタイマのID値と、
タイマ値と、このCCタスクの入出力ポート名と、上述
の確保されたメッセージエリアの始端のアドレスによっ
て起動関数〔Tn〕が形成され、この起動関数〔Tn〕
がTTタスクに発行される。
Then, in step [7], the above-mentioned timer T
ID values of the timer written in the tables 1 to T8,
A start-up function [Tn] is formed by the timer value, the input / output port name of this CC task, and the start address of the secured message area described above.
Is issued to the TT task.

【0033】従ってこの起動関数〔Tn〕を受け取った
TTタスクでは、関数内のID値で指定されたタイマの
テーブルに、設定されたタイマ経過の時刻(現時刻の値
に関数内のタイマ値の1/10を加算して形成される)
と、関数内の入出力ポート名と、メッセージエリアの始
端のアドレスが書き込まれる。これによってTTタスク
では、上述のタイマT1〜T8が、テーブルに書き込ま
れたID値のタイマで起動される。
Therefore, in the TT task which has received this activation function [Tn], the time of the timer set in the table of the timer specified by the ID value in the function (the current time value of the timer value in the function Formed by adding 1/10)
And the input / output port name in the function and the address of the beginning of the message area are written. As a result, in the TT task, the above-mentioned timers T1 to T8 are started by the timer having the ID value written in the table.

【0034】また、上述の停止関数〔Tn〕の発行は例
えば図5のBに示すようにして行われる。すなわち図5
のBにおいて、まずステップ〔11〕で、タイマTnの
タイマID値で示されるTTタスクのタイマIDのステ
ータス値が不使用を示すように設定される。
The above-mentioned stop function [Tn] is issued, for example, as shown in B of FIG. That is, FIG.
B, first, in step [11], the status value of the timer ID of the TT task indicated by the timer ID value of the timer Tn is set to indicate non-use.

【0035】次にステップ〔12〕で、上述のタイマT
1〜T8のテーブルに書き込まれたタイマのID値によ
って停止関数〔Tn〕が形成され、この起動関数〔T
n〕がTTタスクに発行される。さらにステップ〔1
3〕で、CCタスクのメモリのワークエリアの一部に確
保されたメッセージエリアが開放される。
Next, at step [12], the above-mentioned timer T
A stop function [Tn] is formed by the ID values of the timers written in the tables 1 to T8.
n] is issued to the TT task. Further steps [1
In 3], the message area secured in a part of the work area of the memory of the CC task is released.

【0036】従ってこの停止関数〔Tn〕を受け取った
TTタスクでは、関数内のID値で指定されたタイマの
テーブルを開放する。これによって、上述のタイマT1
〜T8のテーブルに書き込まれたID値のタイマが停止
される。
Therefore, the TT task receiving this stop function [Tn] releases the table of the timer designated by the ID value in the function. By this, the above-mentioned timer T1
~ The timer of the ID value written in the table of T8 is stopped.

【0037】これに対して、上述の設定されたタイマ時
間の経過が判断されると、TTタスクから時間経過の告
知がCCタスクに対して行われる。そしてこの場合に、
時間経過の告知は、関数で指定された入出力ポートに、
関数で指定されたメッセージエリアの始端のアドレスを
送信して行われる。
On the other hand, when the elapse of the set timer time is determined, the TT task notifies the CC task of the elapse of time. And in this case,
Notification of the passage of time is sent to the input / output port specified by the function.
It is performed by sending the start address of the message area specified by the function.

【0038】これによってCCタスクでは、メッセージ
エリアに書き込まれたタイマ名〔Tn〕のタイマの時間
が経過したことが判断される。またこの場合に、各タイ
マにシリアル番号を設けたことによって、停止関数〔T
n〕が誤って発行されなかった場合や、タイミングの誤
差などによって誤って時間経過の告知が行われた場合に
も、シリアル番号の不一致によってその誤りを判別し、
誤動作を回避することができる。
As a result, the CC task determines that the time of the timer having the timer name [Tn] written in the message area has elapsed. In this case, the stop function [T
[n] is not issued by mistake, or even when a notification of the passage of time is made by mistake due to a timing error or the like, the error is determined by the mismatch of the serial numbers.
Malfunction can be avoided.

【0039】従ってこの装置において、一連の処理にお
いて同時に動作することのない複数のタイマに対して同
一のIDを付与し、タイマの起動時にタイマの要求元の
名称を含むパラメータをタイマ手段に供給し、タイマ値
が経過したときの告知をパラメータに示めされたタイマ
の要求元へ行うことができる。
Therefore, in this apparatus, the same ID is given to a plurality of timers that do not operate simultaneously in a series of processes, and a parameter including the name of the request source of the timer is supplied to the timer means when the timer is started. , The notification when the timer value has passed can be sent to the requester of the timer indicated in the parameter.

【0040】これによって、従来は装置内で使用される
タイマの数には限界があり、例えば特定のプロトコルだ
けで多数のタイマを占有することには問題があったもの
を、本発明によれば複数のタイマに対して1つのタイマ
で処理することができ、使用されるタイマの数を大幅に
削減することができる。
As a result, according to the present invention, the number of timers used in the apparatus is conventionally limited, and there is a problem in occupying a large number of timers only with a specific protocol. A plurality of timers can be processed by one timer, and the number of timers used can be significantly reduced.

【0041】すなわち、例えば上述の呼のプロトコルに
おいて、従来は1つの呼のプロトコルにおいて8個のタ
イマが必要とされ、規定されている5つの呼では8×5
=40個のタイマが必要であったものを、上述の実施例
ではタイマT1〜T6が1個のタイマで兼用され、また
タイマT7、T8は5つの呼に対して共通に用いること
ができるものであることから、全体では1×5+2=7
個のタイマで規定の5つの呼のプロトコルの処理を行う
ことができる。
That is, for example, in the above-mentioned call protocol, eight timers are conventionally required in one call protocol, and 8 × 5 is provided for the prescribed five calls.
= 40 timers are required, but in the above embodiment, the timers T1 to T6 are also used as one timer, and the timers T7 and T8 can be commonly used for five calls. Therefore, 1 × 5 + 2 = 7 as a whole
Each timer can process the prescribed 5 call protocols.

【0042】こうして上述のタイマ制御方法及び装置に
よれば、一連の処理中に使用されるタイマの内で同時に
動作することのない複数のタイマに対して同一のIDを
付与すると共に、任意のタイマの起動時に少なくとも同
一のIDの値と可変のタイマ値とタイマの要求元の名称
を含むパラメータをIDで示される単一のタイマ手段に
供給し、タイマ値が経過したときに名称で示されるタイ
マの要求元への告知を行うことにより、複数のタイマに
対して1つのタイマで処理することができ、使用される
タイマの数を大幅に削減することができるものである。
Thus, according to the above-described timer control method and apparatus, the same ID is given to a plurality of timers that do not operate simultaneously among the timers used during a series of processing, and an arbitrary timer is given. A parameter including at least the same ID value, a variable timer value, and the name of the request source of the timer is supplied to the single timer means indicated by the ID when the timer is started, and the timer indicated by the name when the timer value has elapsed. By notifying the requester of the above, one timer can process a plurality of timers, and the number of timers used can be significantly reduced.

【0043】なお上述のタイマ制御方法及び装置におい
て、タイマT1〜T6に設定されるタイマ値は同一でな
くても良い。また上述のタイマ制御方法及び装置の用途
は、上述の携帯電話装置に限られるものではなく、任意
の処理において、一連の処理中に使用されるタイマの内
で同時に動作することのない複数のタイマに対して適用
できるものである。
In the above timer control method and apparatus, the timer values set in the timers T1 to T6 may not be the same. Further, the application of the above-mentioned timer control method and device is not limited to the above-mentioned mobile phone device, and in any process, a plurality of timers that do not operate simultaneously among the timers used during a series of processes. Is applicable to.

【0044】[0044]

【発明の効果】この発明によれば、一連の処理において
同時に動作することのない複数のタイマに対して同一の
IDを付与し、タイマの起動時にタイマの要求元の名称
を含むパラメータをタイマ手段に供給し、タイマ値が経
過したときの告知をパラメータに示めされたタイマの要
求元へ行うことができるようになった。
According to the present invention, the same ID is given to a plurality of timers that do not operate simultaneously in a series of processing, and when the timer is started, the parameter including the name of the requester of the timer is set as the timer means. , It becomes possible to notify the requester of the timer indicated by the parameter when the timer value has elapsed.

【0045】これによって、従来は装置内で使用される
タイマの数には限界があり、例えば特定のプロトコルだ
けで多数のタイマを占有することには問題があったもの
を、本発明によれば複数のタイマに対して1つのタイマ
で処理することができ、使用されるタイマの数を大幅に
削減することができるものである。
As a result, according to the present invention, the number of timers used in the apparatus is conventionally limited, and it is problematic to occupy a large number of timers only with a specific protocol. One timer can process a plurality of timers, and the number of used timers can be significantly reduced.

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

【図1】本発明によるタイマ制御方法を適用した装置の
一例の構成図である。
FIG. 1 is a configuration diagram of an example of an apparatus to which a timer control method according to the present invention is applied.

【図2】その動作の説明のための図である。FIG. 2 is a diagram for explaining the operation.

【図3】その動作の説明のための図である。FIG. 3 is a diagram for explaining the operation.

【図4】そのメモリに記憶されるテーブルの説明のため
の図である。
FIG. 4 is a diagram for explaining a table stored in the memory.

【図5】その動作の説明のための図である。FIG. 5 is a diagram for explaining the operation.

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

1 マイクロフォン 2 アンプ 3 音声信号の符号化復号化回路 4 送受信回路 5 切り換えスイッチ 6 アンテナ 7 アンプ 8 スピーカ 9 マイクロコンピュータ 10 リンガー 11 動作処理のためのデータを記憶するメモリ 12 使用者からの各種の指示の入力されるキーボード 13 動作状態等の表示を行う液晶ディスプレイ 14 駆動回路 1 Microphone 2 Amplifier 3 Voice signal encoding / decoding circuit 4 Transmission / reception circuit 5 Changeover switch 6 Antenna 7 Amplifier 8 Speaker 9 Microcomputer 10 Ringer 11 Memory for storing data for processing 12 Various instructions from the user Input keyboard 13 Liquid crystal display for displaying operation status 14 Drive circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 一連の処理中に使用されるタイマの内で
同時に動作することのない複数のタイマに対して同一の
IDを付与すると共に、 任意の上記タイマの起動時に少なくとも上記同一のID
の値と可変のタイマ値と上記タイマの要求元の名称を含
むパラメータを上記IDで示される単一のタイマ手段に
供給し、 上記タイマ値が経過したときに上記名称で示される上記
タイマの要求元への告知を行うことを特徴とするタイマ
制御方法。
1. The same ID is given to a plurality of timers that do not operate at the same time among the timers used during a series of processes, and at least the same ID is given when any of the timers is started.
Value, a variable timer value, and a parameter including the name of the request source of the timer are supplied to the single timer means indicated by the ID, and when the timer value has elapsed, the request of the timer indicated by the name. A timer control method characterized by making a notification to the originator.
【請求項2】 請求項1記載のタイマ制御方法におい
て、 上記パラメータには任意のメッセージを指示する情報が
含められ、 上記タイマ値が経過したときに上記指示されたメッセー
ジを用いて上記告知を行うことを特徴とするタイマ制御
方法。
2. The timer control method according to claim 1, wherein the parameter includes information for instructing an arbitrary message, and when the timer value has elapsed, the informed message is used to perform the notification. A timer control method characterized by the above.
【請求項3】 請求項1記載のタイマ制御方法におい
て、 上記タイマ値が経過する以前に上記同一のIDの値を含
むパラメータを上記IDで示されるタイマ手段に供給し
て動作を停止させることを特徴とするタイマ制御方法。
3. The timer control method according to claim 1, wherein a parameter including the value of the same ID is supplied to the timer means indicated by the ID before the timer value elapses to stop the operation. Characteristic timer control method.
【請求項4】 一連の処理中に使用されるタイマの内で
同時に動作することのない複数のタイマに対して単一の
タイマ手段が設けられると共に、 上記複数のタイマのそれぞれに対して少なくとも上記単
一のタイマ手段に付与された同一のIDの値と可変のタ
イマ値を含むテーブルが設けられ、 任意の上記タイマの起動時に上記テーブルの内容と上記
タイマの要求元の名称を含むパラメータを上記同一のI
Dで示される単一のタイマ手段に供給し、 上記タイマ値が経過したときに上記単一のタイマ手段か
ら上記名称で示される上記タイマの要求元への告知を行
うことを特徴とするタイマ制御装置。
4. A single timer means is provided for a plurality of timers that do not operate at the same time among the timers used during a series of processes, and at least for each of the plurality of timers. A table including a value of the same ID assigned to a single timer means and a variable timer value is provided, and a parameter including the contents of the table and the name of the request source of the timer is set when the arbitrary timer is started. Same I
The timer control is characterized in that the timer is supplied to a single timer means indicated by D, and when the timer value has elapsed, the single timer means notifies the request source of the timer indicated by the name. apparatus.
【請求項5】 請求項4記載のタイマ制御装置におい
て、 上記パラメータには任意のメッセージを指示する情報が
含められ、 上記タイマ値が経過したときに上記指示されたメッセー
ジを用いて上記告知を行うことを特徴とするタイマ制御
装置。
5. The timer control device according to claim 4, wherein the parameter includes information for instructing an arbitrary message, and when the timer value has elapsed, the instructed message is used to perform the notification. A timer control device characterized by the above.
【請求項6】 請求項4記載のタイマ制御装置におい
て、 上記一連の処理が携帯電話装置における処理であること
を特徴とするタイマ制御装置。
6. The timer control device according to claim 4, wherein the series of processes is a process in a mobile phone device.
JP26561695A 1995-10-13 1995-10-13 COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, AND MOBILE TELEPHONE DEVICE Expired - Fee Related JP3777633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26561695A JP3777633B2 (en) 1995-10-13 1995-10-13 COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, AND MOBILE TELEPHONE DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26561695A JP3777633B2 (en) 1995-10-13 1995-10-13 COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, AND MOBILE TELEPHONE DEVICE

Publications (2)

Publication Number Publication Date
JPH09107393A true JPH09107393A (en) 1997-04-22
JP3777633B2 JP3777633B2 (en) 2006-05-24

Family

ID=17419614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26561695A Expired - Fee Related JP3777633B2 (en) 1995-10-13 1995-10-13 COMMUNICATION CONTROL METHOD, COMMUNICATION CONTROL DEVICE, AND MOBILE TELEPHONE DEVICE

Country Status (1)

Country Link
JP (1) JP3777633B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006015474A1 (en) * 2004-08-13 2006-02-16 Research In Motion Limited Methods and apparatus for efficiently establishing and maintaining a data connection between a mobile station and a wireless network
US8054868B2 (en) 2005-12-19 2011-11-08 Panasonic Corporation UWB transmitting/receiving apparatus, UWB transmitting/receiving terminal apparatus, and UWB transmitting/receiving system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006015474A1 (en) * 2004-08-13 2006-02-16 Research In Motion Limited Methods and apparatus for efficiently establishing and maintaining a data connection between a mobile station and a wireless network
US8374121B2 (en) 2004-08-13 2013-02-12 Research In Motion Limited Methods and apparatus for efficiently establishing and maintaining a data connection between a mobile station and a wireless network
US8054868B2 (en) 2005-12-19 2011-11-08 Panasonic Corporation UWB transmitting/receiving apparatus, UWB transmitting/receiving terminal apparatus, and UWB transmitting/receiving system
JP4864010B2 (en) * 2005-12-19 2012-01-25 パナソニック株式会社 UWB transceiver device, UWB transceiver terminal device, and UWB transceiver system

Also Published As

Publication number Publication date
JP3777633B2 (en) 2006-05-24

Similar Documents

Publication Publication Date Title
US20070281725A1 (en) Device and method for silent push-to-talk call pacing
JPH09107393A (en) Timer control method and device
KR100557619B1 (en) Method to answer a call for mobile phone
KR100288357B1 (en) Guide method when call arrived in portable telephone
JP2002152323A (en) Information portable terminal
JP3050115B2 (en) Individually selected paging receiver
JPH09182164A (en) Portable radio machine with pseudo call function
JPH04137929A (en) Portable telephone system
JP2000032097A (en) Radio talking device
JP4108595B2 (en) Audio device and portable communication terminal
KR20010099186A (en) Apparatus and method for responding automatically to select a conference mode
JP4075845B2 (en) Mobile phone
JP3560527B2 (en) Mobile phone
KR100277069B1 (en) How to Call a Caller on Your Phone
JPH0273796A (en) Telephone exchange system
JPH0385827A (en) Paging system
JPH0514506A (en) Electronic telephone exchange system
JPH11205466A (en) Communication terminal equipment
KR19990035240A (en) How to output incoming phone number voice in pager
JPH10126824A (en) Selective call receiver having re-calling function
JPH05260190A (en) Voice answering system
JPH07273883A (en) Transmission method after response and telephone exchange
JPH02188048A (en) Radio telephone set with muted sound sending circuit
JPH0823560A (en) Portable radio communication equipment
JPH11215212A (en) Portable telephone set

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20041008

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

A521 Written amendment

Effective date: 20050316

Free format text: JAPANESE INTERMEDIATE CODE: A523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050621

A521 Written amendment

Effective date: 20050729

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060220

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20100310

LAPS Cancellation because of no payment of annual fees