CN100367160C - Split remote control keyboard and its use method - Google Patents

Split remote control keyboard and its use method Download PDF

Info

Publication number
CN100367160C
CN100367160C CNB2005100073056A CN200510007305A CN100367160C CN 100367160 C CN100367160 C CN 100367160C CN B2005100073056 A CNB2005100073056 A CN B2005100073056A CN 200510007305 A CN200510007305 A CN 200510007305A CN 100367160 C CN100367160 C CN 100367160C
Authority
CN
China
Prior art keywords
keypad
keyboard
unit
remote control
master keyboard
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.)
Expired - Fee Related
Application number
CNB2005100073056A
Other languages
Chinese (zh)
Other versions
CN1815413A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2005100073056A priority Critical patent/CN100367160C/en
Publication of CN1815413A publication Critical patent/CN1815413A/en
Application granted granted Critical
Publication of CN100367160C publication Critical patent/CN100367160C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses a split type keyboard which comprises a main keyboard unit which is connected with a computer through PS/2 or a USB interface, and a remote control keypad unit, wherein the remote control keypad unit integrates a keypad and a remote controller, and key value codes of the keypad or key value codes of the remote controller are transmitted to the main keyboard unit in a wireless transmission mode. In addition, the present invention also discloses a split type keyboard receiving method and a transmitting method. The present invention is applied, so the functions of the keypad and the functions of the remote controller can both realized through the remote control of the keypad.

Description

