Unlock instant, AI-driven research and patent intelligence for your innovation.

A mobile terminal-based keyboard input detection method and detection system

A mobile terminal, keyboard input technology, applied in the input/output process of data processing, instruments, electrical and digital data processing and other directions, can solve the problems of insufficient use and limited number of GPIO.

Active Publication Date: 2017-10-24
威海神舟信息技术研究院有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the number of GPIOs on the CPU is limited, and it is often difficult to use. Therefore, a solution is urgently needed to reduce the number of GPIOs used by the keyboard, thereby improving the utilization efficiency of GPIO pins.

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
  • A mobile terminal-based keyboard input detection method and detection system
  • A mobile terminal-based keyboard input detection method and detection system
  • A mobile terminal-based keyboard input detection method and detection system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0039] A first preferred embodiment of a mobile terminal-based keyboard input detection method according to the present invention, as figure 1 shown, including steps:

[0040] Step S10, predefine the unique key code corresponding to each key on the keyboard, and set and store a set of start code and end code.

[0041] In the embodiment of the present invention, it is necessary to predefine the unique key code corresponding to each key on the keyboard, and set and store a set of start code and end code. Wherein, the key code defines a unique key code for each key on the keyboard; the ke...

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 discloses a detection method and a detection system for keyboard input based on a mobile terminal. The method comprises the following steps of pre-defining a unique key code corresponding to each key on a keyboard, and storing; enabling the keyboard to output the key code of each key inputted by the user through an output pin, and enabling the keyboard to send the key code of each pressed key through the output pin when one or a plurality of keys are simultaneously pressed on the keyboard; enabling a central processor of the mobile terminal to obtain the key code of each key sent by the keyboard by detecting the changes of high level and low level change of a GPIO (general purpose input output) pin, identifying the key code of each key, obtaining the input content of the keyboard, outputting and displaying. The method has the advantage that the keys of the self keyboard can be encoded by the mobile terminal, each code is transmitted and identified, and a plurality of keys can be connected by only one GPIO pin, so number of GPIO pins used by the keyboard is reduced, and the utilization efficiency of the GPIO pins of the central processor is improved.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a mobile terminal-based keyboard input detection method and detection system. Background technique [0002] With the development of mobile communication technology and the continuous improvement of people's living standards, the use of various mobile terminals such as mobile phones has become more and more popular, and mobile phones have become an indispensable communication tool in people's lives. [0003] Buttons are one of the main input methods of mobile terminals. In the prior art, multiple GPIO pins of the CPU (Central Processing Unit, central processing unit) are often needed to connect the main board of the mobile terminal to the keyboard; especially full-keyboard mobile phones However, due to the large number of keys in a full-keyboard mobile phone, more than ten GPIO pins that need to occupy the CPU are often required. However, the number of GPIOs on the CPU i...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/023
CPCG06F3/023
Inventor 俞斌杨维琴
Owner 威海神舟信息技术研究院有限公司