JP2007184836A - Communication method and communication equipment - Google Patents

Communication method and communication equipment Download PDF

Info

Publication number
JP2007184836A
JP2007184836A JP2006002577A JP2006002577A JP2007184836A JP 2007184836 A JP2007184836 A JP 2007184836A JP 2006002577 A JP2006002577 A JP 2006002577A JP 2006002577 A JP2006002577 A JP 2006002577A JP 2007184836 A JP2007184836 A JP 2007184836A
Authority
JP
Japan
Prior art keywords
communication
packet
error rate
negotiation
negotiation packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006002577A
Other languages
Japanese (ja)
Inventor
Akinori Furuya
彰教 古谷
Mitsuru Shinagawa
満 品川
Shintaro Shibata
信太郎 柴田
Katsuyuki Ochiai
克幸 落合
Aiichiro Sasaki
愛一郎 佐々木
Naoshi Minoya
直志 美濃谷
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2006002577A priority Critical patent/JP2007184836A/en
Publication of JP2007184836A publication Critical patent/JP2007184836A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To find out an optimal communication condition in an unstable transmission path. <P>SOLUTION: Negotiation packets which add a self communication condition and a communication condition of a communicating party which can be received are exchanged in both communication equipment. Thus, the self communication condition which the communicating party can receive can be extracted. Also, when the transmitted negotiation packet is not received, the communication condition is changed to a condition better for communication and repeats exchange of the negotiation packets. Thus, the extraction of the communication condition becomes more reliable. Moreover, by exchanging the negotiation packets more than once, the communication condition can be more optimal. Also, by exchanging error rate measuring packets to which the number of transmission and the number of reception of each communication equipment are added for the prescribed number of times, an error rate among the communication devices can be measured. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、パケットを交換して最適通信条件を見出す通信方法および通信装置に関する。   The present invention relates to a communication method and a communication apparatus that find an optimum communication condition by exchanging packets.

人体の表面を伝送経路とする電界通信は、人体の表面に発生する電界を利用した技術であり、人体の一部が送受信器に触れることで伝送経路が形成され、通信が開始する。電界通信技術を用いた通信装置は、人体および床などを伝送経路として通信する。人体および床などを伝送経路とした場合には、伝送経路が不安定なため通信装置から別の通信装置へ向かう通信の最適通信条件とその逆方向の最適通信条件は異なることとなる。   Electric field communication using the surface of the human body as a transmission path is a technique that uses an electric field generated on the surface of the human body. When a part of the human body touches a transmitter / receiver, a transmission path is formed and communication starts. A communication device using electric field communication technology communicates using a human body and a floor as a transmission path. When a human body, a floor, or the like is used as a transmission path, since the transmission path is unstable, the optimal communication condition for communication from a communication apparatus to another communication apparatus and the optimal communication condition in the opposite direction are different.

このように、伝送経路が不安定な通信方法のうち人体を導線として利用する場合においては、通信の信頼性を向上させるために、人体の導電特性を検出し、それを通信条件にフィードバックしていた(例えば、非特許文献1参照)。
”プレスリリース”、[online]、平成16年9月13日、松下電工株式会社、[平成17年10月31日検索]、インターネット<URL:http://www.mew.co.jp/press/0409/0409−3.htm>
As described above, when using the human body as a conductor among communication methods with unstable transmission paths, the conductive characteristics of the human body are detected and fed back to the communication conditions in order to improve communication reliability. (For example, refer nonpatent literature 1).
“Press Release”, [online], September 13, 2004, Matsushita Electric Works, Ltd., [October 31, 2005 search], Internet <URL: http: // www. mew. co. jp / press / 0409 / 0409-3. htm>

しかしながら、電界通信に用いる通信装置は自ら伝送経路の特性を検出して通信条件にフィードバックすることは困難であり、最適通信条件を見つける方法が問題となる。   However, it is difficult for a communication apparatus used for electric field communication to detect the characteristics of the transmission path and feed back to the communication conditions, and a method of finding the optimum communication conditions becomes a problem.

また、電界通信においては、人の体以外にも、さまざまな導電体や誘電体を伝送媒体として利用することができることから、さらに不安定な伝送経路となっている。   In electric field communication, in addition to a human body, various conductors and dielectrics can be used as a transmission medium, which makes the transmission path more unstable.

本発明は、上記に鑑みてなされたものであり、その課題とするところは、不安定な伝送路における最適通信条件を見出すことにある。   The present invention has been made in view of the above, and an object of the present invention is to find optimum communication conditions in an unstable transmission path.

本発明の別の課題は、不安定な伝送路におけるエラーレートを見出すことにある。   Another object of the present invention is to find an error rate in an unstable transmission path.

本発明に係る通信方法は、通信装置間でネゴシエーション用パケットを交換して最適通信条件を求める通信方法であって、自分の通信条件と通信相手の通信条件をネゴシエーション用パケットに付加するステップと、そのネゴシエーション用パケットを送信するステップと、そのネゴシエーション用パケットを送信した後、送信先の通信装置からのネゴシエーション用パケットを受信しないときには、自分の通信条件を通信に有利な条件に変更するとともに、その通信条件をネゴシエーション用パケットに付加し、そのネゴシエーション用パケットを送信するステップと、受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップとを有することを特徴とする。   The communication method according to the present invention is a communication method for obtaining an optimum communication condition by exchanging a negotiation packet between communication devices, and adding a communication condition of a communication partner and a communication condition of a communication partner to the negotiation packet; The step of transmitting the negotiation packet, and after transmitting the negotiation packet, when not receiving the negotiation packet from the destination communication device, change its own communication condition to a condition favorable for communication, and The method includes adding a communication condition to the negotiation packet, transmitting the negotiation packet, and extracting the communication condition added to the received negotiation packet as an optimum communication condition.

本発明にあっては、自分の通信条件と受信することができた通信相手の通信条件とを付加したネゴシエーション用パケットを双方の通信装置で交換することにより、通信相手が受信可能な自分の通信条件を抽出することが可能となる。また、送信したネゴシエーション用パケットが受信されないときには、通信条件を通信に有利な条件に変更し、ネゴシエーション用パケットを再送することにより、通信条件の抽出がより確実なものとなる。   In the present invention, the communication partner can receive the communication by exchanging the negotiation packet with the communication condition of the communication partner and the communication partner of the communication partner that can be received by both communication devices. It becomes possible to extract conditions. In addition, when the transmitted negotiation packet is not received, the communication condition is changed to a condition advantageous for communication, and the negotiation packet is retransmitted, so that the communication condition can be more reliably extracted.

本発明に係る通信方法は、ネゴシエーション用パケットには、通信装置が受信した受信回数が付加されており、ネゴシエーション用パケットを受信した際、そのネゴシエーション用パケットに付加されている受信回数が規定回数に達していないときには、その受信回数を1増加するとともに、再びネゴシエーション用パケットを送信するステップと、ネゴシエーション用パケットを受信した際、そのネゴシエーション用パケットに付加されている受信回数が規定回数に達しているときには、そのネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップとを有することを特徴とする。   In the communication method according to the present invention, the number of receptions received by the communication device is added to the negotiation packet, and when the negotiation packet is received, the number of receptions added to the negotiation packet becomes the specified number of times. If not, the number of receptions is increased by 1, and the step of transmitting the negotiation packet again, and when the negotiation packet is received, the number of receptions added to the negotiation packet reaches the specified number. In some cases, the method includes a step of extracting communication conditions added to the negotiation packet as optimum communication conditions.

本発明にあっては、ネゴシエーション用パケットの交換を複数回行うことにより、通信条件をより最適なものとすることができる。   In the present invention, the communication conditions can be optimized by exchanging the negotiation packet a plurality of times.

本発明に係る通信方法は、通信装置間でエラーレート測定用パケットを交換してエラーレートを測定する通信方法であって、双方の通信装置により、エラーレート測定用パケットを送信するときには、送信側送信回数を1増加するとともに、送信側送信回数と送信側受信回数と受信側送信回数および受信側受信回数をエラーレート測定用パケットに付加するステップと、そのエラーレート測定用パケットを送信するステップと、そのエラーレート測定用パケットを送信した後、送信先の通信装置からのエラーレート測定用パケットを受信しないときには、再びエラーレート測定用パケットを送信するステップと、エラーレート測定用パケットを受信した際、そのエラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していないときには、再びエラーレート測定用パケットを送信するステップと、エラーレート測定用パケットを受信した際、そのエラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していたときには、そのエラーレート測定用パケットに付加されている送信側送信回数、送信側受信回数、受信側送信回数および受信側受信回数からエラーレートを計算するステップとを有することを特徴とする。   A communication method according to the present invention is a communication method for measuring an error rate by exchanging an error rate measurement packet between communication devices. When transmitting an error rate measurement packet by both communication devices, A step of incrementing the number of transmissions by 1, adding a transmission side transmission number, a transmission side reception number, a reception side transmission number, and a reception side reception number to the error rate measurement packet; and transmitting the error rate measurement packet. When the error rate measurement packet is not received from the destination communication device after the error rate measurement packet is transmitted, the step of transmitting the error rate measurement packet again and the error rate measurement packet are received. The number of transmissions sent and the number of transmissions received on the error rate measurement packet When the total does not reach the specified value, the step of transmitting the error rate measurement packet again, and when the error rate measurement packet is received, the transmission side transmission count and the reception side added to the error rate measurement packet When the total number of transmissions has reached the specified value, a step of calculating an error rate from the number of transmissions on the transmission side, the number of receptions on the transmission side, the number of transmissions on the reception side and the number of receptions on the reception side added to the error rate measurement packet It is characterized by having.

本発明にあっては、各通信装置の送信回数と受信回数を付加したエラーレート測定用パケットを交換することにより、各通信装置毎の送信回数に対する受信回数を計測ことができるので、通信装置間のエラーレートを計算することが可能となる。   In the present invention, by exchanging error rate measurement packets to which the number of transmissions and the number of receptions of each communication device are added, the number of receptions relative to the number of transmissions for each communication device can be measured. It is possible to calculate the error rate.

本発明によれば、不安定な伝送路における最適通信条件を見出すことが可能となる。   According to the present invention, it is possible to find optimum communication conditions in an unstable transmission path.

また、別の本発明によれば、不安定な伝送路におけるエラーレートを見出すことが可能となる。   Further, according to another aspect of the present invention, it is possible to find an error rate in an unstable transmission path.

[第1実施形態]
図1は、本実施の形態における通信方法の利用例であり、通信装置Aと通信装置Bは、人体5A、5Bおよび床50を伝送経路として電界通信技術を利用して通信している。
[First Embodiment]
FIG. 1 shows an example of use of the communication method according to the present embodiment. Communication apparatus A and communication apparatus B communicate with each other using electric field communication technology using human bodies 5A and 5B and floor 50 as transmission paths.