A kind of split type remote keypad and using method thereof
Technical field
The present invention relates to controlled in wireless technology and computer entry device, relate in particular to a kind of split type remote keypad and using method thereof.
Background technology
Computer keyboard is one of comparatively common computer peripheral.As shown in Figure 1, traditional keyboard is made up of Master Keyboard and keypad, and wherein Master Keyboard comprises letter key, numerical key and function key etc., and keypad then mainly comprises numerical key and directionkeys.Generally, Master Keyboard and keypad are integrated as a whole, are connected on the computing machine by PS/2 or USB interface.
Along with improving constantly of development of electronic technology and software level, present personal computer (PC) not only can be realized traditional functions such as data operation, document process and network service, but also household electrical appliances functions such as playing TV programme, processing electronic photo can be provided.User's use provides independent PC telepilot usually for convenience.Still with reference to Fig. 1, existing P C set remote-controller adopts technology of infrared transmission, after the user presses certain button on the telepilot, telepilot sends to the Infrared remote controller dash receiver with the key assignments sign indicating number of correspondence in the mode of infrared signal, the Infrared remote controller dash receiver is again by RS-232 serial line interface or USB (universal serial bus) (USB) interface, the key assignments sign indicating number of telepilot is transmitted to PC,, thereby realizes user's desired procedure so that the inner corresponding software module of PC discerns and handle.
As everyone knows, mainly comprise numerical key and directionkeys on the telepilot, above-mentioned button is comparatively similar on function to the keypad in the PC keyboard.But, because keyboard and telepilot are separate, the pairing operation of key assignments sign indicating number that both send also is different, so the user can't realize the function of telepilot by the operation keypad, can not realize the function of keypad equally by remote controller, cause the waste of resource.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of split type keyboard, can have the function of PC keyboard and telepilot simultaneously.
Another object of the present invention is to provide a kind of using method of split type keyboard, make the user can realize the function of keyboard and telepilot by this split type keyboard.
For achieving the above object, the invention provides a kind of split type keyboard, this keyboard comprises: the Master Keyboard unit that links to each other with computing machine,
Wherein, described Master Keyboard unit comprises: Master Keyboard controller that links together and Master Keyboard array, described Master Keyboard controller is used for the Master Keyboard array is carried out keyboard scan, the key value of the key correspondence that is pressed in the acquisition Master Keyboard array, and be converted to computing machine can the recognition data signal, send to computing machine;
It is characterized in that, described Master Keyboard unit also comprises: first radio receiving transmitting module, be used for receiving the key value that comes from the remote control keypad unit by wireless transmission method, and send the key value that receives to described Master Keyboard controller, described Master Keyboard controller sends to computing machine after the key value is handled;
Described split type keyboard further comprises the remote control keypad unit, and described remote control keypad unit comprises: keypad controller, second radio receiving transmitting module and keypad array; Wherein,
The keypad array is used to be provided at the button that switches between keypad state and telepilot state and the button of compatible keypad and remote-controller function;
The keypad controller is used for the keypad array scanning, state according to the described button that between keypad state and telepilot state, switches, the key value of the key correspondence under keypad state or telepilot state that is pressed in the acquisition keypad array, and convert the data-signal of compliance with wireless communication agreement to, send described second radio receiving transmitting module to;
Second radio receiving transmitting module is a 2.4GHz wireless transmission chip, and the signal that is used for the keypad controller is transmitted sends to described first radio receiving transmitting module by wireless transmission method, wherein,
Described keypad controller is connected to described second radio receiving transmitting module: 4 general input/output interfaces of keypad controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of 2.4GHz wireless transmission chip formation synchronous serial communication interface respectively.
Described Master Keyboard unit further comprises feed circuit, is used to utilize the voltage that obtains from computing machine, is described first radio receiving transmitting module power supply.
Described remote control keypad unit further comprises: battery feed circuit, be used for obtaining voltage from the battery of self inside, and be described keypad controller and the power supply of second radio receiving transmitting module, and carry out power filter and prevent the battery reversal connection.
Wireless transmission method between described first radio receiving transmitting module and second radio receiving transmitting module is: 2.4GHz twireless radio-frequency communication mode.
Described Master Keyboard controller is the keyboard controller of compatible PS/2 and USB (universal serial bus), and described first radio receiving transmitting module is the 2.4GHz radio transmitting and receiving chip; Wherein,
Described Master Keyboard controller is connected to described first radio receiving transmitting module: 4 general input/output interfaces of Master Keyboard controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of formation synchronous serial communication interface in the 2.4GHz radio transmitting and receiving chip respectively.
Described battery feed circuit comprises: battery, diode and stabilivolt; Wherein,
The electric current that described battery flows out is through arriving the negative electrode of stabilivolt behind the diode;
The plus earth of described stabilivolt;
Described keypad controller is connected to battery feed circuit: the voltage pin VCC of keypad controller links to each other with the negative electrode of diode in the described battery feed circuit;
Described second radio receiving transmitting module is connected to battery feed circuit: the voltage pin VCC of 2.4GHz wireless transmission chip links to each other with the negative electrode of stabilivolt in the described battery feed circuit.
The present invention also provides a kind of using method of split type keyboard, and described split type keyboard comprises Master Keyboard unit and remote control keypad unit; In described remote control keypad unit, 4 general input/output interfaces of keypad controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of 2.4GHz wireless transmission chip formation synchronous serial communication interface respectively, and this method may further comprise the steps:
A. trigger the button in Master Keyboard unit and/or the remote control keypad unit, keypad controller in the remote control keypad unit is determined the key value of key under keypad state or telepilot state that be pressed according to the state of function switch key in the remote control keypad unit, convert this key value the data-signal of compliance with wireless communication agreement to, send described 2.4GHz wireless transmission chip to by described synchronous serial communication interface;
B. the Master Keyboard unit is by obtaining the key value of the key correspondence that is pressed in the Master Keyboard unit to the keyboard scan of self, and/or obtains the key value of the key correspondence that is pressed the remote control keypad unit by wireless transmission method from described 2.4GHz wireless transmission chip;
C. described key value is sent to computing machine, carry out corresponding operating by computing machine according to this key value, and return execution in step A.
The described state according to function switch key in the remote control keypad unit of steps A determines that the method for the key value of key under keypad state or telepilot state that be pressed may further comprise the steps:
Whether A11. judge has key to be pressed in the remote control keypad unit, if, then the keypad array in the remote control keypad unit is carried out keyboard scan, and continue execution in step A12, otherwise, execution in step A11 returned;
A12. whether the arbitration functions switch key is pressed, if, then switch the duty of remote control keypad unit, and return execution in step A11, otherwise, execution in step A13;
A13. judge whether the remote control keypad unit is in the keypad state, if, then handle keyboard-coding according to the keypad mode, obtain the key value under the keypad state; Otherwise, handle keyboard-coding according to the telepilot mode, obtain the key value under the telepilot state.
Steps A 11 described returning before the execution in step A11, this method further comprises:
Judge whether to surpass maximum idle time, if, judge then whether the 2.4GHz wireless transmission chip in the remote control keypad unit is in low power consumpting state, if be in low power consumpting state, then return execution in step A11, if be not in low power consumpting state, then described 2.4GHz wireless transmission chip enters low power consumpting state, and returns execution in step A11; Otherwise, return execution in step A11.
The method of steps A 12 described switching remote control keypad cell operation states is:
To show the function zone bit negate of remote control keypad cell operation state.
Described step B may further comprise the steps:
B11. whether according to the level state of general input/output interface in the Master Keyboard controller of Master Keyboard unit, judging has key to be pressed in the Master Keyboard unit, if, execution in step B12 then, otherwise, execution in step B13;
B12. the Master Keyboard array in the Master Keyboard unit is carried out keyboard scan, obtain concrete Master Keyboard key information, then resulting key information is carried out the Master Keyboard encoding process, be converted to the key value of the key correspondence that is pressed, and execution in step C;
B13. judge whether to receive the wireless signal transmission that comes from the remote control keypad unit, if, then carry out the keypad encoding process, and with treated and the key value of remote control keypad unit convert the signal that computing machine can be discerned to, execution in step C then, otherwise, return execution in step B11.
The described method that judges whether to receive the wireless signal transmission that comes from the remote control keypad unit of step B13 is:
The Master Keyboard controller judges in the interrupt pin of Master Keyboard radio receiving transmitting module whether have look-at-me, if, then read the interruption status flag register in the radio receiving transmitting module, and whether the type of judging this look-at-me is to receive to interrupt, if interrupt for receiving, judge that then the Master Keyboard unit has received the radiofrequency signal that comes from described remote control keypad unit,, then judge the wireless signal transmission that does not receive described remote control keypad unit if do not interrupt for receiving; Otherwise, judge the wireless signal transmission that does not receive described keypad unit.
The described wireless transmission method of step B is: 2.4GHz twireless radio-frequency communication mode.
Before the described steps A, this method further comprises: described split type keyboard is carried out electrification reset and initialization.
Use the present invention, this PC keyboard and telepilot can be integrated in the split type keyboard.Particularly, the present invention has following beneficial effect:
1. split type keyboard of the present invention is by Master Keyboard and comprise that the keypad of distant control function constitutes, and the user can realize keypad function by this split type keyboard, can realize remote-controller function again, saves hardware resource.
2. Master Keyboard unit in the split type keyboard of the present invention and remote control keypad unit adopt 2.4GHz radio communication mode to realize intercommunication, and cost is moderate, power consumption is lower, and the ratio of performance to price is higher.
3. the remote control keypad unit in the split type keyboard of the present invention enters low power consumpting state automatically when not having key to be pressed for a long time, saves the energy, prolongs the service time of battery in the remote control keypad unit.
Description of drawings
Fig. 1 is the existing separate PC keyboard and the synoptic diagram of telepilot.
Fig. 2 is the structural representation of the split type keyboard of the present invention.
Fig. 3 is the circuit structure diagram of Master Keyboard unit in the split type keyboard of the present invention.
Fig. 4 is the circuit structure diagram of keypad unit in the split type keyboard of the present invention.
Fig. 5 is the process flow diagram of Master Keyboard unit using method in the split type keyboard using method of the present invention.
Fig. 6 is the keyboard scanning method process flow diagram of Master Keyboard of the present invention unit.
Fig. 7 is the process flow diagram of keypad unit using method in the split type keyboard using method of the present invention.
Embodiment
For making purpose of the present invention, technical scheme clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
The present invention is a kind of split type keyboard and using method thereof, comprises the Master Keyboard unit that links to each other with PC by PS/2 or USB interface and adopts communication to send the remote control keypad unit of key assignments sign indicating number to the Master Keyboard unit.After this split type keyboard process electrification reset and the initialization, obtain the key value of the key correspondence that is pressed in Master Keyboard unit and the remote control keypad unit, and convert the key value that obtains to meet PS/2 or usb protocol signal, send to PC.
To describe split type keyboard of the present invention and using method thereof below in detail.
As shown in Figure 2, split type keyboard of the present invention comprises Master Keyboard unit and remote control keypad unit, remote control keypad unit wherein passes through communication, the key value that keypad is produced is carried on and sends to the Master Keyboard unit in the wireless signal, and the Master Keyboard unit sends the key value that Master Keyboard and/or keypad produce to PC by PS/2 or USB interface.Particularly, the Master Keyboard unit comprises Master Keyboard controller, radio receiving transmitting module, Master Keyboard array and feed circuit.Radio receiving transmitting module wherein is used for receiving the key value that comes from remote control keypad by wireless transmission method, and by synchronous serial communication interface (SPI) the key value that receives is passed to the Master Keyboard controller; The Master Keyboard controller is used for from the remote control keypad key value of radio receiving transmitting module and through behind the Master Keyboard array scanning and the Master Keyboard key value that obtains is carried out encoding process, be converted to the data-signal that meets PS/2 or usb protocol, send PC to by corresponding PS/2 or USB interface; The Master Keyboard array is used to letter key, numerical key, symbolic key and the multiple function key etc. that provide common, and when wherein button was pressed, this key changed by the level of Master Keyboard array interface to the output of Master Keyboard controller; The voltage that the feed circuit utilization is obtained from the PS/2 or the USB interface of PC is the radio receiving transmitting module power supply.The remote control keypad unit comprises keypad controller, radio receiving transmitting module, keypad array and battery feed circuit.The keypad array is used to be provided at the button that switches between keypad state and telepilot state and the button of compatible keypad and remote-controller function; The keypad controller is used for the keypad array scanning, state according to the described button that between keypad state and telepilot state, switches, the key value of the key correspondence under keypad state or telepilot state that is pressed in the acquisition keypad, convert the data-signal of compliance with wireless communication agreement to, and send radio receiving transmitting module to by the SPI interface; Radio receiving transmitting module is used for the signal that the keypad controller transmits is sent to the radio receiving transmitting module of Master Keyboard; Power-supplying circuit is used for obtaining voltage from its inner battery, is keypad controller in the remote control keypad and radio receiving transmitting module power supply, and carries out power filter and prevent the battery reversal connection.
Adopting keyboard controller CY7C63413, the Master Keyboard radio receiving transmitting module of compatible PS/2 and USB to adopt 2.4G wireless transmission chip CYWUSB6943, keypad controller to adopt keyboard controller CY7C63743, keypad radio receiving transmitting module to adopt 2.4G wireless transmission chip CYWUSB6932 with the Master Keyboard controller in the Master Keyboard unit below is example, the split type keyboard according to inventive concept is described.
Master Keyboard wireless transmission chip CYWUSB6943 in the present embodiment and keypad wireless transmission chip CYWUSB6932 utilize 2.4GHz radio communication mode to realize wireless transmission.Though there are three kinds of radio communication modes such as 27MHz, 2.4GHz and bluetooth at present, the transmission range of 27MHz mode is short, power consumption is bigger; The transmission range of bluetooth approach is short, cost is higher; And 2.4GHz utilizes the citizens' radio band of 2.4GHz to 2.483GHz, is that a kind of cost is moderate, power consumption is lower, the radio communication mode that the ratio of performance to price is higher.Therefore, adopt the 2.4GHz mode to realize the radio communication of Master Keyboard unit and keypad unit in the present embodiment.
As shown in Figure 3, in the Master Keyboard unit, for Master Keyboard controller CY7C63413, its general I/O (I/O) interface P0.0~P0.7, P1.0~P1.7 and P2.0~P2.7 pin link to each other with the Master Keyboard array interface, are used for getting access to key information from the Master Keyboard array; General purpose I/O interface P3.1 links to each other with the interrupt pin IRQ of Master Keyboard wireless transmission chip CYWUSB6943, is used for receiving showing the keypad look-at-me that a button is pressed; The P3.2 pin links to each other with the power down control pin PD of radio transmitting and receiving chip CYWUSB6943, is used to cooperate the RESET pin to finish resetting to radio transmitting and receiving chip CYWUSB6943; P3.3~P3.6 pin links to each other with the serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS that constitute the SPI interface respectively, is used for receiving the key value of the key correspondence that keypad that the wireless transmission chip sends is pressed; P3.7 links to each other with the reset pin RESET of radio transmitting and receiving chip CYWUSB6943, is used for matching and realizing radio transmitting and receiving chip CYWUSB6943 is resetted with the PD pin; Difference output end D+ links to each other with PC by PS/2 or USB interface with D-, is used for transmitting the key value that Master Keyboard or keypad produce to PC.For radio transmitting and receiving chip CYWUSB6943, its radio frequency input pin RFIN links to each other with antenna ANT2, is used for receiving the 2.4GHz radiofrequency signal that the wireless transmission chip CYWUSB6932 of keypad unit sends; Obtain voltage among the three end-coil integrated regulator AS1117 of pin VCC from feed circuit DC3.3V, so that radio transmitting and receiving chip CYWUSB6943 operate as normal.For feed circuit DC3.3V, the 3rd pin of voltage stabilizer AS1117 wherein obtains the voltage of 5V from PS/2 or USB interface in addition, and carries the voltage of 3.3V to radio transmitting and receiving chip CYWUSB6943 by its second pin.
As shown in Figure 4, in keypad unit, for the keypad controller, general purpose I/O interface P1.0~P1.7 and P2.0~P2.7 link to each other with the keypad array interface, are used for obtaining the handover information of keypad state and telepilot state and concrete key information from the keypad array that comprises the function switch key; General purpose I/O interface P3.1 links to each other with the interrupt pin IRQ of keypad wireless transmission chip CYWUSB6932, is used for sending showing the keypad look-at-me that a button is pressed; The P3.2 pin links to each other with the power down control pin PD of radio transmitting and receiving chip CYWUSB6943, is used to make that radio transmitting and receiving chip enters low power consumpting state; P3.3~P3.6 pin links to each other with the serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS that constitute the SPI interface respectively, is used for sending the key value of the key correspondence that keypad is pressed; P3.7 links to each other with the reset pin RESET of wireless transmission chip CYWUSB6932, is used for radio transmitting and receiving chip CYWUSB6932 is resetted; Power pins VCC obtains voltage with VCC that two poles D, 2 negative electrodes link to each other from battery feed circuit, so that the operate as normal of keypad controller CY7C63413.For wireless transmission chip CYWUSB6932, its radio frequency output pin RFOUT links to each other with antenna ANT2, is used for carrying to the antenna transmission of Master Keyboard unit the 2.4GHz radiofrequency signal of keypad keys information; The negative electrode of the stabilivolt D1 of pin VCC from battery feed circuit obtains the voltage of 3.3V, so that wireless transmission chip CYWUSB6932 operate as normal.In addition, for battery feed circuit, wherein output voltage be the positive pole of battery of 4.5V by behind the diode D2, voltage is offered the negative pole of stabilivolt D1.
Master Keyboard unit and the keypad unit among Fig. 4 among above-mentioned Fig. 3 have been formed split type keyboard of the present invention jointly.The using method of this split type keyboard may further comprise the steps:
A. trigger the button in Master Keyboard unit and/or the keypad unit, determine the key that is pressed key value according to the state of the function switch key in the keypad unit at keypad state or telepilot state;
B. the Master Keyboard unit is by obtaining the key value of the key correspondence that is pressed in the Master Keyboard to the keyboard scan of self, and/or obtains the key value of the key correspondence that is pressed in the remote control keypad by wireless transmission method;
C. described key value is sent to computing machine, carry out corresponding operating by computing machine according to this key value, and return execution in step A.
Particularly, as shown in Figure 5, the using method of Master Keyboard unit may further comprise the steps in this keyboard:
Step 501. Master Keyboard unit electrification reset.
In this step, the Master Keyboard controller is at first operated himself carrying out electrification reset, and then by exporting high level signal to the PD of radio receiving transmitting module pin, exporting the low level pulse that continues 1 microsecond at least to the RESET pin, radio receiving transmitting module resets.By this step, make in the Master Keyboard unit each module in a state of nature, to guarantee normally carrying out of various operations in the subsequent step.
Step 502. initialization Master Keyboard unit.
In this step, the Master Keyboard controller carries out the initialization setting to the control register of self and the control register of radio receiving transmitting module, and above-mentioned setting comprises the setting of PS/2 or USB control register, interrupt control register setting, the mode of operation of general purpose I/O interface is set and radio receiving transmitting module is carried out initialization etc.
Simultaneously, the Master Keyboard controller also carries out the initialization setting to the register in the radio receiving transmitting module, and above-mentioned register comprises: control register, channel control register, register is set, receives interrupt control register and sends interrupt control register etc.
Master Keyboard unit after the initialization enters normal duty.
Step 503. is according to the level state of general purpose I in the Master Keyboard controller/O interface, and whether in Master Keyboard have key be pressed, if then execution in step 504 if judging; Otherwise, execution in step 506.
When certain button in the Master Keyboard is pressed by the user, corresponding output level in the Master Keyboard array can change, therefore in this step, whether detect by the level state to the I/O interface that links to each other with the Master Keyboard array in the Master Keyboard controller, can judge has key to be pressed in the Master Keyboard.
Step 504~505. pair Master Keyboard array carries out keyboard scan, obtains concrete key information; Then the key information that obtains is carried out the Master Keyboard encoding process, be converted into the key value of the key correspondence that is pressed, and execution in step 509.
Figure 6 shows that the specific implementation of this place keyboard scan, the method for carrying out keyboard scan among this figure may further comprise the steps:
The shake of delaying time of step 601. pair Master Keyboard array.
Make the key that the Master Keyboard array thinks that wherein existence is pressed for fear of the user because of the contact button of chance, and avoid the user to press the overlong time of same key and make the Master Keyboard array think that a plurality of keys are pressed by mistake, therefore delay time in this step and go shake.
Step 602. has judged whether that key is pressed, if then execution in step 603; Otherwise, finish this keyboard scan flow process.
This step is the button situation in the Master Keyboard array to be reaffirmed its method and above-mentioned steps 503 that judges whether that key is pressed is identical after going to shake through time-delay.
Step 603. is exported the column scan sign indicating number, and reads the row value in the keyboard array.
In this step, the Master Keyboard controller is at first controlled general purpose I/O pin output low level of working as the prostatitis in the Master Keyboard array, and all the other each row are all exported high level; Then, check the state of the general purpose I/O that connects each row successively.
Step 604~606. are by detecting the level state of the corresponding general purpose I/O pin of the current row that is scanned, whether judge in the current row that is scanned has key to be pressed, if, judge then whether the key that is pressed lifts, if lift, then preserve the key assignments of forming by the row value and the train value of this key,, then return and judge whether the key that is pressed lifts if do not lift; Otherwise, execution in step 607.
Step 607~608. judge whether the row of current scanning are last row, if then finish the flow process of this keyboard scan; Otherwise, turn to next column, and return execution in step 603.
So far, finished keyboard scan, drawn the concrete position of the key that wherein is pressed the Master Keyboard array.In addition, above-mentioned keyboard scanning method is identical with conventional keyboard scanning method.
After having obtained concrete key information, the Master Keyboard key information that the Master Keyboard controller will be represented with level signal is converted to corresponding key value, so that send to PC in subsequent step.
Step 506~508. judge whether to receive the radiofrequency signal that comes from keypad unit, if then read the radiofrequency signal that carries keypad keys information, and this radiofrequency signal carried out demodulation, obtain the key value of keypad keys correspondence, and execution in step 509; Otherwise, return execution in step 503.
Judge whether that the method that receives radiofrequency signal is this moment: the Master Keyboard controller judges among the interrupt pin IRQ of Master Keyboard radio receiving transmitting module whether have look-at-me, if, then read the interruption status flag register in the radio receiving transmitting module, and whether the type of judging this look-at-me is to receive to interrupt, if interrupt for receiving, judge that then the Master Keyboard unit has received the radiofrequency signal that comes from keypad unit, if do not interrupt, then judge the radiofrequency signal that does not receive keypad unit for receiving; Otherwise, judge the radiofrequency signal that does not receive keypad unit.
Receiving under the situation of radiofrequency signal, the Master Keyboard radio receiving transmitting module receives the 2.4GHz radiofrequency signal that carries keypad keys information by antenna, and to after this radiofrequency signal demodulation, obtains corresponding key value.
Step 509. is converted to the data layout that meets PS/2 or usb protocol with the button key value of Master Keyboard or keypad, and sends to PC by PS/2 or USB interface, and returns execution in step 503.
So far, the Master Keyboard unit information of having finished the key that will be pressed in self or the keypad unit sends the operation of PC to.
Above-mentioned each step is the using method of Master Keyboard unit, will describe the using method of keypad unit below.
As shown in Figure 7, the using method of keypad unit may further comprise the steps:
Step 701. keypad unit electrification reset.
In this step, the keypad controller is at first to himself carrying out the electrification reset operation, and then by continue the low level pulse of 1 microsecond at least to the PD of radio receiving transmitting module pin output high level signal, to the output of RESET pin, radio receiving transmitting module is carried out electrification reset, make in the keypad unit each module in a state of nature, to guarantee normally carrying out of various operations in the subsequent step.
Step 702. initialization keypad unit.
In this step, the keypad controller carries out the initialization setting to the control register of self and the control register of radio receiving transmitting module, above-mentioned setting comprises and interrupt control register is set, general purpose I is set/mode of operation of O interface and radio receiving transmitting module carried out initialization etc., and is each its registers address in the keypad controller.
Simultaneously, the keypad controller also carries out the initialization setting to the register in the radio receiving transmitting module, and above-mentioned register comprises: control register, channel control register, register is set, receives interrupt control register and sends interrupt control register etc.
Keypad unit after the initialization enters normal duty.
Whether step 703. is judged has key to be pressed in the keypad, if then execution in step 704; Otherwise, execution in step 712.
When certain button in the Master Keyboard is pressed by the user, corresponding output level in the keypad array can change, therefore in this step, whether detect by the level state to the I/O interface that links to each other with the keypad array in the keypad controller, can judge has key to be pressed in the keypad.
Step 704~706. pair keypad array is carried out keyboard scan, and whether the arbitration functions switch key is pressed then, if then switch the duty of keypad, and return execution in step 703; Otherwise, execution in step 707.
Method and the above-mentioned steps 601 to 608 that carry out keyboard scan to keypad this moment are basic identical, and it is the keypad controller that difference just is to carry out this moment what scan, and what be scanned is the keypad array.
In addition, there are two kinds of duties in keypad unit of the present invention: keypad state and telepilot state, and above-mentioned two states is realized switching by pressing the function switch key, therefore when this function switch key is pressed, by numerical value negate, and be the telepilot state with the duty of keypad by the keypad state exchange or be the keypad state by the telepilot state exchange to the function zone bit of expression keypad duty.
Step 707~710. judge whether keypad unit is in the keypad state, if, then handle keyboard-coding, and result is modulated on the 2.4GHz radiofrequency signal according to the keypad mode, send to the Master Keyboard unit by the SPI interface; Otherwise, handle keyboard-coding according to the telepilot mode, and result is modulated on the 2.4GHz radiofrequency signal, send to the Master Keyboard unit by the SPI interface.
Judge the duty of keypad according to the numerical value of function zone bit this moment, and for example: the function zone bit is that 1 to represent the keypad state be 0 representative telepilot state then, and perhaps the function zone bit is that 1 to represent the telepilot state be 0 then to represent the keypad state.
Step 711. is judged whether the radiofrequency signal of keypad unit sends and is finished, if then return execution in step 703; Otherwise, return and carry out this step.
Because the flag register in the radio receiving transmitting module sends when finishing in the radiofrequency signal of keypad unit, can carry out set operation, thus in this step according to the numerical value of flag register, judge radiofrequency signal whether all transmission finish.
Step 712~714. judge whether to surpass maximum idle time, if, judge then whether the keypad radio receiving transmitting module is in low power consumpting state, if be in low power consumpting state, then return execution in step 703, if be not in low power consumpting state, then radio receiving transmitting module enters low power consumpting state, and returns execution in step 703; Otherwise, return execution in step 703.
In order to reduce the power consumption of keypad unit among the present invention, when the user does not press button in the keypad in long-time, keypad unit enters low power consumpting state automatically, and for example: keypad unit then enters low power consumpting state do not had key to be pressed above in 30 seconds time always.
Surpassing under the situation of maximum idle time, judge according to the low-power consumption zone bit in the keypad controller whether the keypad radio receiving transmitting module has been in low power consumpting state.And, not being under the situation of low power consumpting state, the keypad controller passes through to the PD of keypad radio receiving transmitting module pin output low level, and the power consumption state that it enters.
So far, the keypad unit information of having finished the key that will be pressed in self sends the operation of Master Keyboard unit to.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. split type keyboard comprises: the Master Keyboard unit that links to each other with computing machine,
Wherein, described Master Keyboard unit comprises: Master Keyboard controller that links together and Master Keyboard array, described Master Keyboard controller is used for the Master Keyboard array is carried out keyboard scan, the key value of the key correspondence that is pressed in the acquisition Master Keyboard array, and be converted to computing machine can the recognition data signal, send to computing machine;
It is characterized in that, described Master Keyboard unit also comprises: first radio receiving transmitting module, be used for receiving the key value that comes from the remote control keypad unit by wireless transmission method, and send the key value that receives to described Master Keyboard controller, described Master Keyboard controller sends to computing machine after the key value is handled;
Described split type keyboard further comprises the remote control keypad unit, and described remote control keypad unit comprises: keypad controller, second radio receiving transmitting module and keypad array; Wherein,
The keypad array is used to be provided at the button that switches between keypad state and telepilot state and the button of compatible keypad and remote-controller function;
The keypad controller is used for the keypad array scanning, state according to the described button that between keypad state and telepilot state, switches, the key value of the key correspondence under keypad state or telepilot state that is pressed in the acquisition keypad array, and convert the data-signal of compliance with wireless communication agreement to, send described second radio receiving transmitting module to;
Second radio receiving transmitting module is a 2.4GHz wireless transmission chip, and the signal that is used for the keypad controller is transmitted sends to described first radio receiving transmitting module by wireless transmission method, wherein,
Described keypad controller is connected to described second radio receiving transmitting module: 4 general input/output interfaces of keypad controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of 2.4GHz wireless transmission chip formation synchronous serial communication interface respectively.
2. keyboard as claimed in claim 1 is characterized in that, described Master Keyboard unit further comprises feed circuit, is used to utilize the voltage that obtains from computing machine, is described first radio receiving transmitting module power supply.
3. keyboard as claimed in claim 1 or 2, it is characterized in that, described remote control keypad unit further comprises: battery feed circuit, be used for obtaining voltage from the battery of self inside, be described keypad controller and the power supply of second radio receiving transmitting module, and carry out power filter and prevent the battery reversal connection.
4. keyboard as claimed in claim 1 is characterized in that, the wireless transmission method between described first radio receiving transmitting module and second radio receiving transmitting module is: 2.4GHz twireless radio-frequency communication mode.
5. keyboard as claimed in claim 1 is characterized in that, described Master Keyboard controller is the keyboard controller of compatible PS/2 and USB (universal serial bus), and described first radio receiving transmitting module is the 2.4GHz radio transmitting and receiving chip; Wherein,
Described Master Keyboard controller is connected to described first radio receiving transmitting module: 4 general input/output interfaces of Master Keyboard controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of formation synchronous serial communication interface in the 2.4GHz radio transmitting and receiving chip respectively.
6. keyboard as claimed in claim 3 is characterized in that, described battery feed circuit comprises: battery, diode and stabilivolt; Wherein,
The electric current that described battery flows out is through arriving the negative electrode of stabilivolt behind the diode;
The plus earth of described stabilivolt;
Described keypad controller is connected to battery feed circuit: the voltage pin VCC of keypad controller links to each other with the negative electrode of diode in the described battery feed circuit;
Described second radio receiving transmitting module is connected to battery feed circuit: the voltage pin VCC of 2.4GHz wireless transmission chip links to each other with the negative electrode of stabilivolt in the described battery feed circuit.
7. the using method of a split type keyboard is characterized in that, described split type keyboard comprises Master Keyboard unit and remote control keypad unit; In described remote control keypad unit, 4 general input/output interfaces of keypad controller link to each other with serial clock SCK, main frame input/slave output data line MISO, main frame output/slave input data line MOSI and the slave selection wire SS of 2.4GHz wireless transmission chip formation synchronous serial communication interface respectively, and this method may further comprise the steps:
A. trigger the button in Master Keyboard unit and/or the remote control keypad unit, keypad controller in the remote control keypad unit is determined the key value of key under keypad state or telepilot state that be pressed according to the state of function switch key in the remote control keypad unit, convert this key value the data-signal of compliance with wireless communication agreement to, send described 2.4GHz wireless transmission chip to by described synchronous serial communication interface;
B. the Master Keyboard unit is by obtaining the key value of the key correspondence that is pressed in the Master Keyboard unit to the keyboard scan of self, and/or obtains the key value of the key correspondence that is pressed the remote control keypad unit by wireless transmission method from described 2.4GHz wireless transmission chip;
C. described key value is sent to computing machine, carry out corresponding operating by computing machine according to this key value, and return execution in step A.
8. method as claimed in claim 7 is characterized in that, the described state according to function switch key in the remote control keypad unit of steps A determines that the method for the key value of key under keypad state or telepilot state that be pressed may further comprise the steps:
Whether A11. judge has key to be pressed in the remote control keypad unit, if, then the keypad array in the remote control keypad unit is carried out keyboard scan, and continue execution in step A12, otherwise, execution in step A11 returned;
A12. whether the arbitration functions switch key is pressed, if, then switch the duty of remote control keypad unit, and return execution in step A11, otherwise, execution in step A13;
A13. judge whether the remote control keypad unit is in the keypad state, if, then handle keyboard-coding according to the keypad mode, obtain the key value under the keypad state; Otherwise, handle keyboard-coding according to the telepilot mode, obtain the key value under the telepilot state.
9. method as claimed in claim 8 is characterized in that, steps A 11 described returning before the execution in step A11, and this method further comprises:
Judge whether to surpass maximum idle time, if, judge then whether the 2.4GHz wireless transmission chip in the remote control keypad unit is in low power consumpting state, if be in low power consumpting state, then return execution in step A11, if be not in low power consumpting state, then described 2.4GHz wireless transmission chip enters low power consumpting state, and returns execution in step A11; Otherwise, return execution in step A11.
10. method as claimed in claim 8 or 9 is characterized in that the method for steps A 12 described switching remote control keypad cell operation states is:
To show the function zone bit negate of remote control keypad cell operation state.
11., it is characterized in that described step B may further comprise the steps as claim 7 or 8 described methods:
B11. whether according to the level state of general input/output interface in the Master Keyboard controller of Master Keyboard unit, judging has key to be pressed in the Master Keyboard unit, if, execution in step B12 then, otherwise, execution in step B13;
B12. the Master Keyboard array in the Master Keyboard unit is carried out keyboard scan, obtain concrete Master Keyboard key information, then resulting key information is carried out the Master Keyboard encoding process, be converted to the key value of the key correspondence that is pressed, and execution in step C;
B13. judge whether to receive the wireless signal transmission that comes from the remote control keypad unit, if, then carry out the keypad encoding process, and with treated and the key value of remote control keypad unit convert the signal that computing machine can be discerned to, execution in step C then, otherwise, return execution in step B11.
12. method as claimed in claim 11 is characterized in that, the described method that judges whether to receive the wireless signal transmission that comes from the remote control keypad unit of step B13 is:
The Master Keyboard controller judges in the interrupt pin of Master Keyboard radio receiving transmitting module whether have look-at-me, if, then read the interruption status flag register in the radio receiving transmitting module, and whether the type of judging this look-at-me is to receive to interrupt, if interrupt for receiving, judge that then the Master Keyboard unit has received the radiofrequency signal that comes from described remote control keypad unit,, then judge the wireless signal transmission that does not receive described remote control keypad unit if do not interrupt for receiving; Otherwise, judge the wireless signal transmission that does not receive described keypad unit.
13. method as claimed in claim 7 is characterized in that, the described wireless transmission method of step B is: 2.4GHz twireless radio-frequency communication mode.
14. method as claimed in claim 7 is characterized in that, before the described steps A, this method further comprises: described split type keyboard is carried out electrification reset and initialization.
CNB2005100073056A 2005-02-04 2005-02-04 Split remote control keyboard and its use method Expired - Fee Related CN100367160C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100073056A CN100367160C (en) 2005-02-04 2005-02-04 Split remote control keyboard and its use method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100073056A CN100367160C (en) 2005-02-04 2005-02-04 Split remote control keyboard and its use method

