CN100386750C - Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference - Google Patents

Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference Download PDF

Info

Publication number
CN100386750C
CN100386750C CNB2005100468652A CN200510046865A CN100386750C CN 100386750 C CN100386750 C CN 100386750C CN B2005100468652 A CNB2005100468652 A CN B2005100468652A CN 200510046865 A CN200510046865 A CN 200510046865A CN 100386750 C CN100386750 C CN 100386750C
Authority
CN
China
Prior art keywords
keyboard
telepilot
physics
message
program
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
CNB2005100468652A
Other languages
Chinese (zh)
Other versions
CN1896978A (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.)
Fresh vision (Beijing) Technology Co., Ltd.
Original Assignee
田园
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 田园 filed Critical 田园
Priority to CNB2005100468652A priority Critical patent/CN100386750C/en
Publication of CN1896978A publication Critical patent/CN1896978A/en
Application granted granted Critical
Publication of CN100386750C publication Critical patent/CN100386750C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A method for not interfering to each other when remote controller and mouse as well as keyboard are operated simultaneously includes receiving keyboard signal and remote controller signal separately by keyboard driving program then separating keyboard message triggered by them, transmitting keyboard message of remote controller to cooperation program of remote controller and transmitting keyboard message of keyboard to application program obtained focus by keyboard hook function no matter whether cooperation program of remote controller is activated or not in order to realize operation of remote controller and mouse as well as keyboard simultaneously.

Description