本実施の形態における通信方法は、各通信装置が自分の通信条件と相手の通信条件を付加したネゴシエーション用パケットの交換することにより、相手が受信可能な通信条件を知ることができるものである。また、送信したネゴシエーション用パケットが受信されないときには、通信条件を変更しつつ交換を繰り返すことにより、最適な通信条件を見出すものである。   In the communication method according to the present embodiment, each communication device can know a communication condition that can be received by the other party by exchanging a negotiation packet to which the communication condition of the other party is added. Also, when the transmitted negotiation packet is not received, the optimum communication condition is found by repeating the exchange while changing the communication condition.

まず、本実施の形態における通信装置について図2を用いて説明する。図2は、本実施の形態における通信装置の構成を示すブロック図である。   First, the communication apparatus in this embodiment will be described with reference to FIG. FIG. 2 is a block diagram showing a configuration of the communication apparatus according to the present embodiment.

同図の通信装置1は、パケットデータ生成部11とデータソートレジスタ12およびパケット組立部13を含む送信パケット生成部、送信部14、パケットデータ処理部21とデータ分配用レジスタ22およびパケット分割部23を含む受信パケット処理部、受信部24、タイマー3、通信条件テーブル4、カウンタ処理部5および通信条件抽出部6を有する。以下では、各部の処理の概略について説明する。   The communication device 1 in FIG. 1 includes a packet data generation unit 11, a data sort register 12, and a packet assembly unit 13, a transmission packet generation unit, a transmission unit 14, a packet data processing unit 21, a data distribution register 22, and a packet division unit 23. Including a received packet processing unit, a receiving unit 24, a timer 3, a communication condition table 4, a counter processing unit 5, and a communication condition extracting unit 6. Hereinafter, an outline of the processing of each unit will be described.

送信パケット生成部は、ネゴシエーション用パケットを組み立て、送信部14を介してそのパケットを送信するものである。パケットデータ生成部11において、ネゴシエーション用パケットに付加するパケットデータを記憶し、データソートレジスタ12において、パケットデータを並べ替え、パケット組立部13において、ネゴシエーション用パケットを組み立てる。本実施の形態におけるネゴシエーション用パケットに付加されるパケットデータには、自分の通信条件、通信相手の通信条件および受信回数がある。なお、ネゴシエーション用パケットの詳細については後述する。   The transmission packet generator assembles a negotiation packet and transmits the packet via the transmitter 14. The packet data generator 11 stores packet data to be added to the negotiation packet, the data sort register 12 rearranges the packet data, and the packet assembly unit 13 assembles the negotiation packet. The packet data added to the negotiation packet in this embodiment includes its own communication condition, communication condition of the communication partner, and the number of receptions. Details of the negotiation packet will be described later.

受信パケット処理部は、受信部24を介してネゴシエーション用パケットを受信し、パケットデータの抽出を行うものである。パケット分割部23において、受信したネゴシエーション用パケットをパケットデータに分割し、データ分配用レジスタ22において、分割されたパケットデータを一時的に記憶し、パケットデータ処理部21において、データ分配用レジスタ22からパケットデータを読み出し、読み出したパケットデータをパケットデータ生成部11、カウンタ処理部5および通信条件抽出部6に出力する。   The reception packet processing unit receives a negotiation packet via the reception unit 24 and extracts packet data. The packet dividing unit 23 divides the received negotiation packet into packet data, the data distribution register 22 temporarily stores the divided packet data, and the packet data processing unit 21 receives the data from the data distribution register 22. The packet data is read, and the read packet data is output to the packet data generation unit 11, the counter processing unit 5, and the communication condition extraction unit 6.

タイマー3は、送信したネゴシエーション用パケットに応答するパケットを受け取るまでの時間を管理する。通信装置1がネゴシエーション用パケットを送信してから規定時間が経過したときには、送信したネゴシエーション用パケットは受信されなかったものとして扱い、タイマー3はパケットデータ生成部11にタイムアウト通知を行う。タイムアウト通知を受けたパケットデータ生成部11は、通信条件テーブル4に従い、自分の通信条件を通信に有利な条件に変更し、再びネゴシエーション用パケットを送信するためにネゴシエーション用パケットの組み立てを行う。   The timer 3 manages the time until receiving a packet responding to the transmitted negotiation packet. When the specified time has elapsed since the communication device 1 transmitted the negotiation packet, the transmitted negotiation packet is treated as not received, and the timer 3 notifies the packet data generation unit 11 of timeout. The packet data generation unit 11 that has received the time-out notification changes its own communication condition to a condition advantageous for communication according to the communication condition table 4, and assembles the negotiation packet again to transmit the negotiation packet.

通信条件テーブル4は、通信条件の選択および符号化のためのテーブルでありメモリに記憶されている。通信条件テーブル4は、例えば、図3に示すようなものである。同図に示す通信条件テーブルでは、0.2Vから1.6Vまでの印加電圧値を3ビットに符号化しており、テーブルの下に行くほど通信に有利な条件となっている。なお、本実施例においては、通信条件として印加電圧値を用いたが、これに限定するものではなく、例えば、共振条件などを用いてもよい。   The communication condition table 4 is a table for selecting and encoding communication conditions and is stored in a memory. The communication condition table 4 is, for example, as shown in FIG. In the communication condition table shown in the figure, the applied voltage value from 0.2V to 1.6V is encoded into 3 bits, and the lower the table is, the more advantageous the communication is. In the present embodiment, the applied voltage value is used as the communication condition. However, the present invention is not limited to this, and for example, a resonance condition or the like may be used.

カウンタ処理部5は、ネゴシエーション用パケットが規定回数受信されているか否かを判断し、受信回数を1増加する。受信したネゴシエーション用パケットに付加されている受信回数が規定値に達していないときには、カウンタ処理部5は、受信回数を1増加するとともに、パケットデータ生成部11に通知する。通知を受けたパケットデータ生成部11は、ネゴシエーション用パケットを送信するためにネゴシエーション用パケットの組み立てを行う。   The counter processing unit 5 determines whether or not the negotiation packet has been received a specified number of times, and increases the number of receptions by one. When the number of receptions added to the received negotiation packet has not reached the specified value, the counter processing unit 5 increments the number of receptions by 1 and notifies the packet data generation unit 11. Upon receiving the notification, the packet data generation unit 11 assembles the negotiation packet in order to transmit the negotiation packet.

通信条件抽出部6は、ネゴシエーション用パケットに付加されている受信回数が規定値に達したときに、受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出する。   When the number of receptions added to the negotiation packet reaches a specified value, the communication condition extraction unit 6 extracts the communication condition added to the received negotiation packet as the optimum communication condition.

次に、本実施の形態において交換されるネゴシエーション用パケットについて図4を用いて説明する。図4で示すように、ネゴシエーション用パケットは、送信側通信条件31、受信側通信条件35、カウンタ33、ID情報32およびパリティ34のパケットデータを基本構成とする。   Next, negotiation packets exchanged in the present embodiment will be described with reference to FIG. As shown in FIG. 4, the negotiation packet has packet data of a transmission side communication condition 31, a reception side communication condition 35, a counter 33, ID information 32, and a parity 34 as a basic configuration.

送信側通信条件31は、そのパケットの送信に利用した送信元の通信条件を表している。なお、送信側通信条件31は、通信条件テーブル4により符号化されたものである。   The transmission side communication condition 31 represents the communication condition of the transmission source used for transmission of the packet. The transmission side communication condition 31 is encoded by the communication condition table 4.

受信側通信条件35は、受信したパケットに付加されている送信側通信条件31を送信元の通信装置に対して知らせるためのパケットデータである。パケットを受信した通信装置は、この受信側通信条件35を評価することにより通信が可能な自分の通信条件を知ることができる。   The reception-side communication condition 35 is packet data for notifying the transmission-side communication device 31 of the transmission-side communication condition 31 added to the received packet. The communication device that has received the packet can know its own communication condition for enabling communication by evaluating the reception-side communication condition 35.

カウンタ33とは、ネゴシエーション用パケットが受信された回数を示すものであり、ネゴシエーション用パケットが受信されたときに1増加する。カウンタ33が規定値に達するまでネゴシエーション用パケットは交換される。   The counter 33 indicates the number of times the negotiation packet has been received, and is incremented by 1 when the negotiation packet is received. The negotiation packet is exchanged until the counter 33 reaches a specified value.

ID情報32とは、通信装置固有の情報であり、通信装置を識別するために用いる。また、パリティ34は、誤り検出のために用いる。   The ID information 32 is information unique to the communication device and is used to identify the communication device. The parity 34 is used for error detection.

次に、図5に示すフローチャートを参照して、ネゴシエーション用パケットを交換しているときの通信装置1の動作を説明する。   Next, the operation of the communication apparatus 1 when exchanging negotiation packets will be described with reference to the flowchart shown in FIG.

まず、ステップ1(S1と称す、以下同様。)では、ネゴシエーション用パケットの組立てを行う。ネゴシエーション用パケットの組み立ては、パケットデータ生成部11に記憶されている各パケットデータを読み出し、データソートレジスタ12で並べ替えて、パケット組立部13においてパリティ34を付与することにより行われる。パケットデータ生成部11に記憶されているパケットデータは、送信側通信条件31、受信側通信条件35、カウンタ33およびID情報32である。   First, in step 1 (referred to as S1, hereinafter the same), a negotiation packet is assembled. The negotiation packet is assembled by reading each packet data stored in the packet data generation unit 11, rearranging the packet data in the data sort register 12, and adding a parity 34 in the packet assembly unit 13. The packet data stored in the packet data generation unit 11 includes a transmission side communication condition 31, a reception side communication condition 35, a counter 33, and ID information 32.

次に、S2では、ネゴシエーション用パケットの送信を行う。ネゴシエーション用パケットに付加された送信側通信条件31を用いて送信部14を介してネゴシエーション用パケットを送信する。   Next, in S2, a negotiation packet is transmitted. The negotiation packet is transmitted through the transmission unit 14 using the transmission-side communication condition 31 added to the negotiation packet.

次に、S3では、送信したネゴシエーション用パケットに応答するネゴシエーション用パケットを受信したか否かの判断を行う。ネゴシエーション用パケットは、受信部24を介して受信される。ネゴシエーション用パケットを受信した場合には、S6の処理へ進み、受信したネゴシエーション用パケットの解析を行う。ネゴシエーション用パケットを受信していない場合には、S4の処理へ進む。   Next, in S3, it is determined whether or not a negotiation packet responding to the transmitted negotiation packet has been received. The negotiation packet is received via the receiving unit 24. When the negotiation packet is received, the process proceeds to S6, and the received negotiation packet is analyzed. If the negotiation packet has not been received, the process proceeds to S4.

S4では、ネゴシエーション用パケットを送信してから規定の時間が経過したか否かを判断する。ネゴシエーション用パケットを送信してからの規定時間は、タイマー3が管理している。規定時間経過していない場合は、S3へ戻り、ネゴシエーション用パケットを受信したか否かの判断を再度行う。規定時間経過していた場合は、タイマー3は、パケットデータ生成部11にタイムアウト通知を行い、S5の処理へ進む。   In S4, it is determined whether or not a specified time has elapsed since the negotiation packet was transmitted. The timer 3 manages the specified time after the transmission of the negotiation packet. If the specified time has not elapsed, the process returns to S3 to determine again whether or not the negotiation packet has been received. If the specified time has elapsed, the timer 3 notifies the packet data generation unit 11 of a timeout and proceeds to the process of S5.

S5では、通信条件の変更を行う。タイマー3からタイムアウト通知を受けたパケットデータ生成部11は、通信条件テーブル4を参照して別の通信条件を選択し、送信側通信条件31として記憶する。そして、S1に戻り、新たな通信条件で再びパケットを組立てる。通信条件の選択は通信により有利な条件となるように、例えば、図3に示す通信条件テーブルの上から順に行う。相手から応答があるまで通信条件を変更することにより、通信可能な通信条件を見出すことができる。   In S5, the communication condition is changed. The packet data generation unit 11 that has received the time-out notification from the timer 3 selects another communication condition with reference to the communication condition table 4 and stores it as the transmission-side communication condition 31. Then, the process returns to S1, and the packet is assembled again under new communication conditions. For example, the communication conditions are selected in order from the top of the communication condition table shown in FIG. By changing the communication condition until there is a response from the other party, it is possible to find a communication condition that allows communication.

一方、S3において、ネゴシエーション用パケットを受信した場合には、S6でその受信したネゴシエーション用パケットの解析を行う。受信部24を介して受信されたネゴシエーション用パケットは、パケット分割部23においてパケットデータに分割された後、データ分配用レジスタ22において一時的に記憶される。パケットデータ処理部21は、データ分配用レジスタ22からカウンタ33を読み出しカウンタ処理部5に出力し、送信側通信条件31および受信側通信条件35を読み出してパケットデータ生成部11に出力する。このとき、パケットデータ処理部21から出力された送信側通信条件31は相手の通信条件を、受信側通信条件35は自分の通信条件を表していることから、パケットデータ生成部11では、パケットデータ処理部21から入力された送信側通信条件31を受信側通信条件35と、受信側通信条件35を送信側通信条件31として記憶する。   On the other hand, when the negotiation packet is received in S3, the received negotiation packet is analyzed in S6. The negotiation packet received via the receiving unit 24 is divided into packet data by the packet dividing unit 23 and then temporarily stored in the data distribution register 22. The packet data processing unit 21 reads out the counter 33 from the data distribution register 22 and outputs it to the counter processing unit 5, reads out the transmission side communication condition 31 and the reception side communication condition 35, and outputs them to the packet data generation unit 11. At this time, the transmission side communication condition 31 output from the packet data processing unit 21 represents the communication condition of the other party, and the reception side communication condition 35 represents the own communication condition. The transmission side communication condition 31 input from the processing unit 21 is stored as the reception side communication condition 35, and the reception side communication condition 35 is stored as the transmission side communication condition 31.

続いて、S7では、カウンタ処理部5において、ネゴシエーション用パケットを交換した回数を表すカウンタ33が規定値に達しているか否かを判断する。カウンタ33が規定値に達していない場合には、S8に進む。また、カウンタ33が規定値に達している場合には、通信条件抽出部6において最適通信条件を抽出する。最適通信条件は、受信したネゴシエーション用パケットに付加されている受信側通信条件35を評価することにより求められる。   Subsequently, in S7, the counter processing unit 5 determines whether or not the counter 33 representing the number of times the negotiation packet has been exchanged has reached a specified value. If the counter 33 has not reached the specified value, the process proceeds to S8. If the counter 33 has reached the specified value, the communication condition extraction unit 6 extracts the optimum communication condition. The optimum communication condition is obtained by evaluating the receiving communication condition 35 added to the received negotiation packet.

S8では、カウンタ処理部5がカウンタ33を1増加し、パケットデータ生成部11に出力する。そして、S1に戻り、再びネゴシエーション用パケットを組立てる。ネゴシエーション用パケットを規定回数交換することにより最適な通信条件に収束する。   In S <b> 8, the counter processing unit 5 increments the counter 33 by 1 and outputs it to the packet data generation unit 11. Then, returning to S1, the negotiation packet is assembled again. It converges to the optimal communication condition by exchanging the negotiation packet a specified number of times.

なお、ネゴシエーション用パケットを受信することからネゴシエーションを開始する側の通信装置は、図5のS3の処理から開始される。このとき、ネゴシエーション用パケットは送信していないので、S4の処理において、タイマー3はパケットデータ生成部11にタイムアウト通知を行わない。   Note that the communication device that starts negotiation from receiving the negotiation packet starts from the process of S3 in FIG. At this time, since the negotiation packet is not transmitted, the timer 3 does not notify the packet data generation unit 11 of a timeout in the process of S4.

次に、交換されるネゴシエーション用パケットについて、図6乃至図10を用いて説明する。図6乃至図10は、通信装置A、B間で交換されるネゴシエーション用パケットの一例を示すものである。各図で示される枠はネゴシエーション用パケットを示しており、枠の中の文字は、左から、送信側通信条件31、ID情報32、カウンタ33、パリティ34、受信側通信条件35を示している。   Next, negotiation packets exchanged will be described with reference to FIGS. 6 to 10 show examples of negotiation packets exchanged between the communication apparatuses A and B. FIG. The frame shown in each figure indicates a negotiation packet, and the characters in the frame indicate the transmission side communication condition 31, ID information 32, counter 33, parity 34, and reception side communication condition 35 from the left. .

また、左側に示されたパケットは通信装置Aから通信装置Bへ、右側に示されたパケットは通信装置Bから通信装置Aへ送信されるものとし、パケットから延びる矢印の先が○のときは、送信したパケットが受信されたことを示し、矢印の先が×のときは、送信したパケットが受信されなかったことを示している。   Further, the packet shown on the left side is transmitted from the communication device A to the communication device B, and the packet shown on the right side is transmitted from the communication device B to the communication device A. , Indicates that the transmitted packet has been received, and when the tip of the arrow is x, it indicates that the transmitted packet has not been received.

さらに、各図に示すパケットデータの記号については、通信装置A、BのID情報32をそれぞれ「A」、「B」と、パリティ34を「P」と表している。通信装置A、Bとも、パケットに付加する通信条件を図3で示す通信条件テーブルにより符号化する。なお、各通信装置が互いに同一の通信条件テーブルを使用しなければならないことを示すものではない。   Further, in the symbols of the packet data shown in each figure, the ID information 32 of the communication apparatuses A and B is represented as “A” and “B”, respectively, and the parity 34 is represented as “P”. In both communication apparatuses A and B, the communication condition added to the packet is encoded by the communication condition table shown in FIG. It does not indicate that each communication device must use the same communication condition table.

まず、図6により、通信装置Aが通信装置Bとネゴシエーションを開始する様子を説明する。   First, a state in which the communication device A starts negotiation with the communication device B will be described with reference to FIG.

通信装置Aは、カウンタ33を0にクリアし、通信条件の印加電圧値を図3に示す通信条件テーブルの一番上に記載されている0.2Vとしてネゴシエーションを開始する。   The communication apparatus A clears the counter 33 to 0, and starts negotiation with the applied voltage value of the communication condition as 0.2 V described at the top of the communication condition table shown in FIG.

まず、通信装置Aは、自分の通信条件を表す送信側通信条件31、ID情報32、カウンタ33、パリティ34を付加してパケットPA−1を組み立てる。そして、組み立てたパケットPA−1を通信条件の印加電圧値を0.2Vとして送信する。このとき、パケットPA−1に付加される送信側通信条件31は、印加電圧値0.2Vを図3に示す通信条件テーブルにより符号化したものであるから「0」となる。また、この時点では、通信装置Bの受信側通信条件35は不明であるから、パケットPA−1には受信側通信条件35を付加しない。   First, the communication apparatus A assembles the packet PA-1 by adding the transmission side communication condition 31, which represents its own communication condition, the ID information 32, the counter 33, and the parity 34. Then, the assembled packet PA-1 is transmitted with the applied voltage value of the communication condition set to 0.2V. At this time, the transmission side communication condition 31 added to the packet PA-1 is “0” because the applied voltage value 0.2V is encoded by the communication condition table shown in FIG. At this time, the receiving side communication condition 35 of the communication device B is unknown, so the receiving side communication condition 35 is not added to the packet PA-1.

図6に示す例では、通信装置Aが送信したパケットPA−1は、通信装置Bにより受信されていない。通信装置Aは、規定時間内に通信装置Bからの返信がなかったので、通信条件の印加電圧値を0.4Vに変更し、パケットPA−2を組み立てて、通信条件の印加電圧値を0.4Vとして送信している。パケットPA−2に付加される送信側通信条件31は印加電圧値0.4Vを図3の通信条件テーブルにより符号化し「1」となる。   In the example illustrated in FIG. 6, the packet PA-1 transmitted by the communication device A is not received by the communication device B. Since the communication device A did not receive a response from the communication device B within the specified time, the communication device applied voltage value was changed to 0.4V, the packet PA-2 was assembled, and the communication device applied voltage value was set to 0. .4V is transmitted. The transmission-side communication condition 31 added to the packet PA-2 is “1” when the applied voltage value 0.4V is encoded by the communication condition table of FIG.

送信したネゴシエーション用パケットが受信されないときには、応答するネゴシエーション用パケットが返信されない。したがって、ネゴシエーション用パケットを送信してから規定時間内に相手の通信装置からの返信がないときには、そのパケットを送信した通信条件では、相手にパケットが届かなかったものとして扱い、通信条件を変更してネゴシエーション用パケットの組立・送信を行う。なお、図6の例では、送信側通信条件31を「0」から「3」まで、つまり、印加電圧値を0.2Vから0.8Vまで変更してパケットPA−1からパケットPA−4を送信したが、通信装置Bはパケットを受信できていない。   When the transmitted negotiation packet is not received, the responding negotiation packet is not returned. Therefore, if there is no reply from the other party's communication device within a specified time after sending the negotiation packet, the communication condition for sending the packet is treated as if the packet did not reach the other party, and the communication condition was changed. Assemble and transmit the negotiation packet. In the example of FIG. 6, the transmission side communication condition 31 is changed from “0” to “3”, that is, the applied voltage value is changed from 0.2 V to 0.8 V, and packets PA-1 to PA-4 are changed. Although transmitted, the communication apparatus B cannot receive the packet.

次に、図7により、通信装置Bが返信するネゴシエーション用パケットについて説明する。   Next, the negotiation packet returned by the communication apparatus B will be described with reference to FIG.

通信装置Aが送信したパケットPA−5を受信した通信装置Bは、パケットPA−5に付加されているカウンタ33がまだ規定値Nに達していないので、カウンタ33を1増加する。そして、通信装置Aの通信条件を表すパケットPA−5の送信側通信条件31「4」をパケットPB−1の受信側通信条件35に付加する。また、パケットPA−5には受信側通信条件35から付加されていないので、通信条件の印加電圧値を図3に示す通信条件テーブルの一番上に記載されている0.2VとしてパケットPB−1を組立・送信する。このとき、パケットPB−1の送信側通信条件31には、印加電圧値0.2Vを図3の通信条件テーブルにより符号化した「0」が付加される。   The communication device B that has received the packet PA-5 transmitted by the communication device A increments the counter 33 by 1 because the counter 33 added to the packet PA-5 has not yet reached the specified value N. Then, the transmission side communication condition 31 “4” of the packet PA-5 representing the communication condition of the communication device A is added to the reception side communication condition 35 of the packet PB-1. Further, since the packet PA-5 is not added from the receiving communication condition 35, the applied voltage value of the communication condition is set to 0.2 V described at the top of the communication condition table shown in FIG. 1 is assembled and transmitted. At this time, the transmission side communication condition 31 of the packet PB-1 is added with “0” obtained by encoding the applied voltage value 0.2V using the communication condition table of FIG.

なお、図6の説明と同様に、返信したネゴシエーション用パケットが届かないときには、通信条件を変更してネゴシエーション用パケットの組立・送信を行う。図7に示す例では、送信側通信条件31「0」、「1」で送信したパケットPB−1、PB−2は、いずれも通信装置Aには届かなかったが、送信側通信条件31「2」で送信したパケットPB−3は、通信装置Aにより受信されている。   Similarly to the description of FIG. 6, when the returned negotiation packet does not arrive, the communication condition is changed and the negotiation packet is assembled and transmitted. In the example illustrated in FIG. 7, the packets PB-1 and PB-2 transmitted under the transmission-side communication conditions 31 “0” and “1” did not reach the communication device A, but the transmission-side communication conditions 31 “ The packet PB-3 transmitted in “2” is received by the communication device A.

次に、図8に示すネゴシエーション用パケットの説明をする。   Next, the negotiation packet shown in FIG. 8 will be described.

パケットPB−3を受信した通信装置Aは、パケットPB−3に付加されているカウンタ33を1増加する。パケットPB−3の受信側通信条件35により通信条件が「4」のときに、通信装置Bがパケットを受信できたことが分かるので、送信側通信条件31を「4」としてパケットPA−6を組立・送信する。このとき、パケットPA−6の受信側通信条件35には、パケットPB−3の送信側通信条件31「2」を付加する。   The communication apparatus A that has received the packet PB-3 increments the counter 33 added to the packet PB-3 by one. When the communication condition is “4” according to the reception side communication condition 35 of the packet PB-3, it can be seen that the communication apparatus B has received the packet. Therefore, the transmission side communication condition 31 is set to “4” and the packet PA-6 is changed. Assemble and send. At this time, the transmission side communication condition 31 “2” of the packet PB-3 is added to the reception side communication condition 35 of the packet PA-6.

このように、ネゴシエーション用パケットを受信した通信装置はカウンタ33を1つ増加し、相手の通信条件を受信側通信条件35とし、自分の通信条件を送信側通信条件31としてネゴシエーション用パケットを組み立てて、送信を行う。なお、相手の通信条件は、受信したネゴシエーション用パケットに付加されている送信側通信条件31であり、自分の通信条件は、受信したネゴシエーション用パケットに付加されている受信側通信条件35である。   In this way, the communication device that has received the negotiation packet increments the counter 33 by one, assembles the negotiation packet with the communication condition of the other party as the reception-side communication condition 35, and its own communication condition as the transmission-side communication condition 31. , Send. The communication condition of the other party is the transmission side communication condition 31 added to the received negotiation packet, and the own communication condition is the reception side communication condition 35 added to the received negotiation packet.

以降同様に、パケットPA−6を受信した通信装置BはパケットPB−4を送信し、パケットPB−4を受信した通信装置AはパケットPA−7を送信している。   Thereafter, similarly, the communication device B that has received the packet PA-6 transmits a packet PB-4, and the communication device A that has received the packet PB-4 transmits a packet PA-7.

ここで、図9により、通信が可能であった通信条件で送信したネゴシエーション用パケットが受信されなかったときの動作を説明する。   Here, referring to FIG. 9, the operation when the negotiation packet transmitted under the communication condition in which communication was possible has not been received will be described.

それまで通信ができていた通信条件「2」で通信装置Bから送信したパケットPB−5が通信装置Aにより受信されなかったときも、通信条件を変更してパケットPB−6の組立・送信を行う。このように、通信条件を適宜変更しながらネゴシエーション用パケットの交換を行い、最適な通信条件を見出す。   Even when the packet PB-5 transmitted from the communication device B under the communication condition “2” that has been communicated until then is not received by the communication device A, the communication condition is changed to assemble and transmit the packet PB-6. Do. In this way, the negotiation packet is exchanged while appropriately changing the communication condition, and the optimum communication condition is found.

最後に、図10により、カウンタ33が規定値Nに達したときの動作を説明する。   Finally, the operation when the counter 33 reaches the specified value N will be described with reference to FIG.

パケットPB−Xを受信した通信装置Aは、カウンタ33が規定値Nに達しているので、パケットPB−Xより最適通信条件を抽出する。パケットPB−Xに付加されている受信側通信条件35「4」が通信装置Aから通信装置Bに対して通信を行う最適な通信条件を表している。   The communication device A that has received the packet PB-X extracts the optimum communication condition from the packet PB-X because the counter 33 has reached the specified value N. The receiving-side communication condition 35 “4” added to the packet PB-X represents the optimum communication condition for performing communication from the communication device A to the communication device B.

さらに、通信装置Aは、パケットPA−Xを通信装置Bに送信する。このとき、カウンタ33は既に規定値Nに達しているので、カウンタ33をさらに1増加しなくてもよい。パケットPA−Xを受信した通信装置Bは、カウンタ33が規定値Nに達しているので、パケットPA−Xより最適通信条件を抽出する。パケットPA−Xに付加されている受信側通信条件35「3」が通信装置Bから通信装置Aに対して通信を行う最適な通信条件を表している。   Further, the communication device A transmits the packet PA-X to the communication device B. At this time, since the counter 33 has already reached the specified value N, the counter 33 need not be further increased by one. The communication device B that has received the packet PA-X extracts the optimum communication condition from the packet PA-X because the counter 33 has reached the specified value N. The receiving-side communication condition 35 “3” added to the packet PA-X represents the optimum communication condition for performing communication from the communication device B to the communication device A.

したがって、本実施の形態によれば、自分の通信条件と受信することができた通信相手の通信条件とを付加したネゴシエーション用パケットを双方の通信装置で交換することにより、通信相手が受信可能な自分の通信条件を抽出することが可能になる。また、送信したネゴシエーション用パケットが受信されないときには、通信条件を通信に有利な条件に変更しつつ、ネゴシエーション用パケットの交換を繰り返すことにより、通信条件の抽出がより確実なものとなる。また、ネゴシエーション用パケットの交換を複数回行うことにより、通信条件をより最適なものとすることができる。   Therefore, according to the present embodiment, the communication partner can receive the packet by exchanging the negotiation packet with the communication condition of the communication partner and the communication condition of the communication partner that can be received between the two communication devices. It becomes possible to extract own communication conditions. Further, when the transmitted negotiation packet is not received, the communication condition can be more reliably extracted by repeating the exchange of the negotiation packet while changing the communication condition to a condition advantageous for communication. Further, the communication condition can be made more optimal by exchanging the negotiation packet a plurality of times.

[第2実施形態]
次に、エラーレートを検出する通信方法について説明する。エラーレートを検出する通信方法の利用例も図1で示され、通信装置Aと通信装置Bは、人体5A、5Bおよび床50を伝送経路として電界通信技術を利用して通信している。
[Second Embodiment]
Next, a communication method for detecting an error rate will be described. An example of use of a communication method for detecting an error rate is also shown in FIG. 1, and communication apparatuses A and B communicate with each other using electric field communication technology using human bodies 5A and 5B and floor 50 as transmission paths.

本実施の形態における通信方法は、双方の通信装置の送信回数および受信回数を付加したエラーレート測定用パケットを規定回数交換し、送信回数に対する受信回数の割合を測定することにより、エラーレートを検出するものである。   The communication method in the present embodiment detects an error rate by exchanging a specified number of error rate measurement packets to which the number of transmissions and the number of receptions of both communication devices are added, and measuring the ratio of the number of receptions to the number of transmissions. To do.

まず、本実施の形態における通信装置を図11を用いて説明する。図11は、本実施の形態における通信装置の構成を示すブロック図である。   First, the communication device in the present embodiment will be described with reference to FIG. FIG. 11 is a block diagram illustrating a configuration of the communication apparatus according to the present embodiment.

同図の通信装置1は、図2に示したものから、通信条件テーブル4を削除し、通信条件抽出部6をエラーレート計算部7に置き換えたものである。また、双方の通信装置の送信・受信回数がパケットデータ生成部11において記憶されており、エラーレート測定用パケットを送信するときには、パケットデータ生成部11において記憶されている自分の送信回数を1増加する。さらに、カウンタ処理部5は、エラーレート測定用パケットが規定回数送信されているか否かを判断する。   The communication apparatus 1 shown in FIG. 2 is obtained by deleting the communication condition table 4 from the one shown in FIG. 2 and replacing the communication condition extraction unit 6 with an error rate calculation unit 7. Further, the transmission / reception times of both communication apparatuses are stored in the packet data generation unit 11, and when transmitting an error rate measurement packet, the own transmission count stored in the packet data generation unit 11 is increased by one. To do. Further, the counter processing unit 5 determines whether or not the error rate measurement packet has been transmitted a specified number of times.

