Human interface device system and data transfer method using human interface system
By dynamically selecting data units of different capacities to output target data through the data generation and transmission devices in the HID system, the problem of fixed packet capacity is solved, and the processing time and power consumption are optimized.
Patent Information
- Application Number
- CN202411510666.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-17
- Filing Date
- 2024-10-28
- Publication Date
- 2025-10-24
AI Technical Summary
The fixed packet capacity in existing HID systems means that the time required to process packets and the power consumption required to transmit packets cannot be optimized.
By using the data generation and transmission devices in the HID system, data units of different capacities are dynamically selected to output target data, including the first data unit, the second data unit, and the third data unit, in order to optimize processing time and power consumption.
By selecting data units of appropriate capacity to transmit target data, processing time and transmission power consumption are optimized.
Smart Images

Figure CN120832030A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to a human interface device (HID) system and a data transmission method, and more particularly to a HID system and a data transmission method capable of selecting a proper data unit size for data transmission. BACKGROUND
[0002] A conventional HID usually transmits data or other information by using a packet. However, the size of the packet is always fixed even if the packet only contains a small amount of data. Therefore, the time required for processing the packet and the power consumption required for transmitting the packet of the conventional HID cannot be optimized. SUMMARY
[0003] One object of the present application is to disclose a HID system capable of dynamically selecting a packet with a proper size.
[0004] One object of the present application is to disclose a data transmission method capable of dynamically selecting a packet with a proper size.
[0005] One embodiment of the present application discloses a HID system, comprising a HID, the HID comprising: a data generating device for generating a first data unit in a first mode, the first data unit comprising target data; and a transmitting device for selectively outputting the target data using a second data unit or a third data unit in the first mode; wherein a second size of the second data unit is different from a third size of the third data unit.
[0006] Another embodiment of the present application discloses a data transmission method used in a HID system comprising a HID, the HID comprising a data generating device and a transmitting device, the data transmission method comprising: (a) generating a first data unit in a first mode by the data generating device, the first data unit comprising target data; and (b) selectively outputting the target data using a second data unit or a third data unit in the first mode by the transmitting device; wherein a second size of the second data unit is different from a third size of the third data unit.
[0007] The larger the size of the data unit, the longer the time required for processing the data unit and the more power consumption required for transmitting the data unit. By the above-mentioned embodiments, a data unit with a proper size can be selected for transmitting the target data. In this way, the time required for processing the data unit and the power consumption required for transmitting the data unit can be optimized. BRIEF DESCRIPTION OF DRAWINGS
[0008] Figure 1 A block diagram of a HID system according to one embodiment of the present application is shown.
[0009] Figure 2 A block diagram of an optical mouse according to an embodiment of the present application is shown.
[0010] Figure 3 A block diagram of a HID system according to another embodiment of the present application is shown.
[0011] Figure 4 A block diagram of an optical mouse according to another embodiment of the present application is shown.
[0012] Figure 5 A block diagram of a HID system according to yet another embodiment of the present application is shown.
[0013] Figure 6 A flow chart of a data transfer method according to an embodiment of the present application is shown.
[0014] Wherein, the reference numerals are explained as follows:
[0015] 100 HID
[0016] 101 data generating device
[0017] 103 transfer device
[0018] 201 optical mouse
[0019] 203 optical sensor
[0020] 205 processing unit
[0021] 207 RF IC
[0022] 209 adapter
[0023] 211 RF IC
[0024] 213 processing unit
[0025] 500 HID
[0026] 501 data generating device
[0027] 503 transfer device
[0028] D_1 first data unit
[0029] D_2 second data unit
[0030] D_3 third data unit
[0031] D_4 fourth data unit
[0032] D_5 fifth data unit
[0033] D_6 sixth data unit
[0034] D_1x first digital data unit
[0035] D_2x second digital data unit
[0036] D_a analog data signal DETAILED DESCRIPTION
[0037] The present invention will be described below using multiple embodiments. Please note that the terms "first," "second," and similar terms are used solely to define different elements, parameters, data, signals, or steps. They are not intended to limit their order. For example, the first device and the second device may have the same structure but be different devices.
[0038] Figure 1 FIG. 1 shows a block diagram of a HID system according to an embodiment of the present invention. Figure 1 As shown, the HID system includes an HID 100, which includes a data generating device 101 and a transmitting device 103. The data generating device 101 is configured to generate a plurality of first data units D_1 having target data in a first mode. The transmitting device 103 is configured to selectively use a second data unit D_2 or a third data unit D_3 to output the target data in the first mode. The second capacity of the second data unit D_2 is less than the first capacity of the first data unit D_1. In addition, the third capacity of the third data unit D_3 is less than or equal to the first capacity.
[0039] like Figure 1 As shown, in one example, the first capacity is 12 bits, the second capacity is 8 bits, and the third capacity is 12 bits. Please note that the number of data unit capacities selectable by the transmitting device 103 is not limited to two. In other words, the transmitting device 103 can output the target data using data units with capacities that are less than or equal to the capacities of the data units used by the data generating device 101. The first data unit D_1, the second data unit D_2, and the third data unit D_3 can be packets, but may also be data units using other data formats.
[0040] In one embodiment, the transmitting device 103 selectively uses the second data unit D_2 or the third data unit D_3 to output the target data according to the data amount of the target data in each first data unit D_1. For example, if the data amount of the target data in each first data unit D_1 is less than or equal to 8 bits, the transmitting device 103 uses the second data unit D_2 to output the target data. For another example, if the data amount of the target data in each first data unit D_1 is 11 bits, the transmitting device 103 uses the third data unit D_3 to output the target data. If the third data unit D_3 has the same capacity as the first data unit D_1, the transmitting device 103 can directly use the first data unit D_1 as the third data unit D_3.
[0041] In one embodiment, the HID includes a sensor, and the target data is sensing information generated by the sensor. For example, the data generating device 101 is a position data generating device, and the sensing information is position data representing relative displacement between the HID and an object (e.g., a pen, a finger, a sensing surface, a table surface, or a ground surface). In this case, the HID 100 can be an optical navigation device, and the data generating device 101 can be an optical sensor.
[0042] In one embodiment, the HID 100 is an optical mouse. Figure 2 A block diagram of an optical mouse according to one embodiment of the present application is shown. In the embodiment of Figure 2 In one embodiment, the HID 100 is an optical mouse 201 including an optical sensor 203, a processing unit 205, and an RF IC (Radio Frequency Integrated Circuit) 207. The processing unit 205 can be implemented by a hardware processing circuit. In addition, the processing unit 205 can be implemented by at least one program executed by a firmware or a hardware.
[0043] In this case, the data generating device 101 is the optical sensor 203, and the transmitting device 103 is the RF IC 207. The optical sensor 203 is used to sense optical data (e.g., an image) and generate position data according to the optical data. Then, the optical sensor 203 outputs the position data to the processing unit 205 through the first data unit D_1. In one embodiment, the position data includes an X coordinate and a Y coordinate. After that, the processing unit 205 controls the RF IC 207 to selectively use the second data unit D_2 or the third data unit D_3. Note that, in Figure 2 In one embodiment, the processing unit 205 receives the first data unit D_1 and transmits the first data unit D_1 to the RF IC 207. However, in another embodiment, the optical sensor 203 can transmit the first data unit D_1 to the processing unit 205 and the RF IC 207, respectively.
[0044] In one embodiment, the RF IC 207 selectively uses the second data unit D_2 or the third data unit D_3 to output the target data according to the parameter used by the optical mouse 201. For example, in one embodiment, the RF IC 207 selectively uses the second data unit D_2 or the third data unit D_3 to output the target data according to the IPS (inch per second) of the optical mouse 201. In another embodiment, the RF IC 207 selectively uses the second data unit D_2 or the third data unit D_3 to output the target data according to the CPI (Counts per inch) of the optical mouse 201. In one embodiment, the IPS and the CPI are positively correlated with the position data outputted by the optical mouse 201. Therefore, if the IPS or the CPI is high, a data unit with large capacity is used. Conversely, if the IPS or the CPI is low, a data unit with small capacity is used.
[0045] In one embodiment, the RF IC 207 outputs the second data unit D_2 or the third data unit D_3 to a dongle 209. The dongle 209 includes an RF IC 211 and a processing unit 213. The dongle 209 is used for wireless communication between the optical mouse 201 and a computer. For example, the dongle 209 is plugged into and connected to the computer, receives the position data provided by the optical sensor 203 and transmits the position data to the computer. Then, the computer moves the cursor displayed on the screen according to the position data.
[0046] In Figure 1 With Figure 2 In one embodiment, the data generating device 101 uses the first data unit D_1 in the first mode, and the transmitting device 103 uses the second data unit D_2 or the third data unit D_3 in the first mode. However, the data generating device 101 and the transmitting device 103 can use data units with other capacities in other modes.
[0047] Figure 3 A block diagram of a HID system according to another embodiment of the present application is shown. In Figure 3 In one embodiment, if the data generating device 101 and the transmitting device 103 operate in the first mode, their operations are the same as those described in Figure 1 , and thus are not repeated here.
[0048] In addition, in Figure 3In an embodiment, the data generating device 101 generates a plurality of fourth data units D_4 having the target data in the second mode. The transmitting device 103 is configured to selectively use a fifth data unit D_5 or a sixth data unit D_6 to output the target data in the second mode. The fourth capacity of the fourth data unit D_4 is greater than the first capacity of the first data unit D_l. The fifth capacity of the fifth data unit D_5 is less than the fourth capacity. The sixth capacity of the sixth data unit D_6 is less than or equal to the fourth capacity. Note that the number of data unit sizes that the transmitting device 103 can select is not limited to two. In other words, the transmitting device 103 can use a data unit having a capacity less than or equal to the capacity of the data unit used by the data generating device 101 to output the target data. As shown in FIG. 9, in an embodiment, the fourth capacity is 16 bits, the fifth capacity is 12 bits, and the sixth capacity is 16 bits. If the sixth data unit D_6 and the fourth data unit D_4 have the same capacity, the transmitting device 103 can directly use the fourth data unit D_4 as the sixth data unit D_6. The fourth data unit D_4, the fifth data unit D_5, and the sixth data unit D_6 can be packets, but can also be data units using other data formats. Figure 3
[0049] Figure 3 The embodiment shown in FIG. 9 can also be applied to an optical mouse. In such an example, the first mode can be an office mode in which the optical mouse moves less frequently and slowly. In addition, the second mode can be a game mode in which the optical mouse moves frequently and quickly. Figure 4 A block diagram of an optical mouse according to another embodiment of the present application is shown in FIG. 10. In the embodiment shown in FIG. 10, the optical mouse 201 includes an optical sensor 203, a processing unit 205, and an RF IC 207. The optical sensor 203 is configured to sense optical data and generate position data from the optical data. Figure 4 In an embodiment, the optical mouse 201 includes an optical sensor 203, a processing unit 205, and an RF IC 207. The optical sensor 203 is configured to sense optical data and generate position data from the optical data.
[0050] If the processing unit 205 and the RF IC 207 operate in the first mode, their operations are the same as those described above, and thus the relevant descriptions are omitted. In the second mode, the optical sensor 203 outputs the position data to the processing unit 205 using the fourth data unit D_4. Thereafter, the processing unit 205 controls the RF IC 207 to selectively use the fifth data unit D_5 or the sixth data unit D_6. Note that in the embodiment shown in FIG. 9, the processing unit 205 receives the fourth data unit D_4 and transmits the fourth data unit D_4 to the RF IC 207. However, in another embodiment, the optical sensor 203 can transmit the fourth data unit D_4 to the processing unit 205 and the RF IC 207, respectively. Figure 2 Figure 4
[0051] In the second mode, the RF IC 207 can selectively use the fifth data unit D_5 or the sixth data unit D_6 to output the target data according to a parameter used by the optical mouse 201. For example, in one embodiment, the RF IC 207 selectively uses the fifth data unit D_5 or the sixth data unit D_6 to output the target data according to an IPS of the optical mouse 201. In another embodiment, the RF IC 207 selectively uses the fifth data unit D_5 or the sixth data unit D_6 to output the target data according to a CPI of the optical mouse 201. In one embodiment, the IPS and the CPI are positively correlated with the position data output by the optical mouse 201. Thus, if the IPS or the CPI is high, a data unit with a large capacity is used. Conversely, if the IPS or the CPI is low, a data unit with a small capacity is used.
[0052] In one embodiment, the RF IC 207 outputs the fifth data unit D_5 or the sixth data unit D_6 to the adapter 209, which includes the RF IC 211 and the processing unit 213, respectively. The adapter 209 can be used for wireless communication between the optical mouse 201 and a computer. For example, the adapter 209 is plugged into and connected to the computer, receives the position data provided by the optical sensor 203, and transmits the position data to the computer. The computer then moves a cursor displayed on a screen according to the position data.
[0053] In the above embodiments, the second capacity of the second data unit D_2 and the third capacity of the third data unit D_3 are less than or equal to the first capacity of the first data unit D_1. However, in one embodiment, the second capacity or the third capacity can be greater than the first capacity due to some requirements, such as encryption or noise reduction.
[0054] In one embodiment, the second capacity and the third capacity are different due to different precisions. For example, if the second data unit D_2 and the third data unit D_3 are used for distance measurement, the precision of the second data unit D_2 is centimeter, and the precision of the third data unit D_3 is millimeter. For another example, if the second data unit D_2 and the third data unit D_3 are used for a counter, the precision of the second data unit D_2 is ten digits of a count value, and the precision of the third data unit D_3 is one digit of the count value. The rules mentioned above for the second data unit D_2 and the third data unit D_3 can also be applied to the fifth data unit D_5 and the sixth data unit D_6 mentioned in the fifth embodiment and the sixth embodiment. Figure 3 and Figure 4 the fifth data unit D_5 and the sixth data unit D_6 mentioned in the fifth embodiment and the sixth embodiment.
[0055] In the above embodiments, the data received by the transmitting device 103 (i.e., the first data unit D_1) is in digital format. In these embodiments, if the first data unit D_1 is converted from an analog signal, the device for converting the analog signal to a digital format (e.g., an analog-to-digital converter) can be located external to the transmitting device 103. In one example, the data received by the transmitting device can be in analog format. In such an embodiment, the device for converting the analog signal to a digital format can be located internally or integrated into the transmitting device.
[0056] Figure 5 FIG. 1 shows a block diagram of a HID system according to another embodiment of the present invention. Figure 5 As shown, the HID system includes an HID 500, which includes a data generating device 501 and a transmitting device 503. The data generating device 501 is used to generate an analog data signal D_a including analog target data. The transmitting device 503 is used to convert the analog target data into digital target data and selectively output the digital target data using a first digital data unit D_1x or a second digital data unit D_2x. The first capacity of the first digital data unit D_1x is different from the second capacity of the second digital data unit D_2x. In one embodiment, the first capacity is 8 bits and the second capacity is 12 bits, but this is not limited to this. The selection of the first digital data unit D_1x and the second digital data unit D_2x can follow the rules of the previous embodiment and will not be repeated here.
[0057] According to the above embodiment, a corresponding Figures 1 to 4 The data transmission method is applied to HID (eg Figure 1 In the HID system of the HID 100 in FIG. 1 , the HID includes a data generating device and a transmitting device. Figure 6 A flow chart of a data transmission method according to an embodiment of the present invention is shown, comprising the following steps:
[0058] Step 601
[0059] The data generating device generates a first data unit in a first mode (eg, Figure 1 The first data unit D_1 in the data block includes target data.
[0060] Step 603
[0061] The transmitting device selectively uses the second data unit (eg Figure 2 The second data unit D_2 in the data unit or the third data unit (eg Figure 2 The third data unit D_3 in the output is used to output the target data.
[0062] The second capacity of the second data unit is different from the third capacity of the third data unit. In one embodiment, the second capacity of the first data unit is smaller than the first capacity. The third capacity is smaller than or equal to the first capacity.
[0063] In one embodiment, the data transfer method also includes the following steps:
[0064] In the second mode, the data generating device generates a fourth data unit (e.g., D_4 in FIG. 4) including the target data; and the transfer device selectively uses a fifth data unit (e.g., D_5 in FIG. 5) or a sixth data unit (e.g., D_6 in FIG. 6) to output the target data in the second mode. Figure 3 Figure 3 Figure 3
[0065] The fourth capacity of the fourth data unit is greater than the first capacity; the fifth capacity of the fifth data unit is smaller than the fourth capacity; and the sixth capacity of the sixth data unit is smaller than or equal to the fourth capacity.
[0066] The greater the capacity of a data unit, the longer the time required to process the data unit and the greater the power consumption to transfer the data unit. By the above embodiments, a data unit with a suitable capacity can be selected to transfer the target data. In this way, the time required to process the data unit and the power consumption to transfer the data unit can be optimized.
[0067] The above descriptions are only some embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A human interface device (HID) system, the system comprising: comprising: a data generating device for generating a first data unit comprising target data in a first mode; a transmitting device for selectively using a second data unit or a third data unit to output the target data in the first mode; wherein a second capacity of the second data unit is different from a third capacity of the third data unit. wherein the second capacity is less than a first capacity of the first data unit, and the third capacity is less than or equal to the first capacity.
2. The HID system of claim 1, wherein, the transmitting device selectively uses the second data unit or the third data unit to output the target data according to an amount of data of the target data in each of the first data unit.
3. The HID system of claim 1, wherein, the HID comprises a sensor, and the target data is sensing information generated by the sensor.
4. The HID system of claim 1, wherein, the data generating device is a position data generating device, and the sensing information is position data representing relative displacement of the HID and an object.
5. The HID system of claim 1, wherein, the HID is an optical navigation device and the data generating device is an optical sensor.
6. The HID system of claim 5, wherein, the HID is an optical mouse, wherein the transmitting device selectively uses the second data unit or the third data unit to output the target data according to IPS (inch per second) or CPI (Counts per inch) of the optical mouse.
7. The HID system of claim 6, wherein, the transmitting device transmits the second data unit or the second data unit to an adapter.
8. The HID system of claim 4, wherein, 9. The HID system of claim 1, wherein the data generating device further generates a fourth data unit comprising the target data in a second mode; the transmitting device selectively uses a fifth data unit or a sixth data unit to output the target data in the second mode; a fourth capacity of the fourth data unit is greater than the first capacity; a fifth capacity of the fifth data unit is different from a sixth capacity of the sixth data unit. the data transmitting method comprises:
10. A data transfer method used in a HID system including a HID including a data generating device and a transfer device, characterized by, (a) generating a first data unit comprising target data in a first mode by the data generating device; and (b) selectively using a second data unit or a third data unit to output the target data in the first mode by the transmitting device; wherein a second capacity of the second data unit is different from a third capacity of the third data unit. wherein the second capacity is less than a first capacity of the first data unit, and the third capacity is less than or equal to the first capacity.
11. The data transfer method of claim 10, wherein, the step (b) selectively uses the second data unit or the third data unit to output the target data according to an amount of data of the target data in each of the first data unit.
12. The data transfer method of claim 10, wherein, the HID comprises a sensor, and the target data is sensing information generated by the sensor.
13. The data transfer method of claim 10, wherein, the data generating device is a position data generating device, and the sensing information is position data representing relative displacement of the HID and an object.
14. The data transfer method of claim 13, wherein, the HID is an optical navigation device and the data generating device is an optical sensor.
15. The data transfer method of claim 14, wherein, 16. The data transfer method of claim 15, wherein, The HID is an optical mouse, wherein the step (b) selectively uses the second data unit or the third data unit to output the target data according to an IPS (inch per second) of the optical mouse.
17. The data transfer method of claim 15, wherein, The HID is an optical mouse, wherein the step (b) selectively uses the second data unit or the third data unit to output the target data according to a CPI (Counts per inch) of the optical mouse.
18. The data transfer method of claim 15, wherein, The transmitting device transmits the second data unit or the second data unit to an adapter.
19. The data transfer method of claim 10, wherein, Further comprising: The data generating device generates a fourth data unit in a second mode, the fourth data unit comprising the target data; The transmitting device selectively uses a fifth data unit or a sixth data unit to output the target data in the second mode; wherein a fourth capacity of the fourth data unit is greater than the first capacity; wherein a fifth capacity of the fifth data unit is less than the fourth capacity; wherein a sixth capacity of the sixth data unit is less than or equal to the fourth capacity.
20. An HID system characterized by Comprising: A HID comprising: A data generating device to generate an analog data signal, the analog data signal comprising analog target data; A transmitting device to convert the analog target signal to a digital target signal, to selectively use a first digital data unit or a second digital data unit to output the digital target signal; wherein a first capacity of the first digital data unit is different from a second capacity of the second digital data unit.