JP2006073032A - Wireless information transmission system and wireless receiver - Google Patents

Wireless information transmission system and wireless receiver Download PDF

Info

Publication number
JP2006073032A
JP2006073032A JP2005305518A JP2005305518A JP2006073032A JP 2006073032 A JP2006073032 A JP 2006073032A JP 2005305518 A JP2005305518 A JP 2005305518A JP 2005305518 A JP2005305518 A JP 2005305518A JP 2006073032 A JP2006073032 A JP 2006073032A
Authority
JP
Japan
Prior art keywords
wireless
information
data
transmission
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005305518A
Other languages
Japanese (ja)
Other versions
JP4493580B2 (en
Inventor
Koji Sato
康二 佐藤
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 JP2005305518A priority Critical patent/JP4493580B2/en
Publication of JP2006073032A publication Critical patent/JP2006073032A/en
Application granted granted Critical
Publication of JP4493580B2 publication Critical patent/JP4493580B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To reduce power consumption in a wireless information transmission system. <P>SOLUTION: The wireless information transmission system includes a wireless transmitter 1 transmitting information wirelessly and a wireless receiver 2 receiving the information transmitted from the wireless transmitter 1. The wireless transmitter 1 includes an input portion 102 used by a user to input instructions, a transmission portion 104 transmitting data, and an information generation control portion 103 transmitting the instructions to the wireless receiver 2 via the transmission portion 104 at predetermined intervals when the instructions are continuously inputted. The wireless receiver 2 includes a reception portion 108 receiving the data from the wireless transmitter 1, a memory portion 109 temporarily storing the data, and an information conversion control portion 107 relying on the data received by the reception portion 108 and the data stored in the memory portion 109 to output the data to an application program via an interface conversion control portion 106. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ワイヤレス送信装置およびワイヤレス受信装置間で無線により情報を伝送するワイヤレス情報伝送システムに関し、特に、ワイヤレス送信装置およびワイヤレス受信装置間での情報の伝送が中断した場合であっても、誤動作することのないワイヤレス情報伝送システムおよびワイヤレス受信装置に関する。   The present invention relates to a wireless information transmission system that wirelessly transmits information between a wireless transmission device and a wireless reception device, and in particular, malfunction even when transmission of information between the wireless transmission device and the wireless reception device is interrupted. The present invention relates to a wireless information transmission system and a wireless reception device that do not have to be performed.

コンピュータ等の情報機器においては、キーボード、マウス等の周辺機器と本体機器とを、無線を用いて接続するシステムが存在する。このようなワイヤレス情報伝送システムでは、周辺機器にデータが入力されると、入力されたデータが無線により本体機器に送信される。   In information devices such as computers, there is a system that connects peripheral devices such as a keyboard and a mouse to a main device using wireless communication. In such a wireless information transmission system, when data is input to the peripheral device, the input data is wirelessly transmitted to the main device.

たとえば、キーボードなどはキーの押し下げ、解放が行なわれるごとに、そのキーに割当てられたコードが本体機器側に無線により送信される。本体機器は受信したコードをもとに所定の入出力動作を行なう。   For example, every time a key is depressed or released on a keyboard or the like, a code assigned to the key is transmitted to the main device side by radio. The main device performs a predetermined input / output operation based on the received code.

ところが、本体機器には、周辺機器からコードを受信した後、一定期間コードを受信しなかった場合には、受信したコードに対応するデータを繰返してアプリケーションプログラムに入力するオートリピート機能がサポートされている場合がある。オートリピート機能がサポートされた本体機器では、本体機器がキーの押し下げを示すコードを受信した後、キーの解放を示すコードの受信に失敗した場合には、次のキーの押し下げを示すコードが実際に送信されるまでの間、延々と意図しないデータが入力されつづけることになる。このような課題を解決するための方法が、特許文献1に開示されている。   However, the main device supports an auto repeat function that receives data from a peripheral device and does not receive a code for a certain period of time, and repeatedly inputs data corresponding to the received code to the application program. There may be. In the main unit that supports the auto repeat function, if the main unit fails to receive the code indicating the key release after receiving the code indicating the key press, the code indicating the next key press is actually Until the data is transmitted, unintended data continues to be input. A method for solving such a problem is disclosed in Patent Document 1.

図14を参照して、この方法による動作の一例を説明する。たとえば、キーボード側で“A”キーが押し下げられると、本体装置は“A”キーの押し下げを押下コードの受信により認識し、文字“a”をアプリケーションプログラムに入力する。キーボード側で“A”キーが解放されると、本体機器は“A”キーの解放を解放コードの受信により認識し、文字“a”の入力を停止させる。   With reference to FIG. 14, an example of the operation according to this method will be described. For example, when the “A” key is depressed on the keyboard side, the main unit recognizes the depression of the “A” key by receiving the depression code, and inputs the character “a” to the application program. When the “A” key is released on the keyboard side, the main device recognizes the release of the “A” key by receiving the release code, and stops the input of the character “a”.

次に、キーボード側で“B”キーが押し下げられると、本体装置は、“B”キーの押し下げを認識し、文字“b”をアプリケーションプログラムに入力する。ところが、“B”キーが解放されても本体機器側でその解放コードが受信できなかった場合には、文字“b”がリピート入力され続ける。   Next, when the “B” key is depressed on the keyboard side, the main device recognizes the depression of the “B” key and inputs the character “b” to the application program. However, even if the “B” key is released, if the release code cannot be received by the main device, the character “b” is continuously input.

これを防止するために、キーボードは押下されているキーの数を計算し、それを押下数情報として本体装置に送信する。本体装置は、押下数情報を逐次参照することにより、キーボードの状態を判断し、キーが解放されたことを判断する。キーボードのキーが全て解放された場合には、押下数0を示すデータがキーボードから本体機器へ送信される。このため、本体機器は、 “B”キーの解放コードの受信に失敗したとしても、押し下げられているキーがないことを確認することができる。よって、本体機器は、文字“b”のリピート入力を中止させることができる。   In order to prevent this, the keyboard calculates the number of pressed keys and transmits it to the main unit as the pressed number information. The main device determines the state of the keyboard by sequentially referring to the number-of-press information, and determines that the key has been released. When all the keys on the keyboard are released, data indicating the number of presses 0 is transmitted from the keyboard to the main device. For this reason, even if the main device fails to receive the release code of the “B” key, it can confirm that there is no depressed key. Therefore, the main device can stop the repeat input of the character “b”.

この方法は、Capsロックのように、キーの押し下げおよび解放の一連のコード出力により、入力モードの設定および解除を切換えるトグル動作にも適用可能である。すなわち、Capsロックキーの解放コードの受信に失敗した場合であっても、本体機器は押下数情報を逐次参照することにより、Capsロックキーの解放を知ることができる。このため、正確にトグル動作を行なうことができ、キーボードおよび本体機器の間の状態の整合性を維持することができる。
特開平6−4197号公報
This method can also be applied to a toggle operation that switches between setting and releasing the input mode by a series of code output of key depression and release, such as Caps lock. That is, even when reception of the Caps lock key release code fails, the main device can know the release of the Caps lock key by sequentially referring to the number-of-press information. For this reason, the toggle operation can be performed accurately, and the consistency of the state between the keyboard and the main device can be maintained.
JP-A-6-4197

しかし、上記方法ではたとえばあるキーが押された後、キーデータそのものが一定期間送られなくなったり、全く送られなくなったりするような通信路の障害が発生したときには、押下数0を示すキーデータそのものが送られなくなってしまう。たとえば、キーボード側のワイヤレス送信部や、本体機器側のワイヤレス受信部に障害が発生した場合には、押下数0を示すキーデータそのものが送られなくなる。このため、図15に示すように、それらの修復までの間または修復後最初の押下数を含めたキー情報が送受信されるまでの間はオートリピート状態が維持される。これは本体機器側が正常に動作していたとしても、キーボードの通信異常時には本体機器が誤動作しているように見えるだけでなく、他のアプリケーションの動作遅延またはシステム全体に対する誤動作の原因となるおそれがある。   However, in the above method, for example, when a communication path failure occurs such that, after a certain key is pressed, the key data itself is not transmitted for a certain period or not transmitted at all, the key data itself indicating the number of times of pressing is 0. Will not be sent. For example, if a failure occurs in the keyboard-side wireless transmission unit or the main device-side wireless reception unit, the key data itself indicating the number of presses 0 is not sent. For this reason, as shown in FIG. 15, the auto-repeat state is maintained until such repair or until key information including the first pressing number after the repair is transmitted / received. Even if the main unit is operating normally, not only does the main unit appear to be malfunctioning when there is a keyboard communication error, but it may cause delays in the operation of other applications or malfunctions of the entire system. is there.

また、上記方法においてキーボードはすべてのキーが解放された後においても、予め定められた間隔で、どのキーも押し下げられていないことを示す解放コードを繰返し送信する。これはあくまでもキーが押されていない状態を繰返し送信することによって、受信失敗時におけるリピート解除を補完するためのものであり、上記した見かけ上の誤動作を防止するために必要である。その反面、キーが実際に押されているというイベントが発生しない状況にもかかわらず、ワイヤレス信号がキーボードから送信されているということになる。これは特にバッテリ駆動で動作するワイヤレス機器に関しては影響が大きく、無駄な電力消費の原因となる。   In the above method, the keyboard repeatedly transmits a release code indicating that no key is depressed at a predetermined interval even after all keys are released. This is to supplement repeat cancellation at the time of reception failure by repeatedly transmitting a state in which the key is not pressed, and is necessary to prevent the above-described apparent malfunction. On the other hand, a wireless signal is being transmitted from the keyboard despite the fact that the event that the key is actually pressed does not occur. This has a great influence particularly on a wireless device that operates on a battery, and causes unnecessary power consumption.

本発明は上述の課題を解決するためになされたもので、その目的は、通信路に障害が発生した場合であっても、キー入力のオートリピート状態になることを防止するワイヤレス情報伝送システムを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a wireless information transmission system that prevents a key input from being automatically repeated even when a failure occurs in a communication path. Is to provide.

本発明の他の目的は、無駄な電力消費を抑えたワイヤレス情報伝送システムおよびワイヤレス受信装置を提供することである。   Another object of the present invention is to provide a wireless information transmission system and a wireless receiving apparatus that suppress unnecessary power consumption.

本発明のある局面に従うワイヤレス情報伝送システムは、情報を無線で送信するワイヤレス送信装置と、ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含み、ワイヤレス送信装置は、指示を入力する入力手段と、ワイヤレス受信装置に情報を無線で送信するための送信装置側送信手段と、入力手段および送信装置側送信手段に接続され、入力手段より継続して指示が入力されている場合に、送信装置側送信手段を介して、指示を所定の間隔で送信するための情報生成制御手段と、ワイヤレス受信装置から無線により送信される情報を受信するための送信装置側受信手段とを含み、ワイヤレス受信装置は、ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、受信装置側受信手段に接続され、受信装置側受信手段で受信された指示に従って動作するための動作手段と、ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段とを含み、動作手段は、ワイヤレス送信装置からの指示を一定期間受信しなかった場合に、受信装置側送信手段を介して、ワイヤレス送信装置に指示の再送要求を送信し、情報生成制御手段は、送信装置側受信手段を介して再送要求を受信した場合には、指示を、送信手段を介して再送する。   A wireless information transmission system according to an aspect of the present invention includes a wireless transmission device that wirelessly transmits information and a wireless reception device that wirelessly receives information transmitted from the wireless transmission device, the wireless transmission device receiving an instruction. When the input unit is connected to the transmission unit side transmission unit for wirelessly transmitting information to the wireless reception device, the input unit and the transmission unit side transmission unit, and an instruction is continuously input from the input unit In addition, information generation control means for transmitting instructions at predetermined intervals via the transmission apparatus side transmission means, and transmission apparatus side reception means for receiving information transmitted by radio from the wireless reception apparatus The wireless receiving device includes a receiving device-side receiving means for receiving an instruction transmitted from the wireless transmitting device by radio, and a receiving device. An operating means connected to the receiving means for operating in accordance with the instructions received by the receiving apparatus side receiving means; and a receiving apparatus side transmitting means for wirelessly transmitting information to the wireless transmitting apparatus, the operating means comprising: When the instruction from the wireless transmission device is not received for a certain period, the request retransmission request is transmitted to the wireless transmission device via the reception device side transmission means, and the information generation control means is transmitted via the transmission device side reception means. When the retransmission request is received, the instruction is retransmitted via the transmission means.

本発明によれば、入力手段より継続して指示が入力されている場合には、所定の間隔でワイヤレス送信装置から指示が送信される。このため、ワイヤレス送信装置からの指示送信を必要最小限にすることができ、消費電力を低減することができると共に、それを通信路の障害検知に利用することができる。   According to the present invention, when an instruction is continuously input from the input unit, the instruction is transmitted from the wireless transmission device at a predetermined interval. For this reason, instruction transmission from the wireless transmission device can be minimized, power consumption can be reduced, and it can be used for detecting a failure in the communication path.

入力手段としては、マウス、キーボードまたはリモートコントローラのような、単数または複数の入力用キー、ボタンまたはタッチパネルなどを含む機器が用いられる。   As the input means, a device including one or a plurality of input keys, buttons, or a touch panel, such as a mouse, a keyboard, or a remote controller is used.

また、ワイヤレス送信装置とワイヤレス受信装置との間の双方向通信が可能になる。このため、両装置間で適宜データを交換することにより、データ伝送に対する信頼性を高めることができる。   In addition, bidirectional communication between the wireless transmission device and the wireless reception device becomes possible. For this reason, the reliability with respect to data transmission can be improved by exchanging data suitably between both apparatuses.

本発明の他の局面に従うワイヤレス情報伝送システムは、情報を無線で送信するワイヤレス送信装置と、ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含み、ワイヤレス送信装置は、指示を入力する入力手段と、ワイヤレス受信装置に情報を無線で送信するための送信装置側送信手段と、入力手段および送信装置側送信手段に接続され、入力手段より継続して指示が入力されている場合に、送信装置側送信手段を介して、指示を所定の間隔で送信するための情報生成制御手段とを含み、記ワイヤレス受信装置は、ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、ワイヤレス送信装置から受信した情報を一時的に記憶する記憶手段と、受信装置側受信手段に接続され、受信装置側受信手段で受信された指示に従って動作するための動作手段とを含み、動作手段は、予め定められた期間、ワイヤレス送信装置から指示が送信されなかった場合には、記憶手段に一時的に記憶されている情報を削除する。   A wireless information transmission system according to another aspect of the present invention includes a wireless transmission device that wirelessly transmits information and a wireless reception device that wirelessly receives information transmitted from the wireless transmission device, the wireless transmission device including instructions Is connected to the input unit, the transmission unit side transmission unit for wirelessly transmitting information to the wireless reception device, the input unit and the transmission unit side transmission unit, and the instruction is continuously input from the input unit The information generation control means for transmitting the instruction at predetermined intervals via the transmission apparatus side transmission means, and the wireless reception apparatus for receiving the instruction transmitted by radio from the wireless transmission apparatus Connected to the receiving device side receiving means, storage means for temporarily storing information received from the wireless transmitting device, and receiving device side receiving means. Operating means for operating according to the instruction received by the receiving device side receiving means, and the operating means temporarily stores data in the storage means when the instruction is not transmitted from the wireless transmitting apparatus for a predetermined period. Information stored in memory is deleted.

本発明によれば、入力手段より継続して指示が入力されている場合には、所定の間隔でワイヤレス送信装置から指示が送信される。このため、ワイヤレス送信装置からの指示送信を必要最小限にすることができ、消費電力を低減することができると共に、それを通信路の障害検知に利用することができる。   According to the present invention, when an instruction is continuously input from the input unit, the instruction is transmitted from the wireless transmission device at a predetermined interval. For this reason, instruction transmission from the wireless transmission device can be minimized, power consumption can be reduced, and it can be used for detecting a failure in the communication path.

入力手段としては、マウス、キーボードまたはリモートコントローラのような、単数または複数の入力用キー、ボタンまたはタッチパネルなどを含む機器が用いられる。   As the input means, a device including one or a plurality of input keys, buttons, or a touch panel, such as a mouse, a keyboard, or a remote controller is used.

また、動作手段は、予め定められた期間、ワイヤレス送信装置から指示が送信されなかった場合には、記憶手段に一時的に記憶されている情報を削除する。これにより、不要なデータが蓄積されることを回避できる。   In addition, when the instruction is not transmitted from the wireless transmission device for a predetermined period, the operation unit deletes information temporarily stored in the storage unit. As a result, unnecessary data can be prevented from being accumulated.

本発明に従うワイヤレス情報伝送システムでは、入力手段は、外部からの操作によってオンまたはオフの状態となる入力部を含み、送信装置側送信手段は、入力部の状態を変更する情報を送信し、動作手段は、記憶手段に入力部がオン状態であるという情報が記憶されている場合に、予め定められた期間、ワイヤレス送信装置から入力部をオフ状態にする指示が送信されなかった場合には、受信装置側受信手段に、入力部をオフ状態にする指示を出力することが好ましい。   In the wireless information transmission system according to the present invention, the input unit includes an input unit that is turned on or off by an external operation, and the transmission device-side transmission unit transmits information for changing the state of the input unit and operates. In the case where information indicating that the input unit is in the on state is stored in the storage unit, and when an instruction to turn off the input unit is not transmitted from the wireless transmission device for a predetermined period, It is preferable to output an instruction to turn off the input unit to the receiving device side receiving means.

ワイヤレス受信装置は、ワイヤレス送信装置からの指示が終了したと判断した場合には、通信路障害の影響を受けずにリピート機能を解除する等の処理を行なうことができる。   If the wireless reception device determines that the instruction from the wireless transmission device has been completed, the wireless reception device can perform processing such as canceling the repeat function without being affected by the communication path failure.

本発明に従うワイヤレス情報伝送システムでは、入力部は、キーであることが好ましい。   In the wireless information transmission system according to the present invention, the input unit is preferably a key.

本発明に従うワイヤレス情報伝送システムでは、ワイヤレス送信装置は、さらに、ワイヤレス受信装置から無線により送信される情報を受信するための送信装置側受信手段を含み、ワイヤレス受信装置は、さらに、ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段を含むことが好ましい。   In the wireless information transmission system according to the present invention, the wireless transmission device further includes transmission device side reception means for receiving information transmitted by radio from the wireless reception device, and the wireless reception device further includes a wireless transmission device. It is preferable to include a receiving device side transmitting means for transmitting information wirelessly.

本発明に従うワイヤレス受信装置は、情報を無線で送信するワイヤレス送信装置と、ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含むワイヤレス情報伝送システムで用いられる。そして、当該ワイヤレス受信装置は、ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、ワイヤレス送信装置から受信した情報を一時的に記憶する記憶手段と、受信装置側受信手段に接続され、受信装置側受信手段で受信された指示に従って動作し、予め定められた期間、ワイヤレス送信装置から指示が送信されなかった場合に記憶手段に記憶された情報を削除する、動作手段とを含む。   The wireless reception device according to the present invention is used in a wireless information transmission system including a wireless transmission device that transmits information wirelessly and a wireless reception device that wirelessly receives information transmitted from the wireless transmission device. The wireless receiving device includes a receiving device side receiving unit for receiving an instruction transmitted from the wireless transmitting device by radio, a storage unit for temporarily storing information received from the wireless transmitting device, and a receiving device side An operation that is connected to the receiving means, operates according to the instruction received by the receiving apparatus side receiving means, and deletes information stored in the storage means when the instruction is not transmitted from the wireless transmitting apparatus for a predetermined period. Means.

動作手段は、予め定められた期間、ワイヤレス送信装置から指示が送信されなかった場合には、記憶手段に一時的に記憶されている情報を削除する。これにより、不要なデータが蓄積されることを回避できる。   The operating unit deletes the information temporarily stored in the storage unit when no instruction is transmitted from the wireless transmission device for a predetermined period. As a result, unnecessary data can be prevented from being accumulated.

本発明に従うワイヤレス受信装置は、ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段をさらに含み、動作手段は、所定の処理が終了するごとに、情報伝送許可信号を受信装置側送信手段を介してワイヤレス送信装置に送信することが好ましい。   The wireless reception device according to the present invention further includes a reception device side transmission means for wirelessly transmitting information to the wireless transmission device, and the operation means sends an information transmission permission signal to the reception device side every time predetermined processing is completed. It is preferable to transmit to the wireless transmission device via the transmission means.

本発明に従うワイヤレス受信装置では、動作手段は、情報伝送許可信号を所定回数送信してもワイヤレス送信装置から指示が送信されなかった場合には、ワイヤレス送信装置からの指示が終了したと判断することが好ましい。   In the wireless reception device according to the present invention, the operating means determines that the instruction from the wireless transmission device is completed when the instruction is not transmitted from the wireless transmission device even though the information transmission permission signal is transmitted a predetermined number of times. Is preferred.

ワイヤレス送信装置の情報生成制御手段は、キープレスのイベント発生を検知すると、そのキーに対するキーステータスをプレス状態へと変更する。情報生成制御手段は、送信装置側送信手段を用いて押されたキーのキーデータをワイヤレス受信装置に対して送信する。   When the information generation control means of the wireless transmission device detects the occurrence of a key press event, it changes the key status for that key to the pressed state. The information generation control unit transmits the key data of the key pressed using the transmission device side transmission unit to the wireless reception device.

情報生成制御手段は、キーデータを送信するとともに、押されているキーが解放されるまでキーステータスを保持し、規定期間ごとにその状態を判断する。図1を参照して、保持しているステータスが変化しないとき、すなわちキーがプレスされたままの状態になっているときには、ワイヤレス受信装置に対して前回送信したものと同じキーデータを送信する。   The information generation control means transmits the key data, holds the key status until the pressed key is released, and determines the state for each specified period. Referring to FIG. 1, when the held status does not change, that is, when the key remains pressed, the same key data as that transmitted last time is transmitted to the wireless reception device.

これにより、キープレスされている間は規定期間ごとにワイヤレスデータが送信されることになる。ステータスがプレス状態に保持されている場合には、ワイヤレス受信装置は、規定期間ごとに少なくとも1回、ワイヤレス送信装置から同一のデータが伝送されることを期待する。   Thus, wireless data is transmitted every specified period while the key is pressed. If the status is held in the pressed state, the wireless reception device expects the same data to be transmitted from the wireless transmission device at least once every prescribed period.

規定期間内にワイヤレス送信装置から同一のデータが伝送されない場合には、動作手段は通信路に障害があったと判断し、オートリピート状態であるときにはその状態を解除し、オートリピート状態でないときにはオートリピート状態に入ることを抑止する。   If the same data is not transmitted from the wireless transmitter within the specified period, the operation means determines that there is a failure in the communication path, cancels the state when it is in the auto repeat state, and auto repeat when it is not in the auto repeat state. Suppresses entering the state.

次に、ワイヤレス送信装置およびワイヤレス受信装置の各々が、送信手段および受信手段を持つワイヤレス情報伝送システムについて考える。ワイヤレス送信装置の情報生成制御手段は、上述のワイヤレス情報伝送システムにおける情報生成制御手段と同様、キープレスのイベントが発生すると、そのキーのステータスをプレス状態へと遷移させて、送信側送信手段を用いてキーデータをワイヤレス受信装置へ送信する。   Next, consider a wireless information transmission system in which each of the wireless transmission device and the wireless reception device has transmission means and reception means. Similar to the information generation control unit in the wireless information transmission system described above, the information generation control unit of the wireless transmission device transitions the key status to the pressed state when a key press event occurs, and To transmit key data to the wireless receiver.

情報生成制御手段は、キーが解放されるまでの間は規定時間ごとに、以前送信したキーデータと同じデータ、または同一キー入力を示すステータス情報をワイヤレス受信装置に対し繰返し送信する。   The information generation control means repeatedly transmits the same data as the previously transmitted key data or status information indicating the same key input to the wireless reception device at a predetermined time until the key is released.

ワイヤレス受信装置はいずれかのキーがプレス状態に保持されている場合には一定期間ごとに少なくとも1回、ワイヤレス送信装置からの同一データ伝送があることを期待する。しかし、規定時間内に期待しているワイヤレス送信装置からの同一データ伝送、または同一キー入力を示すステータス伝送が行なわれない場合、ワイヤレス受信装置の動作手段は通信路に何らかの障害が発生したと判断する。その後、ワイヤレス受信装置は、通信路の障害を確認するためにワイヤレス送信装置に対し制御データ(再送要求)を送信する。ワイヤレス受信装置から制御データを受信したワイヤレス送信装置は、キーコードの再送処理を実行する。   The wireless receiver expects to have the same data transmission from the wireless transmitter at least once every fixed period if any key is held in the pressed state. However, if the same data transmission from the wireless transmission device expected within the specified time or the status transmission indicating the same key input is not performed, the operation means of the wireless reception device determines that some trouble has occurred in the communication path. To do. Thereafter, the wireless reception device transmits control data (retransmission request) to the wireless transmission device in order to confirm a communication path failure. The wireless transmission device that has received the control data from the wireless reception device executes key code retransmission processing.

ワイヤレス受信装置は制御データ送信後に、データの受信の有無と受信データの内容とを判断し、同一データまたは同一キー入力を示すステータス情報を受信していない場合であって、かつオートリピート状態であるときには、オートリピート状態を解除する処理を行なう。また、オートリピート状態でないときには、オートリピート状態に入ることを防止するための処理を行なう。   The wireless receiver determines whether or not data has been received and the content of the received data after transmitting the control data, and has not received status information indicating the same data or the same key input, and is in an auto-repeat state In some cases, processing for canceling the auto repeat state is performed. Further, when not in the auto repeat state, processing for preventing the auto repeat state from being entered is performed.

また、ワイヤレス受信装置の動作手段は、通信路に何らかの障害が発生したことを認識した場合には、ワイヤレス送信装置に対し制御データを送信する。それと同時に、動作手段は、オートリピート状態のときには、その状態を解除するための処理を行い、オートリピート状態でないときにはオートリピート状態に入ることを抑止するために処理を行なう。   In addition, when the operation unit of the wireless reception device recognizes that some kind of failure has occurred in the communication path, it transmits control data to the wireless transmission device. At the same time, the operating means performs processing for canceling the state when in the auto-repeat state, and performs processing for suppressing entry into the auto-repeat state when not in the auto-repeat state.

次に、ワイヤレス受信装置の動作手段がワイヤレス送信装置に対し情報伝送許可を与え、ワイヤレス送信装置が与えられた伝送許可をもとに情報伝送を行なうワイヤレス情報伝送システムについて記述する。   Next, a description will be given of a wireless information transmission system in which the operating means of the wireless receiving device gives information transmission permission to the wireless transmitting device, and the wireless transmitting device performs information transmission based on the given transmission permission.

ワイヤレス送信装置の情報生成制御手段は、上述のワイヤレス送信装置の情報生成制御手段と同様、キープレスのイベントが発生すると、そのキーに対するステータスをプレス状態へと遷移させる。情報生成制御手段は、ワイヤレス受信装置へ送信するキーデータを生成した後、ワイヤレス受信装置から情報伝送許可が与えられるのを待つ。情報生成制御手段は、ワイヤレス受信装置から伝送許可を受信した後、初めてキーデータをワイヤレス受信装置へ送信する。   Similar to the information generation control unit of the wireless transmission device described above, the information generation control unit of the wireless transmission device transitions the status for the key to the pressed state when a key press event occurs. The information generation control unit generates key data to be transmitted to the wireless reception device, and waits for information transmission permission from the wireless reception device. The information generation control means transmits the key data to the wireless receiving device for the first time after receiving the transmission permission from the wireless receiving device.

ワイヤレス受信装置の動作手段は、制御データ送信後に、データ受信の有無と受信データの内容とを判断する。同一データまたは同一キー入力を示すステータス情報を受信していない場合であって、かつオートリピート状態であるときには、動作手段は、オートリピート状態を解除するための処理を実行する。また、オートリピート状態でないときには、動作手段は、オートリピート状態に入ることを防止するための処理を行なう。   The operation means of the wireless receiving device determines whether or not data is received and the content of the received data after transmitting the control data. When the status information indicating the same data or the same key input has not been received and the auto repeat state is set, the operating means executes a process for canceling the auto repeat state. When not in the auto repeat state, the operating means performs a process for preventing the auto repeat state from being entered.

ワイヤレス送信装置の入力手段は、複数の要素を用いて構成することも可能である。一例を挙げると、複数のキーとともに、トラックボールなどのポインティングデバイスを搭載したキーボードを入力手段として用いてもよい。   The input means of the wireless transmission device can also be configured using a plurality of elements. As an example, a keyboard equipped with a pointing device such as a trackball may be used as the input means together with a plurality of keys.

このような構成の機器においては、ポインティングデバイスの信号を処理する部分とキーボードの入力信号を処理する部分とが並列に存在する。このため、情報生成制御手段がこれらの入力信号を統合的に取扱うようにしてもよい。すなわち、情報生成制御手段が、送信側送信手段を直接制御することにより、複数の入力手段が存在している場合であっても、送信手段を排他的に占有するメカニズムをそれぞれの入力手段に与える必要がなくなる。情報生成制御手段は、入力手段ごとに独立に発生するイベントから送信すべきデータを生成し、送信手段を通じてワイヤレス受信装置に送信する。   In the device having such a configuration, a part for processing the signal of the pointing device and a part for processing the input signal of the keyboard exist in parallel. For this reason, the information generation control means may handle these input signals in an integrated manner. In other words, the information generation control means directly controls the transmission means on the transmission side, so that even when there are a plurality of input means, a mechanism that exclusively occupies the transmission means is given to each input means. There is no need. The information generation control unit generates data to be transmitted from an event that occurs independently for each input unit, and transmits the data to the wireless reception device through the transmission unit.

複数の入力手段からイベントが同時に発生した場合に備え、複数のイベントを単一のデータとして送信できるようなフォーマットを予め定めておいてもよい。このようにすれば、情報生成制御手段は、単一のデータで複数のイベントをワイヤレス受信装置に通知することができる。   A format may be determined in advance so that a plurality of events can be transmitted as a single data in case an event occurs simultaneously from a plurality of input means. In this way, the information generation control unit can notify the wireless reception device of a plurality of events with a single data.

入力用キーが押されている間は規定された時間ごと、またはワイヤレス受信装置から与えられる情報伝送許可が規定回数に達するごとに、ワイヤレス送信装置は、ワイヤレス受信装置へ情報伝送を行なう。このため、ワイヤレス送信装置は、キーが押されている間は、同一のデータを受信しているか否かを逐次確認し、受信が途絶えた場合には情報伝送途中において通信路の障害が発生したと判断することができる。通信路の障害が発生した場合には、ワイヤレス送信装置は、オートリピート状態を解除するための処理を実行することができる。このため、通信路の障害の影響を受けないワイヤレス情報伝送システムを提供することができる。   While the input key is pressed, the wireless transmission device transmits information to the wireless reception device every specified time or whenever the information transmission permission given from the wireless reception device reaches a specified number of times. For this reason, the wireless transmission device sequentially checks whether the same data is received while the key is pressed, and if the reception is interrupted, a communication path failure occurred during the information transmission. It can be judged. When a communication path failure occurs, the wireless transmission device can execute processing for canceling the auto-repeat state. Therefore, it is possible to provide a wireless information transmission system that is not affected by the failure of the communication path.

通信路の障害が発生しているか否かを判断するために用いられる上記規定された時間または上記規定回数を調整することにより、通信路の障害が発生していると判断するまでの時間をオートリピート状態に入るまでの時間よりも短くすることができる。このような設定にしておけば、通信路における障害発生時にオートリピート状態になることを抑制することができる。   By adjusting the specified time or the specified number of times used to determine whether or not a communication channel failure has occurred, the time until it is determined that a communication channel failure has occurred is automatically set. It can be made shorter than the time until the repeat state is entered. With such a setting, it is possible to suppress an auto-repeat state when a failure occurs in the communication path.

ワイヤレス送信装置はキーが押されている間の限られた期間のみデータ伝送を行えばよい。このため、バッテリで駆動するキーボードなどのワイヤレス周辺機器の電力消費を抑えることができる。   The wireless transmission device only needs to transmit data for a limited period while the key is pressed. For this reason, the power consumption of wireless peripheral devices, such as a keyboard driven by a battery, can be suppressed.

また、通常数バイト程度必要とするキーデータの代わりにステータス情報による情報伝送を行なうことにより、伝送すべき情報量を少なくすることができる。その結果、情報伝送に必要な時間を減らすことができるとともに、消費電力を低減することができる。   In addition, the amount of information to be transmitted can be reduced by transmitting information using status information instead of key data that normally requires several bytes. As a result, the time required for information transmission can be reduced, and power consumption can be reduced.

また、ワイヤレス受信装置において通信異常が検知された場合には、データの再送要求を示す制御データをワイヤレス送信装置へ送信することにより、データ伝送に対する信頼性の向上が期待できる。   In addition, when a communication abnormality is detected in the wireless reception device, it is possible to expect improvement in reliability of data transmission by transmitting control data indicating a data retransmission request to the wireless transmission device.

(実施の形態1)
以下、図を参照して、本発明の実施の形態1に係るワイヤレス情報伝送システムについて説明する。
(Embodiment 1)
Hereinafter, a wireless information transmission system according to Embodiment 1 of the present invention will be described with reference to the drawings.

図2を参照して、ワイヤレス情報伝送システムは、情報を無線により送信するワイヤレス送信装置1と、ワイヤレス送信装置1より送信された情報を受信するワイヤレス受信装置2とを含む。   Referring to FIG. 2, the wireless information transmission system includes a wireless transmission device 1 that transmits information by radio and a wireless reception device 2 that receives information transmitted from the wireless transmission device 1.

ワイヤレス送信装置1は、指示を入力するためにユーザが使用する入力部102と、入力部102に接続され、入力部102から出力される信号に基づき所定のフォーマットに従ったデータを生成する情報生成制御部103と、情報生成制御部103に接続され、情報生成制御部103の出力をワイヤレス信号110に変換し、外部に伝送するための送信部104とを含む。ワイヤレス信号110として、RF(Radio Frequency)信号や赤外線信号などが考えられる。   The wireless transmission device 1 includes an input unit 102 used by a user to input an instruction, and information generation that is connected to the input unit 102 and generates data according to a predetermined format based on a signal output from the input unit 102 It includes a control unit 103 and a transmission unit 104 that is connected to the information generation control unit 103, converts an output of the information generation control unit 103 into a wireless signal 110, and transmits the signal to the outside. As the wireless signal 110, an RF (Radio Frequency) signal, an infrared signal, or the like can be considered.

ワイヤレス受信装置2は、ワイヤレス送信装置1より送信されたワイヤレス信号110を受信する受信部108と、受信部108に接続され、受信部108の出力を所定のフォーマットに従い変換および再構成するとともに、変換および再構成されたデータを必要に応じて後述する記憶部109に記憶し、当該データと記憶部109に記憶されたデータとに基づいて後述するインターフェイス変換制御部106の制御を行なう情報変換制御部107と、情報変換制御部107に接続され、データを一時的に記憶するための記憶部109と、情報変換制御部107に接続され、情報変換制御部107より与えられるデータを適切な手順に従いワイヤレス受信装置2上で動作するアプリケーションプログラム(図示せず)に受け渡すインターフェイス変換制御部106とを含む。アプリケーションプログラムは上述のオートリピート機能を備えているものとし、それは基本ソフト(OS(Operation System))である場合を含む。   The wireless reception device 2 is connected to the reception unit 108 that receives the wireless signal 110 transmitted from the wireless transmission device 1, and is connected to the reception unit 108. The wireless reception device 2 converts and reconfigures the output of the reception unit 108 according to a predetermined format. An information conversion control unit that stores the reconstructed data as necessary in a storage unit 109 described later and controls an interface conversion control unit 106 described later based on the data and the data stored in the storage unit 109. 107, connected to the information conversion control unit 107, connected to the information conversion control unit 107, and connected to the storage unit 109 for temporarily storing data, and the data provided from the information conversion control unit 107 is wirelessly transmitted according to an appropriate procedure. Interface that is transferred to an application program (not shown) that runs on the receiving device 2 And a scan converter control unit 106. The application program is assumed to have the above-described auto-repeat function, which includes the case of basic software (OS (Operation System)).

ワイヤレス送信装置1の各部についてさらに詳細に説明する。
入力部102は、マウス、キーボード、ゲームパッド、ジョイスティックまたはリモートコントローラなどの、単数または複数の入力用キー、ボタンまたはタッチパネルを有する機器のことである。入力部102は、キープレスまたはボタンリリースなどユーザが入力部102に対して行った操作により発生するイベントを示す信号を情報生成制御部103に対して通知する。
Each part of the wireless transmission device 1 will be described in more detail.
The input unit 102 is a device having one or a plurality of input keys, buttons, or a touch panel, such as a mouse, a keyboard, a game pad, a joystick, or a remote controller. The input unit 102 notifies the information generation control unit 103 of a signal indicating an event generated by an operation performed on the input unit 102 by the user, such as a key press or a button release.

以降の説明においては入力部102におけるイベント発生対象をキーに限定して説明するが、キーの代わりに物理的に形成されたボタンを用いてもよい。また、タッチパネル上に境界により仕切られ、選択可能に形成された領域などであってもよい。   In the following description, the event generation target in the input unit 102 is described as being limited to the key, but a physically formed button may be used instead of the key. Moreover, the area | region etc. which were divided on the touchscreen by the boundary and were formed so that selection was possible may be sufficient.

情報生成制御部103は、単数または複数のIC(Integrated Circuit)などのコントローラからなる。情報生成制御部103は、上述のように入力部102から出力される信号を、送信部104を用いてワイヤレス伝送するための制御を行なう。それとともに、情報生成制御部103は、タイマ機能を持ち、ある規定期間ごとに必要な処理を実行可能な構成になっている。   The information generation control unit 103 includes a controller such as one or a plurality of ICs (Integrated Circuits). The information generation control unit 103 performs control for wirelessly transmitting the signal output from the input unit 102 using the transmission unit 104 as described above. At the same time, the information generation control unit 103 has a timer function and is configured to be able to execute a necessary process every predetermined period.

次に、ワイヤレス受信装置2の各部についてさらに詳細に説明する。
情報変換制御部107は、単数または複数個のICなどのコントローラからなる。情報変換制御部107は、上述の機能に加えて、タイマ機能を持ち、ある規定期間ごとに必要な処理を実行することができる。
Next, each part of the wireless reception device 2 will be described in more detail.
The information conversion control unit 107 includes a controller such as one or a plurality of ICs. The information conversion control unit 107 has a timer function in addition to the functions described above, and can execute a necessary process for each predetermined period.

図3を参照して、ワイヤレス送信装置1の情報生成制御部103によるデータ送信処理について説明する。   With reference to FIG. 3, the data transmission process by the information generation control unit 103 of the wireless transmission device 1 will be described.

情報生成制御部103は、自身の初期化を行なう(S2)。すなわち、情報生成制御部103は、入力部102においてキー入力(キーの押し下げ)またはキー解放が行なわれた際にそのイベントを検知し、ワイヤレス信号を送信可能な状態にする。情報生成制御部103は、キーに関するイベントが発生したか否かを検知する(S3)。キー入力またはキー解放のイベントが発生した場合には(S3でYES)、情報生成制御部103は、そのイベントがどのキーに関するものかを判断し、そのキーのステータスを確認する(S4)。各キーは、オンまたはオフの2つのステータス(状態)をとり、キーが押し下げられているときにはオン、解放された場合にはオフを示す。   The information generation control unit 103 initializes itself (S2). That is, the information generation control unit 103 detects the event when key input (key depression) or key release is performed at the input unit 102, and makes the wireless signal transmittable. The information generation control unit 103 detects whether or not an event related to the key has occurred (S3). When a key input or key release event occurs (YES in S3), the information generation control unit 103 determines which key the event relates to, and confirms the status of the key (S4). Each key has two statuses (states), on and off, indicating on when the key is depressed and off when released.

該当するキーのステータスを確認することにより、キーが最初に押されたことにより発生したイベントであるか、キーが解放されたことにより発生したイベントであるかを判断することができる。   By checking the status of the corresponding key, it is possible to determine whether the event has occurred due to the key being pressed for the first time or has occurred due to the key being released.

特定のキーが最初に入力されたことによりイベントが発生した場合には、該当するキーのステータスはオフ状態であるため(S4でNO)、そのキーに関するステータスがオフ状態からオン状態へ変更される。キーを解放するイベントが発生した場合には、該当するキーのステータスはオン状態であるため(S4でYES)、そのキーに関するステータスがオン状態からオフ状態へ変更される(S5)。   When an event occurs due to the input of a specific key for the first time, the status of the corresponding key is OFF (NO in S4), so the status relating to that key is changed from OFF to ON. . When an event for releasing a key occurs, the status of the corresponding key is in the on state (YES in S4), so the status relating to that key is changed from the on state to the off state (S5).

キー入力イベント発生時においては、特定キーのステータスがオン状態のときに別の新規キー入力があった場合、情報生成制御部103は新規入力キーに関するステータスをオン状態にするとともに以前オンになっていた特定キーステータスをオフにする構成になっていてもよい。ただしこの場合は、キー解放イベントが任意のキーに対して適合される場合に限る。   When a key input event occurs, if there is another new key input when the status of the specific key is in the on state, the information generation control unit 103 sets the status related to the new input key to the on state and has been turned on before. The specific key status may be turned off. However, in this case, only when the key release event is adapted to an arbitrary key.

S5またはS6の処理の後、情報生成制御部103は、ワイヤレス受信装置2に対し送信するためのデータを生成する(S7)。これにより入力部102より受信したキーの識別結果が適切なキーコード、すなわち適切なデータフォーマットへ変換される。   After the process of S5 or S6, the information generation control unit 103 generates data to be transmitted to the wireless reception device 2 (S7). As a result, the key identification result received from the input unit 102 is converted into an appropriate key code, that is, an appropriate data format.

送信部104は、生成されたワイヤレス受信装置2に送信するためのデータをワイヤレス信号に変換し、ワイヤレス受信装置2に対して送信する(S8)。   The transmission unit 104 converts the generated data to be transmitted to the wireless reception device 2 into a wireless signal, and transmits the wireless signal to the wireless reception device 2 (S8).

データをワイヤレス受信装置2に送信した後、全てのキーに関してキーステータスの確認を行なう(S12)。このとき、オン状態のキーが存在すれば(S12でYES)、情報生成制御部103は、キーデータをワイヤレス受信装置2に対し規定された時間ごとに送信するため、規定された時間を計測するタイマを起動する(S9)。その後、制御はS3に戻る。キーステータスがオン状態のキーが存在しなければ(S12でNO)、タイマ起動は行なわれず、制御はS3へ戻る。   After the data is transmitted to the wireless receiver 2, the key status is confirmed for all keys (S12). At this time, if there is an on-state key (YES in S12), the information generation control unit 103 measures the specified time in order to transmit the key data to the wireless reception device 2 every specified time. A timer is started (S9). Thereafter, the control returns to S3. If there is no key whose key status is on (NO in S12), the timer is not started and the control returns to S3.

S3におけるキーイベント検知時に何らかのキーイベントが発生していない場合には(S3でNO)、すべてのキーに関するキーステータスの確認を行なう(S10)。すべてのキーのキーステータスがオフ状態であればすべてのキーが押されていない状態であると判断され(S10でNO)、S3のキーイベント検知へと移行する。いずれかのキーのキーステータスがオン状態であれば何らかのキーが押された状態になっているため(S10でYES)、情報生成制御部103は、タイマが規定された時間に達しているか否かを判断する(S11)。タイマが満了になっていない場合には(S11でNO)、引き続きS3にてキーイベント検知が行なわれる。   If any key event does not occur when the key event is detected in S3 (NO in S3), the key status for all keys is confirmed (S10). If the key statuses of all keys are OFF, it is determined that all keys are not pressed (NO in S10), and the process proceeds to S3 key event detection. If the key status of any key is on, any key has been pressed (YES in S10), so the information generation control unit 103 determines whether the timer has reached a specified time. Is determined (S11). If the timer has not expired (NO in S11), key event detection is continued in S3.

タイマが満了になった場合には(S11でYES)、送信データの生成が行なわれ(S7)、ワイヤレス受信装置2へと送信される(S8)。ワイヤレス受信装置2へ送信される送信データは、前回ワイヤレス受信装置2に対して送信されたデータと同一のものである。このように、ある特定のキーが押されている間には、タイマが規定された時間に達するごとに(S11でYES)、同一のデータが送信されることになる。   If the timer has expired (YES in S11), transmission data is generated (S7) and transmitted to the wireless receiver 2 (S8). The transmission data transmitted to the wireless reception device 2 is the same as the data transmitted to the wireless reception device 2 last time. As described above, while a specific key is being pressed, the same data is transmitted every time the timer reaches a specified time (YES in S11).

押しつづけられていたキーが離された場合には、そのキーの解放イベントがS3にて検知され(S3でYES)、キーステータスが確認される(S4)。そのときのキーステータスはオン状態になっているため(S4でYES)、そのキーのステータスがオン状態からオフ状態へと更新される(S5)。その後、キー解放を示すキーデータが送信データとして生成され(S7)、ワイヤレス受信装置2へ送信される(S8)。その後、キーステータスがオフであることが確認された後(S12でNO)、S3のキーイベント検出処理へと移行する。   When the key that has been pressed is released, the release event of the key is detected in S3 (YES in S3), and the key status is confirmed (S4). Since the key status at that time is in the on state (YES in S4), the status of the key is updated from the on state to the off state (S5). Thereafter, key data indicating key release is generated as transmission data (S7) and transmitted to the wireless reception device 2 (S8). Thereafter, after confirming that the key status is OFF (NO in S12), the process proceeds to the key event detection process in S3.

図4を参照して、ワイヤレス受信装置2の情報変換制御部107によるデータ受信処理について説明する。   With reference to FIG. 4, the data reception process by the information conversion control unit 107 of the wireless reception device 2 will be described.

情報変換制御部107は、初期化処理を実行する(S22)。これにより記憶部109の初期化、インターフェイス変換制御部106の初期化が実行される。それとともに、受信部108は、ワイヤレス送信装置1から送信されるワイヤレス信号を受信可能な状態になる。   The information conversion control unit 107 executes an initialization process (S22). As a result, the storage unit 109 and the interface conversion control unit 106 are initialized. At the same time, the receiving unit 108 is in a state where it can receive a wireless signal transmitted from the wireless transmission device 1.

情報変換制御部107は、データを受信したか否かを検知する(S23)。何らかのワイヤレス信号を受信した場合には(S23でYES)、受信したデータが、記憶部109に格納されている前回受信したデータと同じか否かを判断する(S24)。   The information conversion control unit 107 detects whether data has been received (S23). If any wireless signal is received (YES in S23), it is determined whether the received data is the same as the previously received data stored in the storage unit 109 (S24).

受信したデータと記憶部109に格納されているデータとが異なる場合には(S24でNO)、情報変換制御部107は、受信したデータがワイヤレス送信装置1の入力部102においてキー入力が行なわれたことを示すキーデータか、キーが離されたことを示すキーデータであるかを調べる(S25)。すなわち、キーデータよりキーコードを検出し、そのキーコードに対応するキーのキーステータスを調べる。キーステータスがオン状態の場合には、前回同じキーの入力が行なわれたことを示すデータを受信していることを示す。キーステータスがオフ状態の場合には、そのキーが押されていない状態であることを示す。   If the received data and the data stored in storage unit 109 are different (NO in S24), information conversion control unit 107 performs key input on the received data at input unit 102 of wireless transmission device 1. It is checked whether the key data indicates that the key has been released or the key data indicates that the key has been released (S25). That is, the key code is detected from the key data, and the key status of the key corresponding to the key code is checked. When the key status is on, it indicates that data indicating that the same key input has been performed last time has been received. When the key status is OFF, it indicates that the key is not pressed.

キーステータスがオフ状態の場合には、新たにキー入力が行なわれたことを示すため(S25でNO)、そのキーに対するステータスをオン状態にする(S26)。その後、受信データを記憶部109へ一時的に格納し(S27)、それをインターフェイス変換制御部106に対して出力する(S28)。受信データを受け取ったインターフェイス変換制御部106は、そのデータをアプリケーションプログラムに引き渡す。   If the key status is off, to indicate that a new key entry has been made (NO in S25), the status for that key is turned on (S26). Thereafter, the received data is temporarily stored in the storage unit 109 (S27), and is output to the interface conversion control unit 106 (S28). The interface conversion control unit 106 that has received the received data passes the data to the application program.

なお、新規キー入力が行なわれた場合においては、あるキーのステータスがすでにオン状態であったとき、情報変換制御部107はすでにオン状態であったキーのキーステータスをオフ状態にする構成になっていてもよい。ただしこの場合、キー解放を示すデータが任意の入力済みキーに対して適合される場合に限る。   When a new key is input, when the status of a certain key is already on, the information conversion control unit 107 is configured to turn off the key status of the key that is already on. It may be. However, in this case, it is limited to the case where the data indicating the key release is adapted to any input key.

インターフェイス変換制御部106にデータを出力した後、規定された時間内にワイヤレス送信装置1から同一のデータ伝送が行なわれないときには、通信路に何らかの障害が発生したものとみなすことができる。その判断を行なうため、情報変換制御部107は、規定された時間を計測するタイマを起動させる(S29)。   After the data is output to the interface conversion control unit 106, if the same data transmission is not performed from the wireless transmission device 1 within a specified time, it can be considered that some trouble has occurred in the communication path. In order to make the determination, the information conversion control unit 107 activates a timer that measures a specified time (S29).

受信部108が、前回受信され、記憶部109に格納されたデータと同一のデータを受信した場合には(S23でYES、S24でYES)、即座にS29へと移行し、規定された時間ごとにデータ出力を行なうためのタイマを再起動させる。その際、キーステータスの変更などの動作は行なわない。   When the receiving unit 108 receives the same data as the data received last time and stored in the storage unit 109 (YES in S23, YES in S24), the process immediately proceeds to S29, and every predetermined time Restart the timer for data output. At that time, the operation such as changing the key status is not performed.

受信部108がキーデータを受信していない場合には(S23でNO)、情報変換制御部107は、すべてのキーのキーステータスを確認する(S30)。全てのキーのキーステータスがオフ状態であればすべてのキーが押されていない状態であると判断し(S30でNO)、制御はS23へ戻る。   If the receiving unit 108 has not received key data (NO in S23), the information conversion control unit 107 checks the key status of all keys (S30). If the key statuses of all the keys are in the off state, it is determined that all the keys are not pressed (NO in S30), and the control returns to S23.

キーステータスがオン状態のキーが存在すれば(S30でYES)、情報変換制御部107は、規定された時間にセットされたタイマが満了したか否かを判断する(S31)。タイマが満了していない場合には(S31でNO)、S23におけるデータ受信検知処理へと移行する。   If there is a key whose key status is on (YES in S30), the information conversion control unit 107 determines whether or not the timer set at the specified time has expired (S31). If the timer has not expired (NO in S31), the process proceeds to the data reception detection process in S23.

タイマが満了した場合には(S31でYES)、情報変換制御部107は、記憶部109へ格納されたデータを消去するとともに、キー解放を示すコードをインターフェイス変換制御部106に出力する(S32)。インターフェイス変換制御部106は、キー解放を示すコードをアプリケーションプログラムに引き渡す。   If the timer has expired (YES in S31), the information conversion control unit 107 erases the data stored in the storage unit 109 and outputs a code indicating key release to the interface conversion control unit 106 (S32). . The interface conversion control unit 106 delivers a code indicating key release to the application program.

その後、情報変換制御部107は、オン状態のキーステータスをオフ状態へと変更する(S33)。情報変換制御部107は、タイマが動作中であるか否かを調べる(S34)。この時、タイマは満了しており停止しているため(S34でYES)、S23へ移行する。   Thereafter, the information conversion control unit 107 changes the key status in the on state to the off state (S33). The information conversion control unit 107 checks whether or not the timer is operating (S34). At this time, since the timer has expired and is stopped (YES in S34), the process proceeds to S23.

受信部108が、キーの解放コードを受信した場合には(S25でYES)、情報変換制御部107は、記憶部109へ格納されているデータを消去するとともに、キー解放を示すコードをインターフェイス変換制御部106に出力する(S32)。インターフェイス変換制御部106は、キー解放を示すコードをアプリケーションプログラムに引き渡す。   When the receiving unit 108 receives the key release code (YES in S25), the information conversion control unit 107 erases the data stored in the storage unit 109 and converts the code indicating the key release to interface conversion. It outputs to the control part 106 (S32). The interface conversion control unit 106 delivers a code indicating key release to the application program.

情報変換制御部107は、オン状態のキーステータスをオフ状態へと変更する(S33)。情報変換制御部107は、タイマが動作中であるか否かを判断する(S34)。この時、タイマは満了しておらず動作中であるため(S34でNO)、規定時間タイマを停止させて後(S35)、S23へ移行する。   The information conversion control unit 107 changes the key status in the on state to the off state (S33). The information conversion control unit 107 determines whether or not the timer is operating (S34). At this time, since the timer has not expired and is operating (NO in S34), the specified time timer is stopped (S35), and then the process proceeds to S23.

以上説明したように、キーが押されている間は所定の時間間隔でワイヤレス送信装置1からワイヤレス受信装置2へデータが伝送される。   As described above, data is transmitted from the wireless transmission device 1 to the wireless reception device 2 at predetermined time intervals while the key is pressed.

また、ワイヤレス受信装置2は、データを受信していない場合であってもキーステータスを確認することにより、キーのオートリピート状態を解除するための判断を独自に行なうことができる。このため、通信路が遮断等され、ワイヤレス送信装置1からワイヤレス受信装置2にキーの解放データが送信されない場合であっても、ワイヤレス受信装置2は、キーのオートリピート状態を解除することができる。   Further, the wireless reception device 2 can independently make a determination for canceling the auto-repeat state of the key by checking the key status even when data is not received. Therefore, even when the communication path is interrupted and the key release data is not transmitted from the wireless transmission device 1 to the wireless reception device 2, the wireless reception device 2 can cancel the key auto-repeat state. .

なお、ワイヤレス受信装置2のタイマにおいて計測される規定された時間を、アプリケーションプログラムが自動的にキーのオートリピート状態に入るための時間より短く設定しておけば、通信路における障害発生時に、意図しないオートリピート状態になることを回避できる。   If the specified time measured by the timer of the wireless receiver 2 is set to be shorter than the time for the application program to automatically enter the key auto-repeat state, the intention is It is possible to avoid the auto-repeat state that does not occur.

また、ワイヤレス送信装置1はキーが押されている間の限られた期間のみデータ伝送を行えばよい。このため、ワイヤレス送信装置1の消費電力を低減させることができる。特に、バッテリで駆動するキーボードなどのワイヤレス周辺機器では、消費電力が低減することにより長時間の使用が可能となる。   The wireless transmission device 1 may perform data transmission only for a limited period while the key is pressed. For this reason, the power consumption of the wireless transmission device 1 can be reduced. In particular, a wireless peripheral device such as a keyboard driven by a battery can be used for a long time by reducing power consumption.

(実施の形態2)
本発明の実施の形態2に係るワイヤレス情報伝送システムは、図2を参照して説明した実施の形態1に係るワイヤレス情報伝送システムと同様のハードウェア構成をとる。このため、その詳細な説明はここでは繰返さない。
(Embodiment 2)
The wireless information transmission system according to Embodiment 2 of the present invention has the same hardware configuration as that of the wireless information transmission system according to Embodiment 1 described with reference to FIG. Therefore, detailed description thereof will not be repeated here.

実施の形態2のワイヤレス情報伝送システムでは、ワイヤレス送信装置1の情報生成制御部103によるデータ送信処理およびワイヤレス受信装置2の情報変換制御部107によるデータ受信処理が実施の形態1とは一部異なる。以下、相違点を中心に各処理について説明する。   In the wireless information transmission system of the second embodiment, the data transmission processing by the information generation control unit 103 of the wireless transmission device 1 and the data reception processing by the information conversion control unit 107 of the wireless reception device 2 are partially different from those of the first embodiment. . Hereinafter, each process will be described focusing on the differences.

図5を参照して、ワイヤレス送信装置1の情報生成制御部103によるデータ送信処理について説明する。図3に示した実施の形態1に係るデータ送信処理では、キーが押されている間は、規定された時間ごとに同一のデータを送信するのに対し、実施の形態2に係るデータ送信処理では、キーが押されている間、規定された時間ごとにデータを送信する点は共通するが、後述するステータス通知データを送信する点が相違する。   With reference to FIG. 5, the data transmission processing by the information generation control unit 103 of the wireless transmission device 1 will be described. In the data transmission process according to the first embodiment shown in FIG. 3, while the key is pressed, the same data is transmitted every specified time, whereas the data transmission process according to the second embodiment is performed. Then, while the key is pressed, data is transmitted every specified time in common, but the difference is that status notification data described later is transmitted.

図3と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   The same processes as those in FIG. 3 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

キーを解放するイベントが発生した場合には、該当するキーのキーステータスはオン状態になっているはずなので(S3でYES、S4でYES)、情報生成制御部103は、そのキーに関するキーステータスをオン状態からオフ状態に変更する(S5)。その後、情報生成制御部103は、キーが解放された状態を示すステータス通知データを生成する(S13)。ステータス通知データとは、キーデータそのものとの差異が明らかに判別可能な識別子が付けられたデータであり、キープレスまたはキー解放のどちらかの状態を示すデータである。すなわち、ステータス通知データにはキーコードに関する情報が付されていない。キー解放を示すステータス通知データがワイヤレス受信装置2に対して送信される(S8)。   When an event for releasing a key occurs, the key status of the corresponding key should be in the on state (YES in S3, YES in S4), and the information generation control unit 103 displays the key status regarding the key. The on state is changed to the off state (S5). Thereafter, the information generation control unit 103 generates status notification data indicating a state in which the key is released (S13). The status notification data is data to which an identifier that can clearly discriminate the difference from the key data itself is attached, and is data indicating a state of either key press or key release. In other words, information regarding the key code is not attached to the status notification data. Status notification data indicating key release is transmitted to the wireless receiver 2 (S8).

キーが押された状態でかつ規定された時間にセットされたタイマが満了になった場合には(S10でYES、S11でYES)、情報生成制御部103は、キープレス状態であることを示すステータス通知データを生成し(S13)、ワイヤレス受信装置2に送信する(S8)。   When the timer set at a specified time expires in a state where the key is pressed (YES in S10, YES in S11), the information generation control unit 103 indicates that the key is pressed. Status notification data is generated (S13) and transmitted to the wireless receiver 2 (S8).

図6を参照して、ワイヤレス受信装置2の情報変換制御部107によるデータ受信処理について説明する。図4に示したデータ受信処理では、同一のデータを受信したか否かの判断と、キー解放データを受信したか否かの判断を、キーデータの参照により行なうのに対し、図6のデータ受信処理では、この判断をステータス通知データの参照により行なう。   With reference to FIG. 6, the data reception process by the information conversion control unit 107 of the wireless reception device 2 will be described. In the data reception process shown in FIG. 4, the determination as to whether the same data has been received and the determination as to whether the key release data has been received are made by referring to the key data, whereas the data in FIG. In the reception process, this determination is made by referring to the status notification data.

図4と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   Processes similar to those in FIG. 4 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

何らかのワイヤレスデータを受信すると(S23でYES)、情報変換制御部107は、受信したデータがステータス通知データであるか否かを判断する(S40)。受信したデータがステータス通知データである場合には(S40でYES)、ステータス通知データの内容が調べられる(S42)。ステータス通知データがキー解放を示す場合には(S41でYES)、S32以降の処理が行なわれ、インターフェイス変換制御部106に対してキー解放データを出力する処理が行なわれる。   When any wireless data is received (YES in S23), the information conversion control unit 107 determines whether the received data is status notification data (S40). If the received data is status notification data (YES in S40), the contents of the status notification data are examined (S42). If the status notification data indicates key release (YES in S41), the processing after S32 is performed, and the processing for outputting the key release data to the interface conversion control unit 106 is performed.

ステータス通知データがキープレスを示す場合には(S41でNO)、S29以降の処理が行なわれる。すなわち、情報変換制御部107は、通信路に何らかの障害が発生したか否かを判断するため、規定された時間を測定するタイマを起動させる。   If the status notification data indicates a key press (NO in S41), the processing from S29 is performed. That is, the information conversion control unit 107 activates a timer that measures a specified time in order to determine whether or not any failure has occurred in the communication path.

受信したデータがステータス通知データではない場合には(S40でNO)、通常のキーデータが受信されたので、S26以降にてデータの出力処理が行なわれる。   If the received data is not status notification data (NO in S40), normal key data has been received, and data output processing is performed after S26.

実施の形態2では、キーデータの代わりに適宜ステータス通知データが送信される。ステータス通知データには、キーコードが含まれていないため、キーデータに比べ情報量が小さい。このため、通信路上を流れるデータ量を必要最小限にとどめることができ、その結果として消費電力を低減することができる。   In the second embodiment, status notification data is appropriately transmitted instead of key data. Since the status notification data does not include a key code, the amount of information is smaller than that of the key data. For this reason, the amount of data flowing on the communication path can be kept to the minimum necessary, and as a result, power consumption can be reduced.

(実施の形態3)
図7を参照して、本発明の実施の形態3に係るワイヤレス情報伝送システムは、情報を無線により送信および受信するワイヤレス送信装置3と、ワイヤレス送信装置3より送信された情報を受信するとともに、ワイヤレス送信装置3に対して情報を送信するワイヤレス受信装置4とを含む。
(Embodiment 3)
Referring to FIG. 7, the wireless information transmission system according to Embodiment 3 of the present invention receives a wireless transmission device 3 that transmits and receives information by radio, information transmitted from wireless transmission device 3, and And a wireless receiver 4 that transmits information to the wireless transmitter 3.

ワイヤレス送信装置3は、指示を入力するためにユーザが使用する入力部102と、入力部102に接続され、入力部102から出力される信号に基づき所定のフォーマットに従ったデータを生成する情報生成制御部203とを含む。   The wireless transmission device 3 includes an input unit 102 used by a user to input an instruction, and information generation that is connected to the input unit 102 and generates data according to a predetermined format based on a signal output from the input unit 102 And a control unit 203.

ワイヤレス送信装置3は、さらに、情報生成制御部203に接続され、情報生成制御部203で生成されたデータを一時的に格納する記憶部204と、情報生成制御部203に接続され、情報生成制御部203より出力されるデータをワイヤレス信号110に変換し、外部に伝送する送信部104と、情報生成制御部203に接続され、外部より受信したデータを情報生成制御部203に出力する受信部205とを含む。   The wireless transmission device 3 is further connected to the information generation control unit 203, and is connected to the storage unit 204 that temporarily stores the data generated by the information generation control unit 203 and the information generation control unit 203. The data output from the unit 203 is converted into a wireless signal 110 and transmitted to the outside. The receiving unit 205 is connected to the information generation control unit 203 and outputs data received from the outside to the information generation control unit 203. Including.

ワイヤレス受信装置4は、ワイヤレス送信装置1より送信されたワイヤレス信号110を受信する受信部108と、受信部108に接続され、受信部108より受信したデータを所定のフォーマットに従い変換する情報変換制御部209とを含む。   The wireless reception device 4 receives a wireless signal 110 transmitted from the wireless transmission device 1, and an information conversion control unit that is connected to the reception unit 108 and converts data received from the reception unit 108 according to a predetermined format. 209.

ワイヤレス受信装置4は、さらに、情報変換制御部209に接続され、データを一時的に記憶するための記憶部109と、情報変換制御部209に接続され、情報変換制御部209より与えられるデータを適切な手順にワイヤレス受信装置4上で動作するアプリケーションプログラム(図示せず)に受け渡すインターフェイス変換制御部106と、情報変換制御部209に接続され、情報変換制御部209より出力されるデータをワイヤレス送信可能なデータに変換し、ワイヤレス送信装置3に対して送信する送信部210とを含む。   The wireless reception device 4 is further connected to the information conversion control unit 209, and is connected to the storage unit 109 for temporarily storing data and the information conversion control unit 209, and receives the data given from the information conversion control unit 209. An interface conversion control unit 106 that passes to an application program (not shown) operating on the wireless reception device 4 in an appropriate procedure, and the information conversion control unit 209 are connected to the data conversion control unit 209 and the data output from the information conversion control unit 209 is wireless A transmission unit 210 that converts the data into transmittable data and transmits the data to the wireless transmission device 3.

ワイヤレス送信装置3の情報生成制御部203についてさらに詳細に説明する。情報生成制御部203は、単数または複数個のICなどのコントローラからなる。情報生成制御部203は、上述のように入力部102から出力される信号を送信部104を用いてワイヤレス伝送するための制御を行なう。それとともに、受信部205で受信され、変換された制御データを解釈し、制御データに基づいた処理を実行する。   The information generation control unit 203 of the wireless transmission device 3 will be described in further detail. The information generation control unit 203 includes a controller such as one or a plurality of ICs. The information generation control unit 203 performs control for wirelessly transmitting the signal output from the input unit 102 using the transmission unit 104 as described above. At the same time, the control data received and converted by the receiving unit 205 is interpreted, and processing based on the control data is executed.

情報生成制御部203は、記憶部204を用いて通信データの一時的格納およびそのデータの参照を行なう。   The information generation control unit 203 uses the storage unit 204 to temporarily store communication data and refer to the data.

ワイヤレス受信装置4の情報変換制御部209についてさらに詳細に説明する。情報変換制御部209は、単数または複数個のICなどのコントローラからなる。情報変換制御部209は、上述の機能に加えて、タイマ機能を持ち、ある規定された時間ごとに必要な処理を実行することができる。それとともに、情報変換制御部209は、受信部108より受信したデータとタイマ機能を用いた処理の結果とから制御データを作成し、送信部210を介してワイヤレス送信装置3に送信する。   The information conversion control unit 209 of the wireless reception device 4 will be described in further detail. The information conversion control unit 209 includes a controller such as one or a plurality of ICs. The information conversion control unit 209 has a timer function in addition to the above-described functions, and can execute a necessary process at every specified time. At the same time, the information conversion control unit 209 creates control data from the data received from the reception unit 108 and the result of processing using the timer function, and transmits the control data to the wireless transmission device 3 via the transmission unit 210.

図8を参照して、ワイヤレス送信装置3の情報生成制御部203によるデータ送信処理について説明する。なお、以下の説明では、図3と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   With reference to FIG. 8, the data transmission processing by the information generation control unit 203 of the wireless transmission device 3 will be described. In the following description, the same processes as those in FIG. 3 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

情報生成制御部203は、初期化処理を実行する(S50)。初期化処理とは、情報生成制御部203をキー入力イベントおよびキー解放イベントを検知可能な状態にし、かつ送信部104をワイヤレス信号110を送信可能な状態にするとともに、受信部205をワイヤレス受信装置4から送信される制御データを含むワイヤレス信号212を受信可能な状態にする処理である。   The information generation control unit 203 executes an initialization process (S50). In the initialization process, the information generation control unit 203 is set in a state in which a key input event and a key release event can be detected, the transmission unit 104 is set in a state in which the wireless signal 110 can be transmitted, and the reception unit 205 is set in a wireless reception device. 4 is a process of making the wireless signal 212 including the control data transmitted from 4 ready to be received.

初期化処理(S50)が行なわれた後、情報生成制御部203は、受信部205がワイヤレス受信装置4から制御データを受信されたか否かを判断する(S51)。   After the initialization process (S50) is performed, the information generation control unit 203 determines whether the reception unit 205 has received control data from the wireless reception device 4 (S51).

制御データが受信された場合には(S51でYES)、情報生成制御部203は、記憶部204に格納してある送信済のデータを参照し、ワイヤレス受信装置4に対し同一のデータを再送するため、再送データを作成する(S52)。その後、送信部104からワイヤレス受信装置4に対して再送データが送信される。それとともに、情報生成制御部203は、送信したデータを記憶部204へ格納する(S53)。その後、S12以降の処理が行なわれる。   When the control data is received (YES in S51), the information generation control unit 203 refers to the transmitted data stored in the storage unit 204 and retransmits the same data to the wireless reception device 4. Therefore, retransmission data is created (S52). Thereafter, retransmission data is transmitted from the transmission unit 104 to the wireless reception device 4. At the same time, the information generation control unit 203 stores the transmitted data in the storage unit 204 (S53). Thereafter, the processing after S12 is performed.

図9を参照して、ワイヤレス受信装置4の情報変換制御部209によるデータ受信処理について説明する。なお、以下の説明では、図4と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   With reference to FIG. 9, the data reception process by the information conversion control unit 209 of the wireless reception device 4 will be described. In the following description, processes similar to those in FIG. 4 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

情報変換制御部209は、初期化処理を実行する(S61)。初期化処理には、記憶部109の初期化処理およびインターフェイス変換制御部106の初期化処理に加えて、ワイヤレス送信装置3に対し、ワイヤレス信号212からなる制御データを送信可能な状態にするための送信部210の初期化処理が含まれる。   The information conversion control unit 209 executes an initialization process (S61). In the initialization process, in addition to the initialization process of the storage unit 109 and the initialization process of the interface conversion control unit 106, the wireless transmission device 3 is made ready to transmit control data including the wireless signal 212. An initialization process of the transmission unit 210 is included.

初期化処理の後、情報変換制御部107は、データを受信したか否かを検知する(S23)。何らかのワイヤレス信号を受信した場合には(S23でYES)、受信したデータが、記憶部109に格納されている前回受信したデータと等しいか判断する(S24)。   After the initialization process, the information conversion control unit 107 detects whether data is received (S23). If any wireless signal is received (YES in S23), it is determined whether the received data is equal to the previously received data stored in the storage unit 109 (S24).

受信したデータと記憶部109に格納されているデータとが異なる場合には(S24でNO)、情報生成制御部203は、受信したデータが解放データか否かを判断する(S25)。受信したデータがキー入力データである場合には(S25でNO)、そのキーに対するステータスがオン状態にされ(S26)、受信したデータが記憶部109へ格納される(S27)。情報変換制御部209は、同じデータをインターフェイス変換制御部106に対して出力する(S28)。受信データを受け取ったインターフェイス変換制御部106は、そのデータをアプリケーションプログラムに引き渡す。その後、情報変換制御部209は、通信障害を検出するために用いられ、規定された時間を計測するタイマを起動させる(S29)。   If the received data is different from the data stored in the storage unit 109 (NO in S24), the information generation control unit 203 determines whether the received data is release data (S25). If the received data is key input data (NO in S25), the status for the key is turned on (S26), and the received data is stored in the storage unit 109 (S27). The information conversion control unit 209 outputs the same data to the interface conversion control unit 106 (S28). The interface conversion control unit 106 that has received the received data passes the data to the application program. Thereafter, the information conversion control unit 209 activates a timer that is used to detect a communication failure and measures a specified time (S29).

それに引き続き、情報変換制御部209は、制御タイマが起動中か否かを判断する(S66)。制御タイマは、規定時間タイマとは異なる種別のタイマである。制御タイマは、データの再送要求に対するワイヤレス送信装置3の応答の有無を判断するために用いられるタイマである。なお、データの再送要求は、後述するように、規定時間タイマが満了した後、送信部210からワイヤレス受信装置に対して送信される。   Subsequently, the information conversion control unit 209 determines whether or not the control timer is running (S66). The control timer is a different type of timer from the specified time timer. The control timer is a timer used to determine whether or not the wireless transmission device 3 responds to a data retransmission request. The data retransmission request is transmitted from the transmission unit 210 to the wireless reception device after a specified time timer expires, as will be described later.

通常、制御タイマが満了するまでの時間は、S29で起動される規定時間タイマが満了するまでの時間よりも短いかまたは同等に設定される。   Usually, the time until the control timer expires is set to be shorter or equivalent to the time until the specified time timer activated in S29 expires.

S66への移行タイミングにおいて、ワイヤレス送信装置3からワイヤレスデータを受信したかまたはキー解放データが出力されていた場合には、データの再送を確認するための制御タイマを起動させておく必要はない。このため、情報変換制御部209は、制御タイマが起動中か否かを確認し(S66)、制御タイマが起動中であれば(S66でYES)、制御タイマを停止させ(S67)、S23へ移行する。制御タイマが停止していれば(S66でNO)、情報変換制御部209は、何も処理をせず、S23へ移行する。   If wireless data has been received from the wireless transmission device 3 or key release data has been output at the transition timing to S66, there is no need to activate a control timer for confirming data retransmission. Therefore, the information conversion control unit 209 confirms whether or not the control timer is activated (S66). If the control timer is activated (YES in S66), the information conversion control unit 209 stops the control timer (S67), and proceeds to S23. Transition. If the control timer is stopped (NO in S66), the information conversion control unit 209 performs no processing and proceeds to S23.

S31の処理で、規定時間タイマが満了になったと判断され、規定された時間の間に期待されていたはずのワイヤレス送信装置3からのデータ受信が認められなかった場合には(S31でYES)、情報変換制御部209は、制御タイマが起動中か否かを判断する(S62)。   In the process of S31, when it is determined that the specified time timer has expired and data reception from the wireless transmission device 3 that should have been expected during the specified time is not permitted (YES in S31). The information conversion control unit 209 determines whether or not the control timer is running (S62).

制御タイマが起動していなければ(S62でNO)、情報変換制御部209は、再送要求を示す制御データを送信部210を介してワイヤレス送信装置3へ送信する(S64)。それと同時に、情報変換制御部209は制御タイマを起動させる(S65)。制御タイマは上述したように、ワイヤレス受信装置4からの再送要求を示す制御データに対する、ワイヤレス送信装置3の応答の有無を判断するために用いられるタイマである。S65にて制御タイマを起動させた後は、制御はS23へ移行する。   If the control timer is not activated (NO in S62), the information conversion control unit 209 transmits control data indicating a retransmission request to the wireless transmission device 3 via the transmission unit 210 (S64). At the same time, the information conversion control unit 209 starts a control timer (S65). As described above, the control timer is a timer used to determine whether or not the wireless transmission device 3 has responded to control data indicating a retransmission request from the wireless reception device 4. After starting the control timer in S65, the control proceeds to S23.

S64の処理において送信される制御データは、一時的に通信路が遮断されたなどの状態に陥ったときに回復を図るためのデータの再送要求である。S65で起動される制御タイマが満了するまでの間にデータを受信しなければ、通信路が回復不可能な状態にあると判断される。   The control data transmitted in the process of S64 is a data retransmission request for recovery when the communication path is temporarily interrupted. If no data is received before the control timer activated in S65 expires, it is determined that the communication path is in an unrecoverable state.

S62において制御タイマが起動されていると判断された場合には(S62でYES)、制御タイマが満了したか否かが調べられる(S63)。制御タイマが満了していなければ(S63でNO)、S23に移行する。   If it is determined in S62 that the control timer is activated (YES in S62), it is checked whether or not the control timer has expired (S63). If the control timer has not expired (NO in S63), the process proceeds to S23.

制御タイマが満了した場合には(S63でYES)、通信路が障害により遮断され、回復不可能な状態にあると判断できる。このため、情報変換制御部209は記憶部109に格納されているデータを消去するとともに、インターフェイス変換制御部106にキー解放を示すコードを出力する(S32)。インターフェイス変換制御部106は、キー解放を示すコードをアプリケーションプログラムに引き渡す。   If the control timer has expired (YES in S63), it can be determined that the communication path is blocked due to a failure and is in an unrecoverable state. For this reason, the information conversion control unit 209 erases the data stored in the storage unit 109 and outputs a code indicating key release to the interface conversion control unit 106 (S32). The interface conversion control unit 106 delivers a code indicating key release to the application program.

情報変換制御部209は、オン状態のキーステータスをオフ状態へと変更し(S33)、規定時間タイマが起動中か否かを判断する(S34)。   The information conversion control unit 209 changes the key status in the on state to the off state (S33), and determines whether or not the specified time timer is activated (S34).

規定時間タイマが起動していなければ(S34でNO)、S66へ移行し、規定時間タイマが起動していれば(S34でYES)、情報変換制御部209は、規定時間タイマを停止させた後(S35)、S66へ移行する。   If the specified time timer has not been started (NO in S34), the process proceeds to S66, and if the specified time timer has been started (YES in S34), the information conversion control unit 209 stops the specified time timer. (S35), the process proceeds to S66.

以上説明したように、ワイヤレス受信装置4は、規定された時間の間にデータを受信しなければ、データの再送要求をワイヤレス送信装置3に対して送信する。データの再送要求を送信してから、さらに所定の時間待ってもデータを受信することができなければ通信路に障害が発生したと判断され、キーの解放データがインターフェイス変換制御部106に出力される。このため、通信路が遮断等され、ワイヤレス送信装置3からワイヤレス受信装置4にキーの解放データが送信されない場合であっても、ワイヤレス受信装置4は、キーのオートリピート状態を解除することができる。   As described above, the wireless reception device 4 transmits a data retransmission request to the wireless transmission device 3 if the wireless reception device 4 does not receive data during the specified time. If data cannot be received even after waiting for a predetermined time after transmitting the data retransmission request, it is determined that a failure has occurred in the communication path, and the key release data is output to the interface conversion control unit 106. The For this reason, even when the communication path is interrupted and the key release data is not transmitted from the wireless transmission device 3 to the wireless reception device 4, the wireless reception device 4 can cancel the auto-repeat state of the key. .

(実施の形態4)
本発明の実施の形態3に係るワイヤレス情報伝送システムは、図7を参照して説明した実施の形態3に係るワイヤレス情報伝送システムと同様のハードウェア構成をとる。このため、その詳細な説明はここでは繰返さない。
(Embodiment 4)
The wireless information transmission system according to Embodiment 3 of the present invention has the same hardware configuration as the wireless information transmission system according to Embodiment 3 described with reference to FIG. Therefore, detailed description thereof will not be repeated here.

実施の形態4に係るワイヤレス情報伝送システムでは、ワイヤレス送信装置3の情報生成制御部203によるデータ送信処理およびワイヤレス受信装置4の情報変換制御部209によるデータ受信処理がワイヤレス送信装置3とは一部異なる。以下、相違点を中心に各処理について説明する。   In the wireless information transmission system according to the fourth embodiment, the data transmission processing by the information generation control unit 203 of the wireless transmission device 3 and the data reception processing by the information conversion control unit 209 of the wireless reception device 4 are partially different from the wireless transmission device 3. Different. Hereinafter, each process will be described focusing on the differences.

図10を参照して、ワイヤレス送信装置3の情報生成制御部203によるデータ送信処理について説明する。図8に示すデータ送信処理では、キーが押されている間は、同一のデータを送信する。これに対し、図10のデータ送信処理では、規定された時間ごとにデータを送信する点は共通するが、実施の形態2で説明したステータス通知データを送信する点が異なる。   With reference to FIG. 10, the data transmission processing by the information generation control unit 203 of the wireless transmission device 3 will be described. In the data transmission process shown in FIG. 8, the same data is transmitted while the key is pressed. On the other hand, the data transmission process of FIG. 10 is common in that data is transmitted every specified time, but differs in that the status notification data described in the second embodiment is transmitted.

図5または図8と同様の処理については同一の参照符号を付し、その詳細な説明はここでは繰返さない。   The same processes as those in FIG. 5 or FIG. 8 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

初期化処理(S50)の後、情報生成制御部203は、受信部205がワイヤレス受信装置4から制御データを受信したか否かを判断する(S51)。   After the initialization process (S50), the information generation control unit 203 determines whether the reception unit 205 has received control data from the wireless reception device 4 (S51).

制御データが受信された場合には(S51でYES)、情報生成制御部203は、すべてのキーに関するキーステータスの確認を行い、確認の結果に見合ったステータス通知データを作成する(S57)。すなわち、すべてのキーが押されていない状態であれば、情報生成制御部203はキー解除状態を示すステータス通知データを作成する。それ以外の場合には、キープレス状態であることを示すステータス通知データを生成する。   When the control data is received (YES in S51), the information generation control unit 203 confirms the key status for all the keys, and creates status notification data corresponding to the confirmation result (S57). That is, if all the keys are not pressed, the information generation control unit 203 creates status notification data indicating the key release state. In other cases, status notification data indicating a key press state is generated.

作成されたデータはワイヤレス受信装置4へ送信される(S8)。その後、S8以降の処理が行なわれる。その他の処理に関しては、図5のデータ送信処理と同様であるため、その詳細な説明はここでは繰返さない。   The created data is transmitted to the wireless reception device 4 (S8). Thereafter, the processing after S8 is performed. Since other processes are the same as the data transmission process of FIG. 5, detailed description thereof will not be repeated here.

図11を参照して、ワイヤレス受信装置4の情報変換制御部209によるデータ受信処理について説明する。図9に示したデータ受信処理では、同一のデータを受信したか否かの判断と、キー解放データを受信したか否かの判断を、キーデータの参照により行なうのに対し、図11のデータ受信処理では、この判断をステータス通知データの参照により行なう。   With reference to FIG. 11, the data reception process by the information conversion control unit 209 of the wireless reception device 4 will be described. In the data reception process shown in FIG. 9, the determination of whether or not the same data has been received and the determination of whether or not the key release data has been received are made by referring to the key data, whereas the data of FIG. In the reception process, this determination is made by referring to the status notification data.

図9と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   The same processes as those in FIG. 9 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

S23において何らかのワイヤレスデータ受信を検知した後(S23でYES)、情報変換制御部209は、受信したデータがステータス通知データであるか否かを判断する(S40)。   After detecting any wireless data reception in S23 (YES in S23), the information conversion control unit 209 determines whether or not the received data is status notification data (S40).

受信したデータがステータス通知データではない場合には(S40でNO)、新たにキー入力が行なわれたことを示すため、S26以降の処理が実行される。   If the received data is not status notification data (NO in S40), the processing from S26 onward is executed to indicate that a new key input has been performed.

受信データがステータス通知データである場合には(S40でYES)、ステータス通知データの内容が判断される(S41)。ステータス通知データがキー解放を示すデータの場合には(S41でYES)、S32以降の処理が行なわれ、キー解放データをインターフェイス変換制御部106に対して出力する処理が実行される(S32)。   If the received data is status notification data (YES in S40), the contents of the status notification data are determined (S41). If the status notification data is data indicating key release (YES in S41), the processing after S32 is performed, and processing for outputting the key release data to the interface conversion control unit 106 is executed (S32).

受信したステータス通知データがキープレスを示すデータであるときには、通信障害を検出するために用いられ、情報変換制御部209は、規定された時間を計測するタイマを起動させる(S29)。   When the received status notification data is data indicating a key press, it is used to detect a communication failure, and the information conversion control unit 209 starts a timer for measuring a specified time (S29).

S29における規定時間タイマ起動後、情報変換制御部209は、制御タイマが起動中か否かを判断する(S66)。制御タイマは、実施の形態3で説明したように規定時間タイマとは異なる種別のタイマである。制御タイマは、データの再送要求に対するワイヤレス送信装置3の応答の有無を判断するために用いられる。なお、データの再送要求は、規定時間タイマが満了した後、送信部210からワイヤレス受信装置に対して送信される。   After starting the specified time timer in S29, the information conversion control unit 209 determines whether or not the control timer is being started (S66). As described in the third embodiment, the control timer is a different type of timer from the specified time timer. The control timer is used to determine whether or not the wireless transmission device 3 has responded to the data retransmission request. The data retransmission request is transmitted from the transmission unit 210 to the wireless reception device after the specified time timer expires.

S66への移行タイミングにおいて、ワイヤレス送信装置3からワイヤレスデータを受信したかまたはキー解放データが出力されていた場合には、データの再送を確認するための制御タイマを起動させておく必要はない。このため、情報変換制御部209は、制御タイマが起動中か否かを調べ(S66)、制御タイマが起動中であれば(S66でYES)、制御タイマを停止させ(S67)、S23へ移行する。制御タイマが停止していれば(S66でNO)、情報変換制御部209は、何も処理をせず、S23へ移行する。   If wireless data has been received from the wireless transmission device 3 or key release data has been output at the transition timing to S66, there is no need to activate a control timer for confirming data retransmission. Therefore, the information conversion control unit 209 checks whether or not the control timer is activated (S66). If the control timer is activated (YES in S66), the information conversion control unit 209 stops the control timer (S67) and proceeds to S23. To do. If the control timer is stopped (NO in S66), the information conversion control unit 209 performs no processing and proceeds to S23.

S31の処理で、規定時間タイマが満了になったと判断され、規定された時間の間に期待されていたはずのワイヤレス送信装置3からのデータ受信が認められなかった場合には(S31でYES)、情報変換制御部209は、制御タイマが起動中か否かを調べる(S62)。   In the process of S31, when it is determined that the specified time timer has expired and data reception from the wireless transmission device 3 that should have been expected during the specified time is not permitted (YES in S31). The information conversion control unit 209 checks whether the control timer is running (S62).

制御タイマが起動していなければ(S62でNO)、情報変換制御部209は、再送要求を示す制御データを送信部210を介してワイヤレス送信装置3へ送信する(S64)。それと同時に、情報変換制御部209は制御タイマを起動させる(S65)。制御タイマは上述したように、ワイヤレス受信装置4からの再送要求を示す制御データに対するワイヤレス送信装置3の応答の有無を判断するために用いられるタイマである。S65にて制御タイマを起動させた後は、制御はS23へ移行する。   If the control timer is not activated (NO in S62), the information conversion control unit 209 transmits control data indicating a retransmission request to the wireless transmission device 3 via the transmission unit 210 (S64). At the same time, the information conversion control unit 209 starts a control timer (S65). As described above, the control timer is a timer used to determine whether or not the wireless transmission device 3 has responded to control data indicating a retransmission request from the wireless reception device 4. After starting the control timer in S65, the control proceeds to S23.

S64の処理において送信される制御データは、一時的に通信路が遮断されたなどの状態に陥ったときに回復を図るためのデータ再送要求である。S65で起動される制御タイマが満了するまでの間にデータを受信しなければ、通信路が回復不可能な状態にあると判断される。通常、制御タイマが満了するまでの時間は、S29にて起動される規定時間タイマよりも短いか同等に設定される。   The control data transmitted in the process of S64 is a data retransmission request for recovery when the communication path is temporarily interrupted. If no data is received before the control timer activated in S65 expires, it is determined that the communication path is in an unrecoverable state. Usually, the time until the control timer expires is set to be shorter or equivalent to the specified time timer activated in S29.

S62において制御タイマが起動されていると判断された場合には(S62でYES)、制御タイマが満了したか否かが調べられる(S63)。制御タイマが満了していなければ(S63でNO)、S23に移行する。   If it is determined in S62 that the control timer is activated (YES in S62), it is checked whether or not the control timer has expired (S63). If the control timer has not expired (NO in S63), the process proceeds to S23.

制御タイマが満了した場合には(S63でYES)、通信路が障害により遮断され、回復不可能な状態にあると判断できる。このため、情報変換制御部209は記憶部109に格納されているデータを消去するとともに、インターフェイス変換制御部106にキー解放を示すコードを出力する(S32)。インターフェイス変換制御部106は、キー解放を示すコードをアプリケーションプログラムに引き渡す。   If the control timer has expired (YES in S63), it can be determined that the communication path is blocked due to a failure and is in an unrecoverable state. For this reason, the information conversion control unit 209 erases the data stored in the storage unit 109 and outputs a code indicating key release to the interface conversion control unit 106 (S32). The interface conversion control unit 106 delivers a code indicating key release to the application program.

その他の処理は、図9を参照して説明したデータ受信処理と同様である。このため、その詳細な説明はここでは繰返さない。   Other processes are the same as the data reception process described with reference to FIG. Therefore, detailed description thereof will not be repeated here.

以上説明したように、ワイヤレス受信装置4は、規定された時間の間データを受信しなければ、データの再送要求をワイヤレス送信装置3に対して送信する。データの再送要求を送信してから、さらに所定の時間待ってもデータを受信することができなければ通信路に障害が発生したと判断され、キーの解放データがインターフェイス変換制御部106に出力される。このため、通信路が遮断等され、ワイヤレス送信装置3からワイヤレス受信装置4にキーの解放データが送信されない場合であっても、ワイヤレス受信装置4は、キーのオートリピート状態を解除することができる。   As described above, the wireless reception device 4 transmits a data retransmission request to the wireless transmission device 3 if it does not receive data for a specified time. If data cannot be received even after waiting for a predetermined time after transmitting the data retransmission request, it is determined that a failure has occurred in the communication path, and the key release data is output to the interface conversion control unit 106. The For this reason, even when the communication path is interrupted and the key release data is not transmitted from the wireless transmission device 3 to the wireless reception device 4, the wireless reception device 4 can cancel the auto-repeat state of the key. .

また、キーデータの代わりに適宜ステータス通知データが送信される。ステータス通知データには、キーコードが含まれていないため、キーデータに比べ情報量が小さい。このため、通信路上を流れるデータ量を必要最小限にとどめることができ、その結果として消費電力を低減することができる。   In addition, status notification data is appropriately transmitted instead of key data. Since the status notification data does not include a key code, the amount of information is smaller than that of the key data. For this reason, the amount of data flowing on the communication path can be kept to the minimum necessary, and as a result, power consumption can be reduced.

(実施の形態5)
本発明の実施の形態5に係るワイヤレス情報伝送システムは、図7を参照して説明した実施の形態3に係るワイヤレス情報伝送システムと同様のハードウェア構成をとる。このため、その詳細な説明はここでは繰返さない。
(Embodiment 5)
The wireless information transmission system according to Embodiment 5 of the present invention has the same hardware configuration as the wireless information transmission system according to Embodiment 3 described with reference to FIG. Therefore, detailed description thereof will not be repeated here.

実施の形態5に係るワイヤレス情報伝送システムは、ワイヤレス受信装置4より送信される情報伝送許可に応答してワイヤレス送信装置3がキーデータを送信する。   In the wireless information transmission system according to the fifth embodiment, the wireless transmission device 3 transmits key data in response to the information transmission permission transmitted from the wireless reception device 4.

ワイヤレス送信装置3の情報生成制御部203は、ワイヤレス受信装置4からワイヤレス信号212により情報伝送許可が与えられるのを待つ。情報生成制御部203は、情報伝送許可を受信した後、ワイヤレス受信装置4に対して伝送すべきデータを保持している場合にはそのデータを伝送する。また、情報生成制御部203は情報伝送許可の受信回数をカウントする機能を持ち、それが一定数になったとき予め定められた処理を実行することができるものとする。   The information generation control unit 203 of the wireless transmission device 3 waits for an information transmission permission from the wireless reception device 4 by the wireless signal 212. After receiving the information transmission permission, the information generation control unit 203 transmits the data to be transmitted to the wireless reception device 4 when it is held. The information generation control unit 203 has a function of counting the number of times information transmission permission is received, and can execute a predetermined process when the information generation control unit 203 reaches a certain number.

ワイヤレス受信装置4の情報変換制御部209は、受信部108で受信された信号を検知し、その信号を特定のフォーマットデータに変換した後にインターフェイス変換制御部106へ受け渡す。また、情報変換制御部209は、送信部210を介して情報伝送許可をワイヤレス送信装置3に送信するための機能を有する。さらに、情報変換制御部209は、情報伝送許可を与えるごとにその回数をカウントする機能を持ち、カウント値が規定回数を超えた場合に予め指定された処理を実行することができるものとする。   The information conversion control unit 209 of the wireless reception device 4 detects the signal received by the reception unit 108, converts the signal into specific format data, and then passes the signal to the interface conversion control unit 106. The information conversion control unit 209 has a function for transmitting information transmission permission to the wireless transmission device 3 via the transmission unit 210. Further, the information conversion control unit 209 has a function of counting the number of times each time an information transmission permission is given, and can execute a process designated in advance when the count value exceeds a specified number.

図12を参照して、ワイヤレス送信装置3の情報生成制御部203によるデータ送信処理について説明する。情報生成制御部203は、ワイヤレス受信装置4からの情報伝送許可を待ち、そのイベントが発生するタイミングに応答してデータを伝送する。   With reference to FIG. 12, the data transmission processing by the information generation control unit 203 of the wireless transmission device 3 will be described. The information generation control unit 203 waits for information transmission permission from the wireless reception device 4 and transmits data in response to the timing at which the event occurs.

図3と同様の処理については同一の参照符号を付し、その詳細な説明はここでは繰返さない。   The same processes as those in FIG. 3 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

キーが最初に押されたことによりイベントが発生したときには(S4でNO)、情報生成制御部203は、そのキーのキーステータスをオン状態に変更した後(S6)、カウンタを初期化する(S72)。このカウンタはワイヤレス受信装置4からの情報伝送許可の受信回数をカウントするために使用される。その後、情報生成制御部203は、送信データを生成し(S7)。ワイヤレス受信装置4からの情報伝送許可を待つ(S70)。受信部205が情報伝送許可を示すワイヤレス信号を受信した場合には(S70でYES)、情報生成制御部203は、情報伝送許可に応答し、送信データを送信部104を介してワイヤレス受信装置4へ送信する(S8)。その後、制御はS3へ戻る。   When an event occurs due to the first pressing of a key (NO in S4), the information generation control unit 203 changes the key status of the key to the on state (S6) and then initializes the counter (S72). ). This counter is used to count the number of times information transmission permission is received from the wireless receiver 4. Thereafter, the information generation control unit 203 generates transmission data (S7). Waiting for information transmission permission from the wireless receiver 4 (S70). When the reception unit 205 receives a wireless signal indicating permission for information transmission (YES in S70), the information generation control unit 203 responds to the information transmission permission and sends the transmission data to the wireless reception device 4 via the transmission unit 104. (S8). Thereafter, the control returns to S3.