Simultaneously remote controller and keyboard and the method for non-interference
Technical field
The present invention relates to computer input technology, specifically is a kind of while remote controller and keyboard and the method for non-interference.
Background technology
In the prior art, the physics telepilot is logically identical with physical keyboard, when using the operation of physics telepilot and mouse-keyboard simultaneously, meeting of physics telepilot and the mutual interference mutually of existing physical keyboard, if that is: the program (hereinafter to be referred as the telepilot matching program) with physics telepilot cooperating loses input focus, just can not respond the operation of physics telepilot; And the physics telepilot will be used on the application program of current acquisition focus the operation of the telepilot matching program that loses focus, and unpredictable consequence will appear in its operation.
Summary of the invention
In order to overcome the deficiencies in the prior art, the purpose of this invention is to provide a kind of while remote controller and keyboard and the method for non-interference.
To achieve these goals, technical solution of the present invention is: the signal that is received physics telepilot or physical keyboard by keyboard driver respectively, separate the keyboard message that physics telepilot or physical keyboard trigger then, no matter whether the telepilot matching program is activated, the keyboard Hook Function all is passed to the telepilot matching program with the keyboard message of physics telepilot, (in order to the variation of the avoiding input focus interference to physics telepilot remote controller matching program, and the physics telepilot is to the interference of the application program that obtains focus); The keyboard Hook Function is passed to the application program that obtains focus with the keyboard message of physical keyboard simultaneously, operation when realizing physics telepilot and physical keyboard and mouse;
The separation method of described telepilot and keyboard input information has following two kinds:
1) separation method of described physics telepilot and physical keyboard input information is: articulate filter drive program on keyboard driver, and below the application program that obtains focus, articulate the keyboard Hook Function, filter drive program derives from physics telepilot or physical keyboard according to signal, gives different values to the dwExtraInfo variable in its keyboard message; , offer an explanation out keyboard message and be by physics telepilot or physical keyboard and trigger by checking the value of dwExtraInfo variable by the keyboard Hook Function, in order to realize separating of keyboard message that physics telepilot and physical keyboard are triggered;
2) separation method of described physics telepilot and physical keyboard input information is: articulate the keyboard Hook Function below the application program that obtains focus, the information of keyboard Hook Function interception keyboard driver; Add the keyboard supervisory routine simultaneously, receive the original input message that comes from keyboard driver, pass to the keyboard Hook Function; In the keyboard Hook Function, interception and the two-way information received are judged that offering an explanation out keyboard message is to be triggered by physics telepilot or physical keyboard, in order to realize separating of keyboard message that physics telepilot and physical keyboard are triggered.
The present invention has following advantage:
1. because the present invention adopts the isolation technics of telepilot and keyboard input information, the telepilot matching program under any circumstance can both respond the operation of physics telepilot, has guaranteed the stability of telepilot matching program.
2. physics telepilot of the present invention and physical keyboard can be worked simultaneously, can the phase mutual interference.
3. cost of the present invention is low, and method is simple, and is easy to operate.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 is the synoptic diagram of telepilot of the prior art and common keyboard input.
Fig. 2 is the program flow diagram of Fig. 1.
To be one embodiment of the invention realize the logical organization synoptic diagram that separates to telepilot and keyboard input information by filter drive program to Fig. 3.
Fig. 4 is the program flow diagram of Fig. 3.
To be another embodiment of the present invention realize the logical organization synoptic diagram that separates to telepilot and keyboard input information by obtaining original input information to Fig. 5.
Fig. 6 is the program flow diagram of Fig. 5.
Among the figure: 1 is the physics telepilot, 2 is physical keyboard, 3 is keyboard driver, 4 for obtaining the application program of focus, and 5 is the keyboard upper level filter driver, and 6 is the dwExtraInfo variable, 7 is the keyboard Hook Function, 8 is the telepilot matching program, and 9 is original input information, and 10 is the keyboard supervisory routine.
Embodiment
Embodiment 1
Be that example describes now, but the present invention is not limited in Microsoft's Window series operating system with Microsoft's Window series operating system.
As Fig. 1, shown in 2, in the prior art, physics telepilot 1 is telepilot in appearance, but it is Wireless Keyboard in logic, logically the same with physical keyboard 2, physics telepilot 1 is operated all with button on the physical keyboard 2 can produce relevant signal, be sent to keyboard driver 3 through being converted into numerical information after handling, under normal conditions, keyboard driver 3 can directly be exported relevant keyboard message to the application program 4 that obtains focus according to the signal that transmission comes, owing to only have the application program 4 that obtains focus can obtain keyboard message, but can not judge that according to the keyboard message that keyboard driver 3 sends informed source still is a physical keyboard 2 in physics telepilot 1.So even system is connected with a physics telepilot 1 and physical keyboard 2, windows system can not adopt other application program of mouse and physical keyboard 2 normal runnings simultaneously at physics telepilot 1 remote controller matching program 8.Also find out thus, want to reach the purpose that also will operate other program when making physics telepilot 1 and telepilot matching program 8 operate as normal with mouse and physical keyboard 2, just must separate the keyboard message that physics telepilot 1 and physical keyboard 2 are triggered.
The present invention is remote controller and mouse-keyboard and the method for non-interference simultaneously: the signal that is received physics telepilot 1 or physical keyboard 2 by keyboard driver 3 respectively, separate the keyboard message that physics telepilot 1 or physical keyboard 2 trigger then, no matter whether telepilot matching program 8 is activated, keyboard Hook Function 7 all is passed to telepilot matching program 8 with the keyboard message of physics telepilot 1, in order to the variation of avoiding input focus interference to physics telepilot 1 remote controller matching program 8, and 1 pair of interference that obtains the application program 4 of focus of physics telepilot; Keyboard Hook Function 7 is passed to the application program 4 that obtains focus with the keyboard message of physical keyboard 2 simultaneously, operation when realizing physics telepilot 1 and physical keyboard 2 and mouse.
As shown in Figure 3, the separation method of telepilot and keyboard input information (realizing separating): on the keyboard driver 3 that can receive physics telepilot 1 or physical keyboard 2 signals, articulate filter drive program 5 to telepilot and keyboard input information by filter drive program, and articulate keyboard Hook Function 7 below the application program 4 that obtains focus, keyboard Hook Function 7 cooperates with telepilot matching program 8; Filter drive program 5 derives from physics telepilot 1 or physical keyboard 2 according to signal, gives different values to the dwExtraInfo variable 6 in the keyboard message; Offering an explanation out keyboard message by keyboard Hook Function 7 behind the dwExtraInfo of inquiry keyboard message variable 6 is to be triggered by physics telepilot or physical keyboard, and decision passes to keyboard message application program 4 or the telepilot matching program 8 that obtains focus.
Principle: the present invention has articulated filter drive program 5 on keyboard driver 3, and has articulated keyboard Hook Function 7 below the application program 4 that obtains focus.In filter drive program 5, can identification signal derive from physics telepilot 1 or physical keyboard 2, so filter drive program 5 is given different values with the dwExtraInfo variable 6 in the keyboard message that is triggered of physics telepilot 1 and physical keyboard 2 when transmitting keypad information.Before the application program 4 of any one acquisition focus receives keyboard message, keyboard Hook Function 7 will intercept these message and they will be handled.Because the pre-service of filter drive program 5,7 of keyboard Hook Functions need the dwExtraInfo variable 6 of inquiry keyboard message just can know that informed source still is a physical keyboard 2 in physics telepilot 1.If the keyboard informed source is in physical keyboard 2, keyboard Hook Function 7 will pass to keyboard message the application program 4 that obtains focus same as before; No matter whether described telepilot matching program 8 is the application programs 4 that obtain focus, need only the keyboard informed source in physics telepilot 1, keyboard Hook Function 7 can be directly passed to telepilot matching program 8 with keyboard message.This shows the operation that telepilot matching program 8 at any time can both normal response physics telepilot 1; Meanwhile, the user is when other application program of normal running, and the application program 4 that obtains focus can not be subjected to the interference of the keyboard message that triggered by physics telepilot 1 yet.
As shown in Figure 4, idiographic flow is: send to filter drive program 5 from the keyboard message of physics telepilot 1 or physical keyboard 2 through keyboard driver 3 and carry out pre-service; Filter drive program 5 judges that keyboard message comes from physics telepilot 1 or physical keyboard 2, come from physics telepilot 1 keyboard message in this way, then dwExtraInfo variable 6 is set to the numbering of physics telepilot 1, otherwise dwExtraInfo variable 6 is set to the numbering of physical keyboard 2; Keyboard Hook Function 7 obtains controls then, and keyboard Hook Function 7 is according to the set numbering of dwExtraInfo variable 6, and decision sends to message application program 4 or the telepilot matching program 8 that obtains focus.
Wherein: keyboard driver 3, keyboard Hook Function 7 are prior art; Described keyboard supervisory routine 10 flow processs are: call original input function (present embodiment is a Windows XP function), obtain original input information, pass to keyboard Hook Function 7.
Described telepilot matching program 8 can respond the program of keyboard input for any one, present embodiment can be media player, no matter whether media player is the application program 4 that obtains focus, as long as the keyboard informed source is in physics telepilot 1, keyboard Hook Function 7 can be directly passed to media player with keyboard message.The operation of 1 pair of media player of physics telepilot can not disturb another to obtain the application program 4 of focus.
Embodiment 2
Difference from Example 1 is: the separation method of telepilot and keyboard input information is realized by obtaining original input information.
In Fig. 5, present embodiment articulates keyboard Hook Function 7 below the application program 4 that obtains focus, and 7 interceptions of keyboard Hook Function can receive the information of the keyboard driver 3 of physics telepilot 1 or physical keyboard 2 signals; Add keyboard supervisory routine 10 simultaneously, receive the original input message 9 that comes from keyboard driver 3, pass to keyboard Hook Function 7; In keyboard Hook Function 7, the two-way information of tackling and receive is judged, the keyboard message of intercepting and capturing is passed to application program 4 or the telepilot matching program 8 that obtains focus.
Principle: keyboard supervisory routine 10 of the present invention can receive original input message 9 by original input (Raw Input) function that Windows XP provides, because original input message 9 includes the information of coming source device (physics telepilot 1 and physical keyboard 2) of message, so keyboard supervisory routine 10 can send to this identifying information keyboard Hook Function 7; The keypad information contrast that identifying information that keyboard Hook Function 7 is sent according to keyboard supervisory routine 10 and driver are sent, judge whether keyboard message derives from physical keyboard 2, if then as it is keyboard message is passed to the application program 4 that obtains focus; If the keyboard informed source is in physics telepilot 1, keyboard Hook Function 7 is directly passed to telepilot matching program 8 (and no matter whether telepilot matching program 8 is the application programs that obtain focus) with keyboard message.This shows the operation that telepilot matching program 8 at any time can both normal response physics telepilot 1; Meanwhile, the user is when other application program of normal running, and the application program 4 that obtains focus can not be subjected to by physics telepilot 1 yet) interference of the keyboard message that triggers.
As shown in Figure 6, idiographic flow is: the keyboard message from physics telepilot 1 or physical keyboard 2 is tackled by keyboard Hook Function 7 through keyboard driver 3; The keyboard supervisory routine receives the original input message 9 that comes from keyboard driver 3 simultaneously, passes to keyboard Hook Function 7; That receives in keyboard Hook Function 7 judges according to 9 pairs of intercept information of original input message, offering an explanation out keyboard message is to be triggered by physics telepilot or physical keyboard, the keyboard message of intercepting and capturing that comes from physical keyboard 2 is passed to the application program 4 that obtains focus, the keyboard message of intercepting and capturing that comes from physics telepilot 1 is passed to telepilot matching program 8.
Adopt the present invention, system is connected with a physics telepilot 1 and physical keyboard 2, and windows system can adopt other application program of mouse and physical keyboard 2 normal runnings simultaneously at physics telepilot 1 remote controller matching program 8.

Claims (1)

1. simultaneously remote controller and keyboard and the method for non-interference, it is characterized in that: the signal that receives physics telepilot or physical keyboard by keyboard driver respectively, separate the keyboard message that physics telepilot or physical keyboard trigger then, no matter whether the telepilot matching program is activated, the keyboard Hook Function all is passed to the telepilot matching program with the keyboard message of physics telepilot, the keyboard Hook Function is passed to the application program that obtains focus with the keyboard message of physical keyboard simultaneously, operation when realizing physics telepilot and physical keyboard; The separation method of described physics telepilot and physical keyboard input information is: articulate filter drive program on keyboard driver, filter drive program derives from physics telepilot or physical keyboard according to signal, gives different values to the dwExtraInfo variable in its keyboard message; , offer an explanation out keyboard message and be by physics telepilot or physical keyboard and trigger by checking the value of dwExtraInfo variable by the keyboard Hook Function, in order to realize separating of keyboard message that physics telepilot and physical keyboard are triggered.
CNB2005100468652A 2005-07-13 2005-07-13 Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference Expired - Fee Related CN100386750C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100468652A CN100386750C (en) 2005-07-13 2005-07-13 Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100468652A CN100386750C (en) 2005-07-13 2005-07-13 Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference

Publications (2)

Publication Number Publication Date
CN1896978A CN1896978A (en) 2007-01-17
CN100386750C true CN100386750C (en) 2008-05-07

Family

ID=37609507

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100468652A Expired - Fee Related CN100386750C (en) 2005-07-13 2005-07-13 Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference

Country Status (1)

Country Link
CN (1) CN100386750C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0869422A2 (en) * 1997-03-31 1998-10-07 Compaq Computer Corporation Methods and apparatus for converting remote control signals into computer keyboard signals
JPH10326141A (en) * 1997-05-27 1998-12-08 Matsushita Electric Ind Co Ltd Wireless keyboard device
CN1336577A (en) * 2000-07-31 2002-02-20 旭丽股份有限公司 Infrared keyboard for computer and its remote control format generating method
CN2609050Y (en) * 2003-02-25 2004-03-31 浩年科技股份有限公司 Receiver capable of receiving radio signal of computer peripheral device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0869422A2 (en) * 1997-03-31 1998-10-07 Compaq Computer Corporation Methods and apparatus for converting remote control signals into computer keyboard signals
JPH10326141A (en) * 1997-05-27 1998-12-08 Matsushita Electric Ind Co Ltd Wireless keyboard device
CN1336577A (en) * 2000-07-31 2002-02-20 旭丽股份有限公司 Infrared keyboard for computer and its remote control format generating method
CN2609050Y (en) * 2003-02-25 2004-03-31 浩年科技股份有限公司 Receiver capable of receiving radio signal of computer peripheral device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
微机遥控器产品概述. 康工.今日电子. 1997
微机遥控器产品概述. 康工.今日电子. 1997 *

Also Published As

Publication number Publication date
CN1896978A (en) 2007-01-17

Similar Documents

Publication Publication Date Title
JPH01218296A (en) Remote control receiver with study function
WO2017012399A1 (en) Intelligent home wireless control system
CN101299299B (en) On-site control method of ramp afflux controller and system thereof
CN104317417A (en) Key and mouse smooth switching method, device and system
US8254786B2 (en) Method and system for monitoring and servicing devices based on one-wire infrared communication
CN100386750C (en) Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference
WO2023005390A1 (en) Method and apparatus for controlling air conditioner, air conditioner, and storage medium
CN102955659A (en) Method and system for adjusting display interface
CN105187044B (en) A kind of single firewire capacitive touch switch comprising low-power consumption Z-Wave wireless module
CN109286455A (en) A kind of means of communication and communication system preventing multimachine interference
WO2016062160A1 (en) Kit for controlling multiple computers and use thereof
CN204787050U (en) Purifier
KR100872491B1 (en) System and process for addressing a central processing unit of a multi-device appliance and corresponding appliance
CN109993956A (en) A kind of control method of the control system for rotating remote controler and the system
EP3183632B1 (en) Operator control apparatus and mobile operator control unit, in particular for an electronic domestic appliance
CN108965072B (en) Intelligent gateway external equipment association control method
CN109976140A (en) A kind of triple channel redundant PLC signal reliability discriminating method and system
CN109996100B (en) Control method of intelligent remote controller, storage medium and remote controller
CN206835298U (en) Fully-automatic intelligent microphone system
KR101983449B1 (en) Activator, mobile device, and control device of activating reporting mode of doore sensing device
CN206039458U (en) Signal switch circuit and signal input switched systems
CN105785887A (en) Intelligent security and protection monitoring system
CN215449915U (en) Intelligent home system
CN214752002U (en) Smoke machine and linkage system of smoke machine
WO2017008182A1 (en) Control system for intelligent robot

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: Shenyang Jinding Electronic Digital Family Technology Co., Ltd.

Assignor: Tian Yuan

Contract fulfillment period: 2009.12.14 to 2015.12.13 contract change

Contract record no.: 2009210000305

Denomination of invention: Method for operating remote-controller and mouse keyboard simultaneouslly without mutual interference

Granted publication date: 20080507

License type: Exclusive license

Record date: 20091225

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2009.12.14 TO 2015.12.13; CHANGE OF CONTRACT

Name of requester: SHENYANG JINDING DIGITAL HOME ELECTRONICS TECHNOLO

Effective date: 20091225

ASS Succession or assignment of patent right

Owner name: FRESHVIEW (BEIJING) TECHNOLOGIES CO., LTD.

Free format text: FORMER OWNER: TIAN YUAN

Effective date: 20110722

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 110016 NO. 124, NANTA STREET, DONGLING DISTRICT, SHENYANG CITY, LIAONING PROVINCE TO: 100048 ROOM 501, BUILDING 4, NO. 9, SHOUTI SOUTH ROAD, HAIDIAN DISTRICT, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20110722

Address after: 100048 Beijing city Haidian District Road No. 9 Building No. 4 Room 501

Patentee after: Fresh vision (Beijing) Technology Co., Ltd.

Address before: South Street in Dongling District of Shenyang city of Liaoning Province, No. 124 110016

Patentee before: Tian Yuan

EC01 Cancellation of recordation of patent licensing contract

Assignee: Shenyang Jinding Electronic Digital Family Technology Co., Ltd.

Assignor: Tian Yuan

Contract record no.: 2009210000305

Date of cancellation: 20120418

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: 20080507

Termination date: 20160713