CN101609370A - A kind of keyboard and method of work thereof - Google Patents

A kind of keyboard and method of work thereof Download PDF

Info

Publication number
CN101609370A
CN101609370A CNA2009101576309A CN200910157630A CN101609370A CN 101609370 A CN101609370 A CN 101609370A CN A2009101576309 A CNA2009101576309 A CN A2009101576309A CN 200910157630 A CN200910157630 A CN 200910157630A CN 101609370 A CN101609370 A CN 101609370A
Authority
CN
China
Prior art keywords
keyboard
host
user
module
interface
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.)
Pending
Application number
CNA2009101576309A
Other languages
Chinese (zh)
Inventor
李治勋
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNA2009101576309A priority Critical patent/CN101609370A/en
Publication of CN101609370A publication Critical patent/CN101609370A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a kind of keyboard and method of work thereof, belong to communication technique field.Described keyboard comprises: keyboard case, keyboard matrix, keyboard coding module, host interface routing module and interface module.Described method comprises: the input information that receives the user; The main frame of selecting according to the user is converted to user's input information and the corresponding coding of described main frame; The main frame of selecting with the user connects, to send to described main frame with the corresponding coding of main frame, by utilizing this main frame routing module that keyboard scancode is converted to the discernible coding form of different main frames, a keyboard is used for a plurality of main frames simultaneously, save resource.

Description