キーイベントが発生しておらず、かついずれかのキーのキーステータスがオン状態である場合には(S3でNO、S10でYES)、情報生成制御部203はワイヤレス受信装置4から情報伝送許可を与えられたか否かを判断する(S68)。ワイヤレス受信装置4から情報伝送許可を与えられた場合には(S68でYES)、情報生成制御部203は、カウンタを1つインクリメントし(S69)、カウンタ値が規定値を上回っているか否かを判断する(S71)。カウンタ値が規定値を上回っている場合には(S71でYES)、情報生成制御部203は、カウンタを初期化するとともに(S73)、キーステータスがオン状態のキーに対する送信データを生成し(S7)、そのデータをワイヤレス受信装置4へ伝送する(S70、S8)。   If no key event has occurred and the key status of any key is on (NO in S3, YES in S10), the information generation control unit 203 grants information transmission permission from the wireless receiver 4. It is determined whether or not it has been given (S68). When the information transmission permission is given from the wireless receiver 4 (YES in S68), the information generation control unit 203 increments the counter by one (S69), and determines whether or not the counter value exceeds the specified value. Judgment is made (S71). If the counter value exceeds the specified value (YES in S71), the information generation control unit 203 initializes the counter (S73) and generates transmission data for the key whose key status is on (S7). ), And transmits the data to the wireless receiver 4 (S70, S8).

