JP2010178217A - Communication equipment, communicating method, and control program of communication equipment - Google Patents

Communication equipment, communicating method, and control program of communication equipment Download PDF

Info

Publication number
JP2010178217A
JP2010178217A JP2009020793A JP2009020793A JP2010178217A JP 2010178217 A JP2010178217 A JP 2010178217A JP 2009020793 A JP2009020793 A JP 2009020793A JP 2009020793 A JP2009020793 A JP 2009020793A JP 2010178217 A JP2010178217 A JP 2010178217A
Authority
JP
Japan
Prior art keywords
communication
data
speed
pulse
communication speed
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
JP2009020793A
Other languages
Japanese (ja)
Inventor
Hitoshi Naoe
仁志 直江
Kenji Mameta
憲治 豆田
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2009020793A priority Critical patent/JP2010178217A/en
Publication of JP2010178217A publication Critical patent/JP2010178217A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a connection time until a communication start if communication equipment to be a communication counterpart corresponds to communication equipment while holding compatibility with communication equipment following the existing communication system. <P>SOLUTION: The communication equipment 10 is provided with: a low speed encoder 131 for converting data to be outputted to a secondary station into a communication pattern following a modulation system of a first communication speed; a high speed encoder 132 for converting the data to be outputted to the secondary station into a communication frame following a modulation system of a second communication speed and having a frame length corresponding to the pulse width of one pulse upon receiving one pulse of the communication pattern converted by the low speed encoder 131; and a transmitting part 141 for outputting second communication data converted by the high speed encoder 132 to the secondary station in place of the one pulse of the first communication data. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、既存の通信方式に従った通信機器との互換性を保ち、既存の通信方式に従った通信機器との互換性を保ち、通信相手となる通信機器が本発明の通信機器に対応していれば、通信開始までの接続時間を短縮することが可能な通信機器、通信方法および通信機器の制御プログラムに関するものである。   The present invention maintains compatibility with a communication device conforming to an existing communication method, maintains compatibility with a communication device conforming to an existing communication method, and a communication device serving as a communication partner corresponds to the communication device of the present invention. If so, the present invention relates to a communication device, a communication method, and a communication device control program that can shorten the connection time until the start of communication.

近年、通信機器は、静止画や動画、音声などのいわゆるマルチメディアデータを扱えるようになり、通信機器が保有できるデータサイズが飛躍的に増大している。そのようなデータを通信機器どうしの間で共有するために、有線通信技術、無線通信技術などを用いた近距離通信方法が用いられている。   In recent years, communication devices can handle so-called multimedia data such as still images, moving images, and voices, and the data size that communication devices can possess has increased dramatically. In order to share such data between communication devices, a short-range communication method using a wired communication technique, a wireless communication technique, or the like is used.

上記無線通信技術のひとつとして、赤外線通信協会(Infrared Data Association)の規定する通信方式(以下、IrDA(登録商標)方式と称す)があり、例えば非特許文献1、2に開示されている。以下、非特許文献1、2に開示されたIrDA方式について、図8および図9を用いて説明する。   As one of the wireless communication technologies, there is a communication system (hereinafter referred to as IrDA (registered trademark) system) defined by an Infrared Data Association, which is disclosed in Non-Patent Documents 1 and 2, for example. Hereinafter, the IrDA method disclosed in Non-Patent Documents 1 and 2 will be described with reference to FIGS.

〔IrDA方式〕
まず、通信機器間でIrDA方式によるデータ通信が行われるときの接続手順について図8を用いて説明する。図8は、通信機器間でIrDA方式によるデータ通信が行われるときの接続手順を示す図である。
[IrDA system]
First, a connection procedure when data communication by the IrDA method is performed between communication devices will be described with reference to FIG. FIG. 8 is a diagram illustrating a connection procedure when data communication by the IrDA method is performed between communication devices.

IrDA方式では、通信機器(一次局)が、通信相手とする通信機器(二次局)の認識(検索)および通信能力の交換を行うときに使用される第一通信速度は、9600bps(bit per second)に規定されている。すなわち、一次局は、最初に通信相手を探す側の局(データ転送状態の確立を要求する局)であり、接続を要求するコマンド(例えば、局発見コマンド(XID(Exchange Station Identification)コマンド))を送出する側の局である。一方、二次局は、上記要求を受け入れる側の局である。図8においては、一次局がclientであり、二次局がServerである。   In the IrDA system, the first communication speed used when a communication device (primary station) recognizes (searches) a communication device (secondary station) as a communication partner and exchanges communication capability is 9600 bps (bit per bit). second). That is, the primary station is a station that first searches for a communication partner (a station that requests establishment of a data transfer state), and a command that requests connection (for example, a station discovery command (XID (Exchange Station Identification) command)) Is the station that sends the message. On the other hand, the secondary station is a station that accepts the request. In FIG. 8, the primary station is the client and the secondary station is the server.

一次局は、通信相手となる二次局を検索するために上記XIDコマンド(図8のXIDC0〜XIDC5)を出力する。XIDコマンドは、一次局から通信可能距離内に二次局となり得る局が存在するかを探すコマンドであり、単数もしくは複数の通信機器と接続できるように、1、6、8、16スロットの何れかのスロット数(同時に相手局をサーチできる数)を指定できるように規定されている。一次局は、指定されたスロット数分のXIDコマンドを出力する。なお、XIDコマンドの出力時間は約28msであり、XIDコマンドの出力間隔は約70〜80msである。   The primary station outputs the XID command (XIDC0 to XIDC5 in FIG. 8) in order to search for a secondary station to be a communication partner. The XID command is a command for searching for a station that can be a secondary station within a communicable distance from the primary station, and any of 1, 6, 8, and 16 slots can be connected to one or a plurality of communication devices. It is stipulated that the number of slots (number that can search for the partner station at the same time) can be specified. The primary station outputs XID commands for the designated number of slots. The output time of the XID command is about 28 ms, and the output interval of the XID command is about 70 to 80 ms.

XIDを受け取った二次局は、局発見レスポンスであるXIDレスポンス(図8のXIDR)を全スロット間のどこか一つ(XIDC−XIDC間もしくはXIDC−XIDE(後述)間)でランダムに返し、自局の存在を一次局に知らせる処理を行う。図8では、二次局は、スロット1のXIDコマンド(XIDC1)を受信した後に一次局に送信している。なお、XIDレスポンスにはニックネームなどの情報が入るため、XIDレスポンスの出力時間は28〜60msとなる。   The secondary station that has received the XID returns an XID response (XIDR in FIG. 8), which is a station discovery response, at random between any slot (between XIDC and XIDC or between XIDC and XIDE (described later)), Performs processing to inform the primary station of the existence of its own station. In FIG. 8, the secondary station transmits the XID command (XIDC1) of slot 1 to the primary station after receiving it. Since information such as a nickname is included in the XID response, the output time of the XID response is 28 to 60 ms.

一次局は、スロット数分の(図8では、6スロット)のXIDコマンドを出力した後、最後のXIDコマンドであるXID−END(図8のXIDE)を出力する。これにより、一次局は、二次局の認識(検索)フェーズを終了する。なお、XID−ENDの出力時間はXIDレスポンスと同じであり、28〜60msである。   The primary station outputs XID commands corresponding to the number of slots (six slots in FIG. 8), and then outputs the last XID command XID-END (XIDE in FIG. 8). As a result, the primary station ends the secondary station recognition (search) phase. The output time of XID-END is the same as the XID response and is 28 to 60 ms.

二次局の認識(検索)フェーズが終了すると、一次局は、通信能力の交換を行うため、自局の最大転送可能速度、最大受信可能データ長等の通信に必要となるパラメータ(自局の通信能力を示すパラメータ)を、SNRM(Set Normal Response Mode)コマンドを用いて二次局に知らせる。SNRMコマンドは、XID−ENDの出力から10ms以上の間隔を開け、かつ、当該出力から500ms以内に送信が完了するように出力される。なお、SNRMコマンドの出力時間は約50msである。   When the secondary station recognition (search) phase is completed, the primary station exchanges communication capabilities, so parameters necessary for communication such as the maximum transfer speed and maximum receivable data length of the local station (the local station's A parameter indicating communication capability) is notified to the secondary station using a SNRM (Set Normal Response Mode) command. The SNRM command is output so that the transmission is completed within 500 ms after the interval of 10 ms or more from the output of XID-END. The output time of the SNRM command is about 50 ms.

一次局から出力されたSNRMコマンドを受け取った二次局は、パラメータによって、自局の設定値と比較しネゴシエートされた値や、自局の設定値を、UA(Unnumbered acknowledgment)レスポンスを用いて一次局に知らせる。UAレスポンスは、SNRMコマンドの入力から10ms以上の間隔を開け、かつ、当該入力から500ms以内に送信が完了するように出力される。   The secondary station that has received the SNRM command output from the primary station uses the parameters to compare the negotiated value with the set value of its own station or the set value of its own station using the UA (Unnumbered acknowledgment) response. Tell the station. The UA response is output so that the transmission is completed within 500 ms after an interval of 10 ms or more from the input of the SNRM command.

このように、一次局および二次局は、上記SNRMコマンドおよびUAレスポンスの入出力により、お互いの通信能力を交換する通信能力交換フェーズを終了する。   In this way, the primary station and the secondary station end the communication capability exchange phase for exchanging communication capabilities with each other by inputting and outputting the SNRM command and the UA response.

通信能力交換フェーズが終了すると、一次局および二次局は、通信速度を、第一通信速度(9600bps)から、上位層の接続処理およびデータ交換を行うときに使用される第二通信速度に切り替えることにより、データ交換フェーズに移行する。データ交換フェーズに移行すると、まず一次局が、I(information)フレームの受信準備ができていることを知らせるためのRR(Receive Ready)フレームを出力する。このRRフレームの出力タイミングは特に規定されておらず、UAレスポンスを受け取った直後に出力してもよいことになっている。   When the communication capability exchange phase is completed, the primary station and the secondary station switch the communication speed from the first communication speed (9600 bps) to the second communication speed used when performing upper layer connection processing and data exchange. Thus, the data exchange phase is entered. When shifting to the data exchange phase, the primary station first outputs an RR (Receive Ready) frame for informing that it is ready to receive an I (information) frame. The output timing of the RR frame is not particularly defined, and may be output immediately after receiving the UA response.

なお、二次局によってはRRフレームを認識できない場合もある。この場合には、一次局は、最初の(先の)RRフレームを出力してから、500ms以上経過後で、かつ、接続保持時間以内に再度RRフレームを出力する。そして、一次局は、それ以降の接続処理を第二通信速度で行う。   Depending on the secondary station, the RR frame may not be recognized. In this case, the primary station outputs the RR frame again after the elapse of 500 ms or more and within the connection holding time after outputting the first (previous) RR frame. Then, the primary station performs subsequent connection processing at the second communication speed.

ここで、IrDA方式では、2008年現在、2400bps、9600bps、19.2kbps、38.4kbps、57.6kbps、115.2kbps、0.576Mbps、1.152Mbps、4Mbps、16Mbpsおよび100Mbpsの11種類が第二通信速度として規定されており、今後さらに高速の通信速度が制定される予定である。   In the IrDA system, 11 types of 2400 bps, 9600 bps, 19.2 kbps, 38.4 kbps, 57.6 kbps, 115.2 kbps, 0.576 Mbps, 1.152 Mbps, 4 Mbps, 16 Mbps, and 100 Mbps are the second in 2008. It is specified as a communication speed, and a higher communication speed will be established in the future.

また、変調方式としては、通信速度が2400〜115.2kbpsの変調方式(通称SIR(Serial IR)方式)、0.576Mbpsおよび1.152Mbpsの変調方式(ビットスタフィングNRZ方式:通称MIR(Medium IR)方式)、4Mbpsの変調方式(4値PPM方式:通称FIR(Fast IR)方式)、16Mbpsの変調方式(HHH方式:通称VFIR(Very Fast IR)方式)、並びに、100Mbpsの変調方式(8B10B方式:通称UFIR方式)の5種類が存在する。以下、本発明に直接関係する変調方式であるSIR方式について図9を用いて説明し、その他の変調方式についてはその説明を割愛する。   As modulation methods, modulation methods with a communication speed of 2400 to 115.2 kbps (commonly known as SIR (Serial IR) method), 0.576 Mbps and 1.152 Mbps modulation methods (bit stuffing NRZ method: commonly known as MIR (Medium IR)). ) Method) 4 Mbps modulation method (4-value PPM method: commonly called FIR (Fast IR) method), 16 Mbps modulation method (HHH method: commonly called VFIR (Very Fast IR) method), and 100 Mbps modulation method (8B10B method) : Nicknamed UFIR system). Hereinafter, the SIR method, which is a modulation method directly related to the present invention, will be described with reference to FIG. 9, and description of other modulation methods will be omitted.

図9は、通信速度が2400〜115.2kbpsの変調方式であるSIR方式によってデータが変換される様子を示す図である。   FIG. 9 is a diagram illustrating how data is converted by the SIR method, which is a modulation method with a communication speed of 2400 to 115.2 kbps.

図示のように、通信機器は、8ビットデータ(図9のData)に対して、スタートビット(値は0)およびストップビット(値は1)を付加することによってUART(Universal Asynchronous Receiver/Transmitter)フレーム(図9のUART-Data)を作成する。つまり、通信機器は、SIR方式で通信を行う場合には、データをUARTフレームとして送信することとなる。   As shown in the figure, the communication device adds a start bit (value is 0) and a stop bit (value is 1) to 8-bit data (Data in FIG. 9), thereby providing a UART (Universal Asynchronous Receiver / Transmitter). A frame (UART-Data in FIG. 9) is created. That is, the communication device transmits data as a UART frame when performing communication by the SIR method.

その後、通信機器は、UARTフレームのビットの値が0の場合にはパルスを生成する一方、当該ビットの値が1の場合にはパルスを生成しないことにより、UARTフレームをIRフレーム(図9のIR-data)に変換する。図9では、生成されたパルスを明色の矩形で示すものとする。また、8ビットデータごとにパルスが生成されるか否かが変わるため、8ビットデータに対応するIRフレームの箇所を暗色の矩形で示すものとする。すなわち、この暗色の矩形は、パルスが生成される場合には明色の矩形で示されることを意味し、パルスが生成されない場合には何も示さないことを意味するものである。   Thereafter, the communication device generates a pulse when the value of the bit of the UART frame is 0, but does not generate a pulse when the value of the bit is 1, thereby converting the UART frame into the IR frame (FIG. 9). IR-data). In FIG. 9, the generated pulse is indicated by a light-colored rectangle. In addition, since whether or not a pulse is generated for each 8-bit data changes, the IR frame corresponding to the 8-bit data is indicated by a dark rectangle. That is, this dark rectangle means that a light rectangle is shown when a pulse is generated, and nothing is shown when a pulse is not generated.

なお、第一通信速度は9600bpsであるため、UARTフレームの1ビット時間(1ビットに相当する時間)は、1/9600=約104μsである。また、SIR方式では、通信機器が出力するパルス幅の許容値は、1.41μsから上記1ビット時間の3/16+αとなっており、通信速度が9600bpsの場合、1.41μs〜22.13μsとなる。   Since the first communication speed is 9600 bps, the 1-bit time (time corresponding to 1 bit) of the UART frame is 1/9600 = about 104 μs. In the SIR system, the allowable pulse width output from the communication device is 3/16 + α of the 1-bit time from 1.41 μs, and 1.41 μs to 22.13 μs when the communication speed is 9600 bps. Become.

〔IrDA方式の問題点〕
上記のように、IrDA方式では、通信機器は、通信能力交換フェーズからデータ交換フェーズに移行するときに第一通信速度から第二通信速度に切り替える。特に、この第一通信速度と第二通信速度との差が数千倍から数万倍ある場合には、二次局の認識(検索)フェーズおよび通信能力交換フェーズに必要な時間は、データ交換フェーズでのデータ交換するために必要な時間と比して多大な時間を要する。このため、二次局の認識(検索)フェーズおよび通信能力交換フェーズに必要な時間が長くなればなるほど通信時間が長くなってしまい、通信機器間の通信におけるオーバーヘッドが生じてしまうという問題が生じる。
[Issue with IrDA method]
As described above, in the IrDA system, the communication device switches from the first communication speed to the second communication speed when shifting from the communication capability exchange phase to the data exchange phase. In particular, when the difference between the first communication speed and the second communication speed is several thousand to several tens of thousands of times, the time required for the secondary station recognition (search) phase and communication capacity exchange phase is the data exchange. It takes a lot of time compared to the time required to exchange data in the phase. For this reason, the longer the time required for the secondary station recognition (search) phase and the communication capability exchange phase is, the longer the communication time becomes, resulting in an overhead in communication between communication devices.

例えば、IrDA方式の場合、通信機器間において、第一通信速度で通信を開始し、その後第二通信速度に切り替え、相互に通信可能となるまでの時間を計算すると、最短のベストケースで約740msの時間がかかり、最長のワーストケースで約2200msの時間がかかる。   For example, in the case of the IrDA system, when communication is started between communication devices at the first communication speed and then switched to the second communication speed and the time until communication is possible is calculated, the shortest best case is about 740 ms. It takes about 2200 ms in the longest worst case.

この時間は、例えば第二通信速度が100Mbpsである場合、74Mbit(9.25MByte)〜220Mbit(27.5MByte)ものデータ交換を通信機器間で行うことが可能な時間である。さらに、例えば第二通信速度が500Mbpsである場合には370Mbit(46.25MByte)〜1100Mbit(137.5MByte)ものデータ交換が可能であり、第二通信速度が1000Mbpsであった場合には740Mbit(92.5MByte)〜2200Mbit(275MByte)ものデータ交換が可能である。   For example, when the second communication speed is 100 Mbps, this time is a time in which data exchange of 74 Mbit (9.25 Mbyte) to 220 Mbit (27.5 MByte) can be performed between the communication devices. Further, for example, when the second communication speed is 500 Mbps, data exchange of 370 Mbit (46.25 MByte) to 1100 Mbit (137.5 MByte) is possible, and when the second communication speed is 1000 Mbps, 740 Mbit (92 .5 Mbyte) to 2200 Mbit (275 MByte) can be exchanged.