Publications (2)

Publication Number Publication Date
CN1815413A CN1815413A (en) 2006-08-09
CN100367160C true CN100367160C (en) 2008-02-06

Family

ID=36907642

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100073056A Expired - Fee Related CN100367160C (en) 2005-02-04 2005-02-04 Split remote control keyboard and its use method

Country Status (1)

Country Link
CN (1) CN100367160C (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307297A (en) * 1991-05-10 1994-04-26 Sharp Kabushiki Kaisha Data processor with wireless auxiliary input apparatus
JP2001318753A (en) * 2000-05-08 2001-11-16 Ricoh Co Ltd Portable information processor
CN2526917Y (en) * 2001-10-09 2002-12-18 友碁科技股份有限公司 Wireless mouse indicator with sleeping/awaking function
CN1403896A (en) * 2001-08-23 2003-03-19 纬创资通股份有限公司 Radio data processing system and method
CN2611975Y (en) * 2002-09-26 2004-04-14 贾立立 Keyboard combined with writing board
CN1553299A (en) * 2003-05-27 2004-12-08 英业达股份有限公司 Wireless controller of computer operating system and method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307297A (en) * 1991-05-10 1994-04-26 Sharp Kabushiki Kaisha Data processor with wireless auxiliary input apparatus
JP2001318753A (en) * 2000-05-08 2001-11-16 Ricoh Co Ltd Portable information processor
CN1403896A (en) * 2001-08-23 2003-03-19 纬创资通股份有限公司 Radio data processing system and method
CN2526917Y (en) * 2001-10-09 2002-12-18 友碁科技股份有限公司 Wireless mouse indicator with sleeping/awaking function
CN2611975Y (en) * 2002-09-26 2004-04-14 贾立立 Keyboard combined with writing board
CN1553299A (en) * 2003-05-27 2004-12-08 英业达股份有限公司 Wireless controller of computer operating system and method thereof

Also Published As

Publication number Publication date
CN1815413A (en) 2006-08-09

Similar Documents

Publication Publication Date Title
US7281143B2 (en) Method of controlling power by a power controller controlling a power switch of an unused communication interface
CN100521828C (en) Energy saving system and method
CN102647522A (en) Multifunctional universal remote control system based on mobile phone platform
KR100433397B1 (en) Card type device capable of being used in secondary battery and host for using the card type device
US20030146903A1 (en) Wired keyboard with built-in web camera
CN103678226A (en) General purpose input/output (GPIO) port reuse circuit and method of chip
CN102117539A (en) Remote controller and method for realizing remote control
CN100367160C (en) Split remote control keyboard and its use method
CN100435074C (en) Television infrared remote-receiver for notebook computer and receiving method
CN101888250A (en) Key system and method thereof
KR20050108278A (en) Information processing system and method of controlling the same
CN101867377A (en) Processing method of panel key signal and processing circuit thereof
WO2021228043A1 (en) Press button system and interactive device
US20030083056A1 (en) Wireless receiving device and method jointly used by computer peripherals
CN111782455A (en) Portable equipment for testing screen end product
CN212276372U (en) Computer system for receiving external wireless signal based on keyboard
CN201477517U (en) Circuit and keyboard circuit of electronic equipment
CN210199768U (en) Novel bar code scanner
CN212460513U (en) Keyboard
CN214125265U (en) Scanning circuit and remote control device
CN214896273U (en) Wireless remote control transmitting and receiving device and transmission system based on LoRa technology
CN214281368U (en) Serial port time-sharing multiplexing switching circuit
CN210469467U (en) Mobile terminal protective shell and mobile terminal
KR100353878B1 (en) The extended Keypad Controller and the controlling method
CN210490819U (en) Dual-function reset switching control circuit and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080206

Termination date: 20210204