伝送許可が与えられていない場合(S68でNO)、またはカウンタ値が規定値を上回っていない場合には(S71でNO)、制御はS3へ戻る。   If transmission permission is not given (NO in S68), or if the counter value does not exceed the specified value (NO in S71), the control returns to S3.

以上のような処理を行なうことにより、キーステータスがオン状態にある場合には、情報伝送許可を規定回数受信するごとにキーステータスがオン状態であるキーのキーデータがワイヤレス受信装置4に対して送信される。   By performing the processing as described above, when the key status is in the on state, the key data of the key whose key status is in the on state is transmitted to the wireless reception device 4 every time the information transmission permission is received a specified number of times Sent.

図13を参照して、ワイヤレス受信装置4の情報変換制御部209によるデータ受信処理について説明する。情報変換制御部209は、ワイヤレス送信装置3へ情報伝送許可を与えるための機能を有する。   With reference to FIG. 13, the data reception process by the information conversion control unit 209 of the wireless reception device 4 will be described. The information conversion control unit 209 has a function for granting information transmission permission to the wireless transmission device 3.

図4と同様の処理については、同一の参照符号を付し、その詳細な説明はここでは繰返さない。   Processes similar to those in FIG. 4 are denoted by the same reference numerals, and detailed description thereof will not be repeated here.

情報変換制御部209は、初期化処理の後(S22)、送信部210を用いて、情報伝送許可をワイヤレス送信装置3へ送信する(S76)。情報伝送許可を与えた結果、ワイヤレス送信装置3よりデータが受信されたか否かが判断される(S23)。ワイヤレス送信装置3よりデータを受信することができなかったが、いずれかキーのキーステータスがオン状態である場合には(S30でYES)、カウンタを1つインクリメントする(S74)。このカウンタが規定値を超えた時点でキー解放データがインターフェイス変換制御部106に出力される。ただし、ワイヤレス受信装置4におけるカウンタの規定値はワイヤレス送信装置3におけるカウンタの規定値よりも大きく設定される。   After the initialization process (S22), the information conversion control unit 209 transmits information transmission permission to the wireless transmission device 3 using the transmission unit 210 (S76). As a result of giving the information transmission permission, it is determined whether or not data is received from the wireless transmission device 3 (S23). If data could not be received from the wireless transmission device 3, but the key status of any key is on (YES in S30), the counter is incremented by one (S74). When this counter exceeds a specified value, key release data is output to the interface conversion control unit 106. However, the specified value of the counter in the wireless receiver 4 is set larger than the specified value of the counter in the wireless transmitter 3.

カウンタ値が規定値を超えた場合には(S75でYES)、情報変換制御部209は、記憶部109へ格納済のデータを消去するとともに、キー解放データをインターフェイス変換制御部106に出力する(S32)。また、情報変換制御部209は、キー解放データに対応するキーのキーステータスをオフ状態に変更する(S33)。   When the counter value exceeds the specified value (YES in S75), the information conversion control unit 209 deletes the data stored in the storage unit 109 and outputs key release data to the interface conversion control unit 106 ( S32). In addition, the information conversion control unit 209 changes the key status of the key corresponding to the key release data to the off state (S33).

カウンタ値が規定値を超えていない場合は(S75でNO)、制御はS76へ戻る。
受信部108がワイヤレス送信装置3よりデータを受信した場合、または、キー解放データを含めインターフェイス変換制御部106に何らかのコード出力が行なわれた場合には、カウンタが初期化される(S77)。
If the counter value does not exceed the specified value (NO in S75), the control returns to S76.
When the receiving unit 108 receives data from the wireless transmission device 3 or when any code is output to the interface conversion control unit 106 including the key release data, the counter is initialized (S77).

以上説明したようにワイヤレス送信装置3はワイヤレス受信装置4からの情報伝送許可のカウント数をもとに、送信データの生成および送信のタイミングを図ることができる。このため、不必要にデータを送信することがなくなり、処理の簡略化と同時に消費電力の削減に寄与することができる。   As described above, the wireless transmission device 3 can achieve transmission data generation and transmission timing based on the count number of information transmission permission from the wireless reception device 4. For this reason, data is not transmitted unnecessarily, which can contribute to the simplification of processing and the reduction of power consumption.

ワイヤレス受信装置4は、タイマと組合わせることにより、ワイヤレス送信装置3に対する情報伝送許可を与えるタイミングを制御するようにしてもよい。   The wireless reception device 4 may control timing for granting information transmission permission to the wireless transmission device 3 by combining with a timer.