エラーレート計算部7は、双方の通信装置の送信回数の合計が規定値に達したときに、パケットデータ処理部21から双方の通信装置の送信回数と受信回数を得てエラーレートを計算する。エラーレートは、以下に示す式により算出される。   When the total number of transmissions of both communication devices reaches a specified value, the error rate calculation unit 7 obtains the number of transmissions and receptions of both communication devices from the packet data processing unit 21 and calculates the error rate. The error rate is calculated by the following formula.

エラーレート=受信回数÷送信回数 (1)
その他の構成については、図2を用いて説明したものと同様であるので、重複した説明は省略する。
Error rate = number of receptions / number of transmissions (1)
Other configurations are the same as those described with reference to FIG.

次に、本実施の形態において交換されるエラーレート測定用パケットについて図12を用いて説明する。図12で示すように、エラーレート測定用パケットは、送信側送信回数71、送信側受信回数72、受信側送信回数76、受信側受信回数75、総送信回数73およびID情報74を基本構成とする。   Next, the error rate measurement packet exchanged in the present embodiment will be described with reference to FIG. As shown in FIG. 12, the error rate measurement packet includes a transmission side transmission count 71, a transmission side reception count 72, a reception side transmission count 76, a reception side reception count 75, a total transmission count 73, and ID information 74. To do.

送信側送信回数71は、エラーレート測定用パケットを送信した回数を表している。   The transmission side transmission count 71 represents the number of transmissions of the error rate measurement packet.

送信側受信回数72は、送信したエラーレート測定用パケットを通信相手が受信した回数を表している。   The transmission side reception count 72 represents the number of times the communication partner has received the transmitted error rate measurement packet.

受信側送信回数76は、通信相手がエラーレート測定用パケットを送信した回数を表している。   The reception side transmission count 76 represents the number of times the communication partner has transmitted the error rate measurement packet.

受信側受信回数75は、通信相手が送信したエラーレート測定用パケットを受信した回数を表している。   The reception side reception count 75 represents the number of times the error rate measurement packet transmitted by the communication partner has been received.

総送信回数73は、双方の通信装置がエラーレート測定用パケットを送信した回数を表しており、送信側送信回数と受信側送信回数の合計に等しい。   The total number of transmissions 73 represents the number of times that both communication apparatuses have transmitted error rate measurement packets, and is equal to the sum of the number of transmissions on the transmission side and the number of transmissions on the reception side.

ID情報74とは、通信装置固有の情報であり、通信装置を識別するために用いる。   The ID information 74 is information unique to the communication device, and is used to identify the communication device.

次に、図13に示すフローチャートを参照して、エラーレート測定用パケットを交換しているときの通信装置1の動作を説明する。   Next, the operation of the communication apparatus 1 when exchanging error rate measurement packets will be described with reference to the flowchart shown in FIG.

まず、S11では、送信回数と総送信回数をそれぞれ1づつ増加させて、エラーレート測定用パケットの組み立てを行う。具体的には、パケットデータ生成部11に記憶されている各パケットデータを読み出し、送信側送信回数71と総送信回数73をそれぞれ1増加し、読み出したパケットデータをデータソートレジスタ12において並べ替え、パケット組立部13においてエラーレート測定用パケットを組み立てる。パケットデータ生成部11に記憶されているパケットデータは、送信側送信回数71、送信側受信回数72、受信側送信回数76、受信側受信回数75、総送信回数73およびID情報74である。   First, in S11, the number of transmissions and the total number of transmissions are increased by 1, respectively, and an error rate measurement packet is assembled. Specifically, each packet data stored in the packet data generation unit 11 is read, the transmission side transmission count 71 and the total transmission count 73 are increased by 1, and the read packet data is rearranged in the data sort register 12; The packet assembly unit 13 assembles an error rate measurement packet. The packet data stored in the packet data generation unit 11 includes a transmission side transmission count 71, a transmission side reception count 72, a reception side transmission count 76, a reception side reception count 75, a total transmission count 73, and ID information 74.

次に、S12では、送信部14を介して組み立てたエラーレート測定用パケットを送信する。   Next, in S12, the error rate measurement packet assembled through the transmission unit 14 is transmitted.

次に、S13では、送信したエラーレート測定用パケットに応答するエラーレート測定用パケットを受信したか否かの判断を行う。エラーレート測定用パケットは受信部24を介して受信される。エラーレート測定用パケットを受信した場合には、S16の処理に進み、受信したエラーレート測定用パケットの解析を行う。エラーレート測定用パケットを受信していない場合には、S14の処理に進む。   Next, in S13, it is determined whether an error rate measurement packet responding to the transmitted error rate measurement packet has been received. The error rate measurement packet is received via the receiving unit 24. If an error rate measurement packet is received, the process proceeds to S16, and the received error rate measurement packet is analyzed. If an error rate measurement packet has not been received, the process proceeds to S14.

S14では、エラーレート測定用パケットを送信してから規定の時間が経過したか否かを判断する。エラーレート測定用パケットを送信してからの規定時間は、タイマー3が管理している。規定時間経過していない場合は、S13へ戻り、パケットを受信したか否かの判断を再度行う。規定時間経過していた場合は、タイマー3がパケットデータ生成部11にタイムアウト通知を行い、S11へ戻る。   In S14, it is determined whether or not a specified time has elapsed since the transmission of the error rate measurement packet. The timer 3 manages the specified time after transmitting the error rate measurement packet. If the specified time has not elapsed, the process returns to S13 to determine again whether or not a packet has been received. If the specified time has elapsed, the timer 3 notifies the packet data generation unit 11 of a timeout and returns to S11.

一方、S13において、エラーレート測定用パケットを受信した場合には、S16で受信したエラーレート測定用パケットの解析を行う。受信部24を介して受信されたエラーレート測定用パケットは、パケット分割部23においてパケットデータに分割された後、データ分配用レジスタ22において一時的に記憶される。そして、パケットデータ処理部21は、データ分配用レジスタ22から総送信回数73を読み出しカウンタ処理部5に出力する。   On the other hand, when the error rate measurement packet is received in S13, the error rate measurement packet received in S16 is analyzed. The error rate measurement packet received via the receiving unit 24 is divided into packet data by the packet dividing unit 23 and then temporarily stored in the data distribution register 22. Then, the packet data processing unit 21 reads the total number of transmissions 73 from the data distribution register 22 and outputs it to the counter processing unit 5.

続いて、S17では、カウンタ処理部5において、総送信回数73が規定値に達しているか否かを判断する。総送信回数73が規定値に達していない場合には、S18へ進む。総送信回数73が規定値に達しているときには、エラーレート計算部7においてエラーレートを計算する。   Subsequently, in S17, the counter processing unit 5 determines whether or not the total number of transmissions 73 has reached a specified value. If the total number of transmissions 73 has not reached the specified value, the process proceeds to S18. When the total number of transmissions 73 has reached the specified value, the error rate calculation unit 7 calculates the error rate.

S18では、受信したエラーレート測定用パケットに付加されているパケットデータに基づいて、パケットデータ生成部11に記憶されているパケットデータを更新し、S11に戻る。具体的には、パケットデータ処理部21は、データ分配用レジスタ22から送信側送信回数71、送信側受信回数72、受信側送信回数76および受信側受信回数75を読み出し、パケットデータ生成部11に出力して、パケットデータ生成部11に記憶されているパケットデータを更新する。   In S18, the packet data stored in the packet data generation unit 11 is updated based on the packet data added to the received error rate measurement packet, and the process returns to S11. Specifically, the packet data processing unit 21 reads the transmission-side transmission count 71, the transmission-side reception count 72, the reception-side transmission count 76, and the reception-side reception count 75 from the data distribution register 22, and sends them to the packet data generation unit 11. The packet data stored in the packet data generation unit 11 is updated.

このとき、パケットデータ処理部21から出力された送信側送信回数71および送信側受信回数72は相手の通信装置に関する送信回数と受信回数を、受信側送信回数76および受信側受信回数75は自分の通信装置に関する送信回数と受信回数を表しているので、パケットデータ生成部11では、パケットデータ処理部21から出力された送信側送信回数71を受信側送信回数76と、送信側受信回数72を受信側受信回数75として記憶し、さらに、受信側送信回数76を送信側送信回数71と、受信側受信回数75を送信側受信回数72として記憶する。   At this time, the transmission-side transmission count 71 and the transmission-side reception count 72 output from the packet data processing unit 21 are the transmission count and the reception count regarding the partner communication device, and the reception-side transmission count 76 and the reception-side reception count 75 are their own. Since the number of transmissions and the number of receptions related to the communication device are represented, the packet data generation unit 11 receives the transmission-side transmission times 71 output from the packet data processing unit 21, the reception-side transmission times 76, and the transmission-side reception times 72. Further, the reception side transmission count 76 is stored as the transmission side transmission count 71, and the reception side reception count 75 is stored as the transmission side reception count 72.

なお、エラーレート測定用パケットを受信することから始まる側の通信装置は、図13のS13の処理から開始され、エラーレート測定用パケットは送信していないので、S14の処理において、タイマー3はパケットデータ生成部11にタイムアウト通知を行わない。   Note that the communication apparatus on the side starting from receiving the error rate measurement packet starts from the process of S13 in FIG. 13 and does not transmit the error rate measurement packet. Therefore, in the process of S14, the timer 3 A timeout notification is not sent to the data generation unit 11.

次に、通信装置A、B間で交換されるエラーレート測定用パケットについて、図14乃至図17を用いて説明する。各図で示される枠はエラーレート測定用パケットを示しており、枠の中の文字は、左から、送信側送信回数71、送信側受信回数72、総送信回数73、ID情報74、受信側受信回数75、受信側送信回数76を示している。また、左側に示されたパケットは通信装置Aから通信装置Bへ、右側に示されたパケットは通信装置Bから通信装置Aへ送信されるものとし、パケットから延びる矢印の先が○のときは、送信したパケットが受信されたことを示し、矢印の先が×のときは、送信したパケットが受信されなかったことを示している。さらに、パケットデータの記号については、通信装置A、BのID情報74をそれぞれ「A」、「B」と表している。   Next, an error rate measurement packet exchanged between the communication apparatuses A and B will be described with reference to FIGS. The frame shown in each figure shows an error rate measurement packet, and the characters in the frame from the left are the transmission side transmission count 71, the transmission side reception count 72, the total transmission count 73, the ID information 74, the reception side. The number of receptions 75 and the number of reception side transmissions 76 are shown. Further, the packet shown on the left side is transmitted from the communication device A to the communication device B, and the packet shown on the right side is transmitted from the communication device B to the communication device A. , Indicates that the transmitted packet has been received, and when the tip of the arrow is x, it indicates that the transmitted packet has not been received. Further, regarding the symbol of the packet data, the ID information 74 of the communication devices A and B is represented as “A” and “B”, respectively.

まず、図14により、通信装置Aが通信装置Bにエラーレート測定用パケットを送信する様子を説明する。   First, referring to FIG. 14, a state in which the communication apparatus A transmits an error rate measurement packet to the communication apparatus B will be described.

通信装置Aは、送信側送信回数71、送信側受信回数72、総送信回数73、受信側受信回数75、受信側送信回数76のパケットデータの値を0に初期化する。   The communication apparatus A initializes the packet data values of the transmission side transmission count 71, the transmission side reception count 72, the total transmission count 73, the reception side reception count 75, and the reception side transmission count 76 to 0.

通信装置Aは、送信側送信回数71と総送信回数73をそれぞれ1づつ増加し、パケットEA−1を組み立てて、送信する。   The communication device A increments the transmission-side transmission count 71 and the total transmission count 73 by one, assembles and transmits the packet EA-1.

図14に示す例では、通信装置Aが送信したパケットEA−1は、通信装置Bにより受信されていない。通信装置Aは、規定時間内に送信先の通信装置Bからの返信がないので、送信したパケットEA−1が受信されなかったものとして扱い、再びパケットEA−2を組み立てて、送信する。パケットEA−2を組み立てるときにも、送信側送信回数71と総送信回数73をそれぞれ1づつ増加する。したがって、パケットEA−2の送信側送信回数71と総送信回数73はともに「2」となる。同図では、パケットEA−2も受信されなかったので、パケットEA−3を送信している。パケットEA−3の送信側送信回数71と総送信回数73はともに「3」となる。   In the example illustrated in FIG. 14, the packet EA-1 transmitted by the communication device A is not received by the communication device B. Since there is no reply from the destination communication device B within the specified time, the communication device A treats the transmitted packet EA-1 as not received, and reassembles and transmits the packet EA-2. Also when the packet EA-2 is assembled, the transmission-side transmission count 71 and the total transmission count 73 are each increased by one. Therefore, the transmission side transmission count 71 and the total transmission count 73 of the packet EA-2 are both “2”. In the figure, since the packet EA-2 has not been received, the packet EA-3 is transmitted. Both the transmission side transmission count 71 and the total transmission count 73 of the packet EA-3 are “3”.

次に、図15により、通信装置Bが返信するエラーレート測定用パケットについて説明する。   Next, the error rate measurement packet returned by the communication apparatus B will be described with reference to FIG.

通信装置Aが送信したパケットEA−4を受信した通信装置Bは、パケットEA−4に付加されている送信側受信回数72を1増加して「1」とする。今度は通信装置Bが送信側となるので、パケットEA−4に付加されている送信・受信回数のパケットデータを入れ替える。具体的には、送信側送信回数71「4」と受信側送信回数76「0」を入れ替え、送信側受信回数72「1」と受信側受信回数75「0」も入れ替える。   The communication apparatus B that has received the packet EA-4 transmitted by the communication apparatus A increases the transmission side reception count 72 added to the packet EA-4 by 1 to “1”. Since the communication apparatus B now becomes the transmission side, the packet data of the number of transmission / reception times added to the packet EA-4 is replaced. Specifically, the transmission-side transmission count 71 “4” and the reception-side transmission count 76 “0” are switched, and the transmission-side reception count 72 “1” and the reception-side reception count 75 “0” are also switched.

さらに、通信装置Bは送信側送信回数71と総送信回数73をそれぞれ1づつ増加し、送信側送信回数71を「1」、総送信回数73を「5」として、パケットEB−1を組み立てて、送信する。   Further, the communication apparatus B increases the transmission-side transmission count 71 and the total transmission count 73 by one, sets the transmission-side transmission count 71 to “1”, sets the total transmission count 73 to “5”, and assembles the packet EB-1. ,Send.

このように、エラーレート測定用パケットを受信した通信装置は、送信側受信回数72を1増加し、送信側送信回数71と受信側送信回数76および送信側受信回数72と受信側受信回数75を入れ替える。そして、送信側送信回数71と総送信回数73をそれぞれ1づつ増加し、エラーレート測定用パケットを組み立てて、送信する。なお、送信したエラーレート測定用パケットが受信されないときには、再び送信側送信回数71と総送信回数73をそれぞれ1づつ増加し、エラーレート測定用パケットを組み立てて、送信する。   In this way, the communication device that has received the error rate measurement packet increments the transmission-side reception count 72 by 1, and sets the transmission-side transmission count 71, the reception-side transmission count 76, the transmission-side reception count 72, and the reception-side reception count 75. Replace. Then, the transmission-side transmission count 71 and the total transmission count 73 are each increased by 1, and an error rate measurement packet is assembled and transmitted. When the transmitted error rate measurement packet is not received, the transmission-side transmission count 71 and the total transmission count 73 are again incremented by 1, respectively, and the error rate measurement packet is assembled and transmitted.

図15では、パケットEB−1が受信されなかったので、パケットEB−2を組み立てて、送信する。このとき、送信側送信回数71と総送信回数73は1づつ増加され、送信側送信回数71は「2」、総送信回数73は「6」となっている。同図では、パケットEB−2も受信されなかったので、パケットEB−3を組み立てて、送信している。パケットEB−3の送信側送信回数71は「3」、総送信回数73は「7」となっている。   In FIG. 15, since the packet EB-1 has not been received, the packet EB-2 is assembled and transmitted. At this time, the transmission-side transmission count 71 and the total transmission count 73 are incremented by 1, the transmission-side transmission count 71 is “2”, and the total transmission count 73 is “6”. In the same figure, since the packet EB-2 was not received, the packet EB-3 is assembled and transmitted. The transmission side transmission count 71 of the packet EB-3 is “3”, and the total transmission count 73 is “7”.

図16では、パケットEB−3を受信した通信装置Aが、送信側受信回数72を1増加して「1」とし、送信側送信回数71「3」と受信側送信回数76「4」および送信側受信回数72「1」と受信側受信回数75「1」を入れ替える。そして、送信側送信回数71「4」と総送信回数73「7」をそれぞれ1づつ増加し、送信側送信回数71を「5」、総送信回数73を「8」として、パケットEA−5を組み立て、送信している。   In FIG. 16, the communication apparatus A that has received the packet EB-3 increases the transmission side reception count 72 by 1 to “1”, the transmission side transmission count 71 “3”, the reception side transmission count 76 “4”, and the transmission The reception side reception count 72 “1” and the reception side reception count 75 “1” are switched. Then, the transmission-side transmission count 71 “4” and the total transmission count 73 “7” are increased by 1, respectively, the transmission-side transmission count 71 is set to “5”, the total transmission count 73 is set to “8”, and the packet EA-5 is Assembled and sent.

送信したパケットEA−5は受信されなかったので、パケットEA−6を組み立て、送信している。図16では、パケットEA−9が受信されるまで送信側送信回数71と総送信回数73をそれぞれ1づつ増加し、エラーレート測定用パケットを組み立て、送信している。   Since the transmitted packet EA-5 was not received, the packet EA-6 is assembled and transmitted. In FIG. 16, the transmission side transmission count 71 and the total transmission count 73 are each increased by 1 until the packet EA-9 is received, and an error rate measurement packet is assembled and transmitted.

以上のように、送信する度に、送信側送信回数71と総送信回数73をそれぞれ1づつ増加してエラーレート測定用パケットの交換が行われる。   As described above, each time transmission is performed, the transmission rate transmission packet 71 and the total transmission frequency 73 are increased by one, and error rate measurement packets are exchanged.

図17により、総送信回数73が規定値、同図の例では「255」、に達したときの動作を示す。   FIG. 17 shows an operation when the total number of transmissions 73 reaches a specified value, which is “255” in the example of FIG.

パケットEB−Xを受信した通信装置Aは、総送信回数73が規定値「255」に達しているので、エラーレートの計算を行う。通信装置Aのエラーレートは、パケットEB−Xに付加された受信側受信回数75と受信側送信回数76により計算される。式(1)と図17より、
通信装置Aのエラーレート=32÷145=0.22
となる。通信装置Bのエラーレートは、パケットEB−Xに付加された送信側受信回数72と送信側送信回数71により計算される。式(1)と図17より、
通信装置Bのエラーレート=33÷110=0.3
となる。
The communication device A that has received the packet EB-X calculates the error rate because the total number of transmissions 73 has reached the specified value “255”. The error rate of the communication device A is calculated from the reception side reception count 75 and the reception side transmission count 76 added to the packet EB-X. From equation (1) and FIG.
Error rate of communication device A = 32 ÷ 145 = 0.22
It becomes. The error rate of the communication apparatus B is calculated from the transmission side reception count 72 and the transmission side transmission count 71 added to the packet EB-X. From equation (1) and FIG.
Error rate of communication device B = 33 ÷ 110 = 0.3
It becomes.

より精度を上げるためには、総送信回数73の規定値を大きくするか、あるいは、同様の測定を何度か繰り返して、平均値を求めると良い。   In order to increase the accuracy, it is preferable to increase the prescribed value of the total number of transmissions 73 or to obtain the average value by repeating the same measurement several times.

したがって、本実施の形態によれば、各通信装置の送信回数と受信回数を付加したエラーレート測定用パケットを規定回数交換することにより、通信装置間のエラーレートを測定することを可能とする。   Therefore, according to the present embodiment, it is possible to measure the error rate between the communication devices by exchanging the error rate measurement packet to which the number of transmissions and the number of receptions of each communication device are added a specified number of times.

