Wireless input device

文档序号:1936607 发布日期:2021-12-07 浏览:20次 中文

阅读说明:本技术 无线输入装置 (Wireless input device ) 是由 周士闳 林致远 林国恩 蔡欣翰 谢逸婷 于 2020-06-01 设计创作,主要内容包括:一种无线输入装置,适用于一电脑主机。此无线输入装置包含一无线转接器与一输入模块。无线转接器实体连接电脑主机以接收一效果命令,且包括一数据分割单元与一第一收发单元。数据分割单元将效果命令分割为多个数据区域。第一收发单元将多个数据区域以无线方式依序向外传递。输入模块包括一第二收发单元、一合并单元、一效果产生单元与一控制单元。第二收发单元耦合至第一收发单元依序接收多个数据区域。合并单元将多个数据区域合并为效果命令。控制单元接收效果命令,并依据效果命令控制效果产生单元产生效果。(A wireless input device is suitable for a computer host. The wireless input device comprises a wireless adapter and an input module. The wireless adapter is physically connected with the computer host to receive an effect command and comprises a data partitioning unit and a first transceiving unit. The data division unit divides the effect command into a plurality of data areas. The first transceiver unit sequentially transmits the plurality of data areas to the outside in a wireless manner. The input module comprises a second transceiving unit, a merging unit, an effect generating unit and a control unit. The second transceiver unit is coupled to the first transceiver unit and receives the plurality of data regions sequentially. The merging unit merges the plurality of data areas into an effect command. The control unit receives the effect command and controls the effect generating unit to generate the effect according to the effect command.)

1. A wireless input device for a host computer, the host computer generating an effect command, the wireless input device comprising:

a wireless adaptor to receive the effect command, the wireless adaptor comprising:

a data dividing unit to divide the effect command into a plurality of data areas; and

a first transceiver unit for sequentially transmitting the data areas to the outside in a wireless manner; and

an input module, comprising:

a second transceiving unit coupled to the second transceiving unit for sequentially receiving the plurality of data regions;

a merging unit to merge the plurality of data areas into the effect command;

an effect generating unit; and

and the control unit is electrically connected with the merging unit and the effect generating unit and used for receiving the effect command and controlling the effect generating unit to generate the effect according to the effect command.

2. The wireless input device of claim 1, wherein the input module is a keyboard module, and the control unit is electrically connected to the second transceiver unit for transmitting the input signal to the wireless adaptor through the second transceiver unit.

3. The wireless input device of claim 1, wherein the effect generating unit comprises a light effect generating element.

4. The wireless input device of claim 1, wherein the effect generating unit comprises a sound effect generating element.

5. The wireless input device as in claim 1, wherein the wireless adapter further comprises a first storage unit electrically connected to the data dividing unit for storing the plurality of data areas.

6. The wireless input device of claim 1, wherein the input module further comprises a second storage unit, and the second storage unit is electrically connected to the second transceiver unit and used for storing the plurality of data areas.

7. The wireless input device of claim 1, wherein the second transceiver unit is configured to transmit an incoming signal packet to the first transceiver unit, the first transceiver unit is configured to transmit an acknowledgement to the second transceiver unit, and the data field is transmitted to the second transceiver unit along with the acknowledgement.

8. The wireless input device of claim 1, wherein the input module comprises a wireless keyboard.

9. The wireless input device of claim 1, wherein the input module comprises a wireless mouse.

Technical Field

The present disclosure relates to input devices, and more particularly, to a wireless input device.

Background

Input devices, such as keyboards, computer mice, etc., are devices that allow users to connect to a computer host for operation. To enhance the enjoyment of the user, many input devices are provided with additional effect generators that generate light, sound, or vibration changes based on the user's manipulation.

The input devices can be connected to the computer host through a wired connection (e.g., a Universal Serial Bus (USB), etc.), and the practicability of the input devices can be improved through a wireless connection.

In the case of wireless connection, the host computer and the input device need to be connected via a communication protocol. Limited by the data length that can be transmitted by the communication protocol, the host computer cannot transmit a control command with a longer length to the input device to control the input device to generate diversified effects.

Disclosure of Invention

The present disclosure provides a wireless input device. The wireless input device is suitable for a computer host. The computer host generates a command to control the wireless input device. The wireless input device comprises a wireless adapter and an input module. The wireless adapter is used for physically connecting with the computer host to receive the effect command.

The wireless adapter comprises a data division unit and a first transceiver unit. The data dividing unit is used for dividing the effect command into a plurality of data areas. The first transceiver unit is used for transmitting the data areas outwards in sequence in a wireless mode.

The input module comprises a second transceiving unit, a merging unit, an effect generating unit and a control unit. The second transceiver unit is coupled to the first transceiver unit for receiving the plurality of data regions in sequence. The merging unit is used for merging the plurality of data areas into an effect command. The control unit is electrically connected with the merging unit and the effect generating unit and used for receiving the effect command and controlling the effect generating unit to generate an effect according to the effect command.

The wireless input device provided by the disclosure can divide the effect command from the computer host into a plurality of data areas and then transmit the effect command in a wireless mode, so that the problem that the control command with longer length cannot be transmitted in the prior art can be solved, the wireless input device can generate diversified effects, and the practicability of the wireless input device is improved.

Drawings

FIG. 1 is a block diagram of an embodiment of a wireless input device according to the present disclosure;

FIG. 2 is a diagram illustrating an embodiment of an effect command received by the wireless input device according to the present disclosure;

FIG. 3 is a diagram illustrating an embodiment of a wireless input device according to the present disclosure dividing an effect command generated by a host computer into data areas;

FIG. 4 is a timing diagram illustrating an embodiment of a wireless input device for wirelessly transferring data according to the present disclosure;

FIG. 5 is a block diagram of another embodiment of a wireless input device of the present disclosure;

fig. 6 is a block diagram of a wireless input device according to another embodiment of the disclosure.

Detailed Description

Specific embodiments of the present disclosure will be described in more detail below with reference to the schematic drawings. The advantages and features of the present disclosure will become more apparent from the following description and related application documents. It is to be noted that the drawings are in a very simplified form and are not to precise scale, which is merely for the purpose of facilitating and distinctly claiming the embodiments of the present disclosure.

Fig. 1 is a block diagram of an embodiment of a wireless input device according to the present disclosure. The wireless input device 100 is suitable for a computer host 20. The wireless input device 100 may be a wireless keyboard or a wireless mouse. The computer host 20 may be an electronic device such as a desktop computer, a notebook computer, a motherboard, etc. that can be installed with an operating system and output control commands.

As shown, the wireless input device 100 includes a wireless adapter (dongle)120 and an input module 140. The wireless adapter 120 is used to physically connect to the computer host 20 to receive a command (command) C1 from the computer host 20. In one embodiment, the wireless adapter 120 can be connected to the host computer 20 via a Universal Serial Bus (USB) and powered by the host computer 20.

In one embodiment, the effect command C1 is a control command generated by the host computer 20 in a software mode (software mode), for example, please refer to fig. 2 together, and fig. 2 is a schematic diagram of an embodiment of the effect command received by the wireless input device of the present disclosure. As shown in the figure, the effect command C1 may be a multi-bit Data string including a CMD bit and a KEY bit at the front end, and the effect Data immediately after. The length of this multi-bit data string is largely determined by the amount of effect data that needs to be transferred. For example, if 15 leds are required to be controlled to generate lighting effect, each led requires 4 bits of lighting effect Data, and 60 bits of effect Data need to be transmitted as a whole. With the addition of index (index) bits, the data string length of the full effect command C1 reaches 64 bits.

The wireless adapter 120 includes a data dividing unit 122, a first transceiver 124 and a first storage unit 126. The data dividing unit 122 is used for dividing the effect command C1 from the computer host 20 into a plurality of data areas B1, B2. The first storage unit 126 is electrically connected to the data dividing unit 122 for temporarily storing the plurality of data areas B1, B2 generated by the data dividing unit 122, waiting for the data transfer timing. In one embodiment, the first storage unit 126 is a Random Access Memory (RAM) having a storage capacity that is determined by the length of the effect command C1. In one embodiment, the storage capacity of the first storage unit 126 is equal to the length of the effect command C1.

The input module 140 includes a second transceiver 142, a merging unit 144, a second storage unit 146, an effect generating unit 147 and a control unit 148. The second transceiver 142 is coupled to the first transceiver 124 for sequentially receiving the plurality of data regions B1, B2 from the first transceiver 124. In one embodiment, the second transceiver unit 142 and the first transceiver unit 124 are matched.

The merge unit 144 is used to merge the data areas B1 and B2 into an effect command C1. The second storage unit 146 is electrically connected to the second transceiver unit 142 and configured to temporarily store the plurality of data areas B1, B2 received by the second transceiver unit 142, and perform merging processing by the merging unit 144 after the data areas B1, B2 are all accessed. In one embodiment, the second storage unit 146 is a random access memory, and the storage capacity thereof may be determined according to the length of the effect command C1. In one embodiment, the storage capacity of the second storage unit 146 is equal to the length of the effect command C1.

In the embodiment, the effect command C1 with a 64-bit length is divided into two data areas B1 and B2 with a 32-bit length for transmission, but the invention is not limited thereto. In one embodiment, if the length of the effect command C1 to be transferred is longer, the data splitting unit 122 may split the effect command C1 into more data areas to be transferred, and the lengths of the data areas are not required to be the same.

In one embodiment, the data dividing unit 122 divides the effect command C1 into a plurality of data areas for transmission according to a predetermined data length, i.e. the predetermined data length is the maximum data length that can be transmitted between the first transceiver unit 124 and the second transceiver unit 142. In another embodiment, if the length of the effect command C1 is less than or equal to the predetermined data length, the wireless adaptor 120 may also directly transmit the effect command C1 without data division.

The effect generating unit 147 is disposed on the input module 140 to generate an effect. In one embodiment, the effect generating unit 147 can be a light effect generating device, including a light module or a light bar composed of a plurality of light emitting diode devices. In one embodiment, the effect generating unit 147 can be a sound effect generating element, such as a speaker. In one embodiment, the effect generating unit 147 can be a vibration generating device. The control unit 148 is electrically connected to the merging unit 144 and the effect generating unit 147, and is configured to receive the effect command C1 generated by the merging unit 144 merging the data areas B1 and B2, and generate a control signal S1 according to the effect command C1 to control the effect generating unit 147 to generate an effect.

The present disclosure directly utilizes the communication packets for transmitting the user input signals between the wireless adapter 120 and the input module 140 to transmit the data areas B1, B2. For example, if the input module 140 is a keyboard module, the user hits the key 149 to generate a trigger signal S2. The control unit 148 generates an input signal S3 according to the trigger signal S2.

The control unit 148 is electrically connected to the second transceiver 142, and is configured to convert the input signal S3 into an input signal packet (packet) P1 through the second transceiver 142 and transmit the input signal packet to the first transceiver 124 of the wireless adapter 120. The first transceiver unit 124 transmits an acknowledgement (ack) message P2 to the second transceiver unit 142 after acknowledging the receipt of the incoming signal packet P1. The data areas B1, B2 may be transmitted to the second wtru 142 along with the ack message P2. Therefore, the data areas B1 and B2 are not transmitted to interfere with the input operations that the user would perform through the input module 140.

The split-merge manner of the data areas B1 and B2 and the transfer timing of the data areas B1 and B2 will be described in more detail in the following paragraphs.

FIG. 3 is a diagram illustrating an embodiment of a wireless input device dividing an effect command generated by a host computer into data areas. This effect command C1 is a control command generated by the computer host 20 in software mode (software mode). As shown in the figure, the effect command C1 is composed of CMD bit and KEY bit at the front end, and effect Data immediately after. A64-bit effect command C1 is illustrated.

The 64-bit effect command C1 is divided by the data dividing unit 122 to generate two 32-bit data areas B1 and B2. Since the front end of the effect command C1 carries a set of bits CMD and KEY, namely 0xC0 and 0x 81. Therefore, if the first two bits of the 32-bit data region B1 received by the receiving end (i.e., the input module 140) are 0xC0 and 0x81, the 32-bit data region B1 is necessarily the first half of the 64-bit effect command C1, and the next 32-bit data region B2 is necessarily the second half of the effect command C1, so that the two bits can be combined into the complete 64-bit effect command C1.

Fig. 4 is a timing diagram of a wireless input device performing data transmission wirelessly according to an embodiment of the disclosure. The host computer 20 of the embodiment sends a page (frame) of effect data to the input module 140 every 60ms for control to generate dynamic effects. The effect data of each page includes 10 64-bit effect commands C1, each effect command C1 includes light effect data of 15 leds, so that the light effects of up to 150 leds can be controlled. The data transfer of each effect command C1 only needs 1ms, and the effect data of the whole page can be transferred in only 10ms without any delay.

Although the data transmission in the wireless manner may be delayed due to the influence of distance, frequency interference, etc., since the host computer 20 transmits the effect command C1 for each page at intervals of 60ms, even if the data transmission is delayed, the effect data of the entire page can be transmitted within 60 ms. In addition, since the human eye has the characteristic of persistence of vision, the transmission speed does not make the user perceive the delay of lamp effect (latency).

Fig. 5 is a block diagram of another embodiment of the wireless input device of the present disclosure. Compared to the embodiment of fig. 1, the wireless adapter 220 of the wireless input device 200 of the present embodiment omits the first storage unit 126, and directly uses the memory storage data areas B1, B2 of the first transceiver unit 224 to reduce the hardware cost. The embodiment is suitable for the case that the length of the effect command C1 does not exceed the memory capacity of the first transceiving unit 224.

In the above embodiment, the first storage unit 126 in the wireless adapter 120 is omitted, and the memory of the first transceiver unit 224 is directly used for storing the data areas B1 and B2. But is not limited thereto. In an embodiment, the second storage unit 146 in the input module 140 may be omitted, and the memory of the second transceiver 142 is directly used for storing the data areas B1 and B2.

Fig. 6 is a block diagram of a wireless input device according to another embodiment of the disclosure. Compared to the embodiment of fig. 1, the wireless input device 300 of the present embodiment has two input modules 340a and 340b, such as a keyboard module and a mouse, and the wireless adapter 120 performs pairing control with the two input modules 340a and 340 b. The data areas B1, B2 generated by the data splitting unit 122 of the wireless adapter 120 are synchronously transmitted to the two input modules 340a,340B, and the two input modules 340a,340B selectively generate effects according to the received effect command C1.

In one embodiment, the effect command C1 can be controlled only for one of the input modules 340a or can be controlled for both input modules 340a,340 b. The input modules 340a and 340b are similar to the input module 140 in fig. 1, and are not described herein.

The wireless input device 100,200,300 provided by the present disclosure can divide the effect command C1 from the computer host 20 into a plurality of data areas B1, and then transmit the result to the input modules 140,340a,340B in a wireless manner after B2 to generate the effect, thereby solving the problem that the control command with a long length cannot be transmitted conventionally, allowing the wireless input device to generate diversified effects, and improving the practicability of the wireless input device.

The foregoing is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure in any way. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure, and it is intended that all matter contained in the above description and shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense. Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:触控笔、触控电子装置与触控系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类