CN1356611A - Method for converting input message - Google Patents
Method for converting input message Download PDFInfo
- Publication number
- CN1356611A CN1356611A CN 02101663 CN02101663A CN1356611A CN 1356611 A CN1356611 A CN 1356611A CN 02101663 CN02101663 CN 02101663 CN 02101663 A CN02101663 A CN 02101663A CN 1356611 A CN1356611 A CN 1356611A
- Authority
- CN
- China
- Prior art keywords
- input
- data
- message
- mouse
- conversion process
- 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
Links
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
- Selective Calling Equipment (AREA)
Abstract
A method for commutating the input message features that the input message are collected and then classified, and the classified messages are respectively received by relative receivers and application modules. Its advantage is one input device for different inputs.
Description
Technical field
The present invention relates to a kind of method that realizes input message is carried out conversion process, be particularly related to a kind of conversion method before input message is handled, specifically be a kind of to adopting infrared or wired mode, by telepilot or (with) conversion method of the message imported of keyboard and mouse before handling.
Background technology
Along with the arrival of cybertimes, Development of Multimedia Technology can realize online by televisor.The input that the operation of televisor is controlled by Infrared remote controller realizes that it then is by finishing jointly by keyboard and mouse input that the operation of computer is controlled.
By TV set internet the time, no matter be to obtain stock information, web page browsing, transmission mail etc., all needing corresponding input equipment---keyboard and mouse realize, and need to use input equipment---Infrared remote controller when the operation TV functions, therefore relates to and use a plurality of input equipments.
On the other hand, the computerized designing treatment of more and more electrical equipment is merged into the infrared remote control keyboard with Infrared remote controller and keyboard, as input equipment, but in use, also usually needs to cooperate mouse input.
Based on keyboard and mouse is to import by wired mode, and by corresponding receiving equipment and application program module input is handled and carried out; Infrared remote controller then is the remote control input of being undertaken by infrared mode, also by corresponding receiving equipment and application program module input is handled and is carried out.
No matter be that Infrared remote controller and keyboard are united two into one, form the infrared remote control keyboard; Still Infrared remote controller and keyboard and mouse being closed three is one, or carry out other merging and make up, or continue to use existing input, all because of relating to input mode and different, and influence processing and the execution of corresponding receiving equipment and application program module to input to judgement, shunting and the response of input message.
Continue to adopt three kinds of above-mentioned input equipments, use quite inconvenience, also increased the final cost of product.
Because the purpose of conveniently using and operating to the merging combination that input equipment is done, obviously is not best selection and cause the change of receiving equipment and application program module.
Summary of the invention
The objective of the invention is at the merging of input equipment and the input mode that changes, before receiving equipment and application program module are handled, a kind of method that realizes input message is carried out conversion process is provided, specifically be a kind of to adopting infrared or wired mode, by telepilot or (with) conversion method of the message imported of keyboard and mouse before handling.Input after conversion can directly be handled by corresponding receiving equipment and application program module, and not need it is done any change.
Before the present invention, the one, need the different input equipment of operation, and the existing wired input of mode of input, infrared input is arranged again; The 2nd, merge the change of back because of input mode, promptly input mode is wired input or is infrared input, faces the change of corresponding reception device and application program module; The 3rd, merging back corresponding telepilot, keyboard, mouse is respectively imported judgement, the shunting of message and is responded different fast.
And design of the present invention be handle in the input after the merging with to input between through the transfer process of a message, input after be about to merging is classified according to telepilot input, keyboard input, mouse input correspondence respectively, and then by corresponding reception with ing fully and application program module handle and carry out.
The present invention is achieved in that
A kind of method that realizes input message is carried out conversion process, this method comprises the steps: at least
Data are obtained: the infrared input pulse that receives modulation by light receiving element is carried out demodulation;
Data-switching: processing is classified, encapsulates, sent to the data of obtaining successively;
Data are carried out: by message queue data are unpacked, handled by the corresponding application module.
The described data of obtaining are two kinds of inputs among telepilot, keyboard, the mouse three at least.
Described data=the identification code that obtains+key set code.
Classification in the described data-switching is the data that will be obtained, and by the remote events, KeyEvent, the mouse event that are provided with, correspondence is planned to remote controller key input, keyboard input (comprising character keys and special function keys), mousebutton input.
Encapsulation in the described data-switching is with sorted packing data.
Transmission in the described data-switching is that the data after the packing are sent to message queue.
Classification in the described data-switching relates to mouse event and further comprises: judgement that the judgement of mousebutton and processing, mouse are moved and processing.
The judgement of described mousebutton and handle also further comprise to left button click, left button is double-clicked, the judgement and the classification of the right side/middle key.
Judgement that described mouse moves and processing also further comprise the compensation that mouse is moved.
The described compensation that mouse is moved is to realize by inserting mobile input message or do not stop to move input when button interrupting.
Can make the user only need operate the function that an input equipment can be realized Infrared remote controller, keyboard, mouse input, user friendly control operation by the present invention; Particularly do not need corresponding receiving equipment and application program module are changed and adjusted; Infrared or the common wired input mode of existing employing is stood good; The different of the judgement, shunting and the response that cause importing message because of merging have been solved.
Description of drawings
The processing flow chart that Fig. 1 changes input.
Fig. 2 is to the processing flow chart of data after changing.
Fig. 3 relates to the processing flow chart of mouse event.
Fig. 4 data flow figure of the present invention.
Embodiment
The whole flow process of the inventive method: at first be the processing of finishing infrared input message, secondly be the deal with data that will obtain through classification, encapsulation, send, handle and carry out by the application program module of corresponding reception device.Detailed process is as follows:
Shown in Fig. 1 to 4: after input merges, adopt infrared input mode, what sent is infrared light pulse through ovennodulation, through light receiving element, with the electric pulse of infrared light pulse message conversion for being made up of high-low level that receives.
The infrared pulse message that input equipment after merging is imported with infrared mode, every group pulse number is fixed, and the width difference of the high-low level of pulse.For example: the infrared keyboard telepilot in the Philip in the practice, the train of impulses of its input is 17 for every group, and first is the opening flag pulse, and its width is fixed; Ensuing 16 pulses are data, and the width difference of 16 pulses combines and just represents different data.Represent the data of different pulse widths just to constitute the raw data of importing for like this one group through the coded data after the width modulation.
Data after light receiving element receives also demodulation are data midway temporarily.Because of each button (telepilot, keyboard, mouse) all has a unique keyboard scancode corresponding with it, add that button presses the state of upspringing and judge the position, just constitute key set code.For infrared input equipment, be the identification code that need to add the sign input equipment, like this: the data of identification code+key set code=midway.
According to the remote events, KeyEvent, the mouse event that are provided with, corresponding one by one data schema midway is several groups: one group is the button of telepilot; One group be standard character as: 1,2, a, b, {, ﹠amp; ..., etc.; One group is special function keys as SHIFT key, CTRL key, F1 key, F2 key; Also have one group and be divided into mousebutton, as left mouse button, right mouse button and scroll key.And be packaged into corresponding remote controller key incident, keyboard incident, mousebutton incident, with the distribution transmission of these key-press event.
Because the input response to the user requires in real time, particularly mouse event will accomplish that for the mouse moving problem response rapidly, in time, can not have the sense of delay.Because being common key-press, the mousebutton here substitutes, for the mousebutton incident, the speed that mouse moves of adjusting is arranged respectively, the clicking of right and left key, double-click etc., it is relatively slow that some keyboard is sent continuous button key, need do certain compensation to mouse moving, insert moving of suitable number, and when being interrupted, do not stop to move by other common key-press.Reach the effect of independent mouse incident like this.All mouse events exist in the independently mouse information formation.
After receiving remote controller key incident, keyboard incident, mousebutton incident, handle respectively, promptly respectively to remote controller key incident, keyboard incident, mousebutton incident by corresponding application resume module and execution.
This software is at the input equipment characteristics of family expenses device, keyboard and mouse are merged, well solved judgement, shunting and response fast to difference input message on handling, user friendly control can be finished common wired or infrared input equipment simultaneously and realize above function.The present invention has been applied to fly on the telepilot at a key of the infrared remote control keyboard that flies Li Pu company and our company.
Claims (10)
1 one kinds of realizations are carried out the method for conversion process to importing message, and this method comprises the steps: at least
Data are obtained: the infrared input pulse that receives modulation by light receiving element is carried out demodulation;
Data-switching: processing is classified, encapsulates, sent to the data of obtaining successively;
Data are carried out: by message queue data are unpacked, handled by the corresponding application module.
2 carry out the method for conversion process according to claim 1 to input message, the described data of obtaining are two kinds of inputs among telepilot, keyboard, the mouse three at least.
3 carry out the method for conversion process, the described data=identification code that obtains+key set code according to claim 1 to input message.
4 carry out the method for conversion process according to claim 1 to input message, classification in the described data-switching is the data that will be obtained, by the remote events, KeyEvent, the mouse event that are provided with, correspondence is planned to remote controller key input, keyboard input (comprising character keys and special function keys), mousebutton input.
5 carry out the method for conversion process according to claim 1 to input message, the encapsulation in the described data-switching is with sorted packing data.
6 carry out the method for conversion process according to claim 1 to input message, the transmission in the described data-switching is that the data after the packing are sent to message queue.
7 carry out the method for conversion process to importing message as described in claim 4, the classification in the described data-switching relates to mouse event and further comprises: judgement that the judgement of mousebutton and processing, mouse are moved and processing.
8 as carrying out the method for conversion process as described in the claim 4 to input message, the judgement of described mousebutton and handling also further comprise to left button click, left button is double-clicked, the judgement and the classification of the right side/middle key.
9 carry out the method for conversion process to importing message as described in claim 4, judgement that described mouse moves and processing also further comprise the compensation that mouse is moved.
10 carry out the method for conversion process to importing message as described in claim 9, the described compensation that mouse is moved is to realize by inserting mobile input message or do not stop to move input when button interrupting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02101663 CN1356611A (en) | 2002-01-15 | 2002-01-15 | Method for converting input message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02101663 CN1356611A (en) | 2002-01-15 | 2002-01-15 | Method for converting input message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1356611A true CN1356611A (en) | 2002-07-03 |
Family
ID=4739590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02101663 Pending CN1356611A (en) | 2002-01-15 | 2002-01-15 | Method for converting input message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1356611A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1936846B (en) * | 2005-09-21 | 2010-09-01 | 英华达(上海)电子有限公司 | Method for realtime processing system key on inlaid apparatus |
CN101853348A (en) * | 2010-05-17 | 2010-10-06 | 清华大学 | Method and system for enhancing human-computer interaction security |
CN103559039A (en) * | 2013-11-04 | 2014-02-05 | 中国电子科技集团公司第四十一研究所 | Message routing method of instrument interactive interface |
US10839328B2 (en) | 2006-03-28 | 2020-11-17 | Advanced New Technologies Co., Ltd. | Method and system for risk monitoring in online business |
-
2002
- 2002-01-15 CN CN 02101663 patent/CN1356611A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1936846B (en) * | 2005-09-21 | 2010-09-01 | 英华达(上海)电子有限公司 | Method for realtime processing system key on inlaid apparatus |
US10839328B2 (en) | 2006-03-28 | 2020-11-17 | Advanced New Technologies Co., Ltd. | Method and system for risk monitoring in online business |
CN101853348A (en) * | 2010-05-17 | 2010-10-06 | 清华大学 | Method and system for enhancing human-computer interaction security |
CN101853348B (en) * | 2010-05-17 | 2012-05-23 | 清华大学 | Method and system for enhancing human-computer interaction security |
CN103559039A (en) * | 2013-11-04 | 2014-02-05 | 中国电子科技集团公司第四十一研究所 | Message routing method of instrument interactive interface |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2386272A1 (en) | Collaborative design | |
CN1940790A (en) | Hybrid user interface with base presentation components and supplemental information components | |
CN1234218C (en) | Processing method for case with gradation structure in communication equipment | |
WO2001075790A3 (en) | Method, system, and computer program product for representing object relationships in a multidimensional space | |
WO2003058473A8 (en) | Interactive spatalized audiovisual system | |
CA2495038A1 (en) | System and method for making user interface elements known to an application and user | |
CN1340169A (en) | Chinese language pinyin input method and device by number key pad | |
CN1855005A (en) | Accessing system of electronic device | |
CN1851724A (en) | Business data operation coutrol method and business system | |
CN1356611A (en) | Method for converting input message | |
EP1691306B1 (en) | Client with memory for autonomously executing an application independent from a server | |
Burk et al. | Open source genomics | |
CN2655331Y (en) | Touch-controlling input device for electronic device | |
CN101059743A (en) | Pointing method and system for quickly moving object to designated area | |
CN1266605C (en) | Automatic assembling testing procedure for production | |
CN1199095C (en) | Touching input method and device with the functions of both right and left mouse keys | |
CN1244266A (en) | Audio-active communication stations, method and system with audio-active communication stations | |
CN2665805Y (en) | Pointer input device simulating input of keyboard functional key | |
CN1801069A (en) | Capacitance type touch panel and detection method thereof | |
WO2004092976A3 (en) | System and method in a data table for exporting and importing recursive scalable templates | |
CN101059801A (en) | Multimedia commutator control display device for displaying multimedia data and its method | |
CN1402114A (en) | Rotor type phonetic Chinese character input method and keyboard | |
CN2598052Y (en) | Simple USB terminal apparatus | |
CN1282103C (en) | Output and input method based on communication equipment driving device | |
CN2559054Y (en) | Remote teaching system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |