561391 玖、發明說明: 【發明所屬之技術領域】 本發明是關於一種USB無線鍵盤傳輸協定,特別是指一 種,能在USB無線鍵盤與電腦主機之間,快速又有效的以此傳 輸協定來作信號辨識與遠端起動系統之操作,縮短接收器與發 射器對辨認碼之辨認時間,並能節省USB待機時之電源消耗, 而具有產業利用性。 ,【先前技術】 〜 已知傳統電腦與各周邊設備之間,必需經由適當的傳輸介 面,並需以信號纜線將之相互連接,作為信號轉換動作與資料 傳輸;近來,已進一步的使用USB通訊介面的新一代電腦設備, 可經由無線信號發射器與接收器,接收由各種無線式周邊設 備、透過USB信號發射器傳輸控制信號,而達到使各usb周邊 設備可由無線(WIRELESS)方式來控制操作電腦之目的。 在USB無線鍵盤之應用上,由於USB鍵盤與PS2鍵盤在 特性上有明顯不同之處,因而無線傳輸協定需針對這些特性來 設計’方能符合規定。尤以其中,在鍵盤操作時的重覆辨認碼 部份,當多數按鍵被順序按下時,USB鍵盤是分別以每一被按 下之按鍵重複傳輸信號,PS2鍵盤則是以最末一鍵重複傳輸信春 號,另外,關於遠端遙控喚醒功能,在USB鍵盤上,當按鍵中 斷碼消失時需將暫存器(BUFFER)中之辨認碼清除,否則會造成 按鍵一直重覆被按下的假象,由於鍵盤需固定一段時間重覆送 出辨認碼,故容易造成發射器模組重覆動作,導致電源浪費, 在系統進入待機狀態時,此現象甚至會影響遠端喚醒功能之正 常運作。 【發明内容】 繁於此—問題歸待改善,本發明乃提供-種USB無線鍵 5 盤^輸協定’係專絲用在電社機與USB無線鍵盤設備 有效解決前述重覆辨認,可能造成之誤 亦即’本發明之主要目的是提供_種USB無線 Π USB無線鍵盤與電腦主機之間,快速又有效的以轉 =疋來作信號賴與遠端起動纽之操作,縮短接收器與發 射器對辨認碼之辨認時間,並能節省USB待機時之鶴消耗者。 依據本發明’USB無線鍵盤傳輸協定是在鍵盤以正常傳送 辨認瑪之時關㈣,増加-純短的特柄(DUMmyc〇de) 由RF模組接收’藉以縮短辨認時間,以提昇效率,並能節省 USB待機時之電源消耗。 當USB進入待機狀態’必需在按鍵被按下時方能啟動遠端 遙控之運作讀行換醒魏,為了節省㈣以符合待機狀態之 爷電需求’接收器需在-段時間即供電給RF模組,以接收鍵盤 所發射的辨認碼;利用本發明之傳輸協定,鍵盤在正常傳送辨 認碼之間隔,增加-些額外且較短的特殊碼,而_短辨認時 間’接收II不需不停的供電而能節省電能消耗,確保系統穩定 性,達到預定目的。561391 发明 Description of the invention: [Technical field to which the invention belongs] The present invention relates to a USB wireless keyboard transmission protocol, and in particular, to a USB wireless keyboard and a computer host, which can quickly and effectively use this transmission protocol to make The operation of the signal identification and remote start system shortens the identification time of the identification code by the receiver and the transmitter, and can save the power consumption of the USB during standby, which has industrial applicability. [Previous technology] ~ It is known that traditional computers and peripheral devices must pass through an appropriate transmission interface and need to be connected to each other with a signal cable as a signal conversion action and data transmission; recently, USB has been further used A new generation of computer equipment with a communication interface can receive various wireless peripheral devices via a wireless signal transmitter and receiver, and transmit control signals through a USB signal transmitter, so that each USB peripheral device can be controlled wirelessly (WIRELESS). The purpose of operating a computer. In the application of USB wireless keyboards, because USB keyboards and PS2 keyboards have obvious differences in characteristics, the wireless transmission protocol needs to be designed for these characteristics to meet the requirements. In particular, in the repeated identification code during keyboard operation, when most keys are pressed sequentially, the USB keyboard transmits signals repeatedly with each key pressed, and the PS2 keyboard uses the last key. Repeat the transmission of the letter. In addition, regarding the remote remote wake-up function, on the USB keyboard, when the key interrupt code disappears, the identification code in the buffer (BUFFER) needs to be cleared, otherwise it will cause the key to be repeatedly pressed. Imaginarily, because the keyboard needs to be fixed for a certain period of time to repeatedly send out the identification code, it is easy to cause the transmitter module to repeat the action and cause waste of power. When the system enters the standby state, this phenomenon may even affect the normal operation of the remote wake-up function. [Summary of the Problem] This is a problem—the problem needs to be improved. The present invention provides a USB wireless key 5-disk ^ input protocol 'special wire for use in electric companies and USB wireless keyboard devices to effectively solve the aforementioned repeated identification, which may cause The error is that 'the main purpose of the present invention is to provide _ a kind of USB wireless Π USB wireless keyboard and computer host, fast and effective use == 疋 for signal operation and remote start button operation, shorten the receiver and The identification time of the transmitter for the identification code can save the crane consumers during USB standby. According to the present invention, the “USB wireless keyboard transmission protocol is closed when the keyboard is normally transmitted to identify the keyboard, and the plus-pure short handle (DUMmycod) is received by the RF module” is used to shorten the identification time to improve efficiency and Can save power consumption during USB standby. When the USB enters the standby state, the remote remote control operation must be started when the button is pressed. Read, change and wake up. In order to save the power to meet the standby power requirements of the standby state, the receiver needs to supply power to the RF within a period of time. Module to receive the identification code transmitted by the keyboard; using the transmission protocol of the present invention, the keyboard adds some additional and shorter special codes at the interval between the normal transmission of the identification code, and _short identification time 'receiving II does not need to be Stopping the power supply can save power consumption, ensure system stability, and achieve the intended purpose.
以下,再進一步詳細說明本發明之特徵。 【實施方式】 本發明之USB無線鍵盤傳輸協定,是應用在使用無線式周邊 設備,特別是指使用USB無線鍵盤的電腦系統。 上述之本發明,是利用鍵盤上信號發射模組,當鍵盤在正 常傳送辨遇碼之間隔中,請先參閱第一圖、第二圖及第三圖所 示’為習知鍵盤上信號發射模組及接收模組的收發原理,發射 模組正常使用時,當使用者按下鍵盤,所傳送的資料其傳送封 包為第一圖所示之資料封包D,該資料封包D的格式分別包栝 開頭D卜若干資料£)2及一總和檢查(CHECK SUMMARY) D3, 料不 1個::=:2包週期為T1 ’且因鍵盤按鍵時傳輸資 期T1間夹著一個間隔示在^每= 料封包D的封包周 器一般舍進入拉她此吁 。在接收端為達省電目標,接收 接收器需周期性供給檢驗:盤端是否已在使用, ί接收週期T3及待機職T4,祕收週期 期ί、2相同县V tT1相同長度,而待機週期T4則與該間隔週 保持開啟_1反之該=:=,接收器的叩模組?源 則切斷_。 在待機週期T4則接收器之RF模組電源 發射次M,p°te第四圖所不’為了能正確判斷鍵盤發射端是否有 於W貝P收週期T3>(大於)封包週期T1,待機週期T4<(小 本發明即是彻上述當鍵盤在發射模 ==二期T2卜增加若干額外且較短的特殊碼 了傳逆資+4 J^〇DE)當作辨認信號,即當鍵盤按鍵時傳輸資料除 二==捭:多傳送-些和資料封包_的特殊 勺L使減器端鱗續重覆不_收_認信號,以告知接 不需清除資料緩衝器(DATABUFFER)而不會造成辨_ 之夭誤。 在接收器正常接收封包f料D時,可將特殊碼Dc去掉, 持續收到此特殊碼1^時,即表示刪鍵盤與接收 ° 、組(〇Γ LR.LED)處於正常工作狀態,不需供電給RF模 、、且,而能降低辨認所需時間,大幅提昇效率。 、·而當進入待機狀態時,判斷鍵盤端是否有在發射資料,則 以該特殊碼DC為判斷標準。@此我們可以將接收器端的接收 週期T3縮小很多,待機_ T4拉長。在接收n端之接枚 T3越短,待機週期T4越長,越省電。 ’ 如下例舉說明可確保特殊碼DC和資料封包D的内容不 同,其中· 當資料封包D在封包週期T1時 1: coding -> 0,1 〇: coding -> 1,0 特殊碼 DC -> 00111100 不受干擾,且能節省 器都具有良好傳輸品 此方法能提供USB快速辨認信號, USB待機時之電源消耗,使接收器和發射 質。 因此可知,本發明之上述USB無線鏠盤 〜 用鍵盤信號發射器,在正常辯認碼之間持/協定,乃係利 碼,以告知信號接收器確保USB於正常運作送出較短的特殊 辨認之時間,並能提昇USB信號傳輸之穩定性非但^減少信號 上述本發明已詳細說明致使習於此蓺者到前揭目的。 以上所舉之實施例僅用以說明,舉凡所據以實施’然而 脫本發明精神之触肢,均歸屬本發明之構之改變及不 為此’菱依法具文提出專利申請,技金 核准本案專利,是為至^ f 查’並祈及早 【圖式簡單說明】 第-圖^習知的USB無線鍵盤發射器端封包資料格式示意鲁 第二圖聰無線鍵盤發射器端的封包週期及間隔週 期之波形圖; w心 第三圖係習知USB無線鍵盤接收端的接收週期及待機週期 第四圖係本發明之封包週期與間隔義巾之特殊碼之波形 圖0Hereinafter, features of the present invention will be described in further detail. [Embodiment] The USB wireless keyboard transmission protocol of the present invention is applied to a computer system using a wireless peripheral device, particularly a USB wireless keyboard. The above-mentioned invention uses the signal transmitting module on the keyboard. When the keyboard is in the interval of transmitting the identification code normally, please refer to the first picture, the second picture and the third picture. The transmitting and receiving principle of the module and the receiving module. When the transmitting module is in normal use, when the user presses the keyboard, the transmitted packet is the data packet D shown in the first figure, and the format of the data packet D is栝 In the beginning, D and some information £) 2 and a check summary (DCK3), it is expected that one :: =: 2 The packet period is T1 ', and the interval between the transmission period T1 when the key is pressed is shown in ^ The packet perimeter of each packet D is generally entered to pull her call. To achieve the goal of saving power at the receiving end, the receiving receiver needs to periodically check whether the disk end is already in use, ί the receiving period T3 and standby duty T4, the secret collection period ί, 2 the same county V tT1 the same length, and standby The period T4 is kept open with the interval _1 and vice versa =: =, the receiver's module module source is cut off _. In the standby period T4, the receiver's RF module power transmission times M, p ° te not shown in the fourth picture. In order to correctly determine whether the keyboard transmitting end is within the W receiving period T3> (greater than) the packet period T1, standby Period T4 < (the invention of the present invention is exactly the same as when the keyboard is in the transmitting mode == the second phase T2, adding some additional and shorter special codes, and transmitting the reverse data +4 J ^ 〇DE) as the identification signal, that is, when the keyboard The data is transmitted when the key is pressed. == 捭: Multi-transmit some data packets. The special spoon L makes the reducer end repeatedly repeat the _receive_ acknowledge signal to inform the user that the data buffer (DATABUFFER) does not need to be cleared. Will not cause errors. When the receiver normally receives the packet D, the special code Dc can be removed. When the special code 1 ^ is continuously received, it means that the keyboard is deleted and the receiving group (0Γ LR.LED) is in a normal working state. It is necessary to supply power to the RF module, and it can reduce the time required for identification and greatly improve efficiency. When the device enters the standby state and judges whether the keyboard is transmitting data, the special code DC is used as the judgment standard. @This we can reduce the receiving cycle T3 on the receiver side a lot, standby_T4 is lengthened. The shorter the connection T3 at the receiving end, the longer the standby period T4 and the more power saving. 'The following example illustrates that the content of the special code DC and the data packet D can be guaranteed to differ. Among them, when the data packet D is in the packet period T1 1: coding-> 0,1 〇: coding-> 1,0 special code DC -> 00111100 is free from interference, and can save the device with a good transmission product. This method can provide USB fast identification signal, power consumption during USB standby, make the receiver and transmitter quality. Therefore, it can be known that the above-mentioned USB wireless disk of the present invention ~ uses a keyboard signal transmitter to hold / agree between the normal identification codes, which is a profit code to inform the signal receiver to ensure that the USB sends a short special identification in normal operation. Time, and can improve the stability of USB signal transmission, not only reduce the signal, the above-mentioned present invention has been described in detail, so that those who are familiar with the present disclosure purpose. The above-mentioned embodiments are only used for illustration, for example, wherever the implementation of the 'but the limbs of the spirit of the present invention, belong to the structural changes of the invention and do not file a patent application for this' The patent in this case is to check for ^ f and pray for early [Simplified Illustration] Figure-Figure ^ The conventional packet data format of the USB wireless keyboard transmitter end indicates the second packet packet cycle and interval of the wireless keyboard transmitter The waveform diagram of the cycle; The third diagram is the receiving cycle and standby cycle of the receiving end of the conventional USB wireless keyboard. The fourth diagram is the waveform diagram of the special code of the packet cycle and the interval meaning of the present invention.