JP5351834B2 - Communication apparatus and operation method thereof - Google Patents
Communication apparatus and operation method thereof Download PDFInfo
- Publication number
- JP5351834B2 JP5351834B2 JP2010122498A JP2010122498A JP5351834B2 JP 5351834 B2 JP5351834 B2 JP 5351834B2 JP 2010122498 A JP2010122498 A JP 2010122498A JP 2010122498 A JP2010122498 A JP 2010122498A JP 5351834 B2 JP5351834 B2 JP 5351834B2
- Authority
- JP
- Japan
- Prior art keywords
- polling
- communication
- communication device
- polling message
- certain period
- 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 - Fee Related
Links
- 238000004891 communication Methods 0.000 title claims description 237
- 238000000034 method Methods 0.000 title claims description 22
- 230000005540 biological transmission Effects 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 7
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 description 5
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 description 5
- 101100172132 Mus musculus Eif3a gene Proteins 0.000 description 3
- 230000005684 electric field Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Communication Control (AREA)
- Mobile Radio Communication Systems (AREA)
Description
本発明は、優先度の高い通信を早期に行えるようにするための通信装置及びその動作方法に関するものである。 The present invention relates to a communication apparatus and an operation method thereof for enabling early communication with high priority.
近年にあっては、ICチップを使った組込み系のデバイスを使って、近距離の無線通信または電界通信を実現したサービスが増えている。例えば、携帯電話におけるNFC、Bluetooth、IrDA等であり、特許文献1にも関連技術が開示されている。
In recent years, there has been an increase in services that realize short-range wireless communication or electric field communication using embedded devices using IC chips. For example, NFC, Bluetooth, IrDA, etc. in mobile phones, and related technology is also disclosed in
複数の通信装置と通信中の通信装置に優先度の高い通信を割込ませる方法としては、無線や有線の方式では、周波数帯の一部を予約する方法やタイムスロットを使い割込みを実施する方法がある(特許文献2等)。
As a method of interrupting high priority communication to a communication device in communication with a plurality of communication devices, in the wireless or wired system, a method of reserving a part of a frequency band or a method of performing an interrupt using a time slot (
組込み系の近距離の無線通信または電界通信では、省電力・小型化・コスト対応によりリソースや機能・性能の制限があること、携帯電話や有線LANと比べると対処する通信装置数が少ないことから、通信する周波数帯を固定化して通信せざるを得ない場合がある。 In embedded short-distance wireless communication or electric field communication, there are restrictions on resources, functions, and performance due to power saving, downsizing, and cost support, and there are fewer communication devices to deal with than mobile phones and wired LANs. In some cases, it is unavoidable to fix the frequency band for communication.
この場合に、CSMA/CAというアクセス制御方式では、混信が発生(ACKが返ってこない場合)すると、ポーリング間隔としてIFS(interframe space)時間とバックオフ時間をあわせた時間待機してポーリングを行うが、バックオフの時間は乱数で決めている。 In this case, in the access control method of CSMA / CA, when interference occurs (when ACK is not returned), polling is performed while waiting for a time that is a combination of an IFS (interframe space) time and a backoff time as a polling interval. The backoff time is determined by random numbers.
優先度の高い通信装置からの割込み信号は、衝突を防ぐため優先度の低い通信装置の通信が終わるまでまってから送信する必要がある。そのため優先度の高い通信装置は、直ぐに接続を行えない。 An interrupt signal from a communication device with a high priority needs to be transmitted after the communication of the communication device with a low priority is completed in order to prevent a collision. Therefore, a communication device with a high priority cannot be connected immediately.
直ぐに接続するため、通信中の優先度の低い通信装置へ、優先度の高い通信装置が割込み信号を送信すると、混信が発生するときがあるが、優先度が高くても、必ずしも優先度の低い他の通信装置よりも先に接続できる可能性はないため、無駄な再送が発生する可能性がある。そして、ポーリング間隔がセッション再確立時間よりも長い場合は混信が連発し割込みができない問題がある。 Interference may occur when a communication device with a high priority sends an interrupt signal to a communication device with a low priority during communication because it is immediately connected, but even if the priority is high, the priority is not necessarily low. Since there is no possibility of being able to connect before other communication devices, there is a possibility that useless retransmission may occur. When the polling interval is longer than the session re-establishment time, there is a problem that interference occurs continuously and interruption cannot be performed.
図6は、このように混信が連発する場合のシーケンス図である。 FIG. 6 is a sequence diagram in the case where interference occurs continuously in this way.
通信装置Xが、通信装置Yにポーリング電文を送信し(K1)、通信装置Yは通信装置Xに通信可能応答(ACK)を送信する(K3)。通信装置X、Yはセッション確立処理を行う(K5)。 The communication device X transmits a polling message to the communication device Y (K1), and the communication device Y transmits a communicable response (ACK) to the communication device X (K3). The communication devices X and Y perform session establishment processing (K5).
セッション確立処理の途中で、通信装置Zが、通信装置Yにポーリング電文を送信すると(K11)、セッション確立処理の途中なので、各通信装置間の通信媒体に混信が発生する(K13)。これにより、通信装置X、Yによるセッション確立処理は中断になる。 If the communication device Z transmits a polling message to the communication device Y in the middle of the session establishment process (K11), interference occurs in the communication medium between the communication devices because the session establishment process is in progress (K13). Thereby, the session establishment process by the communication apparatuses X and Y is interrupted.
通信装置Xは、例えば、一定のポーリング時間間隔が経過した後、再びポーリング電文を送信し、これにより、通信装置X、Yは再びセッション確立処理を行う(K21)。 For example, the communication device X transmits a polling message again after a certain polling time interval elapses, whereby the communication devices X and Y perform session establishment processing again (K21).
通信装置Zも、例えば、一定のポーリング時間間隔が経過した後、再びポーリング電文を送信すると(K21)、通信装置X、Yはセッション確立処理を行っているので、通信媒体に再び混信が発生する(K33)。これにより、通信装置X、Yによるセッション確立処理は中断になる。 For example, when the communication device Z transmits a polling message again after a certain polling time interval elapses (K21), the communication devices X and Y are performing session establishment processing, so that interference occurs again in the communication medium. (K33). Thereby, the session establishment process by the communication apparatuses X and Y is interrupted.
以降、同様にして、混信が連発する。したがって、通信装置Zが行おうとする通信の優先度が高くても、この通信を早期に実行できない。 Thereafter, similar interference continues. Therefore, even if the priority of the communication to be performed by the communication device Z is high, this communication cannot be executed early.
本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、優先度の高い通信を早期に行えるようにするための通信装置及びその動作方法を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a communication apparatus and an operation method thereof for enabling early communication with high priority.
上記の課題を解決するために、第1の本発明は、通信装置であって、前記通信装置が行おうとする通信により提供されるサービスの優先度に対応づけて当該優先度が高いほど短いポーリング時間間隔を記憶するポーリング時間間隔記憶手段と、前記通信装置から送信されたポーリングのためのポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときから前記ポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定するポーリング時間間隔経過判定手段と、前記ポーリング時間間隔が経過したと判定されたなら当該ポーリング電文を送信させるポーリング電文送信制御手段と、前記通信装置が行おうとする通信により提供されるサービスの種類に対応づけて当該通信装置から送信されるポーリング電文の送信前に一定期間待機する必要が有るか否かを記憶する待機要否記憶手段と、前記通信装置から送信されるポーリング電文の送信前に前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する待機要否判定手段とを備え、前記ポーリング電文送信制御手段は、前記一定期間待機する必要があることが記憶されていると判定されたなら一定期間待機し、当該ポーリング電文を送信する一方、前記一定期間待機する必要があることが記憶されていないと判定されたなら一定期間待機せず、当該ポーリング電文を送信することを特徴とする。 In order to solve the above-described problem, the first aspect of the present invention is a communication device, wherein the higher the priority is, the shorter the polling is associated with the priority of the service provided by the communication to be performed by the communication device. A polling time interval storage means for storing a time interval, and a polling message sent from the communication device for polling without a predetermined response and when the polling message is sent, the polling time interval storage means Polling time interval elapsed determination means for determining whether or not the polling time interval stored in association with the priority of the service provided by the communication started by the polling message has elapsed, and the polling time interval has elapsed a polling message transmission control means for transmitting the polling message if is determined that the communication device Waiting necessity storage means for storing whether or not it is necessary to wait for a certain period of time before transmission of a polling message transmitted from the communication device in association with the type of service provided by the communication to be performed, and the communication device Whether or not it is stored that it is necessary to wait for a certain period of time in correspondence with the type of service provided by the communication started by the polling message in the waiting necessity storage unit before transmission of the polling message transmitted from A waiting necessity determination means for determining whether or not the polling message transmission control means waits for a certain period of time when it is determined that the waiting for a certain period of time is stored, and transmits the polling message On the other hand, if it is determined that it is not stored that it is necessary to wait for the predetermined period, the polling message is not And wherein the signal to Rukoto.
第2の本発明は、通信装置の動作方法であって、前記通信装置は、前記通信装置が行おうとする通信により提供されるサービスの優先度に対応づけて当該優先度が高いほど短いポーリング時間間隔を記憶するポーリング時間間隔記憶手段と前記通信装置が行おうとする通信により提供されるサービスの種類に対応づけて当該通信装置から送信されるポーリング電文の送信前に一定期間待機する必要が有るか否かを記憶する待機要否記憶手段とを備え、前記通信装置の動作方法は、前記通信装置が、前記通信装置から送信されるポーリング電文の送信前に前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する段階と、前記通信装置が、前記一定期間待機する必要があることが記憶されていると判定された場合において一定期間待機し、当該ポーリング電文を送信する段階または、前記通信装置が、前記一定期間待機する必要があることが記憶されていないと判定された場合において一定期間待機せず、当該ポーリング電文を送信する段階と、前記通信装置が、当該ポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときから前記ポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定する段階と、前記通信装置が、前記ポーリング時間間隔が経過したと判定された場合において、前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する段階と、前記通信装置が、前記一定期間待機する必要があることが記憶されていると判定された場合において一定期間待機し、当該ポーリング電文を送信する段階または、前記通信装置が、前記一定期間待機する必要があることが記憶されていないと判定された場合において一定期間待機せず、当該ポーリング電文を送信する段階とを含むことを特徴とする。 The second aspect of the present invention is an operation method of a communication apparatus, wherein the communication apparatus is associated with a priority of a service provided by communication to be performed by the communication apparatus, and the polling time is shorter as the priority is higher. Whether it is necessary to wait for a certain period of time before transmitting a polling message transmitted from the communication device in association with a polling time interval storage means for storing the interval and the type of service provided by the communication to be performed by the communication device Standby communication necessity storage means for storing whether or not the communication device operates according to the polling message of the standby necessity storage means before the communication device transmits the polling message transmitted from the communication device. Determining whether it is stored whether it is necessary to wait for a certain period of time in association with the type of service provided by the communication started by When it is determined that it is stored that the communication apparatus needs to wait for the certain period, the communication apparatus waits for a certain period and transmits the polling message, or the communication apparatus needs to wait for the certain period If it is determined that there is not stored, the step of transmitting the polling message without waiting for a certain period of time, and the communication device does not have a predetermined response to the polling message and the polling message is Determining whether or not the polling time interval stored in association with the priority of the service provided by the communication started by the polling message of the polling time interval storage means has elapsed since being transmitted; When the communication device determines that the polling time interval has elapsed, the standby necessity storage means Determining whether or not it is stored that it is necessary to wait for a certain period of time in association with the type of service provided by communication initiated by the polling message, and the communication apparatus waits for the certain period of time When it is determined that the necessity is stored, it waits for a certain period and transmits the polling message, or it is determined that it is not stored that the communication apparatus needs to wait for the certain period And a step of transmitting the polling message without waiting for a certain period of time.
本発明によれば、通信装置から送信されたポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときからポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定し、ポーリング時間間隔が経過したと判定されたなら当該ポーリング電文を送信させるので、優先度の高い通信を早期に行うことができる。 According to the present invention, there is no predetermined response to the polling message transmitted from the communication apparatus, and the communication is started by the communication started by the polling message in the polling time interval storage means from when the polling message is transmitted. It is determined whether or not the polling time interval stored in association with the priority of the service has elapsed, and if it is determined that the polling time interval has elapsed, the polling message is transmitted, so early communication with high priority Can be done.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本実施の形態に係る通信システムに含まれる各通信装置の構成図である。 FIG. 1 is a configuration diagram of each communication device included in the communication system according to the present embodiment.
通信システムに含まれる各通信装置1は、通信部11と、制御部12と、記憶部13とを備える。
Each
通信部11は、制御部12から受け取ったデータを、他の通信装置1と通信可能な所定のプロトコルに応じた電文に加工し通信媒体へ送出する一方、通信媒体から受信した電文を制御部12が理解可能なデータに加工し制御部12に送る。
The
制御部12は、サービス提供部121、サービス享受部122の少なくとも一方を備える。制御部12は、通信部11へ与えるデータの生成、通信部11から受け取ったデータの保管、記憶部13への書き込みおよび読み込み、データの実行、データの破棄、アプリケーションの制御を行うモジュール(例えば、オペレーティングシステム)である。
The
記憶部13は、制御部12からの命令によるデータを読み書きが可能な記憶領域(例えば、メモリ)である。
The
サービス提供部121は、他の通信装置へサービスを提供するモジュール(例えば、アプリケーションサーバ)である。
The
サービス享受部122は、他の通信装置からサービスを受けるモジュール(例えば、クライアント)である。
The
記憶部13は、サービス別ポーリング設定ファイル131、ポーリング設定ファイル132を備える。
The
図2は、サービス別ポーリング設定ファイル131の構成と内容例を示す図である。
FIG. 2 is a diagram showing a configuration and example contents of the service-specific
サービス別ポーリング設定ファイル131は、複数のサービスのそれぞれについてポーリング設定情報を有する。各ポーリング設定情報は、該当サービスを示す識別情報(サービスID)と、当該サービスの優先度、当該サービスを提供するための通信を開始する際に送信されるポーリングのための電文(以下、ポーリング電文という)の送信間隔であるポーリング時間間隔、当該ポーリング電文の送信前に一定期間待機する必要が有るか否かを示すフラグを含む。
The service-specific
図のサービス別ポーリング設定ファイル131は、(1)改札サービス(通信装置1を持って電車の駅に入ろうとするときなどに、改札に設けられた他の通信装置との通信によって自動的に改札を通過可能とするサービス)を示すサービスID、最も高い優先度「高」、ポーリング時間間隔「50ミリ秒(mS)」、ポーリング電文の送信前に一定期間待機する必要がないことを示すフラグ「×」を含むポーリング設定情報と、(2)名刺交換サービス(ビジネスマンの持つ通信装置1と他のビジネスマンの持つ通信装置との通信によって、名刺に記載されるような情報を自動的に交換できるサービス)を示すサービスID、2番目に高い優先度「中」、ポーリング時間間隔「100ミリ秒(mS)」、ポーリング電文の送信前に一定期間待機する必要が有ることを示すフラグ「○」を含むポーリング設定情報と、(3)音楽配信サービス(通信装置1に対し他の通信装置から音楽が配信されるサービス)を示すサービスID、最も低い優先度「低」、ポーリング時間間隔「200ミリ秒(mS)」、ポーリング電文の送信前に一定期間待機する必要が有ることを示すフラグ「○」を含むポーリング設定情報とを有している。
The service-specific
図1に戻り、ポーリング設定ファイル132は、図2のサービス別ポーリング設定ファイル131から選択されたポーリング設定情報内のポーリング時間間隔を一時的に記憶するファイルである。
Returning to FIG. 1, the
(本実施の形態における動作)
図3は、通信装置1におけるポーリング電文送信の際の動作を示すフローチャートである。
(Operation in this embodiment)
FIG. 3 is a flowchart showing an operation at the time of polling message transmission in the
制御部12は、サービス提供部121またはサービス享受部122から、他の通信装置へ伝える内容を取得したなら、その内容のデータを生成し、サービス別ポーリング設定ファイル131から、当該データにより提供されるサービスのサービスIDを含むポーリング設定情報を検索し、当該ポーリング設定情報からポーリング時間間隔を読み出し、ポーリング設定ファイル132に書き込む(S1)。
If the
次に、制御部12は、通信部11に当該データを与え、データをポーリング電文(以下、単にポーリング電文という)に加工させる(S3)。例えば、制御部12は、検索したポーリング設定情報から優先度を読み出し、通信部11に指示して、当該優先度をポーリング電文に含ませる。
Next, the
次に、制御部12は、S1で検索したポーリング設定情報内のフラグがフラグ「○」かフラグ「×」かを判定する(S5)。制御部12は、ポーリング設定情報内のフラグがフラグ「○」なら、通信部11を通じて、生成されたデータのポーリング電文を他の通信装置に伝達するための通信媒体が通信中でなく且つ混信もないことを確認し、一定期間待機する(S7)。この確認は、例えば、CSMA/CDまたはCSMA/CAによって行う。
Next, the
次に、制御部12は、ポーリング設定情報内のフラグがフラグ「×」なら、または、S7を終えたなら、通信部11に指示してポーリング電文を送信させる(S9)。
Next, when the flag in the polling setting information is the flag “x” or when S7 is finished, the
次に、制御部12は、ポーリング電文に対して相手の通信装置から通信可能を知らせる通信可能応答(ACK)が送信されたか否かを通信部11を介して判定する(S11)。
Next, the
制御部12は、通信可能応答(ACK)が送信されていないと判定したなら、相手の通信装置から待機すべきことを知らせる待機応答(NACK)が送信されたか否かを通信部11を介して判定する(S13)。
If it is determined that the communicable response (ACK) has not been transmitted, the
制御部12は、待機応答(NACK)が送信されていないと判定したなら、ポーリング電文が送信されたとき(S9のタイミング)から、ポーリング設定ファイル132のポーリング時間間隔が経過したか否かを判定する(S15)。制御部12は、ポーリング時間間隔が経過していないと判定したなら、ステップS11に戻る。
If it is determined that the standby response (NACK) has not been transmitted, the
制御部12は、ポーリング時間間隔が経過したと判定したなら、ポーリング電文の送信回数を計数し(S17)、計数した送信回数が予め定めた最大回数に達したか否かを判定する(S19)。制御部12は、送信回数が最大回数に達していないと判定したなら、ステップS5に戻る。
If it is determined that the polling time interval has elapsed, the
さて、制御部12は、ステップS13で、待機応答(NACK)が送信されたと判定したなら、一定期間待機し(S21)、ステップS5に戻る。
If the
制御部12は、ステップS11で、通信可能応答(ACK)が送信されたと判定したなら、相手の通信装置とのセッション確立処理を行い(S31)、接続状態へ移行する(S33)。
If it is determined in step S11 that a communicable response (ACK) has been transmitted, the
次に、制御部12は、相手の通信装置との間の通信媒体に混信(第3者の通信装置からのポーリング電文など)があるか否かを通信部11を通じて判定する(S35)。
Next, the
制御部12は、通信媒体に混信があると判定したなら、ステップS5に戻る一方、通信媒体に混信がないと判定したなら、セッションタイムアウトか否かを判定する(S37)。制御部12は、セッションタイムアウトでないなら、相手の通信装置との通信を行う(S39)。
If it is determined that there is interference in the communication medium, the
制御部12は、相手の通信装置との通信が終わっていない(S41:NO)なら、S35に戻る。
If the communication with the counterpart communication device has not ended (S41: NO), the
制御部12は、相手の通信装置との通信が終わったなら(S41:YES)、または、セッションタイムアウトなら、または、ステップS19で送信回数が最大回数に達したと判定したなら、処理を終える。
If the communication with the other communication device is completed (S41: YES), if the session is timed out, or if it is determined in step S19 that the number of transmissions has reached the maximum number, the
図4は、通信装置1におけるポーリング電文受信の際の動作を示すフローチャートである。ここでは、他の通信装置も図3で説明したように動作し、しかも、ステップS3の箇所で述べたように、他の通信装置からのポーリング電文は優先度を含むこととする。
FIG. 4 is a flowchart showing an operation when receiving a polling message in the
制御部12は、他の通信装置からポーリング電文が送信されたか否かを通信部11を介して判定する(S51)。
The
次に、制御部12は、ポーリング電文が送信されたと判定したなら、他の通信装置からもポーリング電文が送信されているか否かを判定する(S53)。
Next, if it is determined that the polling message has been transmitted, the
制御部12は、他の通信装置からのポーリング電文が送信されていると判定したなら、各ポーリング電文の優先度を参照し、最も高い優先度のポーリング電文を選択し(S55)、通信部11に指示して当該選択したポーリング電文を送信した通信装置に通信可能応答(ACK)を送信させる(S57)。また、制御部12は、通信部11に指示して、選択されなかったポーリング電文を送信した通信装置に待機応答(NACK)を送信させる(S59)。
If it is determined that a polling message is transmitted from another communication device, the
制御部12は、ステップ53で、他の通信装置からポーリング電文が送信されていないと判定したなら、通信部11に指示して、ポーリング電文を送信した通信装置に通信可能応答(ACK)を送信させる(S61)。
If it is determined in step 53 that the polling message has not been transmitted from another communication device, the
制御部12は、ステップS59またはS61の後、通信可能応答(ACK)の送信先である相手の通信装置とのセッション確立処理を行う(S63)。
After step S59 or S61, the
次に、制御部12は、相手の通信装置との間の通信媒体に混信(第3者の通信装置からのポーリング電文など)があるか否かを通信部11を通じて判定する(S65)。
Next, the
制御部12は、通信媒体に混信があると判定したなら、ステップS51に戻る一方、通信媒体に混信がないと判定したなら、セッションタイムアウトか否かを判定する(S67)。
If it is determined that there is interference in the communication medium, the
制御部12は、セッションタイムアウトなら、ステップS51に戻る一方、セッションタイムアウトでないなら、相手の通信装置との通信を行う(S69)。
If the session time-out occurs, the
制御部12は、相手の通信装置との通信が終わっていない(S71:NO)なら、S65に戻る一方、相手の通信装置との通信が終わったなら(S71:YES)、処理を終える。
If the communication with the partner communication device is not finished (S71: NO), the
図5は、本実施の形態に係る通信システムに含まれる3つの通信装置1(それぞれ通信装置A、B、Cという)の動作を示す図である。 FIG. 5 is a diagram illustrating operations of three communication devices 1 (referred to as communication devices A, B, and C, respectively) included in the communication system according to the present embodiment.
通信装置Aが、通信装置Bにポーリング電文を送信し(T1)、通信装置Bは通信装置Aに通信可能応答(ACK)を送信する(T3)。通信装置A、Bはセッション確立処理を行う(T5)。 The communication device A transmits a polling message to the communication device B (T1), and the communication device B transmits a communicable response (ACK) to the communication device A (T3). The communication devices A and B perform session establishment processing (T5).
ここで、通信装置Cが、通信装置Bにポーリング電文を送信すると(T11)、通信装置A、Bはセッション確立処理を行っているので、通信媒体に混信が発生する(T13)。これにより、通信装置A、Bによるセッション確立処理は中断になり、通信装置A、Cは、ポーリング時間間隔が経過した後、ポーリング電文を送信する(T21、T23)。 例えば、通信装置Aが送信したポーリング電文に関するサービスの優先度が優先度「中」で、一方、通信装置Cが送信したポーリング電文に関するサービスの優先度が優先度「高」なら、通信装置Cからのポーリング電文の送信間隔は短く、通信装置Aからのポーリング電文の送信間隔は長い。よって、例えば、通信装置Cからのポーリング電文は、通信装置Aからのポーリング電文よりも早く送信される(T23)。 Here, when the communication device C transmits a polling message to the communication device B (T11), since the communication devices A and B are performing session establishment processing, interference occurs in the communication medium (T13). Thereby, the session establishment process by the communication devices A and B is interrupted, and the communication devices A and C transmit a polling message after the polling time interval has elapsed (T21, T23). For example, if the priority of the service related to the polling message transmitted by the communication device A is “medium” while the priority of the service related to the polling message transmitted from the communication device C is “high”, the communication device C The polling message transmission interval is short, and the polling message transmission interval from the communication device A is long. Therefore, for example, the polling message from the communication device C is transmitted earlier than the polling message from the communication device A (T23).
これにより、通信装置Bは、通信装置Cに通信可能応答(ACK)を送信し(T25)、通信装置Aには待機応答(NACK)を送信する(T27)。 As a result, the communication device B transmits a communicable response (ACK) to the communication device C (T25), and transmits a standby response (NACK) to the communication device A (T27).
そして、例えば、次に通信装置Aからのポーリング電文が送信されるまでに、通信装置B、Cはセッション確立処理を行うことができる(T29)。 Then, for example, until the next polling message is transmitted from the communication device A, the communication devices B and C can perform session establishment processing (T29).
つまり、通信装置Aからのポーリング電文の送信間隔は長いので、通信装置B、C間のセッション確立処理の途中で、通信装置Aからポーリング電文が送信される可能性は低く、よって、通信装置B、C間の通信つまり優先度の高い通信を早期に実行することができる。 That is, since the transmission interval of the polling message from the communication device A is long, the possibility that the polling message is transmitted from the communication device A during the session establishment process between the communication devices B and C is low. Communication between C, that is, communication with high priority can be executed at an early stage.
以上のように、本実施の形態に係る通信装置1は、通信装置1が行おうとする通信により提供されるサービスの優先度に対応づけて当該優先度が高いほど短いポーリング時間間隔を記憶するポーリング時間間隔記憶手段であるサービス別ポーリング設定ファイル131と、通信装置1から送信されたポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときからポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定するポーリング時間間隔経過判定手段(ステップS15)ならびにポーリング時間間隔が経過したと判定されたなら当該ポーリング電文を送信させるポーリング電文送信制御手段(ステップS9)である制御部12とを備えるので、優先度の高い通信を早期に行うことができる。
As described above, the
また、サービス別ポーリング設定ファイル131は、通信装置1が行おうとする通信により提供されるサービスの種類に対応づけて当該通信装置から送信されるポーリング電文の送信前に一定期間待機する必要が有るか否かを記憶する待機要否記憶手段でもあり、制御部12は、通信装置1から送信されるポーリング電文の送信前に待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する待機要否判定手段(ステップS5)でもあり、ポーリング電文送信制御手段(ステップS9)つまり制御部12は、一定期間待機する必要があることが記憶されていると判定されたなら一定期間待機し(S7)、当該ポーリング電文を送信する(S9)一方、一定期間待機する必要があることが記憶されていないと判定されたなら一定期間待機せず、当該ポーリング電文を送信する(S9)ので、早期に実行したいサービスの種類に対応づけて一定期間待機する必要が有ることを記憶させておかなけれけば、早期に実行したいサービスのポーリング電文の送信前には一定期間待機することがなく、よって、そのサービスを提供するための通信を早期に実行することができる。
Whether the
また、通信装置1は、ポーリング電文を受信する通信装置は、複数のポーリング電文から当該ポーリング電文に含まれた優先度が最も高いポーリング電文を送信した相手通信装置と通信を行うので、優先度の高い通信を早期に行うことができる。
Further, since the
なお、本実施の形態に係る通信装置としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。 A computer program for causing a computer to function as the communication apparatus according to the present embodiment can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, a magnetic tape, and the Internet. It can be widely distributed by being transmitted through a communication network such as
1…通信装置
11…通信部
12…制御部
13…記憶部
131…サービス別ポーリング設定ファイル
132…ポーリング設定ファイル
DESCRIPTION OF
Claims (2)
前記通信装置が行おうとする通信により提供されるサービスの優先度に対応づけて当該優先度が高いほど短いポーリング時間間隔を記憶するポーリング時間間隔記憶手段と、
前記通信装置から送信されたポーリングのためのポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときから前記ポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定するポーリング時間間隔経過判定手段と、
前記ポーリング時間間隔が経過したと判定されたなら当該ポーリング電文を送信させるポーリング電文送信制御手段と、
前記通信装置が行おうとする通信により提供されるサービスの種類に対応づけて当該通信装置から送信されるポーリング電文の送信前に一定期間待機する必要が有るか否かを記憶する待機要否記憶手段と、
前記通信装置から送信されるポーリング電文の送信前に前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する待機要否判定手段とを備え、
前記ポーリング電文送信制御手段は、前記一定期間待機する必要があることが記憶されていると判定されたなら一定期間待機し、当該ポーリング電文を送信する一方、前記一定期間待機する必要があることが記憶されていないと判定されたなら一定期間待機せず、当該ポーリング電文を送信する
ことを特徴とする通信装置。 A communication device,
Polling time interval storage means for storing a shorter polling time interval as the priority is higher in association with the priority of the service provided by the communication to be performed by the communication device;
Provided by communication started by the polling message in the polling time interval storage means from the time when the polling message is not transmitted to the polling message for polling transmitted from the communication device. Polling time interval elapsed determination means for determining whether or not the polling time interval stored in association with the priority of the service has elapsed;
Polling message transmission control means for transmitting the polling message if it is determined that the polling time interval has elapsed ;
Waiting necessity storage means for storing whether or not it is necessary to wait for a certain period of time before transmission of a polling message transmitted from the communication device in association with the type of service provided by the communication to be performed by the communication device. When,
Before the polling message transmitted from the communication device is transmitted, it is stored that it is necessary to wait for a certain period of time in association with the type of service provided by the communication started by the polling message in the waiting necessity storage unit. Standby necessity determination means for determining whether or not
The polling message transmission control means may need to wait for a certain period of time if it is determined that it is stored that it is necessary to wait for the certain period of time and transmit the polling message, while waiting for the certain period of time. If it is determined not to be stored without a period of time waiting, the communication apparatus characterized by that sends the polling message.
前記通信装置は、
前記通信装置が行おうとする通信により提供されるサービスの優先度に対応づけて当該優先度が高いほど短いポーリング時間間隔を記憶するポーリング時間間隔記憶手段と
前記通信装置が行おうとする通信により提供されるサービスの種類に対応づけて当該通信装置から送信されるポーリング電文の送信前に一定期間待機する必要が有るか否かを記憶する待機要否記憶手段とを備え、
前記通信装置の動作方法は、
前記通信装置が、前記通信装置から送信されるポーリング電文の送信前に前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する段階と、
前記通信装置が、前記一定期間待機する必要があることが記憶されていると判定された場合において一定期間待機し、当該ポーリング電文を送信する段階または、前記通信装置が、前記一定期間待機する必要があることが記憶されていないと判定された場合において一定期間待機せず、当該ポーリング電文を送信する段階と、
前記通信装置が、当該ポーリング電文に対して所定の応答がなく且つ当該ポーリング電文が送信されたときから前記ポーリング時間間隔記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの優先度に対応づけて記憶されたポーリング時間間隔が経過したか否かを判定する段階と
前記通信装置が、前記ポーリング時間間隔が経過したと判定された場合において、前記待機要否記憶手段の当該ポーリング電文により開始される通信により提供されるサービスの種類に対応づけて一定期間待機する必要があることが記憶されているか否かを判定する段階と、
前記通信装置が、前記一定期間待機する必要があることが記憶されていると判定された場合において一定期間待機し、当該ポーリング電文を送信する段階または、前記通信装置が、前記一定期間待機する必要があることが記憶されていないと判定された場合において一定期間待機せず、当該ポーリング電文を送信する段階と
を含むことを特徴とする通信装置の動作方法。 A method for operating a communication device, comprising:
The communication device
Corresponding to the priority of the service provided by the communication to be performed by the communication device, the higher the priority is, the shorter the polling time interval is stored, and the communication device is provided by the communication to be performed. Standby necessity storage means for storing whether or not it is necessary to wait for a certain period of time before transmission of the polling message transmitted from the communication device in association with the type of service to be provided,
The operation method of the communication device is:
The communication device needs to wait for a certain period of time in correspondence with the type of service provided by the communication started by the polling message in the waiting necessity storage unit before transmitting the polling message transmitted from the communication device. Determining whether something is remembered,
When it is determined that it is stored that the communication apparatus needs to wait for the certain period, the communication apparatus waits for a certain period and transmits the polling message, or the communication apparatus needs to wait for the certain period When it is determined that there is not stored, the stage of transmitting the polling message without waiting for a certain period,
The communication device does not have a predetermined response to the polling message and the priority of the service provided by the communication started by the polling message in the polling time interval storage means from when the polling message is transmitted. A step of determining whether or not the polling time interval stored in association has elapsed; and when the communication device determines that the polling time interval has elapsed, the polling message of the standby necessity storage means Determining whether it is stored whether it is necessary to wait for a certain period of time in association with the type of service provided by the initiated communication;
When it is determined that it is stored that the communication apparatus needs to wait for the certain period, the communication apparatus waits for a certain period and transmits the polling message, or the communication apparatus needs to wait for the certain period And a step of transmitting the polling message without waiting for a certain period of time when it is determined that there is no information stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010122498A JP5351834B2 (en) | 2010-05-28 | 2010-05-28 | Communication apparatus and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010122498A JP5351834B2 (en) | 2010-05-28 | 2010-05-28 | Communication apparatus and operation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011250241A JP2011250241A (en) | 2011-12-08 |
JP5351834B2 true JP5351834B2 (en) | 2013-11-27 |
Family
ID=45414912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010122498A Expired - Fee Related JP5351834B2 (en) | 2010-05-28 | 2010-05-28 | Communication apparatus and operation method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5351834B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10820314B2 (en) | 2014-12-12 | 2020-10-27 | Qualcomm Incorporated | Traffic advertisement in neighbor aware network (NAN) data path |
US10827484B2 (en) | 2014-12-12 | 2020-11-03 | Qualcomm Incorporated | Traffic advertisement in neighbor aware network (NAN) data path |
JP6531593B2 (en) | 2015-09-25 | 2019-06-19 | 富士通株式会社 | Communication method, communication program and information processing apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0851446A (en) * | 1994-08-05 | 1996-02-20 | Mitsubishi Electric Corp | Communication system |
JP2000151622A (en) * | 1998-11-05 | 2000-05-30 | Oki Electric Ind Co Ltd | Medium access control method and system |
JP2003060645A (en) * | 2001-08-13 | 2003-02-28 | Nippon Telegr & Teleph Corp <Ntt> | Wireless packet communication transmitting method and wireless packet communication system |
JP2006352896A (en) * | 2006-07-07 | 2006-12-28 | Toshiba Corp | Wireless communication apparatus |
-
2010
- 2010-05-28 JP JP2010122498A patent/JP5351834B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011250241A (en) | 2011-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102221414B1 (en) | Communication method and terminal for implementing dual card dual standby dual pass | |
TWI405490B (en) | Method and apparatus for handling ul-sch transmission | |
CN104396291B (en) | The method and apparatus established for WLAN initial link circuit | |
JP5118773B2 (en) | Preserved signaling for hybrid auto-repeat requests for downlink semi-persistent scheduling | |
US9942092B2 (en) | Method and an apparatus for controlling messages between host and controller | |
US8547946B2 (en) | Efficient creation of WLAN connections | |
WO2018082548A1 (en) | Data transmission method, terminal and network-side device | |
MX2011003203A (en) | Uplink resynchronization for use in communication systems. | |
CN102316549A (en) | Method for accessing access pint (AP) into access controller (AC) in local area network, AC and AP | |
US9055099B2 (en) | Method of preventing TCP-based denial-of-service attacks on mobile devices | |
CN101977358A (en) | Method, device and equipment for transmitting data short messages | |
CN101557631A (en) | Base station controller and method for restricting access | |
JP5351834B2 (en) | Communication apparatus and operation method thereof | |
US7068676B1 (en) | Wireless terminal device and node device | |
JP2004328637A (en) | Channel assignment method and base station using the same | |
CN102883344B (en) | Method and device for exchanging of wireless network management messages | |
US9445301B2 (en) | Method, apparatus, and system for accessing multi-operator core network | |
WO2022152157A1 (en) | Communication method and apparatus | |
WO2019213958A1 (en) | Data packet transmission method and device | |
JP5151737B2 (en) | Wireless communication system, wireless communication apparatus, wireless communication method, and program | |
KR101111483B1 (en) | Wireless network communication system and method using smartphone | |
KR20010057065A (en) | Method for transferring data in wireless communication system | |
JP5945445B2 (en) | Terminal device, communication method, program | |
JP5417474B2 (en) | COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM | |
JPWO2020148817A1 (en) | Communication device, second communication device, and communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120829 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130513 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130521 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130628 |
|
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: 20130820 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130823 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5351834 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |