Patentable/Patents/US-8788730
US-8788730

Method for sending a keycode of a non-keyboard apparatus

PublishedJuly 22, 2014
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

A method for sending a keycode of a non-keyboard apparatus is provided and includes the following steps. The non-keyboard apparatus determines the connection status between itself and a computer by the time required for device enumeration. Then, according to a value generated from device enumeration, the non-keyboard apparatus identifies the kind of operating system running on the computer. The non-keyboard apparatus sends to the computer a keycode corresponding to the Num Lock key and/or a keycode corresponding to the Caps Lock key such that a sending time and a feedback time are obtained. A parameter related to the efficiency of the computer is then calculated based.

Patent Claims
15 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method for sending a keycode of a non-keyboard apparatus, comprising the steps of: (a) connecting the non-keyboard apparatus to a computer so as to perform device enumeration and generate enumeration information, wherein the enumeration information is recorded by the non-keyboard apparatus and includes an enumeration value; (b) identifying, according to the enumeration value, the kind of an operating system used by the computer, and recording the kind of the operating system by the non-keyboard apparatus; and (c) reading the kind of the operating system so as to determine a preset second keycode that matches the kind of the operating system, wherein the second keycode is an ASCII (American Standard Code for Information Interchange) code.

2

2. The method of claim 1 , wherein the enumeration information further includes an enumeration time, and the method further comprises, between the steps (a) and (b), the step of: determining whether the enumeration time is greater than an original recorded enumeration time, wherein if the enumeration time is greater than the original recorded enumeration time, it is determined that the non-keyboard apparatus is connected to the computer for a first time, and the steps that follow, starting from the step (b), are executed; and if the enumeration time is not greater than the original recorded enumeration time, it is determined that the non-keyboard apparatus is not connected to the computer for the first time, and the steps that follow, starting from the step (b), are not executed.

3

3. The method of claim 1 , further comprising, between the steps (b) and (c), the steps of: (I) sending a first keycode to the computer by the non-keyboard apparatus at a sending time, and recording the sending time by the non-keyboard apparatus, wherein the first keycode is selected from the group consisting of a keycode corresponding to the Num Lock key, a keycode corresponding to the Caps Lock key or a combination of two of these; (II) feeding back to the non-keyboard apparatus, by the computer at a feedback time, that a first key corresponding to the first keycode is enabled, and recording the feedback time by the non-keyboard apparatus; and (III) reading the sending time and the feedback time, and calculating a time elapsed therebetween so as to produce a computer efficiency parameter, wherein the computer efficiency parameter is recorded by the non-keyboard apparatus.

4

4. The method of claim 2 , further comprising, between the steps (b) and (c), the steps of: (I) sending a first keycode to the computer by the non-keyboard apparatus at a sending time, and recording the sending time by the non-keyboard apparatus, wherein the first keycode is selected from the group consisting of a keycode corresponding to the Num Lock key, a keycode corresponding to the Caps Lock key or a combination of two of these; (II) feeding back to the non-keyboard apparatus, by the computer at a feedback time, that a first key corresponding to the first keycode is enabled, and recording the feedback time by the non-keyboard apparatus; and (III) reading the sending time and the feedback time, and calculating a time elapsed therebetween so as to produce a computer efficiency parameter, wherein the computer efficiency parameter is recorded by the non-keyboard apparatus.

5

5. The method of claim 3 , wherein the step (c) further comprises: reading the computer efficiency parameter so as to determine a time interval at which key characters are to be sent.

6

6. The method of claim 4 , wherein the step (c) further comprises: reading the computer efficiency parameter so as to determine a time interval at which key characters are to be sent.

7

7. The method of claim 5 , wherein the enumeration information further includes an original key status of the first keycode, and the method further comprises, after the step (c), the step of: determining, by the non-keyboard apparatus, whether a current key status of the first keycode is consistent with the original key status of the first keycode, wherein if no, the non-keyboard apparatus sends a third keycode to the computer, wherein the third keycode is selected from the group consisting of a keycode for disabling the Num Lock key, a keycode for disabling the Caps Lock key or a combination of two of these.