Keyboard and working method thereof
Technical Field
The invention relates to the technical field of communication, in particular to a keyboard and a working method thereof.
Background
In the prior art, a keyboard is the most common and the most important input device. Through the keyboard, English letters, numbers, punctuation marks, function keys and the like can be input into a host of the keyboard, so that commands, input data and the like are sent to the host. The host may be a Mobile terminal such as a Mobile phone, a PDA (Personal Digital Assistant), an MID (Mobile Internet Devices), or a PC (Personal Computer).
At present, interfaces for connecting different hosts and keyboards are different.
In the course of implementing the present invention, the inventors found that the above prior art has at least the following disadvantages:
the keyboard is inconvenient to use because the keyboard can not be used by various types of hosts. In general, a keyboard can only be used by a host.
Disclosure of Invention
In order to make a keyboard serve a plurality of hosts, the invention provides a keyboard and a working method thereof. The technical scheme is as follows:
a keyboard, comprising: the keyboard comprises a keyboard shell, a keyboard matrix, a keyboard coding module, a host interface routing module and an interface module;
the keyboard matrix is connected with the keyboard shell and used for detecting input information of a user;
the keyboard coding module is connected with the keyboard matrix and used for being matched with the keyboard matrix and generating a keyboard scanning code according to the detected input information of the user;
the host interface routing module is connected with the keyboard coding module and used for converting the keyboard scanning code into a code corresponding to the host according to the host selected by the user;
the interface module is connected with the host interface routing module and used for establishing link connection for transmitting the codes with the host.
The keyboard shell is also provided with a host selection key for realizing circulating switching selection in a plurality of connectable hosts.
And the keyboard shell is also provided with a host indicator lamp for indicating the host selected by the user.
An operating method of a keyboard comprises the following steps:
receiving input information of a user;
converting input information of a user into a code corresponding to a host according to the host selected by the user;
and establishing connection with the host selected by the user, and sending the code corresponding to the host.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
by adding the host interface routing module, the keyboard scanning code is converted into a coding form which can be recognized by different hosts by using the module, so that one keyboard can be used by a plurality of hosts at the same time, and resources are saved.
Drawings
Fig. 1 is a schematic structural diagram of a keyboard according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for operating a keyboard according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a keyboard according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a method for operating a keyboard according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a keyboard according to a third embodiment of the present invention;
fig. 6 is a flowchart of a working method of a keyboard according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
Referring to fig. 1, an embodiment of the present invention provides a keyboard, including a keyboard housing, a keyboard matrix, a keyboard encoding module, a host interface routing module, and an interface module.
The keyboard matrix, the keyboard coding module, the host interface routing module and the interface module are all positioned in the keyboard shell; wherein,
the keyboard matrix is connected with the keyboard shell and used for detecting input information of a user;
the input information of the user can be input information generated by the user through knocking different keys on the keyboard shell, such as corresponding codes of letters, numbers, function keys and the like.
The keyboard coding module is connected with the keyboard matrix and used for generating a keyboard scanning code according to the detected input information of the user in cooperation with the keyboard matrix;
the method for generating the keyboard scan code by matching the keyboard coding module with the keyboard matrix is the prior art and is not described herein.
The host interface routing module is connected with the keyboard coding module and used for converting the keyboard scanning code into a code corresponding to the host according to the host selected by a user;
the mode of selecting the host by the user can realize the circular switching selection in a plurality of connectable hosts by knocking a host selection key arranged on the shell, each host can correspond to a different host indicator light, and the on/off of the different host indicator lights represents the selection/non-selection of the host by the user.
Here, the type of the host may be, but is not limited to, all hosts that can provide a drive, such as a cellular phone, a PDA, an MID, a PC, and the like. Host-adapted encoding may include, but is not limited to: USB HID keyboard code, PS2 keyboard code, etc.
The host interface routing module can be provided in various chip forms of an electronic circuit, and can also be realized in a software form.
The interface module is connected with the host interface routing module and used for establishing link connection for transmitting codes with the host and sending the codes converted by the host interface routing module to the host selected by a user.
Referring to fig. 2, the working method of the keyboard may specifically include:
step 201: receiving an input signal of a user, and converting input information of the user into a code corresponding to a host according to the host selected by the user;
step 202: and establishing connection with the host selected by the user through the interface module, and sending the code corresponding to the host.
The embodiment of the invention can convert the keyboard scanning code into the code form which can be recognized by different hosts by adding the host interface routing module, so that one keyboard can be used by a plurality of hosts at the same time, and the resources are saved.
Example two
Referring to fig. 3, an embodiment of the present invention provides a keyboard, including a keyboard shell, a keyboard matrix, a keyboard encoding module, a host interface routing module, and an interface module, where the embodiment takes a USB/bluetooth dual-host keyboard as an example for description.
The keyboard matrix, the keyboard coding module, the host interface routing module and the interface module are all positioned in the keyboard shell; wherein,
the keyboard matrix is connected with the keyboard shell and used for detecting input information of a user;
the input information of the user can be input information, such as characters, letters, numbers and the like, generated by the user through knocking different keys on the keyboard shell.
The keyboard coding module is connected with the keyboard matrix and used for generating a keyboard scanning code according to the detected input information of the user in cooperation with the keyboard matrix;
the method for generating the keyboard scan code by matching the keyboard coding module with the keyboard matrix is the prior art and is not described herein.
The host interface routing module is connected with the keyboard coding module and used for converting the keyboard scanning code into a code corresponding to the host according to the host selected by a user;
the mode that the user selects the host computer includes a lot, can realize circulating switching selection in a plurality of connectable host computers through knocking host computer selection button set up on the keyboard shell, every host computer can correspond to a different host computer pilot lamp, the turning on/off of different host computer pilot lamps represents that the user selects/does not select this host computer.
In this embodiment, there are two hosts connectable to the keyboard, and the interfaces between the two hosts and the keyboard are respectively a bluetooth interface and a USB/PS2 interface, and when a user taps a host selection key, the host served by the keyboard is switched between the two hosts; meanwhile, when the host of the keyboard service is the host of the Bluetooth interface, the host indicator lamp corresponding to the host of the Bluetooth interface is lightened to remind a user that the host of the current keyboard service is the host of the Bluetooth interface; when the host of the keyboard service is the host of the USB/PS2 interface, the host indicator lamp corresponding to the host of the USB/PS2 interface is lighted up to remind the user that the host of the keyboard service is the host of the USB/PS2 interface.
Here, the type of the host may be, but is not limited to, all hosts that can provide a drive, such as a cellular phone, a PDA, an MID, a PC, and the like. Host-adapted encoding may include, but is not limited to: USB HID keyboard code, PS2 keyboard code, etc.
The host interface routing module can be provided in various chip forms of an electronic circuit, and can also be realized in a software form.
The interface module is connected with the host interface routing module and used for establishing link connection for transmitting codes with the host and sending the codes converted by the host interface routing module to the host selected by a user.
Referring to fig. 4, the working method of the keyboard may specifically include:
step 401: receiving an input signal of a user, and converting input information of the user into a code (Bluetooth HID keyboard code or USB HID keyboard code) corresponding to a host according to the host (Bluetooth interface host or USB interface host) selected by the user;
step 402: and establishing connection with the host selected by the user through the interface module, and sending the code corresponding to the host.
The embodiment of the invention can convert the keyboard scanning code into the code form which can be recognized by different hosts by adding the host interface routing module, so that one keyboard can be used by a plurality of hosts at the same time, and the resources are saved.
EXAMPLE III
Referring to fig. 5, an embodiment of the present invention provides a keyboard, including a keyboard shell, a keyboard matrix, a keyboard encoding module, a host interface routing module, and an interface module, where the embodiment takes a USB/Wifi dual-host keyboard as an example for description.
The keyboard matrix, the keyboard coding module, the host interface routing module and the interface module are all positioned in the keyboard shell; wherein,
the keyboard matrix is connected with the keyboard shell and used for detecting input information of a user;
the input information of the user can be input information generated by the user by hitting different keys on the keyboard shell, such as characters, letters, numbers, function keys and the like.
The keyboard coding module is connected with the keyboard matrix and used for generating a keyboard scanning code according to the detected input information of the user in cooperation with the keyboard matrix;
the method for generating the keyboard scan code by matching the keyboard coding module with the keyboard matrix is the prior art and is not described herein.
The host interface routing module is connected with the keyboard coding module and used for converting the keyboard scanning code into a code corresponding to the host according to the host selected by a user;
the mode that the user selects the host computer includes a lot, can realize circulating switching selection in a plurality of connectable host computers through knocking host computer selection button set up on the keyboard shell, every host computer can correspond to a different host computer pilot lamp, the turning on/off of different host computer pilot lamps represents that the user selects/does not select this host computer.
In this embodiment, the number of the hosts connectable to the keyboard is two, the interfaces between the two hosts connectable to the keyboard are a wifi/wap interface and a USB/PS2 interface, respectively, when the user taps a host selection button, the host served by the keyboard switches between the two hosts, and meanwhile, when the host served by the keyboard is the host of the wifi/wap interface, the host indicator lamp of the host corresponding to the wifi/wap interface is turned on to remind the user that the host served by the current keyboard is the host of the wifi/wap interface; when the host of the keyboard service is the host of the USB/PS2 interface, the host indicator lamp corresponding to the host of the USB/PS2 interface is lighted up to remind the user that the host of the keyboard service is the host of the USB/PS2 interface.
Here, the type of the host may be, but is not limited to, all hosts that can provide a drive, such as a cellular phone, a PDA, an MID, a PC, and the like. Host-adapted encoding may include, but is not limited to: USB HID keyboard code, PS2 keyboard code, etc.
The host interface routing module can be provided in various chip forms of an electronic circuit, and can also be realized in a software form.
The interface module is connected with the host interface routing module and used for establishing link connection for transmitting codes with the host and sending the codes converted by the host interface routing module to the host selected by a user.
Referring to fig. 6, the working method of the keyboard may specifically include:
step 601: receiving an input signal of a user, and converting the input information of the user into a code (HID/PS 2 keyboard code packaged by a Wifi wireless frame or USB HID keyboard code) corresponding to a host (the host of a Wifi interface or the host of a USB interface) selected by the user;
step 602: and establishing connection with the host selected by the user through the interface module, and sending the code corresponding to the host.
The embodiment of the invention can convert the keyboard scanning code into the code form which can be recognized by different hosts by adding the host interface routing module, so that one keyboard can be used by a plurality of hosts at the same time, and the resources are saved.
The embodiment of the present invention may be implemented by software, and the corresponding software program may be stored in a readable storage medium, for example, a memory of a mobile terminal, a hard disk of a router, a cache, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (4)

1. A keyboard, comprising: the keyboard comprises a keyboard shell, a keyboard matrix, a keyboard coding module, a host interface routing module and an interface module;
the keyboard matrix is connected with the keyboard shell and used for detecting input information of a user;
the keyboard coding module is connected with the keyboard matrix and used for being matched with the keyboard matrix and generating a keyboard scanning code according to the detected input information of the user;
the host interface routing module is connected with the keyboard coding module and used for converting the keyboard scanning code into a code corresponding to the host according to the host selected by the user;
the interface module is connected with the host interface routing module and used for establishing link connection for transmitting the codes with the host.
2. The keyboard of claim 1, wherein the keyboard housing further comprises a host selection button for enabling a circular switching selection among the plurality of connectable hosts.
3. The keyboard of claim 2, wherein the keyboard housing further comprises a host indicator light for indicating a host selected by a user.
4. A method of operating a keyboard as claimed in claim 1, the method comprising:
receiving input information of a user;
converting input information of a user into a code corresponding to a host according to the host selected by the user;
and establishing connection with the host selected by the user, and sending the code corresponding to the host.
CNA2009101576309A 2009-07-21 2009-07-21 A kind of keyboard and method of work thereof Pending CN101609370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009101576309A CN101609370A (en) 2009-07-21 2009-07-21 A kind of keyboard and method of work thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009101576309A CN101609370A (en) 2009-07-21 2009-07-21 A kind of keyboard and method of work thereof

