Method and device for controlling input data

A technology of input data and control method, which is applied in the direction of network data retrieval, network data index, electronic digital data processing, etc. It can solve the problems of input method processing failure, inability to support ime-mode attribute, inability to achieve browser compatibility, etc., to achieve Improve the effect of typing experience

Inactive Publication Date: 2015-04-08
BEIJING QIHOO TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Although the above-mentioned prior art can utilize the ime-mode attribute to shield the input method of the input box, third-party browsers such as IE5. processing failed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for controlling input data
  • Method and device for controlling input data
  • Method and device for controlling input data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0029] refer to figure 1 , shows a schematic flow chart of Embodiment 1 of a method for controlling input data in the present application. The methods include:

[0030] Step 101, intercept keyboard messages, where the keyboard messages include messages in the first language.

[0031] The window intercepts messages from the keyboard. A window can be a browser window, a software window, or any other application window.

[0032] Because the window is the current thread, all messages of the current keyboard operation will go through the window.

[0033] Taking the browser as an example, when the user taps the keyboard to input Chinese on the webpage in the browser window, the message flow is roughly as f...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for controlling input data. The method comprises the following steps: intercepting a keyboard message, wherein the keyboard message comprises a first language message; acquiring a focus element in a current window; acquiring a second language input in the focus element according to a preset target element attribute mapping table; converting the keyboard message into corresponding keyboard information coded in a second language according to a preset language code mapping table; outputting the keyboard information coded in the second language into the focus element. The shielding of an input method under the condition of satisfying browser compatibility cannot be realized in the prior art. According to the method and the device, the keyboard message is intercepted, and is converted into keyboard input, so that the existing technical problems are solved effectively.

Description

[0001] The patent application of the present invention is a divisional application of the Chinese invention patent application with the filing date of March 31, 2012, the application number of 201210094098.2, and the title of "a method and device for controlling input data". technical field [0002] The present application relates to the technical field of data input, in particular to a method and device for controlling input data. Background technique [0003] At present, Internet technology has profoundly affected people's lives, such as e-mail, forums, web games, etc., have also become an indispensable part of people's daily work and entertainment. Most of the above Internet applications require users to register and log in before they can be used. In most cases, the user name is mostly composed of English letters and characters. When users log in or register on the page, they often need to switch to the English input method when entering the user name, which is very inco...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F17/28
CPCG06F16/3337G06F16/3344G06F16/951
Inventor 孙鹏刘鸿威贺跃松张广宇任寰
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products