上記問題を解決する(上記オーバーヘッドを小さくする)ために、例えば第一通信速度と第二通信速度とをほぼ同じにするか、もしくは、数倍から数十倍程度の差にすることも考えられる。しかしながら、その場合、一次局は、第一通信速度との差が小さい通信速度に対応可能な通信機器との互換を取ることができなくなってしまうため、現在のIrDA方式に従った既存の通信機器との通信を行うことができなくなってしまう。つまり、第一通信速度と第二通信速度との差を小さくすることで、オーバーヘッドを小さくすることは困難である。   In order to solve the above problem (reduce the overhead), for example, the first communication speed and the second communication speed may be substantially the same, or a difference of several to several tens of times may be considered. . However, in this case, the primary station cannot be compatible with a communication device that can cope with a communication speed having a small difference from the first communication speed. Therefore, an existing communication device according to the current IrDA system is used. It becomes impossible to communicate with. That is, it is difficult to reduce overhead by reducing the difference between the first communication speed and the second communication speed.

ここで、上記問題を解決するための別の技術が、例えば特許文献2〜5に開示されている。   Here, another technique for solving the above problem is disclosed in Patent Documents 2 to 5, for example.

特許文献2には、拡散されたデータをひとつのパルス上に多重化すると共に、パルス圧縮を行うことで、ひとつの短パルスに複数の情報を重畳して多重化を実現することが可能な通信機器が開示されている。   Patent Document 2 discloses a communication that can multiplex multiplexed data by superimposing a plurality of information on one short pulse by multiplexing the spread data on one pulse and performing pulse compression. A device is disclosed.

特許文献3には、H221フレームのFAS(Frame Alignment Signal)およびBAS(Bit-rate Allocation Signal)以外のデータ領域を、通信機器間において独自の制御情報を格納する領域として使用し接続処理手順に必要な情報を交換する通信機器が開示されている。また、特許文献4には、通常の方式(例えば勧告H223)に規定されているフレームを出力しない間に、当該フレームとは異なる特殊なフレームを出力することで独自の制御手順を実現する通信機器が開示されている。これらの技術によれば、同一方式を採用する通信機器間における通信能力の交換を行うための接続時間を短縮することができる。   In Patent Document 3, a data area other than FAS (Frame Alignment Signal) and BAS (Bit-rate Allocation Signal) of the H221 frame is used as an area for storing unique control information between communication devices, and is necessary for the connection processing procedure. A communication device for exchanging various information is disclosed. Patent Document 4 discloses a communication device that realizes a unique control procedure by outputting a special frame different from the frame while not outputting a frame defined in a normal method (for example, recommendation H223). Is disclosed. According to these technologies, it is possible to shorten the connection time for exchanging communication capability between communication devices that adopt the same method.

特許文献5には、デジタル信号のパルス幅を判定用パルス幅値と比較して当該デジタル信号の通信速度を判定することにより、通信開始時の通信速度を高速で解析および確認し、確認時間を短縮すること可能な通信機器が開示されている。   In Patent Document 5, by comparing the pulse width of the digital signal with the pulse width value for determination and determining the communication speed of the digital signal, the communication speed at the start of communication is analyzed and confirmed at a high speed, and the confirmation time is set. A communication device that can be shortened is disclosed.

なお、上記オーバーヘッドを小さくする技術に関するものではないが、IrDA方式の通信においてより高速な通信速度を実現し、大容量の通信を行うことを可能とする技術が例えば特許文献1に開示されている。   Although not related to the technique for reducing the overhead, for example, Patent Document 1 discloses a technique that realizes a higher communication speed in IrDA communication and enables large-capacity communication. .

特許文献1には、エンコーダで符号化された9600bps(低速)の情報信号のパルス(図9のIR-Data)を送信した後の1ビット時間内に、100Mbpsコントローラで符号化された100Mbps(高速)の情報信号を多重化する多重化回路を備えた通信機器が開示されている。この技術では、通信能力交換フェーズからデータ交換フェーズに切り替えた後に、9600bpsの通信速度よりも高速の通信速度の情報信号を重畳して通信している。   Patent Document 1 discloses that 100 Mbps (high-speed) encoded by a 100 Mbps controller within one bit time after transmitting a 9600 bps (low-speed) information signal pulse (IR-Data in FIG. 9) encoded by an encoder. ) Is provided with a multiplexing circuit for multiplexing the information signal. In this technique, after switching from the communication capability exchange phase to the data exchange phase, communication is performed by superimposing an information signal having a communication speed higher than the communication speed of 9600 bps.

しかしながら、現在のIrDA方式に従う二次局は、高速な光信号を分離する機能を有していない。このため、この二次局は、高速な光信号を、二次局の受光素子(フォトダイオード(PD)、フォトトランジスタ(PT)など)が受信可能な周波数帯域を大きく超えたDC光(すなわち、1つのパルス)として認識してしまう。つまり、特許文献1では、上記二次局は、本来のパルス(9600bpsの通信速度におけるパルス)の後に、どのような情報であるかを認識不可能な意味不明のパルスを高速な光信号として受信することとなる。   However, the secondary station according to the current IrDA system does not have a function of separating high-speed optical signals. For this reason, this secondary station uses a DC light (that is, a frequency band that greatly exceeds a frequency band in which a light receiving element (photodiode (PD), phototransistor (PT), etc.) of the secondary station can receive a high-speed optical signal (that is, One pulse). That is, in Patent Document 1, the secondary station receives an unintelligible pulse as a high-speed optical signal after the original pulse (pulse at a communication speed of 9600 bps) cannot be recognized. Will be.

これにより、特許文献1の技術では、一次局が、当該技術に対応していない二次局との通信を行えず、現在のIrDA方式に従った二次局との互換を取ることができなくなってしまうという問題が生じる。この問題により、特許文献1の技術では、高速な通信速度での通信機能を有する通信機器どうしの通信を可能にするものになる。このため、特許文献1において、そもそも特許文献1の技術を有しない二次局との互換を取るための低速な通信速度の情報信号に、高速な通信速度の情報信号を重畳させる必要がない。   As a result, in the technique of Patent Document 1, the primary station cannot communicate with a secondary station that does not support the technique, and cannot be compatible with a secondary station that complies with the current IrDA system. Problem arises. Due to this problem, the technique disclosed in Patent Document 1 enables communication between communication devices having a communication function at a high communication speed. For this reason, in Patent Document 1, it is not necessary to superimpose a high-speed communication speed information signal on a low-speed communication speed information signal for compatibility with a secondary station that does not have the technique of Patent Document 1.

特開2007−129637号公報(2007年5月24日公開)JP 2007-129637 A (published May 24, 2007) 特開2004−343388号公報(2004年12月2日公開)JP 2004-343388 A (released on December 2, 2004) 特開2000−13465号公報(2000年1月14日公開)JP 2000-13465 A (published January 14, 2000) 特開2000−174842号公報(2000年6月23日公開)JP 2000-174842 (June 23, 2000) 特開2006−303731号公報(2006年11月2日公開)JP 2006-303731 A (released on November 2, 2006)

Infrared Data Association Serial Infrared Link Access Protocol(IrLAP) Version1.1(June 16,1996)Infrared Data Association Serial Infrared Link Access Protocol (IrLAP) Version 1.1 (June 16, 1996) Infrared Data Association Serial Infrared Physical Layer Specification Version1.4(May 30,2003)Infrared Data Association Serial Infrared Physical Layer Specification Version 1.4 (May 30, 2003)

しかしながら、特許文献2の技術では、通信機器どうしが同様の通信処理能力を持っていなければ通信を行うことができない。このため、特許文献2の技術では、通信機器どうしがデータ交換を行う際に、お互いの通信機器の通信能力を交換するなどの処理が別途必要となり、この分の処理時間が通信開始前にかかってしまうという問題が生じる。   However, with the technology of Patent Document 2, communication cannot be performed unless communication devices have the same communication processing capability. For this reason, in the technology of Patent Document 2, when communication devices exchange data, it is necessary to separately perform processing such as exchanging communication capabilities of each other's communication devices, and this processing time is required before starting communication. Problem arises.

また、特許文献2の技術では、通信機器は、受信する信号を波として検出する必要がある。しかしながら、現在の技術において、光のような超高周波信号を波として検出可能な通信機器は存在していない。このため、特許文献2の技術は、数GHz〜数十GHzの電波を受信した場合には適用できるが、超高周波信号である光を用いた通信方式には適用できないという問題が生じてしまう。   In the technique disclosed in Patent Document 2, the communication device needs to detect a received signal as a wave. However, in the current technology, there is no communication device that can detect an ultrahigh frequency signal such as light as a wave. For this reason, although the technique of patent document 2 can be applied when a radio wave of several GHz to several tens of GHz is received, there arises a problem that it cannot be applied to a communication method using light that is an ultrahigh frequency signal.

さらに、特許文献3の技術では、H221フレーム内で使用していないデータ領域に、通信機器どうしで判別可能な制御情報を格納する必要がある。このため、通信機器が用いるフレーム内に使用していないデータ領域がない場合には、当該通信機器に特許文献3の技術を適用できず、接続時間を短縮できない虞があるという問題が生じてしまう。   Furthermore, in the technique of Patent Document 3, it is necessary to store control information that can be discriminated between communication devices in a data area that is not used in the H221 frame. For this reason, when there is no unused data area in the frame used by the communication device, there is a problem that the technology of Patent Document 3 cannot be applied to the communication device, and the connection time may not be shortened. .

また、特許文献4の技術は、特殊なフレームがどの通信機器からも出力されない期間を有しているネットワークにおいては、適用することができない通信方式である。このため、特許文献4の技術では、接続時間を短縮できない虞があるという問題を生じてしまう。   The technique of Patent Document 4 is a communication method that cannot be applied to a network having a period during which a special frame is not output from any communication device. For this reason, in the technique of patent document 4, the problem that there exists a possibility that connection time cannot be shortened will arise.

さらに、特許文献5の技術では、現在のIrDA方式に従った既存の通信機器との互換がとれなくなってしまうという問題が生じる。   Furthermore, the technique of Patent Document 5 has a problem in that compatibility with existing communication devices according to the current IrDA method cannot be achieved.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、既存の通信方式に従った通信機器との互換性を保ち、通信相手となる通信機器が本発明の通信機器に対応していれば、通信開始までの接続時間を短縮する(オーバーヘッドを小さくする)ことが可能な通信機器、通信方法および通信機器の制御プログラムを提供するものである。   The present invention has been made in view of the above-described problems, and the object thereof is to maintain compatibility with a communication device according to an existing communication method, and a communication device serving as a communication partner is a communication device of the present invention. If it is compatible, it is possible to provide a communication device, a communication method, and a communication device control program capable of reducing the connection time until communication is started (reducing overhead).

本発明に係る一次局としての通信機器は、上記課題を解決するために、第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行う一次局としての通信機器であって、上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換部と、上記第一データ変換部によって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換部と、上記第二データ変換部によって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力部と、を備えたことを特徴としている。   In order to solve the above problems, a communication device as a primary station according to the present invention searches and recognizes a secondary station to be a communication partner and communicates with the secondary station according to a modulation scheme of the first communication speed. Is a communication device as a primary station that performs upper-layer connection and data exchange with a secondary station in accordance with a second communication speed higher than the first communication speed, and outputs data to the secondary station. Is converted into first communication data in accordance with the first communication speed modulation method, and one pulse of the first communication data converted by the first data conversion unit is received. A second data conversion unit for converting data to be output to the secondary station into second communication data according to the second communication speed modulation method having a data length corresponding to the pulse width of the one pulse; Changed by the second data converter The second communication data, is characterized by comprising an output unit for outputting to the secondary station as an alternative to the one pulse of the first communication data.

また、本発明に係る一次局としての通信方法は、上記課題を解決するために、第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行う一次局としての通信機器の通信方法であって、上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換ステップと、上記第一データ変換ステップによって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換ステップと、上記第二データ変換ステップによって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力ステップと、を含むことを特徴としている。   Further, in order to solve the above problems, the communication method as a primary station according to the present invention searches and recognizes a secondary station to be a communication partner according to a modulation scheme of the first communication speed, and communicates with the secondary station. A communication method of a communication device as a primary station for performing communication capacity exchange and performing upper layer connection and data exchange with a secondary station according to a second communication speed higher than the first communication speed, A first data conversion step for converting data to be output to the station into first communication data in accordance with the modulation method of the first communication speed, and one pulse of the first communication data converted by the first data conversion step The second data for converting the data to be output to the secondary station to the second communication data according to the modulation method of the second communication speed having the data length corresponding to the pulse width of the one pulse Conversion step , The second data conversion the second communication data converted by the step, is characterized in that it comprises an output step of outputting to the secondary station as an alternative one pulse of the first communication data.

上記構成によれば、一次局としての通信機器(通信方法)は、第一データ変換部(第一データ変換ステップ)で変換された第一通信速度の変調方式に従った第一通信データの代わりに、第二データ変換部(第二データ変換ステップ)で変換された、第一通信データの1パルスのパルス幅に相当するデータ長の、第二通信速度の変調方式に従った第二通信データを出力する。   According to the above configuration, the communication device (communication method) as the primary station replaces the first communication data according to the modulation method of the first communication speed converted by the first data conversion unit (first data conversion step). The second communication data according to the second communication speed modulation method having a data length corresponding to the pulse width of one pulse of the first communication data, converted by the second data conversion unit (second data conversion step). Is output.

従って、本発明に係る通信機器は、二次局となる通信機器が第二通信データを受信可能な通信機器であれば、例えば第一通信速度の変調方式に従った二次局の認識(検索)を行う際であっても、第二通信速度の変調方式に従った接続処理を行うことが可能となる。   Therefore, the communication device according to the present invention recognizes (searches for) the secondary station according to the modulation method of the first communication speed, for example, if the communication device as the secondary station is a communication device that can receive the second communication data. ), It is possible to perform connection processing according to the second communication speed modulation method.

一方、二次局となる通信機器が第一通信データのみ受信可能な通信機器(既存の通信方式に従った通信機器)の場合、第二通信データは、第二通信速度と第一通信速度との速度差が百倍以上であれば、当該通信機器の有する受信可能周波数を大きく超える。このため、既存の通信方式に従った通信機器は、第二通信データを第一通信データの1パルスとして認識する。   On the other hand, when the communication device as the secondary station is a communication device that can receive only the first communication data (communication device according to the existing communication method), the second communication data includes the second communication speed, the first communication speed, If the speed difference is 100 times or more, it greatly exceeds the receivable frequency of the communication device. For this reason, the communication apparatus according to the existing communication system recognizes the second communication data as one pulse of the first communication data.

つまり、既存の通信方式に従った通信機器は、本発明に係る通信機器から出力される第二通信データを認識できないが、第一通信データの1パルスとして認識することが可能であり、第一通信速度の変調方式に従った処理を行うことが可能である。このため、本発明に係る通信機器は、第一通信データの代わりに第二通信データを出力した場合であっても、上記既存の通信方式に従った通信機器と通信を行うことができる。   That is, the communication device according to the existing communication method cannot recognize the second communication data output from the communication device according to the present invention, but can recognize it as one pulse of the first communication data. It is possible to perform processing in accordance with the communication speed modulation method. For this reason, the communication device according to the present invention can communicate with the communication device in accordance with the existing communication method even when the second communication data is output instead of the first communication data.

従って、本発明に係る通信機器は、既存の通信方式に従った通信機器との互換性を保ち、二次局が本発明に係る通信機器に対応している通信機器であれば、通信開始までの接続時間を短縮することができる。   Therefore, the communication device according to the present invention maintains compatibility with the communication device according to the existing communication method, and if the secondary station is a communication device corresponding to the communication device according to the present invention, the communication device is started. Connection time can be shortened.

さらに、本発明に係る一次局としての通信機器は、自機器の受信ステートを、上記二次局からの第一通信速度の変調方式に従った第一通信データを受信可能な第一受信ステートと、上記二次局からの第二通信速度の変調方式に従った第二通信データを受信可能な第二受信ステートと、に切り替える受信ステート切替手段を備え、上記受信ステート切替手段は、上記第二通信データの、上記第一通信データの1パルスの代わりとしての出力が開始されてから、当該第一通信データの1ビットに相当する時間が経過するまで、または、当該第一通信データの次のパルスの出力が開始されるまで、第二受信ステートに維持することが好ましい。   Further, the communication device as the primary station according to the present invention, the reception state of the own device, the first reception state capable of receiving the first communication data according to the modulation method of the first communication speed from the secondary station, Receiving state switching means for switching to a second receiving state capable of receiving second communication data in accordance with a second communication speed modulation method from the secondary station, wherein the receiving state switching means Until the time corresponding to one bit of the first communication data elapses after the output of the communication data instead of one pulse of the first communication data is started, or after the first communication data It is preferable to maintain the second reception state until pulse output is started.

受信ステート切替手段は、第二通信データの、第一通信データの1パルスの代わりとしての出力が開始されてから、当該第一通信データの1ビットに相当する時間が経過するまで、または、第一通信データの次のパルスの出力が開始されるまで、自機器の受信ステートを第二受信ステートに維持する。   The reception state switching means is configured to start the output of the second communication data as a substitute for one pulse of the first communication data until a time corresponding to one bit of the first communication data elapses, or Until the output of the next pulse of one communication data is started, the reception state of the own device is maintained in the second reception state.

従って、二次局となる通信機器が本発明に係る通信機器に対応した機器であれば、本発明に係る通信機器は、当該対応した機器から第二通信データに対するレスポンスを受信することが可能となる。   Therefore, if the communication device as the secondary station is a device that corresponds to the communication device according to the present invention, the communication device according to the present invention can receive a response to the second communication data from the corresponding device. Become.

さらに、本発明に係る一次局としての通信機器は、上記二次局との接続処理を制御する第一通信制御手段を備え、上記第一通信制御手段は、上記受信ステート切替手段が上記第二受信ステートにしている間に、上記第二通信データに対するレスポンスを二次局から受信した場合には、第二通信速度の変調方式に従った接続処理を行うことが好ましい。   Furthermore, a communication device as a primary station according to the present invention includes first communication control means for controlling connection processing with the secondary station, wherein the first communication control means is configured such that the reception state switching means is the second communication station. When a response to the second communication data is received from the secondary station while in the reception state, it is preferable to perform connection processing according to the modulation method of the second communication speed.

上記構成によれば、第一通信制御手段は、受信ステート切替手段が第二受信ステートにしている間に、第二通信データに対するレスポンスを受信した場合には、二次局となる通信機器が本発明に係る通信機器に対応した機器であると判断し、第二通信速度の変調方式に従った接続処理を行うことができる。   According to the above configuration, when the first communication control unit receives a response to the second communication data while the reception state switching unit is in the second reception state, the communication device serving as the secondary station becomes the main communication device. It is determined that the device is compatible with the communication device according to the invention, and connection processing according to the modulation method of the second communication speed can be performed.

従って、本発明に係る通信機器は、第二通信データに対するレスポンスを、最短で第一通信データの1ビットに相当する時間内に、二次局となる通信機器との接続を行うことができる。   Therefore, the communication device according to the present invention can connect the response to the second communication data with the communication device that is the secondary station within a time corresponding to one bit of the first communication data in the shortest time.

さらに、本発明に係る一次局としての通信機器は、上記受信ステート切替部は、上記第二通信データを含む上記第一通信データの最終パルスが出力されてから、当該第一通信データの1パルスのパルス幅に相当する時間が経過したときに、上記第一受信ステートに切り替えることが好ましい。   Furthermore, in the communication device as the primary station according to the present invention, the reception state switching unit outputs one pulse of the first communication data after the final pulse of the first communication data including the second communication data is output. It is preferable to switch to the first reception state when a time corresponding to the pulse width of elapses.

上記構成によれば、本発明に係る通信機器は、当該通信機器に対応していない二次局(既存の通信機器)であったとしても、当該既存の通信機器から第一通信データに対するレスポンスを受信することができる。このため、本発明に係る通信機器は、既存の通信機器とも互換性をもって通信を行うことができる。   According to the above configuration, even if the communication device according to the present invention is a secondary station (existing communication device) that does not support the communication device, a response to the first communication data is received from the existing communication device. Can be received. Therefore, the communication device according to the present invention can communicate with an existing communication device with compatibility.

本発明に係る二次局としての通信機器は、上記課題を解決するために、第一通信速度の変調方式に従って、一次局による自機器の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行う二次局としての通信機器であって、上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行う第二通信制御手段を備えたことを特徴としている。   In order to solve the above problems, the communication device as a secondary station according to the present invention searches and recognizes its own device by the primary station and exchanges the communication capability with the primary station according to the modulation method of the first communication speed. And a communication device as a secondary station that performs upper layer connection and data exchange with the primary station according to a second communication speed higher than the first communication speed, according to the modulation method of the first communication speed. When the first communication data is received, connection processing with the primary station is performed according to the modulation method of the first communication speed, and the second communication having a data length corresponding to the pulse width of one pulse of the first communication data. When data is received, second communication control means for performing connection processing with the primary station according to the modulation scheme of the second communication speed is provided.

また、本発明に係る二次局としての通信機器の通信方法は、上記課題を解決するために、第一通信速度の変調方式に従って、一次局による自機器の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行う二次局としての通信機器の通信方法であって、上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行うことを特徴としている。   Further, in order to solve the above-described problem, the communication method of the communication device as the secondary station according to the present invention searches and recognizes the own device by the primary station according to the modulation method of the first communication speed, and the primary station A communication device as a secondary station that performs data exchange with a higher-layer connection and a primary station according to a second communication speed higher than the first communication speed. When receiving the first communication data according to the modulation scheme of one communication speed, the connection processing with the primary station is performed according to the modulation scheme of the first communication speed, and the pulse width of one pulse of the first communication data is set. When the second communication data having the corresponding data length is received, the connection process with the primary station is performed according to the modulation scheme of the second communication speed.

上記構成によれば、本発明に係る通信機器(通信方法)は、既存の通信方式に従った通信機器からの第一通信データと、第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを出力可能な通信機器(本発明に係る一次局としての通信機器)からの当該第二通信データとを、同時に待ち受けることができる。   According to the above configuration, the communication device (communication method) according to the present invention has the first communication data from the communication device according to the existing communication method and the data length corresponding to the pulse width of one pulse of the first communication data. The second communication data from the communication device that can output the second communication data (communication device as the primary station according to the present invention) can be simultaneously awaited.

従って、本発明に係る通信機器(通信方法)は、本発明に係る一次局としての通信機器からの第二通信データを受信して接続処理を行うことも、既存の通信方式に従った通信機器からの第一通信データを受信して接続処理を行うこともできる。すなわち、本発明に係る通信機器は、既存の通信方式に従った通信機器との互換性を保ち、一次局が本発明に係る一次局としての通信機器であれば、通信開始までの接続時間を短縮することができる。   Therefore, the communication device (communication method) according to the present invention can receive the second communication data from the communication device as the primary station according to the present invention and perform the connection process. It is also possible to perform connection processing by receiving first communication data from. That is, the communication device according to the present invention maintains compatibility with the communication device according to the existing communication method, and if the primary station is a communication device as the primary station according to the present invention, the connection time until the start of communication is reduced. It can be shortened.

さらに、本発明に係る一次局としての通信機器は、赤外線により近距離に存在する二次局と通信を行うことが好ましい。   Furthermore, it is preferable that the communication device as the primary station according to the present invention communicates with the secondary station existing at a short distance by infrared rays.

上記構成によれば、赤外線により近距離に存在する二次局との通信を行う際にも、上記一次局としての通信機器(通信方法)と同様の効果を奏することができる。   According to the said structure, when communicating with the secondary station which exists in a short distance by infrared rays, there can exist an effect similar to the communication apparatus (communication method) as said primary station.

さらに、本発明に係る二次局としての通信機器は、赤外線により近距離に存在する一次局と通信を行うことが好ましい。   Furthermore, it is preferable that the communication device as the secondary station according to the present invention communicates with the primary station existing at a short distance by infrared rays.

上記構成によれば、赤外線により近距離に存在する一次局との通信を行う際にも、上記二次局としての通信機器(通信方法)と同様の効果を奏することができる。   According to the said structure, when performing communication with the primary station which exists in a short distance by infrared rays, there can exist an effect similar to the communication apparatus (communication method) as said secondary station.

なお、上記一次局としての通信機器および二次局としての通信機器は、コンピュータによって実現してもよく、この場合には、コンピュータに当該通信機器の処理を実行させる。これにより、上記一次局としての通信機器および二次局としての通信機器をコンピュータにて実現させる制御プログラムも、本発明の範疇に入る。   Note that the communication device as the primary station and the communication device as the secondary station may be realized by a computer. In this case, the computer is caused to execute processing of the communication device. Thus, a control program for realizing the communication device as the primary station and the communication device as the secondary station by a computer also falls within the scope of the present invention.

以上のように、本発明に係る一次局としての通信機器は、上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換部と、上記第一データ変換部によって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換部と、上記第二データ変換部によって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力部と、を備えた構成である。   As described above, the communication device as the primary station according to the present invention, the first data conversion unit that converts the data output to the secondary station into the first communication data according to the modulation scheme of the first communication speed And when one pulse of the first communication data converted by the first data converter is received, the data to be output to the secondary station is the data length corresponding to the pulse width of the one pulse. A second data conversion unit that converts the second communication data in accordance with a modulation method of the second communication speed; and the second communication data converted by the second data conversion unit is converted into one pulse of the first communication data. Instead, the output unit outputs to the secondary station.

また、本発明に係る一次局としての通信機器の通信方法は、上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換ステップと、上記第一データ変換ステップによって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換ステップと、上記第二データ変換ステップによって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力ステップと、を含む方法である。   The communication method of the communication device as the primary station according to the present invention includes a first data conversion step of converting data output to the secondary station into first communication data according to the modulation method of the first communication speed. And when one pulse of the first communication data converted by the first data conversion step is received, the data to be output to the secondary station is the data length corresponding to the pulse width of the one pulse. A second data conversion step for converting to second communication data in accordance with a modulation method of the second communication speed; and the second communication data converted by the second data conversion step is converted into one pulse of the first communication data. An output step of outputting to the secondary station instead.

さらに、本発明に係る二次局としての通信機器は、上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行う第二通信制御手段を備えた構成である。   Further, when the communication device as the secondary station according to the present invention receives the first communication data according to the modulation method of the first communication speed, the communication device is connected to the primary station according to the modulation method of the first communication speed. When the second communication data having a data length corresponding to the pulse width of one pulse of the first communication data is received, a connection process with the primary station is performed according to the second communication speed modulation method. It is the structure provided with the communication control means.

また、本発明に係る二次局としての通信機器の通信方法は、上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行う方法である。   Further, the communication method of the communication device as the secondary station according to the present invention, when receiving the first communication data according to the modulation method of the first communication speed, the primary station according to the modulation method of the first communication speed. When the second communication data having a data length corresponding to the pulse width of one pulse of the first communication data is received, the connection process with the primary station is performed according to the second communication speed modulation method. How to do it.

それゆえ、本発明に係る通信機器および通信方法は、既存の通信方式に従った通信機器との互換性を保ち、通信相手となる通信機器が本発明の通信機器に対応していれば、通信開始までの接続時間を短縮することができるという効果を奏する。   Therefore, the communication device and the communication method according to the present invention maintain compatibility with the communication device according to the existing communication method, and if the communication device serving as the communication partner is compatible with the communication device of the present invention, There is an effect that the connection time until the start can be shortened.

本実施形態に係る一次局としての通信機器の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the communication apparatus as a primary station which concerns on this embodiment. 本実施形態に係る通信機器の概略構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic structure of the communication apparatus which concerns on this embodiment. 図1に示す通信機器における通信コントローラのデータ処理を説明するための図である。It is a figure for demonstrating the data processing of the communication controller in the communication apparatus shown in FIG. 図1に示す通信機器における受信ステートの切替タイミングについて説明するための図である。It is a figure for demonstrating the switching timing of the reception state in the communication apparatus shown in FIG. IrDA方式における接続開始時(SIR通信時;第一通信速度が9600bpsの変調方式での通信時))のフレームフォオーマットを示す図である。It is a figure which shows the frame format at the time of the connection start in IrDA system (at the time of SIR communication; communication at the time of the modulation system whose 1st communication speed is 9600 bps). 本実施形態に係る二次局としての通信機器の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the communication apparatus as a secondary station which concerns on this embodiment. 図6に示す通信機器における物理層デバイスの入出力信号について説明するための図である。It is a figure for demonstrating the input / output signal of the physical layer device in the communication apparatus shown in FIG. 従来技術を示すものであり、通信機器間でIrDA方式によるデータ通信が行われるときの接続手順を示す図である。It is a figure which shows a prior art and shows the connection procedure when the data communication by an IrDA system is performed between communication apparatuses. 従来技術を示すものであり、通信速度が2400〜115.2kbpsの変調方式であるSIR方式によってデータが変換される様子を示す図である。It is a figure which shows a prior art and shows a mode that data are converted by the SIR system which is a modulation system with a communication speed of 2400-115.2 kbps.

本発明の実施形態について、図1から図7に基づいて説明すると以下の通りである。   The embodiment of the present invention will be described with reference to FIGS. 1 to 7 as follows.

〔通信機器の概略〕
まず、本実施形態に係る通信機器1の構成について、図1および図2を用いて説明する。図2は、本実施形態に係る通信機器の概略構成の一例を示すブロック図である。
[Outline of communication equipment]
First, the configuration of the communication device 1 according to the present embodiment will be described with reference to FIGS. 1 and 2. FIG. 2 is a block diagram illustrating an example of a schematic configuration of the communication device according to the present embodiment.

通信機器1は、例えばIrDA方式に準拠し、赤外線を用いた無線通信にてデータを外部に出力するものであり、静止画や動画、音声などのマルチメディアデータを送受信可能な携帯電話、ノートPC(Personal Computer)、表示装置、印刷装置、記録装置などに搭載されるものである。また、通信機器1は、制御部11、メモリ12、通信コントローラ13および物理層デバイス14およびバス15を備えている。   The communication device 1 conforms to, for example, the IrDA system, and outputs data to the outside by wireless communication using infrared rays. The communication device 1 can transmit and receive multimedia data such as still images, moving images, and voices, and notebook PCs. (Personal Computer), a display device, a printing device, a recording device, and the like. The communication device 1 includes a control unit 11, a memory 12, a communication controller 13, a physical layer device 14, and a bus 15.

なお、本実施形態では、通信方式として近距離無線通信のIrDA方式に準拠した場合を例に説明するが、これに限らず、IrDA Control方式、NFC方式、Bluetooth方式などの通信方式であってもよい。   In this embodiment, a case where the communication method conforms to the IrDA method of short-distance wireless communication will be described as an example. Good.

制御部11は、通信機器1の制御、アプリケーションなどのプログラム処理を行うものであり、例えばメモリ12からのデータの読み出しおよび書き込み、通信コントローラ13、物理層デバイス14の制御を行うものである。なお、制御部11の構成については後述する。   The control unit 11 performs control of the communication device 1 and program processing such as an application. For example, the control unit 11 reads and writes data from the memory 12 and controls the communication controller 13 and the physical layer device 14. The configuration of the control unit 11 will be described later.

メモリ12は、制御部11が処理を行うために必要なプログラム、二次局との通信に必要なデータなどの各種情報を保存するものである。なお、メモリ12は、例えば、EEPROM(electrically erasable programmable read only memory)、フラッシュメモリ等、書換え可能な不揮発性メモリによって実現されても、揮発性メモリであるRAM(random access memory)によって実現されてもよい。   The memory 12 stores various information such as a program necessary for the control unit 11 to perform processing and data necessary for communication with the secondary station. The memory 12 may be realized by a rewritable nonvolatile memory such as an EEPROM (electrically erasable programmable read only memory) or a flash memory, or may be realized by a RAM (random access memory) which is a volatile memory. Good.

通信コントローラ13は、制御部11の命令に準じて、例えばデータ出力を行う際に必要となる処理であるデータのパケット化(フレーム化)および符号化を行うものである。また、通信コントローラ13は、制御部11の命令に準じて、外部から受信する信号(すなわち、パケット化および符号化された信号)からデータを取り出す処理を行うものである。なお、通信コントローラ13の構成については後述する。   The communication controller 13 performs packetization (framing) and encoding of data, which is a process necessary when data is output, for example, in accordance with instructions from the control unit 11. Further, the communication controller 13 performs processing for extracting data from an externally received signal (that is, a packetized and encoded signal) in accordance with an instruction from the control unit 11. The configuration of the communication controller 13 will be described later.

物理層デバイス14は、通信コントローラ13によってパケット化および符号化されたデータを、光、電圧、RF(Radio frequency)信号などの、二次局と実際に通信を行うことが可能な信号に変調し、外部に出力するものである。また、物理層デバイス14は、外部からデータ受信し、当該データを通信コントローラ13が受信可能な信号に復調するものである。   The physical layer device 14 modulates the data packetized and encoded by the communication controller 13 into a signal that can actually communicate with the secondary station, such as light, voltage, and RF (Radio frequency) signal. , Output to the outside. The physical layer device 14 receives data from the outside and demodulates the data into a signal that can be received by the communication controller 13.

このため、物理層デバイス14は、図1に示すように、外部との通信を行うための送信部141(出力部)および受信部142を備えている。送信部141は、例えば赤外線通信を行うための発光モジュール(発光素子)であり、データ送信用のLED(Light emitting diode)、LD(Laser Diode)などによって構成される。一方、受信部142は、例えば赤外線通信を行うための受光モジュール(受光素子)であり、データ受信用のPD、PTなどによって構成される。   For this reason, as shown in FIG. 1, the physical layer device 14 includes a transmission unit 141 (output unit) and a reception unit 142 for performing communication with the outside. The transmission unit 141 is, for example, a light emitting module (light emitting element) for performing infrared communication, and includes an LED (Light emitting diode) for transmitting data, an LD (Laser Diode), and the like. On the other hand, the receiving unit 142 is, for example, a light receiving module (light receiving element) for performing infrared communication, and includes a data receiving PD, PT, and the like.

バス15は、制御部11と、メモリ12および通信コントローラ13との間でデータのやり取りを行うための経路であり、データ転送の場所を指定するために使用するアドレス線、データ転送に使用するデータ線、転送タイミングを計るために使用する制御線を含む。   The bus 15 is a path for exchanging data between the control unit 11, the memory 12, and the communication controller 13, and is an address line used for designating a data transfer location and data used for data transfer. Lines, including control lines used to measure transfer timing.

なお、以下の説明では、一次局としての通信機器1を通信機器10、二次局としての通信機器1を通信機器20として説明する。   In the following description, the communication device 1 as the primary station will be described as the communication device 10, and the communication device 1 as the secondary station will be described as the communication device 20.

〔一次局としての通信機器での制御〕
次に、本実施形態に係る一次局としての通信機器10について、図1および図3を用いて説明する。図1は、一次局としての通信機器の要部構成を示すブロック図である。なお、メモリ12、物理層デバイス14およびバス15については、上述したので、その説明を省略する。
[Control by communication equipment as primary station]
Next, the communication device 10 as a primary station according to the present embodiment will be described with reference to FIGS. 1 and 3. FIG. 1 is a block diagram showing a main configuration of a communication device as a primary station. Since the memory 12, the physical layer device 14, and the bus 15 have been described above, description thereof will be omitted.

図1に示すように、通信機器10の通信コントローラ13は、低速エンコーダ131(第一データ変換部)、高速エンコーダ132(第二データ変換部)、マルチプレクサ133およびデコーダ134を備えている。   As illustrated in FIG. 1, the communication controller 13 of the communication device 10 includes a low-speed encoder 131 (first data conversion unit), a high-speed encoder 132 (second data conversion unit), a multiplexer 133, and a decoder 134.

低速エンコーダ131は、低速度通信を行うことが可能な第一通信速度の変調方式に従って、二次局に出力するデータを変換する、すなわち当該データをフレーム化し、パルスを生成するものである。本実施形態では、低速エンコーダ131は、例えば第一通信速度が9600bpsのSIR方式に従ってデータを変換する。   The low-speed encoder 131 converts data to be output to the secondary station in accordance with a first communication speed modulation method capable of performing low-speed communication, that is, converts the data into a frame and generates a pulse. In the present embodiment, the low-speed encoder 131 converts data in accordance with, for example, an SIR method with a first communication speed of 9600 bps.

なお、低速エンコーダ131は、パルスを生成するだけの構成としてもよい。この場合、低速エンコーダ131は、制御部11を用いて(すなわちソフトウェアによって)フレーム化されたデータのパルス変換機能のみを有する構成となる。   Note that the low-speed encoder 131 may be configured to only generate pulses. In this case, the low-speed encoder 131 has a configuration having only a pulse conversion function of data framed using the control unit 11 (that is, by software).

高速エンコーダ132は、高速度通信を行うことが可能な第二通信速度の変調方式に従って、二次局に出力するデータを変換(フレーム化)するものである。本実施形態では、高速エンコーダ132は、例えば第二通信速度が100MbpsのUFIR方式もしくは今後制定される予定のさらに高速な方式に従ってデータを変換する。   The high-speed encoder 132 converts (frames) data to be output to the secondary station in accordance with a second communication speed modulation method capable of performing high-speed communication. In the present embodiment, the high-speed encoder 132 converts data in accordance with, for example, the UFIR method with a second communication speed of 100 Mbps or a higher-speed method scheduled to be established in the future.

また、高速エンコーダ132は、低速エンコーダ131によって変換された第一通信速度の変調方式に従ったデータ(第一通信速度の通信パターン;第一通信データ)の1パルスを受信したときに、二次局に出力するデータを、当該1パルスのパルス幅に相当するフレーム長の、第二通信速度の変調方式に従ったデータ(第二通信速度の通信フレーム;第二通信データ)に変換する機能を有するものである。   When the high-speed encoder 132 receives one pulse of data (first communication speed communication pattern; first communication data) according to the first communication speed modulation method converted by the low-speed encoder 131, A function of converting data to be output to the station into data (second communication speed communication frame; second communication data) according to the second communication speed modulation method having a frame length corresponding to the pulse width of the one pulse. It is what you have.

マルチプレクサ133(出力部)は、低速エンコーダ131にて変換されたデータと、高速エンコーダ132にて変換されたデータとのいずれかを後段の物理層デバイス14に出力するものであり、後述の選択制御部111から出力される選択信号(第一選択信号、第二選択信号)に基づいて、上記2つのデータの出力切替を行うものである。   The multiplexer 133 (output unit) outputs either the data converted by the low-speed encoder 131 or the data converted by the high-speed encoder 132 to the physical layer device 14 at the subsequent stage. Based on a selection signal (first selection signal, second selection signal) output from the unit 111, output switching of the two data is performed.

つまり、マルチプレクサ133は、接続動作時において高速エンコーダ132によって変換された第二通信速度の通信フレームを、第一通信速度の通信パターンの1パルスの代わりとして物理層デバイス14に出力する。そして、物理層デバイス14は、受信した第二通信速度の通信フレームを二次局に出力する。   That is, the multiplexer 133 outputs the communication frame of the second communication speed converted by the high speed encoder 132 during the connection operation to the physical layer device 14 instead of one pulse of the communication pattern of the first communication speed. Then, the physical layer device 14 outputs the received communication frame at the second communication speed to the secondary station.

デコーダ134は、後述の受信ステート切替部112から出力される受信ステート信号に基づいて、物理層デバイス14が受信した、二次局によって符号化されたデータを復号して、当該二次局が符号化する前の元のデータに戻すものである。   The decoder 134 decodes the data encoded by the secondary station received by the physical layer device 14 based on the reception state signal output from the reception state switching unit 112 described later, and the secondary station encodes it. This is to restore the original data before conversion.

また、制御部11は、図1に示すように、選択制御部111、受信ステート切替部112(受信ステート切替手段)、受信状態監視部113および通信制御部114(第一通信制御手段)を備えている。なお、制御部11に備えられた各機能ブロックは、例えば、当該制御部11としてのCPU(Control Processing Unit)がROM等に記憶されているプログラムをRAM等に読み出し実行することにより実現できる。   As shown in FIG. 1, the control unit 11 includes a selection control unit 111, a reception state switching unit 112 (reception state switching unit), a reception state monitoring unit 113, and a communication control unit 114 (first communication control unit). ing. Each functional block provided in the control unit 11 can be realized by, for example, a CPU (Control Processing Unit) serving as the control unit 11 reading and executing a program stored in the ROM or the like to the RAM or the like.

選択制御部111は、マルチプレクサ133に、低速エンコーダ131からのデータまたは高速エンコーダ132からのデータを物理層デバイス14に出力させるように制御するものである。このため、選択制御部111は、低速エンコーダ131からのデータを物理層デバイス14に出力させるための第一選択信号、または、高速エンコーダ132からのデータを物理層デバイス14に出力させるための第二選択信号を、マルチプレクサ133に送信する。   The selection control unit 111 controls the multiplexer 133 to output the data from the low speed encoder 131 or the data from the high speed encoder 132 to the physical layer device 14. Therefore, the selection control unit 111 outputs a first selection signal for causing the physical layer device 14 to output data from the low speed encoder 131 or a second for causing the physical layer device 14 to output data from the high speed encoder 132. The selection signal is transmitted to the multiplexer 133.

受信ステート切替部112は、物理層デバイス14からデータが出力されるタイミングに応じて、通信機器10(特に、通信コントローラ13および物理層デバイス14)の受信ステートを切り替えるものである。ここで、受信ステートとしては、第一通信速度の通信パターンを受信可能な第一受信ステート、または、第二通信速度の通信フレームを受信可能な第二受信ステートがある。   The reception state switching unit 112 switches the reception state of the communication device 10 (particularly, the communication controller 13 and the physical layer device 14) according to the timing at which data is output from the physical layer device 14. Here, the reception state includes a first reception state in which a communication pattern at a first communication speed can be received, or a second reception state in which a communication frame at a second communication speed can be received.

すなわち、受信ステート切替部112は、第二通信速度の通信フレームを受信するステートの場合には、第二受信ステート信号を、受信ステート信号として物理層デバイス14およびデコーダ134に送信する。第二受信ステート信号とは、第二通信速度の通信フレームの受信処理および変換処理を行わせるための信号である。これにより、物理層デバイス14およびデコーダ134は、第二通信速度の変調方式に従ったデータを受信可能な第二受信ステートとなる。   That is, the reception state switching unit 112 transmits the second reception state signal to the physical layer device 14 and the decoder 134 as a reception state signal in the state of receiving the communication frame at the second communication speed. The second reception state signal is a signal for performing reception processing and conversion processing of a communication frame at the second communication speed. As a result, the physical layer device 14 and the decoder 134 enter a second reception state in which data according to the modulation scheme of the second communication speed can be received.

一方、受信ステート切替部112は、第一通信速度の通信パターンを受信するステートの場合には、第一受信ステート信号を、受信ステート信号として通信コントローラ13および物理層デバイス14に送信する。第一受信ステート信号とは、第一通信速度の通信パターンの受信処理および変換処理を行わせるための信号である。これにより、通信コントローラ13および物理層デバイス14は、第一通信速度の変調方式に従ったデータを受信可能な第一受信ステートとなる。   On the other hand, in the state of receiving the communication pattern of the first communication speed, the reception state switching unit 112 transmits the first reception state signal to the communication controller 13 and the physical layer device 14 as a reception state signal. The first reception state signal is a signal for performing reception processing and conversion processing of the communication pattern at the first communication speed. As a result, the communication controller 13 and the physical layer device 14 enter a first reception state in which data according to the modulation method of the first communication speed can be received.

受信状態監視部113は、第一または第二受信ステート中に、第一通信速度の通信パターンまたは第二通信速度の通信フレームに対応するレスポンスを、受信部142が受信したか否かを監視するものである。   The reception state monitoring unit 113 monitors whether or not the reception unit 142 has received a response corresponding to the communication pattern of the first communication speed or the communication frame of the second communication speed during the first or second reception state. Is.

通信制御部114は、局発見処理(二次局の認識(検索)フェーズでの処理)、通信能力交換処理(通信能力交換フェーズでの処理)、および、上位層の接続処理およびデータ交換処理(データ交換フェーズでの処理)の制御、通信速度の制御など、二次局との通信のための接続処理を制御するものである。   The communication control unit 114 performs station discovery processing (processing in the secondary station recognition (search) phase), communication capability exchange processing (processing in the communication capability exchange phase), and higher layer connection processing and data exchange processing ( It controls connection processing for communication with the secondary station, such as control of data exchange phase) and communication speed.

つまり、通信制御部114は、第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行うように、通信機器10の各部を制御するものである。なお、通信能力とは、例えば二次局とのデータ通信における通信速度、通信パターン(通信フレーム)間の時間間隔、通信途絶時のタイムアウト等の自機器が保有する能力のことであり、例えばSNRMコマンドに含まれるパラメータを指す。   That is, the communication control unit 114 searches and recognizes a secondary station that is a communication partner and exchanges communication capability with the secondary station according to the modulation method of the first communication speed, and is higher than the first communication speed. According to the second communication speed, each unit of the communication device 10 is controlled so as to connect the upper layer and exchange data with the secondary station. Note that the communication capability is a capability possessed by the own device such as a communication speed in data communication with a secondary station, a time interval between communication patterns (communication frames), a timeout at the time of communication interruption, for example, SNRM. Refers to the parameter included in the command.

特に、通信制御部114は、受信ステート切替部112が第二受信ステートにしている間に、第二通信速度の通信フレームに対するレスポンスを二次局から受信した場合には、第二通信速度の変調方式に従った接続処理を行う。   In particular, when the communication control unit 114 receives a response to the communication frame at the second communication speed from the secondary station while the reception state switching unit 112 is in the second reception state, the communication control unit 114 modulates the second communication speed. Perform connection processing according to the method.

次に、通信コントローラ13のデータ処理について図3を用いて説明する。図3は、通信コントローラ13のデータ処理を説明するための図である。   Next, data processing of the communication controller 13 will be described with reference to FIG. FIG. 3 is a diagram for explaining data processing of the communication controller 13.

まず、通信制御部114は、通信相手の認識(検索)を行うために、局発見コマンドを外部に出力するために、通信コントローラ13および物理層デバイス14を制御する。具体的には、通信制御部114は、例えば操作部(図示しない)を介してユーザによるデータ送信の指示を受けると、局発見コマンドを生成し、通信コントローラ13の低速エンコーダ131に送信する。   First, the communication control unit 114 controls the communication controller 13 and the physical layer device 14 in order to output a station discovery command to the outside in order to recognize (search) a communication partner. Specifically, for example, when receiving a data transmission instruction from the user via an operation unit (not shown), the communication control unit 114 generates a station discovery command and transmits it to the low-speed encoder 131 of the communication controller 13.

このとき、選択制御部111は、第二選択信号をマルチプレクサ133およびに送信する。つまり、第二選択信号を受信している間、マルチプレクサ133は、高速エンコーダ132からのデータのみを物理層デバイス14に出力可能な状態となっている。   At this time, the selection control unit 111 transmits the second selection signal to the multiplexer 133. That is, while receiving the second selection signal, the multiplexer 133 can output only the data from the high-speed encoder 132 to the physical layer device 14.

低速エンコーダ131は、局発見コマンドを受信すると、第一通信速度の変調方式であるSIR方式に従って、当該局発見コマンドをフレーム化し、SIR通信パターン(第一変調方式の通信パターン)に変換する。   When the low-speed encoder 131 receives the station discovery command, the low-speed encoder 131 converts the station discovery command into a frame according to the SIR method that is the modulation method of the first communication speed, and converts it into an SIR communication pattern (a communication pattern of the first modulation method).

すなわち、低速エンコーダ131は、図3に示すように、局発見コマンド(図3のData)に対して、スタートビット(値は0)およびストップビット(値は1)を付加することによってUARTフレーム(図3のUART-Data)を作成する。なお、図3では、低速エンコーダ131に入力される局発見コマンドの1バイト分を示したものである。   That is, as shown in FIG. 3, the low-speed encoder 131 adds a start bit (value is 0) and a stop bit (value is 1) to the station discovery command (Data in FIG. 3) to add a UART frame ( UART-Data in FIG. 3 is created. FIG. 3 shows one byte of the station discovery command input to the low-speed encoder 131.

次に、低速エンコーダ131は、UARTフレームのビットの値が0の場合にはパルスを生成する一方、当該ビットの値が1の場合にはパルスを生成しないことにより、UARTフレームを第一通信速度の通信パターン(第一通信速度の変調信号)(図3の(a))に変換する。   Next, the low-speed encoder 131 generates a pulse when the bit value of the UART frame is 0, but does not generate a pulse when the bit value is 1, so that the UART frame is transmitted to the first communication speed. The communication pattern (modulated signal of the first communication speed) ((a) of FIG. 3) is converted.

つまり、低速エンコーダ131は、最初の1ビット時間では、スタートビットの値が0なのでパルスを必ず生成し、次のデータ部分の8ビット時間では、データに応じてパルスを生成し、最後の1ビット時間では、ストップビットの値が1なのでパルスを生成しない。   That is, the low-speed encoder 131 always generates a pulse because the value of the start bit is 0 in the first 1-bit time, and generates a pulse according to the data in the 8-bit time of the next data portion, and the last 1-bit. In time, since the value of the stop bit is 1, no pulse is generated.

低速エンコーダ131は、第一通信速度の通信パターンを生成すると、生成した当該通信パターンのパルスから順に高速エンコーダ132およびマルチプレクサ133に出力する。なお、低速エンコーダ131は、生成したパルスを高速エンコーダ132に出力する代わりに、当該パルス幅に相当する時間だけイネーブル信号を出力してもよい。   When the low-speed encoder 131 generates a communication pattern of the first communication speed, the low-speed encoder 131 sequentially outputs the generated communication pattern pulses to the high-speed encoder 132 and the multiplexer 133. Note that the low-speed encoder 131 may output the enable signal for a time corresponding to the pulse width instead of outputting the generated pulse to the high-speed encoder 132.

高速エンコーダ132は、低速エンコーダ131からのパルスの立ち上がりを検出すると、通信制御部114に検出したことを通知する。通信制御部114は、この通知を受けると、メモリ12から、第二通信速度の変調方式に従ったデータ(例えば局発見コマンド、SNRMコマンドに相当するデータ)を読み出し、高速エンコーダ132に送信する。   When detecting the rising edge of the pulse from the low-speed encoder 131, the high-speed encoder 132 notifies the communication control unit 114 of the detection. Upon receiving this notification, the communication control unit 114 reads data (for example, data corresponding to the station discovery command and SNRM command) according to the modulation method of the second communication speed from the memory 12 and transmits the data to the high-speed encoder 132.

高速エンコーダ132は、通信制御部114により読み出されたデータを受信すると、第二通信速度の変調方式に従ってフレーム化する。具体的には、高速エンコーダ132は、図3の(b)に示すように、受信したデータ本体(「Data」)に、プリアンブル(「PA」)、スタートフラグ(「STA」)、循環符号(「CRC」)およびストップフラグ(「STO」)を付与する。   When the high-speed encoder 132 receives the data read by the communication control unit 114, the high-speed encoder 132 frames the data according to the modulation method of the second communication speed. Specifically, as shown in FIG. 3B, the high-speed encoder 132 adds a preamble (“PA”), a start flag (“STA”), a cyclic code (“Data”) to the received data body (“Data”). "CRC") and a stop flag ("STO").

高速エンコーダ132は、データを第二通信速度の通信フレームに変換した後、当該通信フレームを第一通信速度の変調方式で許容されているパルス幅に相当する時間内に、マルチプレクサ133に出力する。本実施形態では、第一通信速度が9600bpsであるため、高速エンコーダ132は、1.41μs〜22.13μs間に、第二通信速度の通信フレームを送信する必要がある。   The high-speed encoder 132 converts the data into a communication frame at the second communication speed, and then outputs the communication frame to the multiplexer 133 within a time corresponding to the pulse width permitted by the modulation method at the first communication speed. In the present embodiment, since the first communication speed is 9600 bps, the high-speed encoder 132 needs to transmit a communication frame at the second communication speed between 1.41 μs and 22.13 μs.

なお、高速エンコーダ132が第二通信速度の通信フレームを、上記パルス幅に相当する時間内に送信できるのは、第一通信速度と第二通信速度との速度差が十分大きいためである。この理由については、以下に述べる。   The reason why the high speed encoder 132 can transmit the communication frame at the second communication speed within the time corresponding to the pulse width is that the speed difference between the first communication speed and the second communication speed is sufficiently large. The reason for this will be described below.

マルチプレクサ133は、第二選択信号を受信しているので、高速エンコーダ132からの通信フレームのみを物理層デバイス14に送信する。すなわち、マルチプレクサ133は、低速エンコーダ131で生成された第一通信速度の通信パターンのパルスについては無視する。そして、物理層デバイス14は、マルチプレクサ133で選択された、高速エンコーダ132からの第二通信速度の通信フレームを、光、電圧、RF信号などに変調して外部に出力する。   Since the multiplexer 133 receives the second selection signal, the multiplexer 133 transmits only the communication frame from the high-speed encoder 132 to the physical layer device 14. That is, the multiplexer 133 ignores the pulse of the communication pattern of the first communication speed generated by the low speed encoder 131. Then, the physical layer device 14 modulates the communication frame of the second communication speed from the high-speed encoder 132 selected by the multiplexer 133 into light, voltage, RF signal, etc., and outputs it to the outside.

以上のように、通信機器10は、二次局の認識(検索)を行う際に、低速エンコーダ131で生成された第一通信速度の通信パターンの代わりに、高速エンコーダ132で生成された第二通信速度の通信フレームを出力する構成である。このため、通信機器10は、二次局となる通信機器(対向機器)が第二通信速度の通信フレームを受信可能な通信機器であれば、二次局の認識(検索)を行う際に、第二通信速度の変調方式に従った接続処理を行うことが可能となる。   As described above, when the communication device 10 recognizes (searches) the secondary station, the communication device 10 uses the second communication pattern generated by the high-speed encoder 132 instead of the communication pattern of the first communication speed generated by the low-speed encoder 131. It is the structure which outputs the communication frame of communication speed. For this reason, when the communication device 10 is a communication device that can receive a communication frame of the second communication speed (opposite device) as a secondary station, It is possible to perform connection processing according to the second communication speed modulation method.

一方、二次局となる通信機器が第一通信速度の通信パターンのみ受信可能な通信機器(現在のIrDA方式に従った既存の通信機器)の場合、第二通信速度の通信フレームは、第二通信速度と第一通信速度との速度差が百倍以上であれば、当該通信機器の有する受信可能周波数を大きく超える。このため、この既存の通信機器は、第二通信速度の通信フレームを1つのDCパルスとして、すなわち第一通信速度の通信パターンの1パルスとして認識する。   On the other hand, when the communication device that is the secondary station is a communication device that can receive only the communication pattern of the first communication speed (existing communication device according to the current IrDA system), the communication frame of the second communication speed is the second If the speed difference between the communication speed and the first communication speed is 100 times or more, the receivable frequency of the communication device is greatly exceeded. For this reason, this existing communication apparatus recognizes the communication frame of the second communication speed as one DC pulse, that is, one pulse of the communication pattern of the first communication speed.

つまり、既存の通信機器は、通信機器10から出力される第二通信速度の通信パターンを認識できないが、第一通信速度の通信パターンの1パルスとして認識することが可能であり、第一通信速度の変調方式に従った処理を行うことが可能である。このため、通信機器10は、第一通信速度の通信パターンの代わりに第二通信速度の通信フレームを出力した場合であっても、上記既存の通信機器と通信を行うことができる。   That is, the existing communication device cannot recognize the communication pattern of the second communication speed output from the communication device 10, but can recognize it as one pulse of the communication pattern of the first communication speed. It is possible to perform processing according to the modulation method. Therefore, the communication device 10 can communicate with the existing communication device even when the communication frame of the second communication speed is output instead of the communication pattern of the first communication speed.

従って、通信機器10は、既存の通信方式に従った通信機器との互換性を保ち、二次局が通信機器10に対応している通信機器であれば、通信開始までの接続時間を短縮することができる。   Accordingly, the communication device 10 maintains compatibility with the communication device according to the existing communication method, and shortens the connection time until the communication starts if the secondary station is a communication device compatible with the communication device 10. be able to.

ここで、高速エンコーダ132が生成する、図3の(b)に示す第二通信速度の通信フレームのフレーム構造について説明する。上述のように、第二通信速度の通信フレームは、「PA」、「STA」、「Data」、「CRC」および「STO」で構成される。   Here, the frame structure of the communication frame of the second communication speed shown in FIG. As described above, the communication frame at the second communication speed includes “PA”, “STA”, “Data”, “CRC”, and “STO”.

「PA」は、通信相手となる通信機器の物理層デバイス14の安定化を図るためのフィールドであり、これにより、当該通信機器はデータを安定して受信することができる。また、「PA」は、通信相手となる通信機器の備えるCDR(Clock & Data Recovery)回路(図示せず)がクロックの生成とデータの再生とを行うために必要なフィールドである。通常、無線通信では、一次局としての通信機器は、データにクロック成分を検出しやすいような変調をかけて伝送路上に出力する。従って、当該通信機器の通信相手は、CDR回路によって、データを受信した際に、当該データのベースとなるクロックの生成と当該データの再生とを行う必要がある。   “PA” is a field for stabilizing the physical layer device 14 of a communication device that is a communication partner, whereby the communication device can stably receive data. Further, “PA” is a field necessary for a CDR (Clock & Data Recovery) circuit (not shown) included in a communication device to be a communication partner to generate a clock and reproduce data. Normally, in wireless communication, a communication device as a primary station modulates data so that a clock component can be easily detected and outputs the data on a transmission line. Therefore, when a communication partner of the communication device receives data by the CDR circuit, it is necessary to generate a clock serving as a base of the data and reproduce the data.

「STA」は、フレーム内のデータの開始を示すためのフィールドである。なお、「STA」は、通常、データを変調した際に循環しても発生しない特殊な値が格納される。   “STA” is a field for indicating the start of data in a frame. Note that “STA” normally stores a special value that does not occur even when data is circulated.

「Data」は、データ本体(IrLAP層のペイロードデータ)を格納するフィールドである。   “Data” is a field for storing a data body (IrLAP layer payload data).

「CRC」は、誤り検出のため(データの完全性を確認するため)のフィールドである。   “CRC” is a field for error detection (to confirm data integrity).

「STO」は、「Data」および「CRC」が終了したことを示すデータを変調した際に、循環しても発生しない特殊な値が格納される。   “STO” stores a special value that does not occur even if it circulates when data indicating that “Data” and “CRC” have ended is modulated.

ここで、「循環しても発生しない」とは、変調後のデータにおける全てのコードの組み合わせを1ビットずつずらした場合であっても該当するパターンが存在しないという意味である。例えば4値PPM方式の場合、1フレームは、「0001」、「0010」、「0100」、「1000」の4つのコードを有している。この場合、例えば「11000110」のようなパターンは発生することはない。これは、「11」となるのが「0001」と「1000」との組み合わせであり、「11000」の直後に「11」とつながるパターンは存在しないからである。すなわち、4値PPM方式において「循環しても発生しない」値とは、例えば「11000110」のようなパターンを指す。   Here, “it does not occur even if it circulates” means that there is no corresponding pattern even when all combinations of codes in the modulated data are shifted one bit at a time. For example, in the case of the 4-level PPM method, one frame has four codes “0001”, “0010”, “0100”, and “1000”. In this case, a pattern such as “11000110” does not occur. This is because “11” is a combination of “0001” and “1000”, and there is no pattern connected to “11” immediately after “11000”. That is, in the quaternary PPM method, a value that does not occur even if it circulates indicates a pattern such as “11000110”.

「STA」および「STO」に「循環しても発生しない特殊な値」を格納するのは、通信機器が、ビットの同期がとれていない(変調後のデータの1ビット目がどれか分からない)ときにデータを受けても、変調後のデータを「STA」または「STO」と認識するような誤りを防ぐためである。   Storing “special value that does not occur even if it circulates” in “STA” and “STO” is because the communication device does not synchronize the bits (it does not know which bit is the first bit of the modulated data). This is to prevent an error that recognizes the modulated data as “STA” or “STO” even if the data is received occasionally.

なお、高速エンコーダ132は、低速エンコーダ131から出力されたパルスの立ち上がりを検出したタイミングで、受信したデータのフレーム化および圧縮の処理を行うが、これに限られたものではない。すなわち、高速エンコーダ132は、予め設定されたタイミングで処理を行ってもよいし、制御部11から指示されるタイミングで処理を行ってもよい。   The high-speed encoder 132 performs framing and compression processing on the received data at the timing when the rising edge of the pulse output from the low-speed encoder 131 is detected, but is not limited to this. That is, the high speed encoder 132 may perform processing at a preset timing or may perform processing at a timing instructed by the control unit 11.

また、二次局を認識した後に通信能力交換フェーズに移行した場合には、例えば、選択制御部111が第一選択信号をマルチプレクサ133に送信することにより、マルチプレクサ133は、低速エンコーダ131によって変換された第一通信速度の通信パターンを出力する。   When the communication capability exchange phase is started after recognizing the secondary station, for example, the selection control unit 111 transmits the first selection signal to the multiplexer 133, so that the multiplexer 133 is converted by the low-speed encoder 131. The communication pattern of the first communication speed is output.

そして、通信能力交換フェーズからデータ交換フェーズに移行した場合には、選択制御部111が第二選択信号をマルチプレクサ133に送信することにより、マルチプレクサ133は、高速エンコーダ132によって変換された第二通信速度の通信フレームを出力する。このとき、高速エンコーダ132は、低速エンコーダ131から出力される第一通信速度の通信パターンのパルスを待たずに、通信制御部114から受信したデータをフレーム化することが好ましい。   When the communication capability exchange phase shifts to the data exchange phase, the selection control unit 111 transmits the second selection signal to the multiplexer 133, so that the multiplexer 133 converts the second communication speed converted by the high-speed encoder 132. The communication frame is output. At this time, it is preferable that the high speed encoder 132 frames the data received from the communication control unit 114 without waiting for the pulse of the communication pattern of the first communication speed output from the low speed encoder 131.

さらに、本実施形態に係る通信機器10は、エンコーダとして低速エンコーダ131および高速エンコーダ132の2つを備えているが、これに限らず、複数の変調方式に対応したエンコーダを複数備え、マルチプレクサ133が複数のエンコーダからの出力を切り替える構成であってもよい。この場合、選択制御部111は、通信能力交換フェーズが終了した後に、エンコーダの出力を適宜切り替えるように制御することが好ましい。   Furthermore, the communication device 10 according to the present embodiment includes two encoders, a low-speed encoder 131 and a high-speed encoder 132, but is not limited thereto, and includes a plurality of encoders corresponding to a plurality of modulation schemes. A configuration in which outputs from a plurality of encoders are switched may be employed. In this case, it is preferable that the selection control unit 111 performs control so that the output of the encoder is appropriately switched after the communication capability exchange phase ends.

また、高速エンコーダ132は、低速エンコーダ131によって変換される第一通信速度の通信パターンの少なくとも1パルス分の代わりに、第二通信速度の通信フレームを出力する構成であればよい。この場合、選択制御部111は、例えば第一通信速度の通信フレームのスタートビットに対応するパルスを送信した後、マルチプレクサ133に第一選択信号を送信する。マルチプレクサ133は、低速エンコーダ131からのパルス(第一通信速度の通信パターンの残りのパルス(スタートビットの次に格納された8ビットデータ))を物理層デバイス14に出力する。   Further, the high-speed encoder 132 may be configured to output a communication frame at the second communication speed instead of at least one pulse of the communication pattern at the first communication speed converted by the low-speed encoder 131. In this case, for example, the selection control unit 111 transmits a pulse corresponding to the start bit of the communication frame at the first communication speed, and then transmits a first selection signal to the multiplexer 133. The multiplexer 133 outputs the pulse from the low-speed encoder 131 (the remaining pulse of the communication pattern of the first communication speed (8-bit data stored next to the start bit)) to the physical layer device 14.

〔一次局における受信ステートの切替〕
次に、通信機器10における受信ステートの切替タイミングについて、図4を用いて説明する。図4は、通信機器10における受信ステートの切替タイミングについて説明するための図である。
[Reception state switching at the primary station]
Next, the reception state switching timing in the communication device 10 will be described with reference to FIG. FIG. 4 is a diagram for explaining the switching timing of the reception state in the communication device 10.

まず、上述のように、通信機器10は、第一通信速度の通信パターンの代わりに第二通信速度の通信フレームを物理層デバイス14から出力する。なお、物理層デバイス14から第二通信速度の通信フレームが出力される時間は、図4のT1に相当する。   First, as described above, the communication device 10 outputs a communication frame of the second communication speed from the physical layer device 14 instead of the communication pattern of the first communication speed. The time for which the communication frame at the second communication speed is output from the physical layer device 14 corresponds to T1 in FIG.

物理層デバイス14は、通信フレーム(第一通信速度の通信パターンの1パルス分)の出力が完了すると、当該出力が完了したことを示す出力完了信号を受信ステート切替部112に送信する。   When the output of the communication frame (one pulse of the communication pattern of the first communication speed) is completed, the physical layer device 14 transmits an output completion signal indicating that the output is completed to the reception state switching unit 112.

受信ステート切替部112は、出力完了信号を受信すると、第二受信ステート信号を通信コントローラ13および物理層デバイス14に送信する。これにより、通信コントローラ13および物理層デバイス14は、第二受信ステートにする。   When receiving the output completion signal, the reception state switching unit 112 transmits a second reception state signal to the communication controller 13 and the physical layer device 14. As a result, the communication controller 13 and the physical layer device 14 enter the second reception state.

受信状態監視部113は、受信ステート切替部112によって第二受信ステートになったことを確認すると、送信部141が出力した第二通信速度の通信フレームに対応するレスポンス(第二通信速度のデータ)を、第二受信ステート中に受信部142が受信するか否かを監視する。受信状態監視部113が、第二受信ステート中に受信部142によって第二通信速度のデータが受信されたと判定した場合には、通信制御部114は、第二通信速度の変調方式に従った通信能力交換フェーズの処理を行った後、データ交換フェーズに移行し、第二通信速度の変調方式に従ったデータ交換等の接続処理を行う。なお、通信制御部114は、通信能力交換フェーズの際に、第二通信速度とは異なる通信速度の変調方式に切り替えてもよい。   When the reception state monitoring unit 113 confirms that the reception state switching unit 112 has entered the second reception state, the response corresponding to the communication frame of the second communication speed output from the transmission unit 141 (second communication speed data). Is monitored by the reception unit 142 during the second reception state. When the reception state monitoring unit 113 determines that the data of the second communication speed is received by the reception unit 142 during the second reception state, the communication control unit 114 performs communication according to the modulation method of the second communication speed. After processing in the capability exchange phase, the process proceeds to the data exchange phase, and connection processing such as data exchange according to the modulation method of the second communication speed is performed. Note that the communication control unit 114 may switch to a modulation method with a communication speed different from the second communication speed during the communication capability exchange phase.

上記第二受信ステートは、図4において、
T1=第二通信速度の通信フレーム出力時間
T2=第一通信速度の通信パターンのパルスの1ビット時間−T1
とすると、第二通信速度の通信フレームが出力されてからT2の時間、または、第二通信速度の通信フレームが出力されてから第一通信速度の通信パターンの次のパルス(次の第二通信速度の通信フレーム)の出力開始までの時間(T2+第一通信速度の通信パターンのパルスの1ビット時間×n:nは整数)だけ維持される。受信状態監視部113は、次の第二通信速度の通信フレームの出力開始を、例えば物理層デバイス14からの通知(出力開始信号)を受けることにより認識する。
The second reception state is shown in FIG.
T1 = communication frame output time of second communication speed T2 = 1 bit time of pulse of communication pattern of first communication speed−T1
Then, the time T2 after the communication frame of the second communication speed is output, or the next pulse of the communication pattern of the first communication speed after the communication frame of the second communication speed is output (the next second communication (Speed communication frame) until the start of output (T2 + 1 bit time of pulse of communication pattern of the first communication speed × n: n is an integer). The reception state monitoring unit 113 recognizes the start of output of a communication frame at the next second communication speed by receiving, for example, a notification (output start signal) from the physical layer device 14.

つまり、受信ステート切替部112は、第二通信速度の通信フレームが第一通信速度の通信パターンの1パルスの代わりとして出力されてから、T2に相当する時間が経過するまで(すなわち、第二通信速度の通信フレームの、第一通信速度の通信パターンの1パルスの代わりとしての出力が開始されてから、当該第一通信速度の通信パターンの1ビットに相当する時間が経過するまで)、第二通信ステートを維持する。または、受信ステート切替部112は、第二通信速度の通信フレームの、第一通信速度の通信パターンの1パルスの代わりとしての出力が開始されてから、当該第一通信速度の通信パターンの次のパルスが出力されるまで、第二受信ステートに維持する。   In other words, the reception state switching unit 112 outputs the communication frame at the second communication speed instead of one pulse of the communication pattern at the first communication speed until the time corresponding to T2 elapses (that is, the second communication speed). Until the time corresponding to one bit of the communication pattern of the first communication speed elapses after the output of the communication frame of the speed as a substitute for one pulse of the communication pattern of the first communication speed starts. Maintain communication state. Alternatively, the reception state switching unit 112 starts the output of the communication frame at the second communication speed instead of one pulse of the communication pattern at the first communication speed, and then continues to the communication pattern next to the communication pattern at the first communication speed. The second reception state is maintained until a pulse is output.

一方、受信状態監視部113が、第二受信ステート中に受信部142によって第二通信速度のデータが受信されなかったと判定した場合には、受信ステート切替部112は、第二受信ステートを解除する。その後、物理層デバイス14から次の第二通信速度の通信フレームの出力が完了し、物理層デバイス14から出力完了信号を受信すると、受信ステート切替部112は、通信コントローラ13および物理層デバイス14を再び第二受信ステートにする。   On the other hand, when the reception state monitoring unit 113 determines that the data of the second communication speed has not been received by the reception unit 142 during the second reception state, the reception state switching unit 112 cancels the second reception state. . Thereafter, when the output of the communication frame of the next second communication speed is completed from the physical layer device 14 and the output completion signal is received from the physical layer device 14, the reception state switching unit 112 switches the communication controller 13 and the physical layer device 14 to each other. Return to the second reception state.

なお、受信ステート切替部112は、物理層デバイス14から出力される第二通信速度の通信フレームが、第一通信速度の通信パターンのうち、最後のパルス(最終パルス)に対応するものであるか否かを確認している。受信ステート切替部112は、例えば、UARTフレームの値が0のビットのうち、最後のビットに相当するパルスに対応する第二通信速度の通信フレームがマルチプレクサ133に送信されたことを示す通知を、通信コントローラ13から受けることにより、上記確認を行う。   The reception state switching unit 112 determines whether the communication frame of the second communication speed output from the physical layer device 14 corresponds to the last pulse (final pulse) in the communication pattern of the first communication speed. It is confirmed whether or not. For example, the reception state switching unit 112 sends a notification indicating that a communication frame having a second communication speed corresponding to a pulse corresponding to the last bit among bits having a UART frame value of 0 is transmitted to the multiplexer 133. The confirmation is performed by receiving from the communication controller 13.

受信ステート切替部112が、最後のパルスに対応する第二通信速度の通信フレームであることを確認した後に、当該通信フレームの出力完了を示す出力完了信号を受信すると、通信コントローラ13および物理層デバイス14を第二受信ステートにする。そして、受信状態監視部113が、第二受信ステート中に受信部142によって第二通信速度のデータが受信されなかったと判定した場合には、受信ステート切替部112は、第一受信ステート信号を通信コントローラ13および物理層デバイス14に送信する。つまり、受信ステート切替部112は、第二通信速度の通信フレームを含む第一通信速度の通信パターンの最後のパルスが出力されてから、当該第一通信速度の通信パターンの1パルスのパルス幅に相当する時間が経過したときに、第一受信ステートに切り替える。   When the reception state switching unit 112 confirms that the communication frame has the second communication speed corresponding to the last pulse and then receives an output completion signal indicating completion of output of the communication frame, the communication controller 13 and the physical layer device 14 is set to the second reception state. When the reception state monitoring unit 113 determines that the data of the second communication speed has not been received by the reception unit 142 during the second reception state, the reception state switching unit 112 communicates the first reception state signal. Transmit to the controller 13 and the physical layer device 14. That is, the reception state switching unit 112 outputs the pulse width of one pulse of the communication pattern of the first communication speed after the last pulse of the communication pattern of the first communication speed including the communication frame of the second communication speed is output. When the corresponding time has elapsed, the mode is switched to the first reception state.

これにより、通信コントローラ13および物理層デバイス14は、第二受信ステートから第一受信ステートに切り替わる。通信コントローラ13および物理層デバイス14は、次のデータ(例えば、次の局発見コマンド)が出力されるまで、第一受信ステートに維持される(図4のT3)。   As a result, the communication controller 13 and the physical layer device 14 are switched from the second reception state to the first reception state. The communication controller 13 and the physical layer device 14 are maintained in the first reception state until the next data (for example, the next station discovery command) is output (T3 in FIG. 4).

受信状態監視部113は、受信ステート切替部112によって第一受信ステートになったことを確認すると、送信部141が出力した第一通信速度の通信パターンに対応するレスポンス(第一通信速度のデータ)を、第一受信ステート中に受信部142が受信したか否かを監視する。   When the reception state monitoring unit 113 confirms that the reception state switching unit 112 has entered the first reception state, the response corresponding to the communication pattern of the first communication speed output by the transmission unit 141 (first communication speed data). Is monitored by the reception unit 142 during the first reception state.

第一通信速度の変調方式に従って接続処理を行う二次局の場合、当該二次局は、送信部141から出力された第二通信速度の通信フレームを受けたとしても、当該通信フレームを、第一通信速度の通信パターンの1パルスとして認識する。このため、通信機器10が第一通信速度の変調方式に従ったデータ分のパルス全てを出力すると、二次局は、第一通信速度の通信パターンを認識し、当該通信パターンに対応するレスポンスを通信機器10に送信する。   In the case of a secondary station that performs connection processing according to the modulation method of the first communication speed, even if the secondary station receives the communication frame of the second communication speed output from the transmission unit 141, the secondary station Recognized as one pulse of a communication pattern of one communication speed. For this reason, when the communication device 10 outputs all the pulses for the data according to the modulation method of the first communication speed, the secondary station recognizes the communication pattern of the first communication speed and sends a response corresponding to the communication pattern. Transmit to the communication device 10.

受信状態監視部113が、第一受信ステート中に受信部142によって第一通信速度のデータが受信されたと判定した場合には、通信制御部114は、第一通信速度の変調方式に従った通信能力交換フェーズを行った後、第二通信速度の変調方式に従ったデータ交換フェーズに移行する。つまり、通信機器10は、第一通信速度の通信パターンに対するレスポンスを二次局から受信した場合には、IrDA方式に従って既存の接続処理を行う。   When the reception state monitoring unit 113 determines that the data of the first communication speed is received by the reception unit 142 during the first reception state, the communication control unit 114 performs communication according to the modulation method of the first communication speed. After performing the capability exchange phase, the process proceeds to the data exchange phase according to the second communication speed modulation method. That is, when the communication device 10 receives a response to the communication pattern at the first communication speed from the secondary station, the communication device 10 performs an existing connection process according to the IrDA method.

以上のように、受信ステート切替部112は、第二通信速度の通信フレームが出力されてから第一通信速度の通信パターンの1ビット時間、または、第二通信速度の通信フレームが出力されてから次の第一通信速度の通信フレームのパルスに対応する第二通信速度の通信フレームの出力開始までの時間、通信コントローラ13および物理層デバイス14を第二受信ステートとする。また、受信ステート切替部112は、第二通信速度の通信フレームを含む第一通信速度の通信パターンの最後のパルスが出力されると、第二受信ステートを第一受信ステートに切り替える。   As described above, the reception state switching unit 112 outputs the 1-bit time of the communication pattern of the first communication speed after the communication frame of the second communication speed is output or the communication frame of the second communication speed is output. The communication controller 13 and the physical layer device 14 are set to the second reception state for the time until the output of the communication frame at the second communication speed corresponding to the next communication frame pulse at the first communication speed. In addition, when the last pulse of the communication pattern having the first communication speed including the communication frame having the second communication speed is output, the reception state switching unit 112 switches the second reception state to the first reception state.

従って、二次局となる通信機器が通信機器10に対応した機器であれば、通信機器10は、当該二次局から第二通信速度の通信フレームに対するレスポンスを受信することが可能となる。   Therefore, if the communication device serving as the secondary station is a device compatible with the communication device 10, the communication device 10 can receive a response to the communication frame at the second communication speed from the secondary station.

そして、通信制御部114は、第二受信ステート中に上記レスポンスを受信した場合には、二次局が通信機器10に対応した機器であると判断し、第二変調速度の変調方式に従った接続処理を行う。   When the communication control unit 114 receives the response during the second reception state, the communication control unit 114 determines that the secondary station is a device corresponding to the communication device 10 and follows the modulation method of the second modulation speed. Perform connection processing.

このため、通信機器10は、上記レスポンスを、最短で第一通信速度の通信パターンの1ビット時間内に、最長でも第一通信速度の通信パターン出力終了から次に出力される第一通信速度の通信パターンの最初の1ビット時間内に、二次局となる通信機器との接続を行うことができる。   For this reason, the communication device 10 sends the response of the first communication speed output next after the end of the communication pattern output of the first communication speed at the longest within 1 bit time of the communication pattern of the first communication speed at the shortest. Connection to a communication device as a secondary station can be made within the first bit time of the communication pattern.

この場合、通信機器10が当該通信機器10に対応した二次局と通信可能となるまでの時間は、約100μs〜80msとなり、現在のIrDA方式の場合(約740ms〜2200ms)と比較して大幅に短縮することができる。   In this case, the time until the communication device 10 becomes communicable with the secondary station corresponding to the communication device 10 is about 100 μs to 80 ms, which is much larger than that in the case of the current IrDA system (about 740 ms to 2200 ms). Can be shortened.

一方、通信機器10は、当該通信機器10に対応していない二次局(既存の通信機器)であったとしても、当該既存の通信機器から第一通信速度の通信パターンのパルスに対するレスポンスを受信することができる。このため、通信機器10は、既存の通信機器とも互換性をもって通信を行うことができる。   On the other hand, even if the communication device 10 is a secondary station (existing communication device) that is not compatible with the communication device 10, the communication device 10 receives a response to the pulse of the communication pattern of the first communication speed from the existing communication device. can do. For this reason, the communication device 10 can communicate with the existing communication device with compatibility.

〔IrDA方式における第一通信速度(9600bps)のフレームについて〕
ここで、IrDA方式における接続開始時(SIR通信時;第一通信速度が9600bpsの変調方式での通信時))のフレームフォオーマットについて、図5を用いて説明する。図5は、IrDA方式における接続開始時(SIR通信時;第一通信速度が9600bpsの変調方式での通信時))のフレームフォオーマットを示す図である。
[Frames with the first communication speed (9600 bps) in IrDA]
Here, the frame format at the start of connection in the IrDA system (at the time of SIR communication; at the time of communication in the modulation system with the first communication speed of 9600 bps) will be described with reference to FIG. FIG. 5 is a diagram showing a frame format at the start of connection in the IrDA system (at the time of SIR communication; at the time of communication in a modulation system with a first communication speed of 9600 bps).

「Additional BOF(Additional Beginning Of Frame)」は、必要に応じて先頭に付加されるフィールドであり、接続が行われる前は10バイトで構成されている。なお、格納される値としては、「0xFF」(現在のIrDA方式の規格で推奨されている値;非特許文献1)および「0xC0」(初期のIrDA方式で用いられていた値)の何れかである。   “Additional BOF (Additional Beginning Of Frame)” is a field added to the head as necessary, and is composed of 10 bytes before connection is made. The stored value is either “0xFF” (value recommended in the current IrDA standard; Non-Patent Document 1) or “0xC0” (value used in the initial IrDA system). It is.