Publications (1)

Publication Number Publication Date
CN101609370A true CN101609370A (en) 2009-12-23

Family

ID=41483140

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009101576309A Pending CN101609370A (en) 2009-07-21 2009-07-21 A kind of keyboard and method of work thereof

Country Status (1)

Country Link
CN (1) CN101609370A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881148A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof
CN104881133A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof, combination of computer system, keyboard and application program
CN105680874A (en) * 2016-01-05 2016-06-15 湖南工业大学 Matrix-type keyboard scanning circuit and scanning and encoding method
CN106304069A (en) * 2016-08-08 2017-01-04 惠州Tcl移动通信有限公司 Realize panel computer and keyboard WIFI hot spot quick connecting method and system
CN107566038A (en) * 2017-08-10 2018-01-09 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching
CN107592264A (en) * 2017-08-10 2018-01-16 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching
CN107592681A (en) * 2017-08-10 2018-01-16 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881148A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof
CN104881133A (en) * 2015-05-15 2015-09-02 苏州达方电子有限公司 Keyboard and control method thereof, combination of computer system, keyboard and application program
CN104881148B (en) * 2015-05-15 2017-12-15 苏州达方电子有限公司 Keyboard and its control method
CN104881133B (en) * 2015-05-15 2017-12-29 苏州达方电子有限公司 The combination of keyboard and its control method, computer system and keyboard and application program
CN105680874A (en) * 2016-01-05 2016-06-15 湖南工业大学 Matrix-type keyboard scanning circuit and scanning and encoding method
CN105680874B (en) * 2016-01-05 2018-06-26 湖南工业大学 Matrix keyboard scanning circuit and scanning encoding method
CN106304069A (en) * 2016-08-08 2017-01-04 惠州Tcl移动通信有限公司 Realize panel computer and keyboard WIFI hot spot quick connecting method and system
EP3499935A4 (en) * 2016-08-08 2020-01-01 JRD Communication Inc. Method and system for rapidly connecting hotspot
CN107566038A (en) * 2017-08-10 2018-01-09 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching
CN107592264A (en) * 2017-08-10 2018-01-16 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching
CN107592681A (en) * 2017-08-10 2018-01-16 上海斐讯数据通信技术有限公司 A kind of wireless router, Wireless Keyboard realize the method and system of equipment switching

Similar Documents

Publication Publication Date Title
CN101609370A (en) A kind of keyboard and method of work thereof
CN104424496B (en) Two-dimensional code generation method, recognition methods, information providing method, device and system
CN101404716B (en) Method and apparatus for inputting characters on digital television terminal
CN104246663A (en) Character string input control method and device
CN1679022A (en) Systems and methods of building and using custom word lists
CN102117121B (en) Accessory for a portable computing device and method for enabling accessory to work
CN1732426A (en) Predictive text entry and data compression method for a mobile communication terminal
CA2511293A1 (en) Ambiguity resolution for predictive text entry
CN103051798B (en) A kind of near radio data transmission method based on optical sensor and mobile terminal
EP1700192A1 (en) Method and apparatus for entering data with a four way input device
CN201549063U (en) Long-range control system of LED signboard
CN103383637B (en) Control method and device for screen background display
CN103607377A (en) Method, device and system for information sharing
US7953898B2 (en) Apparatus and method for using expansion key in portable terminal
US20040179041A1 (en) Method for defining functions of keys of a keypad of an electronic device
JP2004021983A (en) Portable information device capable of processing data input from external device and its method
CN201489459U (en) Keyboard
CN102999639B (en) A kind of lookup method based on speech recognition character index and system
CN101661335A (en) Chinese character input method applicable to embedded type platform and system
CN101098526A (en) Braille communications terminal
CN112423282A (en) Scanning gun data processing method and related equipment
JP2001159946A (en) Input device and portable telephone set
CN107111501A (en) A kind of sort method of multi-option, device and terminal
CN204090056U (en) A kind of intelligent remote controller
JP5513280B2 (en) Mobile terminal, brightness control program, and brightness control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091223