8

8. The method of claim 6 , wherein the enumeration information further includes an original key status of the first keycode, and the method further comprises, after the step (c), the step of: determining, by the non-keyboard apparatus, whether a current key status of the first keycode is consistent with the original key status of the first keycode, wherein if no, the non-keyboard apparatus sends a third keycode to the computer, wherein the third keycode is selected from the group consisting of a keycode for disabling the Num Lock key, a keycode for disabling the Caps Lock key or a combination of two of these.

9

9. The method of claim 3 , wherein the computer efficiency parameter satisfies the relationship of: the computer efficiency parameter≧(the feedback time−the sending time)/2.

10

10. The method of claim 4 , wherein the computer efficiency parameter satisfies the relationship of: the computer efficiency parameter≧(the feedback time−the sending time)/2.

11

11. A method for sending a keycode of a non-keyboard apparatus, comprising the steps of: (a) connecting the non-keyboard apparatus to a computer so as to perform device enumeration and generate enumeration information, wherein the enumeration information is recorded by the non-keyboard apparatus; (b) setting information related to the kind of an operating system, and recording the information by the non-keyboard apparatus; (c) sending a first keycode to the computer by the non-keyboard apparatus at a sending time, and recording the sending time by the non-keyboard apparatus, wherein the first keycode is selected from the group consisting of a keycode corresponding to the Num Lock key, a keycode corresponding to the Caps Lock key or a combination of two of these; (d) feeding back to the non-keyboard apparatus, by the computer at a feedback time, that a first key corresponding to the first keycode is enabled, and recording the feedback time by the non-keyboard apparatus; (e) reading the sending time and the feedback time, and calculating a time elapsed therebetween so as to produce a computer efficiency parameter, wherein the computer efficiency parameter is recorded by the non-keyboard apparatus; and (f) reading the kind of the operating system so as to determine a preset second keycode that matches the kind of the operating system, wherein the second keycode includes a plurality of key characters; and reading the computer efficiency parameter so as to determine a time interval at which the key characters are to be sent, wherein the second keycode is an ASCII (American Standard Code for Information Interchange) code.

12

12. The method of claim 11 , wherein the enumeration information further includes an enumeration time, and the method further comprises, between the steps (a) and (b), the step of: determining whether the enumeration time is greater than an original recorded enumeration time, wherein if the enumeration time is greater than the original recorded enumeration time, it is determined that the non-keyboard apparatus is connected to the computer for a first time, and the steps that follow, starting from the step (b), are executed; and if the enumeration time is not greater than the original recorded enumeration time, it is determined that the non-keyboard apparatus is not connected to the computer for the first time, and the steps that follow, starting from the step (b), are not executed.

13

13. The method of claim 11 , wherein the enumeration information further includes an original key status of the first keycode, and the method further comprises, after the step (f), the step of: determining, by the non-keyboard apparatus, whether a current key status of the first keycode is consistent with the original key status of the first keycode, wherein if no, the non-keyboard apparatus sends a third keycode to the computer, wherein the third keycode is selected from the group consisting of a keycode for disabling the Num Lock key, a keycode for disabling the Caps Lock key or a combination of two of these.

14

14. The method of claim 12 , wherein the enumeration information further includes an original key status of the first keycode, and the method further comprises, after the step (f), the step of: determining, by the non-keyboard apparatus, whether a current key status of the first keycode is consistent with the original key status of the first keycode, wherein if no, the non-keyboard apparatus sends a third keycode to the computer, wherein the third keycode is selected from the group consisting of a keycode for disabling the Num Lock key, a keycode for disabling the Caps Lock key or a combination of two of these.

15

15. The method of claim 11 , wherein the computer efficiency parameter satisfies the relationship of: the computer efficiency parameter≧(the feedback time−the sending time)/2.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

July 12, 2011

Publication Date

July 22, 2014

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Method for sending a keycode of a non-keyboard apparatus” (US-8788730). https://patentable.app/patents/US-8788730

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.