第1実施形態における電界通信装置の使用例を示す模式図である。It is a schematic diagram which shows the usage example of the electric field communication apparatus in 1st Embodiment. 第1実施形態における通信装置の構造を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus in 1st Embodiment. 第1実施形態における通信条件テーブルを示す表である。It is a table | surface which shows the communication condition table in 1st Embodiment. ネゴシエーション用パケットの構成を示す模式図である。It is a schematic diagram which shows the structure of the packet for negotiation. 第1実施形態における通信方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication method in 1st Embodiment. 第1実施形態における通信方法のネゴシエーション用パケットを示す模式図である。It is a schematic diagram which shows the packet for negotiation of the communication method in 1st Embodiment. 第1実施形態における通信方法の別のネゴシエーション用パケットを示す模式図である。It is a schematic diagram which shows another packet for negotiation of the communication method in 1st Embodiment. 第1実施形態における通信方法のさらに別のネゴシエーション用パケットを示す模式図である。It is a schematic diagram which shows another packet for negotiation of the communication method in 1st Embodiment. 第1実施形態における通信方法のさらに別のネゴシエーション用パケットを示す模式図である。It is a schematic diagram which shows another packet for negotiation of the communication method in 1st Embodiment. 第1実施形態における通信方法のさらに別のネゴシエーション用パケットを示す模式図である。It is a schematic diagram which shows another packet for negotiation of the communication method in 1st Embodiment. 第2実施形態における通信装置の構造を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus in 2nd Embodiment. エラーレート測定用パケットの構成を示す模式図である。It is a schematic diagram which shows the structure of the packet for error rate measurement. 第2実施形態における通信方法の手順を示すフローチャートである。It is a flowchart which shows the procedure of the communication method in 2nd Embodiment. 第2実施形態における通信方法のエラーレート測定用パケットを示す模式図である。It is a schematic diagram which shows the packet for error rate measurement of the communication method in 2nd Embodiment. 第2実施形態における通信方法の別のエラーレート測定用パケットを示す模式図である。It is a schematic diagram which shows another packet for error rate measurement of the communication method in 2nd Embodiment. 第2実施形態における通信方法のさらに別のエラーレート測定用パケットを示す模式図である。It is a schematic diagram which shows another packet for error rate measurement of the communication method in 2nd Embodiment. 第2実施形態における通信方法のさらに別のエラーレート測定用パケットを示す模式図である。It is a schematic diagram which shows another packet for error rate measurement of the communication method in 2nd Embodiment.

符号の説明Explanation of symbols

1…通信装置
11…パケットデータ生成部
12…データソートレジスタ
13…パケット組立部
14…送信部
21…パケットデータ処理部
22…データ分配用レジスタ
23…パケット分割部
24…受信部
3…タイマー
4…通信条件テーブル
5…カウンタ処理部
6…通信条件抽出部
7…エラーレート計算部
A,B…通信装置
5A,5B…人体
50…床


DESCRIPTION OF SYMBOLS 1 ... Communication apparatus 11 ... Packet data generation part 12 ... Data sort register 13 ... Packet assembly part 14 ... Transmission part 21 ... Packet data processing part 22 ... Register for data distribution 23 ... Packet division part 24 ... Reception part 3 ... Timer 4 ... Communication condition table 5 ... Counter processing unit 6 ... Communication condition extraction unit 7 ... Error rate calculation unit A, B ... Communication device 5A, 5B ... Human body 50 ... Floor


Claims (10)

第1の通信装置と第2の通信装置との間でネゴシエーション用パケットを交換して最適通信条件を求める通信方法であって、
前記第1の通信装置が自分の通信条件と前記第2の通信装置の通信条件とを前記ネゴシエーション用パケットに付加し、前記第2の通信装置に送信するステップと、
前記第2の通信装置が該ネゴシエーション用パケットを受信した後、該ネゴシエーション用パケットに付加された前記第1の通信装置の通信条件と自分の通信条件を前記ネゴシエーション用パケットに付加し、前記第1の通信装置に送信するステップと、
前記第1の通信装置が前記ネゴシエーション用パケットを送信した後、前記第2の通信装置からのネゴシエーション用パケットを受信しないときには、自分の通信条件を通信に有利な条件に変更するとともに、該通信条件をネゴシエーション用パケットに付加し、再度該ネゴシエーション用パケットを送信するステップと、
前記第1の通信装置が受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップと、
前記第2の通信装置が前記ネゴシエーション用パケットを送信した後、前記第1の通信装置からのネゴシエーション用パケットを受信しないときには、自分の通信条件を通信に有利な条件に変更するとともに、該通信条件をネゴシエーション用パケットに付加し、再度該ネゴシエーション用パケットを送信するステップと、
前記第2の通信装置が受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップと
を有することを特徴とする通信方法。
A communication method for obtaining an optimum communication condition by exchanging a negotiation packet between a first communication device and a second communication device,
The first communication device adding its own communication condition and the communication condition of the second communication device to the negotiation packet and transmitting to the second communication device;
After the second communication device receives the negotiation packet, the communication condition of the first communication device added to the negotiation packet and its own communication condition are added to the negotiation packet. Transmitting to a communication device of
When the first communication device does not receive the negotiation packet from the second communication device after transmitting the negotiation packet, the communication condition is changed to a favorable condition for communication, and the communication condition Adding to the negotiation packet and transmitting the negotiation packet again;
Extracting a communication condition added to the negotiation packet received by the first communication device as an optimal communication condition;
When the second communication apparatus does not receive the negotiation packet from the first communication apparatus after transmitting the negotiation packet, the communication condition is changed to an advantageous condition for communication, and the communication condition Adding to the negotiation packet and transmitting the negotiation packet again;
Extracting the communication condition added to the negotiation packet received by the second communication apparatus as the optimum communication condition.
前記ネゴシエーション用パケットには、前記第1の通信装置と前記第2の通信装置が前記ネゴシエーション用パケットを受信した受信回数が付加されており、
双方の通信装置により、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定回数に達していないときには、該受信回数を1増加するとともに、再度ネゴシエーション用パケットを送信するステップと、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定回数に達しているときには、該ネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップと
を有すること特徴とする請求項1記載の通信方法。
In the negotiation packet, the number of times the first communication device and the second communication device have received the negotiation packet is added,
By both communication devices
When the negotiation packet is received, if the number of receptions added to the negotiation packet has not reached the prescribed number, the reception number is incremented by 1 and the negotiation packet is transmitted again;
A step of extracting the communication condition added to the negotiation packet as an optimum communication condition when the number of receptions added to the negotiation packet reaches a predetermined number when the negotiation packet is received; The communication method according to claim 1, further comprising:
通信装置間でネゴシエーション用パケットを交換して最適通信条件を求める通信方法であって、
自分の通信条件と通信相手の通信条件を前記ネゴシエーション用パケットに付加するステップと、
該ネゴシエーション用パケットを送信するステップと、
該ネゴシエーション用パケットを送信した後、送信先の通信装置からのネゴシエーション用パケットを受信しないときには、自分の通信条件を通信に有利な条件に変更するとともに、該通信条件をネゴシエーション用パケットに付加し、該ネゴシエーション用パケットを送信するステップと、
受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップと
を有することを特徴とする通信方法。
A communication method for obtaining an optimum communication condition by exchanging a negotiation packet between communication devices,
Adding own communication conditions and communication conditions of the communication partner to the negotiation packet;
Transmitting the negotiation packet;
After transmitting the negotiation packet, when not receiving the negotiation packet from the transmission destination communication device, change the communication conditions to be advantageous for communication, and add the communication conditions to the negotiation packet, Transmitting the negotiation packet;
And a step of extracting the communication condition added to the received negotiation packet as an optimum communication condition.
前記ネゴシエーション用パケットには、前記通信装置が受信した受信回数が付加されており、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定回数に達していないときには、該受信回数を1増加するとともに、再びネゴシエーション用パケットを送信するステップと、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定回数に達しているときには、該ネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出するステップと
を有することを特徴とする請求項3記載の通信方法。
In the negotiation packet, the number of receptions received by the communication device is added,
When the negotiation packet is received, if the number of times of reception added to the negotiation packet has not reached the specified number of times, the number of times of reception is increased by 1, and the step of transmitting the negotiation packet again;
A step of extracting the communication condition added to the negotiation packet as an optimum communication condition when the number of receptions added to the negotiation packet reaches a predetermined number when the negotiation packet is received; The communication method according to claim 3, further comprising:
ネゴシエーション用パケットを交換して最適通信条件を求める通信装置であって、
自分の通信条件と通信相手の通信条件を前記ネゴシエーション用パケットに付加するパケット生成手段と、
該ネゴシエーション用パケットを送信する送信手段と、
該ネゴシエーション用パケットを送信した後、送信先の通信装置からのネゴシエーション用パケットを受信しないときには、自分の通信条件を通信に有利な条件に変更する通信条件変更手段と、
受信したネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出する通信条件抽出手段と
を有することを特徴とする通信装置。
A communication device for exchanging negotiation packets to obtain optimum communication conditions,
A packet generating means for adding the communication conditions of the communication partner and the communication conditions of the communication partner to the negotiation packet;
Transmitting means for transmitting the negotiation packet;
After transmitting the negotiation packet, when not receiving the negotiation packet from the destination communication device, communication condition changing means for changing the own communication condition to a favorable condition for communication;
A communication condition extracting means for extracting a communication condition added to the received negotiation packet as an optimum communication condition;
前記パケット生成手段は、前記ネゴシエーション用パケットが受信された受信回数を前記ネゴシエーション用パケットに付加するものであって、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定値に達していないときには、該受信回数を1増加するカウンタ処理手段と、
前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定値に達していないときには、再びネゴシエーション用パケットを送信する再送信手段と、を有し、
前記通信条件抽出手段は、前記ネゴシエーション用パケットを受信した際、該ネゴシエーション用パケットに付加されている前記受信回数が規定値に達してるときには、該ネゴシエーション用パケットに付加されている通信条件を最適な通信条件として抽出すること
を特徴とする請求項5記載の通信装置。
The packet generation means adds the number of times the negotiation packet has been received to the negotiation packet,
When the negotiation packet is received, if the number of receptions added to the negotiation packet has not reached a specified value, counter processing means for incrementing the reception number by one;
When the negotiation packet is received, when the number of times of reception added to the negotiation packet has not reached a specified value, retransmission means for transmitting the negotiation packet again,
When the communication condition extracting means receives the negotiation packet and the number of times of reception added to the negotiation packet reaches a specified value, the communication condition extraction means optimizes the communication condition added to the negotiation packet. The communication device according to claim 5, wherein the communication device is extracted as a communication condition.
通信条件を通信の有利さを基準に並べた通信条件テーブルを有し、前記通信条件変更手段は、該通信条件テーブルに従って通信条件を変更することを特徴とする請求項5又は6記載の通信装置。   7. The communication apparatus according to claim 5, further comprising a communication condition table in which communication conditions are arranged based on the advantage of communication, wherein the communication condition changing unit changes the communication condition according to the communication condition table. . 通信装置間でエラーレート測定用パケットを交換してエラーレートを測定する通信方法であって、
双方の通信装置により、
エラーレート測定用パケットを送信するときには、送信側送信回数を1増加するとともに、送信側送信回数と送信側受信回数と受信側送信回数および受信側受信回数を前記エラーレート測定用パケットに付加するステップと、
該エラーレート測定用パケットを送信するステップと、
該エラーレート測定用パケットを送信した後、送信先の通信装置からのエラーレート測定用パケットを受信しないときには、再びエラーレート測定用パケットを送信するステップと、
エラーレート測定用パケットを受信した際、該エラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していないときには、再びエラーレート測定用パケットを送信するステップと、
エラーレート測定用パケットを受信した際、該エラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していたときには、該エラーレート測定用パケットに付加されている送信側送信回数、送信側受信回数、受信側送信回数および受信側受信回数からエラーレートを計算するステップと
を有することを特徴とする通信方法。
A communication method for measuring an error rate by exchanging an error rate measurement packet between communication devices,
By both communication devices
When transmitting the error rate measurement packet, the transmission side transmission count is increased by 1, and the transmission side transmission count, the transmission side reception count, the reception side transmission count, and the reception side reception count are added to the error rate measurement packet. When,
Transmitting the error rate measurement packet;
After transmitting the error rate measurement packet, when not receiving the error rate measurement packet from the destination communication device, transmitting the error rate measurement packet again;
When the error rate measurement packet is received, if the sum of the number of transmissions on the transmission side and the number of transmissions on the reception side added to the error rate measurement packet has not reached the specified value, the error rate measurement packet is transmitted again. Steps,
When the error rate measurement packet is received, if the total of the number of transmissions on the transmission side and the number of transmissions on the reception side added to the error rate measurement packet has reached a specified value, the packet is added to the error rate measurement packet. And calculating the error rate from the transmission side transmission count, the transmission side reception count, the reception side transmission count, and the reception side reception count.
エラーレート測定用パケットを交換してエラーレートを測定する通信装置であって、
エラーレート測定用パケットを送信するときには、送信側送信回数を1増加するとともに、送信側送信回数と送信側受信回数と受信側送信回数および受信側受信回数を前記エラーレート測定用パケットに付加するパケット生成手段と、
該エラーレート測定用パケットを送信する送信手段と、
該エラーレート測定用パケットを送信した後、送信先の通信装置からのエラーレート測定用パケットを受信しないときには、再びエラーレート測定用パケットを送信する第1の再送信手段と、
エラーレート測定用パケットを受信した際、該エラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していないときには、再びエラーレート測定用パケットを送信する第2の再送信手段と、
エラーレート測定用パケットを受信した際、該エラーレート測定用パケットに付加されている送信側送信回数と受信側送信回数の合計が規定値に達していたときには、該エラーレート測定用パケットに付加されている送信側送信回数、送信側受信回数、受信側送信回数および受信側受信回数に基づきエラーレートを計算するエラーレート計算手段と
を有することを特徴とする通信装置。
A communication device for exchanging error rate measurement packets and measuring an error rate,
When transmitting an error rate measurement packet, the transmission side transmission count is increased by 1, and a transmission side transmission count, a transmission side reception count, a reception side transmission count, and a reception side reception count are added to the error rate measurement packet. Generating means;
Transmitting means for transmitting the error rate measurement packet;
A first retransmission means for transmitting the error rate measurement packet again when the error rate measurement packet is not received from the destination communication apparatus after transmitting the error rate measurement packet;
When the error rate measurement packet is received, if the sum of the number of transmissions on the transmission side and the number of transmissions on the reception side added to the error rate measurement packet has not reached the specified value, the error rate measurement packet is transmitted again. A second retransmission means;
When the error rate measurement packet is received, if the total of the number of transmissions on the transmission side and the number of transmissions on the reception side added to the error rate measurement packet has reached a specified value, the packet is added to the error rate measurement packet. An error rate calculating means for calculating an error rate based on the transmission side transmission count, transmission side reception count, reception side transmission count, and reception side reception count.
前記通信端末は、電界伝達媒体に電界を誘起して通信を行う電界通信端末であることを特徴とする請求項5乃至7、9のいずれかに記載の通信装置。
10. The communication apparatus according to claim 5, wherein the communication terminal is an electric field communication terminal that performs communication by inducing an electric field in an electric field transmission medium.
JP2006002577A 2006-01-10 2006-01-10 Communication method and communication equipment Pending JP2007184836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006002577A JP2007184836A (en) 2006-01-10 2006-01-10 Communication method and communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006002577A JP2007184836A (en) 2006-01-10 2006-01-10 Communication method and communication equipment

Publications (1)

Publication Number Publication Date
JP2007184836A true JP2007184836A (en) 2007-07-19

Family

ID=38340525

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006002577A Pending JP2007184836A (en) 2006-01-10 2006-01-10 Communication method and communication equipment

Country Status (1)

Country Link
JP (1) JP2007184836A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013526098A (en) * 2010-03-05 2013-06-20 ライブクオス・インコーポレーテッド System and method for achieving high throughput
US9189307B2 (en) 2004-08-06 2015-11-17 LiveQoS Inc. Method of improving the performance of an access network for coupling user devices to an application server
US9379913B2 (en) 2004-08-06 2016-06-28 LiveQoS Inc. System and method for achieving accelerated throughput
US9590913B2 (en) 2011-02-07 2017-03-07 LiveQoS Inc. System and method for reducing bandwidth usage of a network
US9647952B2 (en) 2004-08-06 2017-05-09 LiveQoS Inc. Network quality as a service
US9647945B2 (en) 2011-02-07 2017-05-09 LiveQoS Inc. Mechanisms to improve the transmission control protocol performance in wireless networks
US9942823B2 (en) 2013-12-06 2018-04-10 Nec Corporation Communication terminal, communication method, and communication program
US10951743B2 (en) 2011-02-04 2021-03-16 Adaptiv Networks Inc. Methods for achieving target loss ratio

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265533A (en) * 1995-03-20 1996-10-11 Fujitsu Ltd Setting system for facsimile communication condition
JPH11120107A (en) * 1997-10-17 1999-04-30 Fujitsu Ltd Data communication system and communication equipment used therefor
JP2000224258A (en) * 1998-01-09 2000-08-11 Matsushita Graphic Communication Systems Inc Communication equipment and communication method
JP2000295179A (en) * 1999-04-08 2000-10-20 Toshiba Corp Communication terminal
JP2000349782A (en) * 1999-06-08 2000-12-15 Nec Corp Device and method for transmitting and receiving infrared ray
JP2002232591A (en) * 2001-01-31 2002-08-16 Oi Electric Co Ltd Terminal adaptor
JP2005277719A (en) * 2004-03-24 2005-10-06 Nippon Telegr & Teleph Corp <Ntt> Furniture with transmission/reception electrode and data communication system using this furniture
JP2006005554A (en) * 2004-06-16 2006-01-05 Sony Corp System, device and method for radio communication, and computer program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08265533A (en) * 1995-03-20 1996-10-11 Fujitsu Ltd Setting system for facsimile communication condition
JPH11120107A (en) * 1997-10-17 1999-04-30 Fujitsu Ltd Data communication system and communication equipment used therefor
JP2000224258A (en) * 1998-01-09 2000-08-11 Matsushita Graphic Communication Systems Inc Communication equipment and communication method
JP2000295179A (en) * 1999-04-08 2000-10-20 Toshiba Corp Communication terminal
JP2000349782A (en) * 1999-06-08 2000-12-15 Nec Corp Device and method for transmitting and receiving infrared ray
JP2002232591A (en) * 2001-01-31 2002-08-16 Oi Electric Co Ltd Terminal adaptor
JP2005277719A (en) * 2004-03-24 2005-10-06 Nippon Telegr & Teleph Corp <Ntt> Furniture with transmission/reception electrode and data communication system using this furniture
JP2006005554A (en) * 2004-06-16 2006-01-05 Sony Corp System, device and method for radio communication, and computer program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9189307B2 (en) 2004-08-06 2015-11-17 LiveQoS Inc. Method of improving the performance of an access network for coupling user devices to an application server
US9379913B2 (en) 2004-08-06 2016-06-28 LiveQoS Inc. System and method for achieving accelerated throughput
US9647952B2 (en) 2004-08-06 2017-05-09 LiveQoS Inc. Network quality as a service
US9893836B2 (en) 2004-08-06 2018-02-13 LiveQoS Inc. System and method for achieving accelerated throughput
US10574742B2 (en) 2004-08-06 2020-02-25 LiveQoS Inc. Network quality as a service
JP2013526098A (en) * 2010-03-05 2013-06-20 ライブクオス・インコーポレーテッド System and method for achieving high throughput
US10951743B2 (en) 2011-02-04 2021-03-16 Adaptiv Networks Inc. Methods for achieving target loss ratio
US9590913B2 (en) 2011-02-07 2017-03-07 LiveQoS Inc. System and method for reducing bandwidth usage of a network
US9647945B2 (en) 2011-02-07 2017-05-09 LiveQoS Inc. Mechanisms to improve the transmission control protocol performance in wireless networks
US10057178B2 (en) 2011-02-07 2018-08-21 LiveQoS Inc. System and method for reducing bandwidth usage of a network
US9942823B2 (en) 2013-12-06 2018-04-10 Nec Corporation Communication terminal, communication method, and communication program

Similar Documents

Publication Publication Date Title
JP2007184836A (en) Communication method and communication equipment
KR101166965B1 (en) Methods and apparatus for communicating in a peer to peer system where device communications may partially interfere with one another
US8687479B2 (en) Methods and apparatus for channel estimation and rate feedback in a peer to peer network
JP5519683B2 (en) Transmission device, reception device, transmission / reception system, and transmission / reception method
US20100315206A1 (en) Electrode diversity for body-coupled communication systems
WO2010020945A1 (en) Monitoring vital parameters of a patient using a body sensor network
CN101278512A (en) Error correction in packet-based communication networks using data consistency checks
US9288769B2 (en) Wireless power control apparatus and method having multiple transmit power levels
CN103634203B (en) Message asynchronous transport method, device and system
JP2007201878A (en) Communication system and apparatus, and communication quality testing method
CN108809476A (en) A kind of method and apparatus carried out data transmission
KR20160017029A (en) Digital radio communication
CN105517195A (en) State detection method and wireless network node
CN104393955B (en) Ack/nack signal detection method and device
WO2009084163A1 (en) Wireless communication system and personal digital assistant
US10631187B1 (en) Method and apparatus for ranging
CN104683023B (en) Method, equipment and the system of fast quick-recovery after a kind of FCoE network packet loss
CN105227539B (en) Message page integrity verification in automotive networking auto negotiation
CN114938714A (en) Perception measurement method and communication device
CN101741605A (en) Method, apparatus and system for processing message
JP2007201702A (en) Receiver, communication equipment, and communication method
JP2017130726A (en) Wireless communication device, wireless communication system and interference determination method
JP5228276B2 (en) Position estimation system
WO2004114620A1 (en) Radio communication apparatus
CN108449722A (en) Communication means and communication device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100330