「BOF(Beginning Of Frame」」は、フレームの先頭を表す1バイトで構成されるフィールドであり、SIR通信時の値は「0xC0」である。   “BOF (Beginning Of Frame”) is a field composed of 1 byte representing the head of the frame, and the value during SIR communication is “0xC0”.

「Data」は、データ本体(IrLAP層のペイロードデータ)を格納するフィールドである。   “Data” is a field for storing a data body (IrLAP layer payload data).

「FCS(Frame Check Sequence)」は、誤り検出のため(データの完全性を確認するため)のフィールドであり、SIR通信時は2バイトのCRC(Cyclic Redundancy Check)である。   “FCS (Frame Check Sequence)” is a field for error detection (to check data integrity), and is a 2-byte CRC (Cyclic Redundancy Check) during SIR communication.

「EOF(End Of Frame)」は、フレームの最後を表すフィールドであり、SIR通信時の値は「0xC1」である。   “EOF (End Of Frame)” is a field indicating the end of the frame, and the value at the time of SIR communication is “0xC1”.

なお、「BOF」が「0xC0」、「EOF」が「0xC1」を特殊コードとしてそれぞれ使用しているため、「Data」および「FCS」では、「0xC0」、「0xC1」および「0x7D」の3つのコードは、それぞれ「0x7D」で始まる2バイトのコードに変換される。   Since “BOF” uses “0xC0” and “EOF” uses “0xC1” as special codes, “Data” and “FCS” are “0xC0”, “0xC1” and “0x7D”. Each code is converted into a 2-byte code starting with “0x7D”.

ここで、「Additional BOF」は、通信機器がタイマー(図示せず)を用いなくてもフレーム間の送信間隔を保つことができるようにするためのフィールドである。すなわち、通信機器が、最初の接続開始時に、意味のあるBOF以降のフレームを、当該フレームよりも前に受信もしくは送信したフレームの後に直ぐに送信開始した場合であっても、前のフレームから10ms以上開けて送信できるようにするためだけに存在するフィールドである。   Here, “Additional BOF” is a field for enabling a communication device to maintain a transmission interval between frames without using a timer (not shown). That is, even when the communication device starts transmitting a frame after a meaningful BOF at the start of the first connection immediately after a frame received or transmitted before that frame, it is 10 ms or more from the previous frame. It is a field that exists only for opening and sending.

つまり、「Additional BOF」は、通信相手の例えば物理層デバイスの安定を図るなどの意味のある値が格納されるわけではない(SIR方式では、UARTと同様に非同期であるため、1バイト単位で分離していてもよい。つまり、「Additional BOF」が安定化のためのフィールドではない。)。   In other words, “Additional BOF” does not store a meaningful value such as the stabilization of the physical layer device of the communication partner (in the SIR method, since it is asynchronous like UART, it is in units of 1 byte. (In other words, “Additional BOF” is not a field for stabilization.)

従って、「Additional BOF」に格納される値は、「0xC0」、「0xC1」および「0x7D」以外のどのような値であってもよいことになる。このため、通信機器10は、第二通信速度の通信フレームを、第一通信速度の通信パターンの1パルス幅に相当する時間(図4のT1)に出力する代わりに、この「Additional BOF」が出力される時間に出力する構成であってもよい。   Therefore, the value stored in “Additional BOF” may be any value other than “0xC0”, “0xC1”, and “0x7D”. For this reason, instead of outputting the communication frame of the second communication speed at the time corresponding to one pulse width of the communication pattern of the first communication speed (T1 in FIG. 4), the communication device 10 uses this “Additional BOF”. It may be configured to output at the output time.

但し、最後の「Additional BOF」は、「BOF」のスタートビットの同期を行うために、スタートビットのみの方がよい。このため、通信機器10は、最後の「Additional BOF」については、当該「Additional BOF」が出力される時間に第二通信速度の通信フレームを出力する構成でなくてもよい。   However, the last “Additional BOF” should have only the start bit in order to synchronize the start bit of “BOF”. Therefore, the communication device 10 may not be configured to output the communication frame at the second communication speed for the last “Additional BOF” at the time when the “Additional BOF” is output.

〔通信速度の差について〕
また、通信機器10で用いられる第一通信速度と第二通信速度との速度差について説明する。
[Difference in communication speed]
In addition, a speed difference between the first communication speed and the second communication speed used in the communication device 10 will be described.

通信機器10の高速エンコーダ132は、第二通信速度の通信フレームを、第一通信速度の通信パターンの1パルス幅に相当するフレーム長でマルチプレクサ133に出力する必要がある。このため、上記速度差は、以下のように、ある程度大きな差である必要がある。この理由を、IrDA方式の場合を例として具体的に説明する。   The high-speed encoder 132 of the communication device 10 needs to output the communication frame at the second communication speed to the multiplexer 133 with a frame length corresponding to one pulse width of the communication pattern at the first communication speed. Therefore, the speed difference needs to be a large difference to some extent as follows. The reason for this will be specifically described by taking the case of the IrDA system as an example.

例えば、図3に示す第二通信速度の通信フレームにおいて、「STA」から「STO」までのデータ量を40バイトとする。二次局の物理層デバイスの安定化およびCDR回路によるクロックの生成とデータの再生とを行うための「PA」に格納されるデータ量を、極力大きなデータ量(例えば200バイト)とする。「PA」に格納されるデータ量を大きくすると、CDR回路のロック時間を長くすることができる。ロック時間を長くすることによってCDR回路の許容値が大きくなり、アイパターンが小さく、SN比(Signal to Noise ratio)が小さいような受信状態が悪い場合であっても、二次局が第二通信速度の通信フレームを受信することができる。   For example, in the communication frame at the second communication speed shown in FIG. 3, the data amount from “STA” to “STO” is 40 bytes. The amount of data stored in “PA” for stabilizing the physical layer device of the secondary station and generating the clock and reproducing the data by the CDR circuit is set as large as possible (for example, 200 bytes). Increasing the amount of data stored in “PA” can increase the lock time of the CDR circuit. By extending the lock time, the allowable value of the CDR circuit is increased, the eye pattern is small, and even if the reception state is poor such that the SN ratio (Signal to Noise ratio) is small, the secondary station performs the second communication. Speed communication frames can be received.

従って、第二通信速度の通信フレームのフレーム長は、全体で240バイトとなる。高速エンコーダ132が、このフレーム長をもつ通信フレームを第一通信速度のパルス幅の上限値である22.13μs内に出力するためには、第二通信速度を、
240×8÷22.13μs=86.76Mbps
以上とする必要がある。すなわち、IrDA方式の場合に、高速エンコーダ132が第一通信速度の通信パターンの1パルスの代わりに第二通信速度の通信フレームを送信するためには、上記速度差を約9000倍以上とする必要がある。
Accordingly, the total frame length of the communication frame at the second communication speed is 240 bytes. In order for the high speed encoder 132 to output a communication frame having this frame length within 22.13 μs which is the upper limit value of the pulse width of the first communication speed, the second communication speed is set to
240 × 8 ÷ 22.13 μs = 86.76 Mbps
It is necessary to do it above. That is, in the case of the IrDA method, in order for the high-speed encoder 132 to transmit a communication frame of the second communication speed instead of one pulse of the communication pattern of the first communication speed, the speed difference needs to be about 9000 times or more. There is.

〔二次局としての通信機器での制御〕
次に、本実施形態に係る二次局としての通信機器20について、図6および図7を用いて説明する。図6は、二次局としての通信機器の要部構成を示すブロック図である。なお、メモリ12およびバス15については、上述したので、その説明を省略する。
[Control with communication equipment as secondary station]
Next, the communication device 20 as a secondary station according to the present embodiment will be described with reference to FIGS. 6 and 7. FIG. 6 is a block diagram showing a main configuration of a communication device as a secondary station. Since the memory 12 and the bus 15 have been described above, description thereof will be omitted.

図6に示すように、通信機器20の通信コントローラ13は、低速デコーダ231、高速デコーダ232およびエンコーダ233を備えている。   As shown in FIG. 6, the communication controller 13 of the communication device 20 includes a low speed decoder 231, a high speed decoder 232, and an encoder 233.

低速デコーダ231は、低速度通信を行うことが可能な第一通信速度の変調方式に従って、一次局から出力されたデータを変換するものである。具体的には、低速デコーダ231は、物理層デバイス14からの出力信号O1(後述)に基づいて、第一通信速度の変調方式に従ってデータを復号し、一次局が符号化する前の元のデータに戻す。   The low-speed decoder 231 converts the data output from the primary station in accordance with the modulation method of the first communication speed capable of performing low-speed communication. Specifically, the low-speed decoder 231 decodes data according to the modulation scheme of the first communication speed based on an output signal O1 (described later) from the physical layer device 14, and the original data before the primary station encodes it. Return to.

高速デコーダ232は、高速度通信を行うことが可能な第二通信速度の変調方式に従って、一次局から出力されたデータを変換するものである。具体的には、高速デコーダ232は、物理層デバイス14からの出力信号O2(後述)に基づいて、第二通信速度の変調方式に従ってデータを復号し、一次局が符号化する前の元のデータに戻す。   The high-speed decoder 232 converts data output from the primary station in accordance with a second communication speed modulation method capable of performing high-speed communication. Specifically, the high-speed decoder 232 decodes data according to the modulation scheme of the second communication speed based on an output signal O2 (described later) from the physical layer device 14, and the original data before being encoded by the primary station Return to.

エンコーダ233は、物理層デバイス14が受信したデータの変調方式に従って、当該データに対するレスポンスを変換する、すなわち当該レスポンスをフレーム化し、パルスを生成するものである。   The encoder 233 converts a response to the data in accordance with the modulation method of the data received by the physical layer device 14, that is, the response is framed to generate a pulse.

また、物理層デバイス14は、送信部241、受信部242およびAC/DC抽出部243を備えている。なお、送信部241は、上述の送信部141と同様の機能を有するため、ここではその説明を省略する。   The physical layer device 14 includes a transmission unit 241, a reception unit 242, and an AC / DC extraction unit 243. Note that the transmission unit 241 has a function similar to that of the transmission unit 141 described above, and a description thereof is omitted here.

受信部242は、第一通信速度の変調方式に従ったデータを受信するとき(例えば局発見コマンドを受信するとき)に、第二通信速度の変調方式に従ったデータを受信できるものである。受信部242は、例えば赤外線通信を行うための受光モジュール(受光素子)であり、データ受信用のPD、PTなどによって構成される。   The receiving unit 242 is capable of receiving data according to the second communication speed modulation method when receiving data according to the first communication speed modulation method (for example, when receiving a station discovery command). The receiving unit 242 is, for example, a light receiving module (light receiving element) for performing infrared communication, and includes a data receiving PD, PT, and the like.

AC/DC抽出部243は、受信部242が受信したデータからDC(Direct Current)成分およびAC(Alternate Current)成分を抽出するものである。AC/DC抽出部243は、抽出したDC成分を低速デコーダ231に、抽出したAC成分を高速デコーダ232にそれぞれ出力する。   The AC / DC extraction unit 243 extracts a DC (Direct Current) component and an AC (Alternate Current) component from the data received by the reception unit 242. The AC / DC extraction unit 243 outputs the extracted DC component to the low-speed decoder 231 and the extracted AC component to the high-speed decoder 232, respectively.

さらに、制御部11は、データ解析部211および通信制御部212(第二通信制御手段)を備えている。   Furthermore, the control unit 11 includes a data analysis unit 211 and a communication control unit 212 (second communication control means).

データ解析部211は、低速デコーダ231および高速デコーダ232から出力されるデータを解析するものである。   The data analysis unit 211 analyzes data output from the low speed decoder 231 and the high speed decoder 232.

通信制御部212は、局発見処理(一次局における二次局の認識(検索)フェーズでの処理)、通信能力交換処理(通信能力交換フェーズでの処理)、および、上位層の接続処理およびデータ交換処理(データ交換フェーズでの処理)の制御、通信速度の制御など、一次局との通信のための接続処理を制御するものである。   The communication control unit 212 performs station discovery processing (processing in the secondary station recognition (search) phase in the primary station), communication capability exchange processing (processing in the communication capability exchange phase), and upper layer connection processing and data. It controls connection processing for communication with the primary station, such as control of exchange processing (processing in the data exchange phase) and control of communication speed.

つまり、通信制御部212は、第一通信速度の変調方式に従って、一次局による通信機器20の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行うように、通信機器20の各部を制御するものである。なお、通信能力とは、例えば一次局とのデータ通信における通信速度、通信パターン(通信フレーム)間の時間間隔、通信途絶時のタイムアウト等の自機器が保有する能力のことであり、例えばSNRMレスポンスに含まれるパラメータを指す。   That is, the communication control unit 212 searches and recognizes the communication device 20 by the primary station and exchanges the communication capability with the primary station according to the modulation method of the first communication speed, and the second higher than the first communication speed. According to the communication speed, each unit of the communication device 20 is controlled so as to connect the upper layer and exchange data with the primary station. The communication capability is, for example, the capability possessed by the own device such as a communication speed in data communication with the primary station, a time interval between communication patterns (communication frames), a timeout at the time of communication interruption, for example, an SNRM response Refers to the parameters included in.

また、通信制御部212は、第一通信速度の通信パターンを受信したときには、上記第一通信速度の変調方式に従って一次局との接続処理を行うと共に、第一通信速度の通信パターンの1パルスのパルス幅に相当するフレーム長の第二通信速度の通信フレームを受信したときには、第二通信速度の変調方式に従って一次局との接続処理を行う機能を有するものである。   In addition, when the communication control unit 212 receives the communication pattern of the first communication speed, the communication control unit 212 performs connection processing with the primary station according to the modulation method of the first communication speed, and one pulse of the communication pattern of the first communication speed. When a communication frame having a frame length corresponding to the pulse width and having a second communication speed is received, it has a function of performing a connection process with the primary station in accordance with the second communication speed modulation method.

このため、通信制御部212は、データ解析部211の解析結果に基づいて、第一通信速度または第二通信速度に従ったレスポンスを一次局に送信するように、エンコーダ233および物理層デバイス14を制御する。   Therefore, the communication control unit 212 causes the encoder 233 and the physical layer device 14 to transmit a response according to the first communication speed or the second communication speed to the primary station based on the analysis result of the data analysis unit 211. Control.

次に、図7を用いて、物理層デバイス14の入出力信号について説明する。図7は、物理層デバイス14の入出力信号について説明するための図である。なお、図7では、受信部242が受信するデータを入力信号I、AC/DC抽出部243から低速デコーダ231に出力される信号を出力信号O1、AC/DC抽出部243から高速デコーダ232に出力される信号を出力信号O2とする。また、図7の(a)は、第一通信速度の変調方式に従ったデータ(パルス)を受信したときのAC/DC抽出部243における入出力信号を示すものであり、図7の(b)は、第二通信速度の変調方式に従ったデータを受信したときのAC/DC抽出部243における入出力信号を示すものである。   Next, input / output signals of the physical layer device 14 will be described with reference to FIG. FIG. 7 is a diagram for explaining input / output signals of the physical layer device 14. In FIG. 7, the data received by the receiving unit 242 is input signal I, the signal output from the AC / DC extracting unit 243 to the low-speed decoder 231 is output, and the data output from the AC / DC extracting unit 243 is output to the high-speed decoder 232. This signal is referred to as an output signal O2. FIG. 7A shows input / output signals in the AC / DC extraction unit 243 when data (pulses) in accordance with the modulation scheme of the first communication speed is received, and FIG. ) Shows input / output signals in the AC / DC extraction unit 243 when data according to the modulation method of the second communication speed is received.

受信部242は、一次局からの入力信号IをAC/DC抽出部243に出力する。図7の(a)に示すように、AC/DC抽出部243は、入力信号Iが第一通信速度の変調方式に従ったデータの場合、DC成分の変動を検知して、入力信号Iと同じパルス幅のパルスを出力信号O1として出力する。また、AC/DC抽出部243は、DC成分の変動を検知したタイミングで、高速デコーダ232が受信可能な周波数帯域にあったパルスを出力信号O2として出力する。   The receiving unit 242 outputs the input signal I from the primary station to the AC / DC extracting unit 243. As shown in FIG. 7A, the AC / DC extraction unit 243 detects a variation in the DC component when the input signal I is data in accordance with the modulation scheme of the first communication speed, A pulse having the same pulse width is output as the output signal O1. In addition, the AC / DC extraction unit 243 outputs, as an output signal O2, a pulse in a frequency band that can be received by the high-speed decoder 232 at the timing when the fluctuation of the DC component is detected.

この場合、高速デコーダ232は、出力信号O2としてDC成分の変動を検知したタイミングでのパルスを受けるだけなので、低速デコーダ231のみがデータの復号を行うこととなる。従って、データ解析部211は、低速デコーダ231が復号したデータを受信することにより、第一通信速度に従ったデータとして解析を行う。   In this case, since the high-speed decoder 232 only receives a pulse at the timing when the fluctuation of the DC component is detected as the output signal O2, only the low-speed decoder 231 decodes the data. Therefore, the data analysis unit 211 receives the data decoded by the low-speed decoder 231 and analyzes the data according to the first communication speed.

そして、通信制御部212は、データ解析部211が第一通信速度に従ったデータとして解析を行うことにより、第一通信速度に従ったレスポンスを一次局に送信するように、エンコーダ233および物理層デバイス14を制御する。これにより、通信機器20は、第一通信速度の変調方式に従ったデータを受信した場合に、当該データに対するレスポンスを確実に送信することができる。   The communication control unit 212 analyzes the data as the data according to the first communication speed by the data analysis unit 211 so that the response according to the first communication speed is transmitted to the primary station. Control the device 14. Accordingly, when the communication device 20 receives data according to the modulation method of the first communication speed, the communication device 20 can reliably transmit a response to the data.

一方、図7の(b)に示すように、AC/DC抽出部243は、入力信号Iが第二通信速度の変調方式に従ったデータの場合、DC成分の変動と共に信号量(AC成分)の変動を検知する。そこで、AC/DC抽出部243は、DC成分の変動にあわせて、入力信号Iとフレーム長とほぼ同様の長さのパルスを出力信号O1として出力する。また、AC/DC抽出部243は、AC成分の変動にあわせて、第二通信速度で変調されたパルスを出力信号O2として出力する。なお、出力信号O2は、受信部242がデータを受信してから物理層デバイス14が安定するまで、ノイズ状のパルスを出力することとなる。   On the other hand, as shown in FIG. 7B, when the input signal I is data in accordance with the modulation scheme of the second communication speed, the AC / DC extraction unit 243 determines the signal amount (AC component) together with the fluctuation of the DC component. Detect fluctuations. Therefore, the AC / DC extraction unit 243 outputs a pulse having the same length as the input signal I and the frame length as the output signal O1 in accordance with the fluctuation of the DC component. Further, the AC / DC extraction unit 243 outputs, as an output signal O2, a pulse modulated at the second communication speed in accordance with the fluctuation of the AC component. Note that the output signal O2 outputs a noise-like pulse until the physical layer device 14 is stabilized after the receiving unit 242 receives the data.

この場合、高速デコーダ232は、出力信号O2のデータを復号することが可能である。従って、データ解析部211は、高速デコーダ232が復号したデータを受信することにより、第二通信速度に従ったデータとして解析を行う。   In this case, the high speed decoder 232 can decode the data of the output signal O2. Therefore, the data analysis unit 211 receives the data decoded by the high-speed decoder 232 and analyzes the data according to the second communication speed.

そして、通信制御部212は、データ解析部211が第二通信速度に従ったデータとして解析を行うことにより、第二通信速度に従ったレスポンスを一次局に送信するように、エンコーダ233および物理層デバイス14を制御する。これにより、通信機器20は、第二通信速度の変調方式に従ったデータを受信した場合に、当該データに対するレスポンスを確実に送信することができる。   Then, the communication control unit 212 analyzes the data as the data according to the second communication speed by the data analysis unit 211 so that the response according to the second communication speed is transmitted to the primary station. Control the device 14. Accordingly, when the communication device 20 receives data according to the modulation method of the second communication speed, the communication device 20 can reliably transmit a response to the data.

つまり、通信機器20では、一次局から第二通信速度の変調方式に従ったデータとして、「PA」、「STA」、「Data」、「CRC」および「STO」からなる通信フレームを受信した場合に、高速デコーダ232による当該通信フレームの復号を行うことができる。従って、データ解析部211は、出力信号O2としてのパルスを、「PA」、「STA」、「Data」、「CRC」および「STO」からなる通信フレームであると解析することができる。   That is, the communication device 20 receives a communication frame composed of “PA”, “STA”, “Data”, “CRC”, and “STO” as data according to the modulation scheme of the second communication speed from the primary station. In addition, the high-speed decoder 232 can decode the communication frame. Therefore, the data analysis unit 211 can analyze the pulse as the output signal O2 as a communication frame including “PA”, “STA”, “Data”, “CRC”, and “STO”.

以上のように、データ解析部211は、受信部242が第一通信速度および第二通信速度の何れの変調方式に従ったデータを受信した場合であっても、AC/DC抽出部243によって抽出されるDC成分およびAC成分に基づいて、何れの変調方式に従ったデータであるかを判断することができる。このため、通信機器20は、一次局にて二次局の認識(検索)が行われている際に、現在のIrDA方式に従った既存の通信機器からの第一通信速度の通信パターンと、上記通信機器10からの第二通信速度の通信フレームとを同時に待ち受けることができる。   As described above, the data analysis unit 211 extracts data by the AC / DC extraction unit 243 even when the reception unit 242 receives data according to any modulation method of the first communication speed and the second communication speed. Based on the DC component and AC component, it is possible to determine which modulation method is used for the data. For this reason, when the communication device 20 recognizes (searches) the secondary station at the primary station, the communication pattern of the first communication speed from the existing communication device according to the current IrDA system, The communication frame of the second communication speed from the communication device 10 can be waited simultaneously.

従って、通信機器20は、上記通信機器10からの第二通信速度の通信フレームを受信して接続処理を行うことも、上記既存の通信機器からの第一通信速度の通信パターンを受信して接続処理を行うことも可能である。すなわち、通信機器20は、既存の通信方式に従った通信機器との互換性を保ち、一次局が通信機器10であれば、通信開始までの接続時間を短縮することができる。   Accordingly, the communication device 20 receives the communication frame of the second communication speed from the communication device 10 and performs connection processing, or receives the communication pattern of the first communication speed from the existing communication device and connects. It is also possible to perform processing. That is, the communication device 20 can maintain compatibility with a communication device in accordance with an existing communication method, and if the primary station is the communication device 10, the connection time until the start of communication can be shortened.

なお、通信機器20は、通信機器10から第二通信速度の通信フレームを受信した場合には、図4のT2に相当する時間内に、当該通信フレームに対するレスポンスを送信することが好ましい。これにより、通信機器10は、通信機器20からのレスポンスを確実に受信し、当該通信機器20との接続処理(通信能力交換フェーズまたはデータ交換フェーズ)に移行することができる。   Note that when the communication device 20 receives a communication frame at the second communication speed from the communication device 10, it is preferable to transmit a response to the communication frame within a time corresponding to T2 in FIG. As a result, the communication device 10 can reliably receive the response from the communication device 20 and shift to a connection process (communication capability exchange phase or data exchange phase) with the communication device 20.

なお、AC/DC抽出部243は、第一通信速度および第二通信速度の変調方式に対応した出力を行っているが、これに限らず、その他の通信速度の変調方式に対応した出力を行ってもよい。   Note that the AC / DC extraction unit 243 performs output corresponding to the modulation schemes of the first communication speed and the second communication speed, but is not limited thereto, and performs output corresponding to other modulation schemes of the communication speed. May be.

この場合、通信機器20は、上記その他の通信速度の変調方式に対応可能なデコーダ、エンコーダを備えており、データ解析部211および通信制御部212も対応可能になっているものとする。また、上記のような同時待ち受けを行う必要がない場合(例えばデータ交換フェーズの場合)には、通信制御部212は、受信するデータにあわせて通信速度の制御を行うものとする。   In this case, it is assumed that the communication device 20 includes a decoder and an encoder that can correspond to the other communication speed modulation methods, and the data analysis unit 211 and the communication control unit 212 can also be supported. Further, when it is not necessary to perform the simultaneous standby as described above (for example, in the data exchange phase), the communication control unit 212 controls the communication speed in accordance with the received data.

なお、上記では、一次局としての通信機器10、二次局としての通信機器20について説明したが、これに限らず、通信機器1が通信機器10、20の両方の構成を有するものであってもよい。すなわち、一次局としての通信機器10が通信機器20の構成を有していてもよく、また、二次局としての通信機20が通信機器10の構成を有していてもよい。   In the above description, the communication device 10 as the primary station and the communication device 20 as the secondary station have been described. However, the present invention is not limited to this, and the communication device 1 has both the communication devices 10 and 20. Also good. That is, the communication device 10 as the primary station may have the configuration of the communication device 20, and the communication device 20 as the secondary station may have the configuration of the communication device 10.

〔補足〕
最後に、本実施形態に係る通信機器1、10、20の各ブロック、特に制御部11(選択制御部111、受信ステート切替部112、受信状態監視部113、通信制御部114、データ解析部211および通信制御部212)は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。
[Supplement]
Finally, each block of the communication devices 1, 10, and 20 according to the present embodiment, particularly the control unit 11 (selection control unit 111, reception state switching unit 112, reception state monitoring unit 113, communication control unit 114, data analysis unit 211. The communication control unit 212) may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、本実施形態に係る通信機器1、10、20は、各機能を実現する制御プログラムの命令を実行するCPU(Central Processing Unit)、上記プログラムを格納したROM(Read Only Memory)、上記プログラムを展開するRAM(Random Access Memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである通信機器1、10、20の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記通信機器1、10、20に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the communication devices 1, 10, and 20 according to this embodiment include a CPU (Central Processing Unit) that executes instructions of a control program that realizes each function, a ROM (Read Only Memory) that stores the program, and the program. A RAM (Random Access Memory) to be developed, a storage device (recording medium) such as a memory for storing the program and various data, and the like are provided. The object of the present invention is to record the program code (execution format program, intermediate code program, source program) of the control program of the communication devices 1, 10, and 20, which is software that realizes the above-described functions, in a computer-readable manner This can also be achieved by supplying a recording medium to the communication devices 1, 10, and 20, and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD/CD−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系などを用いることができる。   Examples of the recording medium include tapes such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and disks including optical disks such as CD-ROM / MO / MD / DVD / CD-R. Card system such as IC card, IC card (including memory card) / optical card, or semiconductor memory system such as mask ROM / EPROM / EEPROM / flash ROM.

また、本実施形態に係る通信機器1、10、20を通信ネットワークと接続可能に構成し、上記プログラムコードを、通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The communication devices 1, 10, and 20 according to the present embodiment may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

〔本発明の別の表現〕
なお、本発明は、以下のようにも表現できる。
[Another expression of the present invention]
The present invention can also be expressed as follows.

すなわち、本発明に係る通信方法は、通信機器であって、通信可能な通信速度を二種類以上持ち、第一の通信速度で、相手機器の認識(検索)と相手機器とデータの通信における通信速度や通信フレーム間の時間間隔、通信途絶時のタイムアウト等の機器が保有する通信能力を交換し、交換された通信能力の通信速度からもっとも良い(高い)第二の通信速度で上位層の接続やデータ交換を行う通信方法において、第一の通信速度で変調され出力されるパルス信号のタイミングでパルス信号の代わりに第二の通信速度で変調する通信フレームを出力する。   That is, the communication method according to the present invention is a communication device having two or more types of communication speeds at which communication is possible. Exchange the communication capabilities of devices such as speed, time interval between communication frames, timeout in case of communication interruption, etc., and connect the upper layer at the best (high) second communication speed from the communication speed of the exchanged communication capacity In a communication method for exchanging data, a communication frame modulated at a second communication speed is output instead of a pulse signal at the timing of a pulse signal modulated and output at a first communication speed.

また、本発明に係る通信方法は、第一の通信速度で変調され出力されるパルス信号のタイミングでパルス信号の代わりに第二の通信速度で変調する通信フレームを出力した後、次のフレームを出力するタイミングまたは、通信フレームの通信開始から第一の通信速度の1ビット時間終了するまでの時間まで、第二の通信速度で変調されたフレームを受信するステートに遷移することが好ましい。   The communication method according to the present invention outputs a communication frame modulated at the second communication speed instead of the pulse signal at the timing of the pulse signal modulated and output at the first communication speed, and then outputs the next frame. It is preferable to transit to a state in which a frame modulated at the second communication speed is received from an output timing or a time from the start of communication of the communication frame to the end of one bit time of the first communication speed.

また、本発明に係る通信方法は、第二の通信速度で変調されたフレームを受信するステートに於いて、第二の通信速度で変調されたフレームを受信した場合に、第二の通信速度を用いて、接続処理を行うことが好ましい。   In the communication method according to the present invention, when the frame modulated at the second communication speed is received in the state of receiving the frame modulated at the second communication speed, the second communication speed is set. It is preferable to use it to perform connection processing.

また、本発明に係る通信方法は、第二の通信フレームを含む、第一の通信速度の通信フレームの出力後、第一の通信速度の通信フレームを受信するステートに遷移することが好ましい。   The communication method according to the present invention preferably transitions to a state in which a communication frame having the first communication speed is received after outputting the communication frame having the first communication speed, including the second communication frame.

また、本発明に係る通信方法は、通信機器であって、通信可能な通信速度を二種類以上持ち、第一の通信速度で、相手機器の認識(検索)と相手機器とデータの通信における通信速度や通信フレーム間の時間間隔、通信途絶時のタイムアウト等の機器が保有する通信能力を交換し、交換された通信能力の通信速度からもっとも良い(高い)第二の通信速度で上位層の接続やデータ交換を行う通信方法において、第一の通信速度で変調された通信パルスと第二の通信速度で変調された通信フレームを同時に受信し、第二の通信速度の通信フレームを受けた場合には、第二の通信速度で接続処理を行い、第二の通信速度の通信フレームを受けずに、第一の通信速度の通信フレームを受けた場合には第一の通信速度で接続処理を行う。   In addition, the communication method according to the present invention is a communication device having two or more types of communication speeds capable of communication, and communication in communication (communication between a partner device and data of the partner device at the first communication speed). Exchange the communication capabilities of devices such as speed, time interval between communication frames, timeout in case of communication interruption, etc., and connect the upper layer at the best (high) second communication speed from the communication speed of the exchanged communication capacity Or in a communication method for exchanging data, when a communication pulse modulated at the first communication speed and a communication frame modulated at the second communication speed are received simultaneously and a communication frame at the second communication speed is received. Performs the connection process at the second communication speed, and performs the connection process at the first communication speed when receiving the communication frame at the first communication speed without receiving the communication frame at the second communication speed. .

また、本発明に係る通信方法は、近距離の通信機器であって、通信可能な通信速度を二種類以上持ち、第一の通信速度で、相手機器の認識(検索)と相手機器とデータの通信における通信速度や通信フレーム間の時間間隔、通信途絶時のタイムアウト等の機器が保有する通信能力を交換し、交換された通信能力の通信速度からもっとも良い(高い)第二の通信速度で上位層の接続やデータ交換を行う通信方法において、第一の通信速度で変調され出力されるパルス信号のタイミングでパルス信号の代わりに第二の通信速度で変調する通信フレームを出力する。   The communication method according to the present invention is a short-distance communication device having two or more types of communication speeds at which communication is possible. At the first communication speed, the partner device is recognized (searched), and the partner device and the data Exchange the communication capabilities of devices such as communication speed, time interval between communication frames, timeout when communication is interrupted, etc., and the highest (high) second communication speed is the highest from the communication speed of the exchanged communication capacity In a communication method for connecting layers and exchanging data, a communication frame modulated at a second communication speed is output instead of a pulse signal at the timing of a pulse signal modulated and output at a first communication speed.

また、本発明に係る通信方法は、近距離の通信機器であって、通信可能な通信速度を二種類以上持ち、第一の通信速度で、相手機器の認識(検索)と相手機器とデータの通信における通信速度や通信フレーム間の時間間隔、通信途絶時のタイムアウト等の機器が保有する通信能力を交換し、交換された通信能力の通信速度からもっとも良い(高い)第二の通信速度で上位層の接続やデータ交換を行う通信方法において、第一の通信速度で変調された通信パルスと第二の通信速度で変調された通信フレームを同時に受信し、第二の通信速度の通信フレームを受けた場合には、第二の通信速度で接続処理を行い、第二の通信速度の通信フレームを受けずに、第一の通信速度の通信フレームを受けた場合には第一の通信速度で接続処理を行うことが好ましい。   The communication method according to the present invention is a short-distance communication device having two or more types of communication speeds at which communication is possible. At the first communication speed, the partner device is recognized (searched), and the partner device and the data Exchange the communication capabilities of devices such as communication speed, time interval between communication frames, timeout when communication is interrupted, etc., and the highest (high) second communication speed is the highest from the communication speed of the exchanged communication capacity In a communication method for connecting layers and exchanging data, a communication pulse modulated at the first communication speed and a communication frame modulated at the second communication speed are received simultaneously, and a communication frame at the second communication speed is received. If a communication frame of the first communication speed is received without receiving the communication frame of the second communication speed, the connection processing is performed at the first communication speed. Processing Masui.

また、本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明は、特に光空間通信機能を有する通信機器、例えばノートPC、PDA、携帯電話、デジタルカメラ等の携帯型無線通信機器に好適に利用することができる。   The present invention can be suitably used particularly for communication devices having an optical space communication function, for example, portable wireless communication devices such as notebook PCs, PDAs, mobile phones, and digital cameras.

1、10、20 通信機器
112 受信ステート切替部(受信ステート切替手段)
114 通信制御部(第一通信制御手段)
131 低速エンコーダ(第一データ変換部)
132 高速エンコーダ(第二データ変換部)
133 マルチプレクサ(出力部)
141 送信部(出力部)
212 通信制御部(第二通信制御手段)
1, 10, 20 Communication device 112 Reception state switching unit (reception state switching means)
114 Communication control unit (first communication control means)
131 Low speed encoder (first data converter)
132 High-speed encoder (second data converter)
133 Multiplexer (output unit)
141 Transmitter (output unit)
212 Communication control unit (second communication control means)

Claims (11)

第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行う一次局としての通信機器であって、
上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換部と、
上記第一データ変換部によって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換部と、
上記第二データ変換部によって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力部と、を備えたことを特徴とする通信機器。
According to the modulation method of the first communication speed, search and recognition of the secondary station that is the communication partner and exchange of the communication capability with the secondary station, the upper layer according to the second communication speed higher than the first communication speed Communication equipment as a primary station that performs connection and data exchange with a secondary station,
A first data converter that converts the data to be output to the secondary station into first communication data according to the modulation method of the first communication speed;
When one pulse of the first communication data converted by the first data converter is received, the data to be output to the secondary station is the second data having a data length corresponding to the pulse width of the one pulse. A second data conversion unit for converting into second communication data according to a modulation method of communication speed;
An output unit that outputs the second communication data converted by the second data conversion unit to the secondary station instead of one pulse of the first communication data.
自機器の受信ステートを、上記二次局からの第一通信速度の変調方式に従った第一通信データを受信可能な第一受信ステートと、上記二次局からの第二通信速度の変調方式に従った第二通信データを受信可能な第二受信ステートと、に切り替える受信ステート切替手段を備え、
上記受信ステート切替手段は、上記第二通信データの、上記第一通信データの1パルスの代わりとしての出力が開始されてから、当該第一通信データの1ビットに相当する時間が経過するまで、または、当該第一通信データの次のパルスの出力が開始されるまで、第二受信ステートに維持することを特徴とする請求項1に記載の通信機器。
The reception state of the own device, the first reception state capable of receiving the first communication data according to the modulation method of the first communication speed from the secondary station, and the modulation method of the second communication speed from the secondary station Receiving state switching means for switching to a second receiving state capable of receiving the second communication data according to
The reception state switching means is configured to start outputting the second communication data instead of one pulse of the first communication data until a time corresponding to one bit of the first communication data elapses. Alternatively, the communication device according to claim 1, wherein the second reception state is maintained until output of a next pulse of the first communication data is started.
上記二次局との接続処理を制御する第一通信制御手段を備え、
上記第一通信制御手段は、上記受信ステート切替手段が上記第二受信ステートにしている間に、上記第二通信データに対するレスポンスを二次局から受信した場合には、第二通信速度の変調方式に従った接続処理を行うことを特徴とする請求項2に記載の通信機器。
Comprising first communication control means for controlling connection processing with the secondary station,
When the first communication control means receives a response to the second communication data from the secondary station while the reception state switching means is in the second reception state, the second communication speed modulation method The communication device according to claim 2, wherein connection processing is performed in accordance with the communication device.
上記受信ステート切替手段は、上記第二通信データを含む上記第一通信データの最終パルスが出力されてから、当該第一通信データの1パルスのパルス幅に相当する時間が経過したときに、上記第一受信ステートに切り替えることを特徴とする請求項2に記載の通信機器。   When the time corresponding to the pulse width of one pulse of the first communication data has elapsed since the last pulse of the first communication data including the second communication data is output, The communication device according to claim 2, wherein the communication device is switched to a first reception state. 第一通信速度の変調方式に従って、一次局による自機器の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行う二次局としての通信機器であって、
上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行う第二通信制御手段を備えたことを特徴とする通信機器。
According to the modulation method of the first communication speed, the primary station searches for and recognizes its own device, and exchanges the communication capability with the primary station. According to the second communication speed higher than the first communication speed, the upper layer connection and A communication device as a secondary station that exchanges data with the primary station,
When the first communication data according to the first communication speed modulation method is received, connection processing with the primary station is performed according to the first communication speed modulation method, and one pulse pulse of the first communication data A communication device comprising second communication control means for performing connection processing with the primary station in accordance with a second communication speed modulation method when receiving second communication data having a data length corresponding to a width.
第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行う一次局としての通信機器の通信方法であって、
上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換ステップと、
上記第一データ変換ステップによって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換ステップと、
上記第二データ変換ステップによって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力ステップと、を含むことを特徴とする通信方法。
According to the modulation method of the first communication speed, search and recognition of the secondary station that is the communication partner and exchange of the communication capability with the secondary station, the upper layer according to the second communication speed higher than the first communication speed Communication method of a communication device as a primary station that performs connection and data exchange with a secondary station,
A first data conversion step of converting data to be output to the secondary station into first communication data in accordance with the modulation method of the first communication speed;
When one pulse of the first communication data converted by the first data conversion step is received, the data to be output to the secondary station is the second data having a data length corresponding to the pulse width of the one pulse. A second data conversion step for converting to second communication data according to a modulation method of communication speed;
An output step of outputting the second communication data converted by the second data conversion step to the secondary station in place of one pulse of the first communication data.
第一通信速度の変調方式に従って、一次局による自機器の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行う二次局としての通信機器の通信方法であって、
上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行うことを特徴とする通信方法。
According to the modulation method of the first communication speed, the primary station searches for and recognizes its own device, and exchanges the communication capability with the primary station. According to the second communication speed higher than the first communication speed, the upper layer connection and A communication method of a communication device as a secondary station for exchanging data with a primary station,
When the first communication data according to the first communication speed modulation method is received, connection processing with the primary station is performed according to the first communication speed modulation method, and one pulse pulse of the first communication data A communication method characterized in that when receiving second communication data having a data length corresponding to a width, connection processing with the primary station is performed according to a modulation method of a second communication speed.
赤外線により近距離に存在する二次局と通信を行うことを特徴とする請求項1〜4の何れか1項に記載の通信機器。   The communication device according to any one of claims 1 to 4, wherein the communication device communicates with a secondary station existing at a short distance by infrared rays. 赤外線により近距離に存在する一次局と通信を行うことを特徴とする請求項5に記載の通信機器。   6. The communication apparatus according to claim 5, wherein communication is performed with a primary station existing at a short distance by infrared rays. 第一通信速度の変調方式に従って、通信相手となる二次局の検索および認識と、当該二次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および二次局とのデータ交換を行う一次局としての通信機器の制御プログラムであって、
上記二次局に出力するデータを、上記第一通信速度の変調方式に従った第一通信データに変換する第一データ変換処理と、
上記第一データ変換処理によって変換された上記第一通信データの1パルスを受信したときに、上記二次局に出力するデータを、当該1パルスのパルス幅に相当するデータ長の、上記第二通信速度の変調方式に従った第二通信データに変換する第二データ変換処理と、
上記第二データ変換処理によって変換された上記第二通信データを、上記第一通信データの1パルスの代わりとして上記二次局に出力する出力処理と、をコンピュータに実行させるための通信機器の制御プログラム。
According to the modulation method of the first communication speed, search and recognition of the secondary station that is the communication partner and exchange of the communication capability with the secondary station, the upper layer according to the second communication speed higher than the first communication speed A communication device control program as a primary station for performing connection and data exchange with a secondary station,
A first data conversion process for converting data to be output to the secondary station into first communication data according to the modulation method of the first communication speed;
When one pulse of the first communication data converted by the first data conversion process is received, the data to be output to the secondary station is the second data having a data length corresponding to the pulse width of the one pulse. A second data conversion process for converting to second communication data according to a modulation method of communication speed;
Control of communication equipment for causing a computer to execute output processing for outputting the second communication data converted by the second data conversion processing to the secondary station instead of one pulse of the first communication data program.
第一通信速度の変調方式に従って、一次局による自機器の検索および認識と、当該一次局との通信能力の交換とを行い、第一通信速度より高い第二通信速度に従って、上位層の接続および一次局とのデータ交換を行う二次局としての通信機器の制御プログラムであって、
上記第一通信速度の変調方式に従った第一通信データを受信したときには、当該第一通信速度の変調方式に従って上記一次局との接続処理を行うと共に、上記第一通信データの1パルスのパルス幅に相当するデータ長の第二通信データを受信したときには、第二通信速度の変調方式に従って上記一次局との接続処理を行う処理、をコンピュータに実行させるための通信機器の制御プログラム。
According to the modulation method of the first communication speed, the primary station searches for and recognizes its own device, and exchanges the communication capability with the primary station. According to the second communication speed higher than the first communication speed, the upper layer connection and A communication device control program as a secondary station for exchanging data with the primary station,
When the first communication data according to the first communication speed modulation method is received, connection processing with the primary station is performed according to the first communication speed modulation method, and one pulse pulse of the first communication data A control program for a communication device for causing a computer to execute a process of performing a connection process with the primary station according to a modulation method of a second communication speed when receiving second communication data having a data length corresponding to a width.
JP2009020793A 2009-01-30 2009-01-30 Communication equipment, communicating method, and control program of communication equipment Pending JP2010178217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009020793A JP2010178217A (en) 2009-01-30 2009-01-30 Communication equipment, communicating method, and control program of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009020793A JP2010178217A (en) 2009-01-30 2009-01-30 Communication equipment, communicating method, and control program of communication equipment

Publications (1)

Publication Number Publication Date
JP2010178217A true JP2010178217A (en) 2010-08-12

Family

ID=42708688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009020793A Pending JP2010178217A (en) 2009-01-30 2009-01-30 Communication equipment, communicating method, and control program of communication equipment

Country Status (1)

Country Link
JP (1) JP2010178217A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08294189A (en) * 1995-04-21 1996-11-05 Alps Electric Co Ltd Information transmitter
JP2001060918A (en) * 1999-08-19 2001-03-06 Nec Eng Ltd Infrared communication equipment and method
JP2008141253A (en) * 2006-11-29 2008-06-19 Sharp Corp Communication apparatus, communication method, communication circuit, communication system, program and computer-readable recording medium recording the program
JP2008206150A (en) * 2005-01-28 2008-09-04 Sharp Corp Communication device, communication method, communication program, computer readable recording medium, communication circuit and mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08294189A (en) * 1995-04-21 1996-11-05 Alps Electric Co Ltd Information transmitter
JP2001060918A (en) * 1999-08-19 2001-03-06 Nec Eng Ltd Infrared communication equipment and method
JP2008206150A (en) * 2005-01-28 2008-09-04 Sharp Corp Communication device, communication method, communication program, computer readable recording medium, communication circuit and mobile phone
JP2008141253A (en) * 2006-11-29 2008-06-19 Sharp Corp Communication apparatus, communication method, communication circuit, communication system, program and computer-readable recording medium recording the program

Similar Documents

Publication Publication Date Title
JP4335090B2 (en) Mobile terminal device
US8284684B2 (en) Communication device, communication system, communication method, and communication circuit
KR101944736B1 (en) Communication apparatus and control method of communication apparatus
EP1780984A1 (en) Transmitter, receiver, communication system, communication method, and communication program
JP4219950B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION CIRCUIT, MOBILE PHONE, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM
US20070064733A1 (en) Receiving device, electronic apparatus, communication method, communication program and recording medium
JP2011044092A (en) Communication system, information processing device, information processing method, and information processing program
JP2008141253A (en) Communication apparatus, communication method, communication circuit, communication system, program and computer-readable recording medium recording the program
EP1848178A1 (en) Communication device, communication system, communication method, communication program, and communication circuit
JP4332805B2 (en) COMMUNICATION SYSTEM, TRANSMISSION DEVICE AND METHOD, AND RECEPTION DEVICE AND METHOD
WO2000044126A1 (en) Transmission method and device
KR100663402B1 (en) Apparatus for communicating using power line in portable computer
JP2010178217A (en) Communication equipment, communicating method, and control program of communication equipment
JP2001333038A (en) Equipment and method for communication and recording medium
JP2007174625A (en) Transmitter, receiver, communication system, communication method, and communication program
JP2008079330A (en) Communications device, communication system, communication method, communication program, communication circuit, mobile phone, display device, printer, and recording apparatus
JP2007281971A (en) Method, apparatus, and program for controlling communication
JPH10285240A (en) Data communication equipment and its method, data communication system and storage medium
US8542701B2 (en) Method and device for determining timeslot configuration in TDM transmission
US20110255470A1 (en) Data processing device, system and method for data processing, recording medium with program recorded therein, data transfer device, system and method for data transfer, and recording medium with program recorded therein
JP2011135398A (en) Radio communication system and interference prevention method
JP2006513622A (en) A communication partner device that communicates with other communication partner devices through a first communication channel
JP4430054B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM
JPH09200086A (en) Radio communication system
WO2006080403A1 (en) Communication device, communication system, communication method, communication program, and communication circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130312