ワイヤレス送信装置3は、情報伝送許可の受信回数が規定値を超えた場合、または、同一のデータを送信する際には、実施の形態2および4で説明したステータス情報を伝送するようにしてもよい。   The wireless transmission device 3 may transmit the status information described in the second and fourth embodiments when the number of receptions of information transmission permission exceeds a specified value or when the same data is transmitted. Good.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の情報伝送処理の動作を説明するための図である。It is a figure for demonstrating the operation | movement of the information transmission process of this invention. 本発明の実施の形態1および2に係るワイヤレス情報伝送システムの構成を示すブロック図である。It is a block diagram which shows the structure of the wireless information transmission system which concerns on Embodiment 1 and 2 of this invention. 実施の形態1に係るデータ送信処理のフローチャートである。4 is a flowchart of data transmission processing according to the first embodiment. 実施の形態1に係るデータ受信処理のフローチャートである。3 is a flowchart of data reception processing according to the first embodiment. 実施の形態2に係るデータ送信処理のフローチャートである。10 is a flowchart of data transmission processing according to the second embodiment. 実施の形態2に係るデータ受信処理のフローチャートである。10 is a flowchart of data reception processing according to the second embodiment. 本発明の実施の形態3〜5に係るワイヤレス情報伝送システムの構成を示すブロック図である。It is a block diagram which shows the structure of the wireless information transmission system which concerns on Embodiment 3-5 of this invention. 実施の形態3に係るデータ送信処理のフローチャートである。10 is a flowchart of data transmission processing according to the third embodiment. 実施の形態3に係るデータ受信処理のフローチャートである。10 is a flowchart of data reception processing according to the third embodiment. 実施の形態4に係るデータ送信処理のフローチャートである。10 is a flowchart of data transmission processing according to the fourth embodiment. 実施の形態4に係るデータ受信処理のフローチャートである。10 is a flowchart of data reception processing according to the fourth embodiment. 実施の形態5に係るデータ送信処理のフローチャートである。10 is a flowchart of data transmission processing according to the fifth embodiment. 実施の形態5に係るデータ受信処理のフローチャートである。10 is a flowchart of data reception processing according to the fifth embodiment. 従来の情報伝送処理におけるデータの流れを示す図である。It is a figure which shows the flow of the data in the conventional information transmission process. 従来の情報伝送処理の問題点を説明するための図である。It is a figure for demonstrating the problem of the conventional information transmission process.

符号の説明Explanation of symbols

1,3 ワイヤレス送信装置、2,4 ワイヤレス受信装置、102 入力部、103,203 情報生成制御部、104,210 送信部、106 インターフェイス変換制御部、107,209 情報変換制御部、108,205 受信部、109,204 記憶部、110,212 ワイヤレス信号。   1,3 Wireless transmission device, 2,4 Wireless reception device, 102 input unit, 103,203 information generation control unit, 104,210 transmission unit, 106 interface conversion control unit, 107,209 information conversion control unit, 108,205 reception Part, 109, 204 storage part, 110, 212 wireless signal.

Claims (8)

情報を無線で送信するワイヤレス送信装置と、
前記ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含み、
前記ワイヤレス送信装置は、
指示を入力する入力手段と、
前記ワイヤレス受信装置に情報を無線で送信するための送信装置側送信手段と、
前記入力手段および前記送信装置側送信手段に接続され、前記入力手段より継続して指示が入力されている場合に、前記送信装置側送信手段を介して、前記指示を所定の間隔で送信するための情報生成制御手段と、
前記ワイヤレス受信装置から無線により送信される情報を受信するための送信装置側受信手段とを含み、
前記ワイヤレス受信装置は、
前記ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、
前記受信装置側受信手段に接続され、前記受信装置側受信手段で受信された指示に従って動作するための動作手段と、
前記ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段とを含み、
前記動作手段は、前記ワイヤレス送信装置からの指示を一定期間受信しなかった場合に、前記受信装置側送信手段を介して、前記ワイヤレス送信装置に指示の再送要求を送信し、
前記情報生成制御手段は、前記送信装置側受信手段を介して前記再送要求を受信した場合には、前記指示を、前記送信手段を介して再送する、ワイヤレス情報伝送システム。
A wireless transmission device for transmitting information wirelessly;
A wireless reception device that wirelessly receives information transmitted from the wireless transmission device;
The wireless transmitter is
An input means for inputting instructions;
Transmitting device side transmitting means for transmitting information wirelessly to the wireless receiving device;
When the instruction is continuously input from the input unit and connected to the input unit and the transmission unit side transmission unit, the instruction is transmitted at a predetermined interval via the transmission unit side transmission unit. Information generation control means,
A transmitting device side receiving means for receiving information transmitted by radio from the wireless receiving device,
The wireless receiver is
Receiving device side receiving means for receiving an instruction transmitted by radio from the wireless transmitting device;
An operating means connected to the receiving device side receiving means and operating according to an instruction received by the receiving device side receiving means;
Receiving device side transmitting means for transmitting information to the wireless transmitting device by radio,
When the operation means does not receive an instruction from the wireless transmission device for a certain period, it transmits a request for retransmission of the instruction to the wireless transmission device via the reception device-side transmission means,
The information generation control unit retransmits the instruction via the transmission unit when the information generation control unit receives the retransmission request via the transmission device side reception unit.
情報を無線で送信するワイヤレス送信装置と、
前記ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含み、
前記ワイヤレス送信装置は、
指示を入力する入力手段と、
前記ワイヤレス受信装置に情報を無線で送信するための送信装置側送信手段と、
前記入力手段および前記送信装置側送信手段に接続され、前記入力手段より継続して指示が入力されている場合に、前記送信装置側送信手段を介して、前記指示を所定の間隔で送信するための情報生成制御手段とを含み、
前記ワイヤレス受信装置は、
前記ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、
前記ワイヤレス送信装置から受信した情報を一時的に記憶する記憶手段と、
前記受信装置側受信手段に接続され、前記受信装置側受信手段で受信された指示に従って動作するための動作手段とを含み、
前記動作手段は、予め定められた期間、前記ワイヤレス送信装置から指示が送信されなかった場合には、前記記憶手段に一時的に記憶されている情報を削除する、ワイヤレス情報伝送システム。
A wireless transmission device for transmitting information wirelessly;
A wireless reception device that wirelessly receives information transmitted from the wireless transmission device;
The wireless transmitter is
An input means for inputting instructions;
Transmitting device side transmitting means for transmitting information wirelessly to the wireless receiving device;
When the instruction is continuously input from the input unit and connected to the input unit and the transmission unit side transmission unit, the instruction is transmitted at a predetermined interval via the transmission unit side transmission unit. Information generation control means,
The wireless receiver is
Receiving device side receiving means for receiving an instruction transmitted by radio from the wireless transmitting device;
Storage means for temporarily storing information received from the wireless transmission device;
An operating means connected to the receiving device side receiving means and operating according to an instruction received by the receiving device side receiving means;
The operation means deletes information temporarily stored in the storage means when an instruction is not transmitted from the wireless transmission device for a predetermined period.
前記入力手段は、外部からの操作によってオンまたはオフの状態となる入力部を含み、
前記送信装置側送信手段は、前記入力部の状態を変更する情報を送信し、
前記動作手段は、前記記憶手段に前記入力部がオン状態であるという情報が記憶されている場合に、予め定められた期間、前記ワイヤレス送信装置から前記入力部をオフ状態にする指示が送信されなかった場合には、前記受信装置側受信手段に、前記入力部をオフ状態にする指示を出力する、請求項2に記載のワイヤレス情報伝送システム。
The input means includes an input unit that is turned on or off by an external operation,
The transmitting device side transmitting means transmits information for changing the state of the input unit,
When the information that the input unit is on is stored in the storage unit, the operation unit transmits an instruction to turn off the input unit from the wireless transmission device for a predetermined period. 3. The wireless information transmission system according to claim 2, wherein if there is not, an instruction to turn off the input unit is output to the receiving device side receiving unit.
前記入力部は、キーである、請求項3に記載のワイヤレス情報伝送システム。   The wireless information transmission system according to claim 3, wherein the input unit is a key. 前記ワイヤレス送信装置は、さらに、前記ワイヤレス受信装置から無線により送信される情報を受信するための送信装置側受信手段を含み、
前記ワイヤレス受信装置は、さらに、前記ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段を含む、請求項2〜請求項4のいずれかに記載のワイヤレス情報伝送システム。
The wireless transmission device further includes transmission device side reception means for receiving information transmitted by radio from the wireless reception device,
The wireless information transmission system according to any one of claims 2 to 4, wherein the wireless reception device further includes a reception device side transmission unit for wirelessly transmitting information to the wireless transmission device.
情報を無線で送信するワイヤレス送信装置と、ワイヤレス送信装置から送信される情報を無線で受信するワイヤレス受信装置とを含むワイヤレス情報伝送システムで用いられるワイヤレス受信装置であって、
前記ワイヤレス送信装置から無線により送信される指示を受信するための受信装置側受信手段と、
前記ワイヤレス送信装置から受信した情報を一時的に記憶する記憶手段と、
前記受信装置側受信手段に接続され、前記受信装置側受信手段で受信された指示に従って動作し、予め定められた期間、前記ワイヤレス送信装置から指示が送信されなかった場合に前記記憶手段に記憶された情報を削除する、動作手段とを含む、ワイヤレス受信装置。
A wireless receiver used in a wireless information transmission system, comprising: a wireless transmitter that transmits information wirelessly; and a wireless receiver that wirelessly receives information transmitted from the wireless transmitter;
Receiving device side receiving means for receiving an instruction transmitted by radio from the wireless transmitting device;
Storage means for temporarily storing information received from the wireless transmission device;
It is connected to the receiving device side receiving means, operates in accordance with the instruction received by the receiving device side receiving means, and is stored in the storage means when no instruction is transmitted from the wireless transmitting device for a predetermined period. And a wireless receiving device including operating means for deleting the information.
前記ワイヤレス送信装置に情報を無線で送信するための受信装置側送信手段をさらに含み、
前記動作手段は、所定の処理が終了するごとに、情報伝送許可信号を前記受信装置側送信手段を介して前記ワイヤレス送信装置に送信する、請求項6に記載のワイヤレス受信装置。
Further comprising a receiving device-side transmitting means for wirelessly transmitting information to the wireless transmitting device;
The wireless reception device according to claim 6, wherein the operation unit transmits an information transmission permission signal to the wireless transmission device via the reception device side transmission unit every time a predetermined process is completed.
前記動作手段は、前記情報伝送許可信号を所定回数送信しても前記ワイヤレス送信装置から指示が送信されなかった場合には、前記ワイヤレス送信装置からの指示が終了したと判断する、請求項6に記載のワイヤレス受信装置。   The operation means determines that the instruction from the wireless transmission device is finished when an instruction is not transmitted from the wireless transmission device even though the information transmission permission signal is transmitted a predetermined number of times. The wireless receiver described.
JP2005305518A 1999-03-31 2005-10-20 Wireless information transmission system and wireless receiver Expired - Fee Related JP4493580B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005305518A JP4493580B2 (en) 1999-03-31 2005-10-20 Wireless information transmission system and wireless receiver

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP9052099 1999-03-31
JP2005305518A JP4493580B2 (en) 1999-03-31 2005-10-20 Wireless information transmission system and wireless receiver

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000063559A Division JP3756371B2 (en) 1999-03-31 2000-03-08 Wireless information transmission system and wireless transmission device used in wireless information transmission system

Publications (2)

Publication Number Publication Date
JP2006073032A true JP2006073032A (en) 2006-03-16
JP4493580B2 JP4493580B2 (en) 2010-06-30

Family

ID=36153511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005305518A Expired - Fee Related JP4493580B2 (en) 1999-03-31 2005-10-20 Wireless information transmission system and wireless receiver

Country Status (1)

Country Link
JP (1) JP4493580B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150081419A (en) * 2013-03-15 2015-07-14 인텔 코포레이션 Systems, methods, and apparatuses for synchronizing port entry into a low power state
JP2017188799A (en) * 2016-04-06 2017-10-12 キヤノン株式会社 Communication apparatus, control method therefor, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265625A (en) * 1992-03-19 1993-10-15 Toshiba Corp Wireless keyboard device
JPH06252897A (en) * 1993-02-26 1994-09-09 Nri & Ncc Co Ltd Method and system for multiple address file transfer
JPH09282067A (en) * 1996-04-16 1997-10-31 Hitachi Ltd Wireless keyboard system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265625A (en) * 1992-03-19 1993-10-15 Toshiba Corp Wireless keyboard device
JPH06252897A (en) * 1993-02-26 1994-09-09 Nri & Ncc Co Ltd Method and system for multiple address file transfer
JPH09282067A (en) * 1996-04-16 1997-10-31 Hitachi Ltd Wireless keyboard system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150081419A (en) * 2013-03-15 2015-07-14 인텔 코포레이션 Systems, methods, and apparatuses for synchronizing port entry into a low power state
KR102074018B1 (en) 2013-03-15 2020-02-05 인텔 코포레이션 Systems, methods, and apparatuses for synchronizing port entry into a low power state
JP2017188799A (en) * 2016-04-06 2017-10-12 キヤノン株式会社 Communication apparatus, control method therefor, and program

Also Published As

Publication number Publication date
JP4493580B2 (en) 2010-06-30

Similar Documents

Publication Publication Date Title
JP3461458B2 (en) Wireless input device
US6864778B2 (en) Method of preventing collision between remote control signals
JP3894922B2 (en) Wireless communication system
US20080159188A1 (en) Serial interface apparatus performing asynchronous serial data transfer using asynchronous serial communication method
JP4493580B2 (en) Wireless information transmission system and wireless receiver
JP3756371B2 (en) Wireless information transmission system and wireless transmission device used in wireless information transmission system
JP2009027637A (en) Electronic device, remote controller, transmission/reception system, and control method of electronic device
JP4171375B2 (en) Remote control system
US6597292B1 (en) Wireless transmission apparatus and control system
CN111800890A (en) Processing method and input device
JP7263841B2 (en) Information processing device, control method, and program
JP3481348B2 (en) Wireless remote control unit and remote control printing device
JP2591862B2 (en) Power control signal converter
CN111904442B (en) Radiographic imaging device, electronic device, wireless communication system, and program
JP4072508B2 (en) Remote loopback control method and system
JP3066094U (en) Remote key continuous press judgment device for electronic equipment
JP3068485B2 (en) Keyboard log information output device
JP4194768B2 (en) Network printer system
JPH03104582A (en) Robot control device using serial communication
JP4351237B2 (en) Wireless communication system
JP2021121088A (en) Radio communication device
JPH07240974A (en) Remote controller
CN112015580A (en) Electronic device with data transmission and reception mechanism and data transmission and reception method
JP2002108407A (en) Controller
JPH11196479A (en) Control system by radio remote controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100203

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100330

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130416

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees