Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Screen calibrating method and device for touch screen in Android system

An Android system, touch screen technology, applied in the input/output process of data processing, instruments, electrical and digital data processing, etc., can solve problems such as inability to generalize, low flexibility, and failure to provide capacitive screen calibration solutions. , to achieve the effect of flexible calibration

Active Publication Date: 2014-01-01
SONOSCAPE MEDICAL CORP
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Under the existing android system, the screen calibration technology adopted is roughly divided into two types, one is direct calibration at the driver layer, because the specified screen has a corresponding driver, and the original data of the calibration at the driver layer is generally directly modified in the display driver , this method cannot be generalized, it can only be performed for a specified screen, and the flexibility is not high
The other is to calibrate at the framework layer. Existing technology fails to provide a specific capacitive screen calibration solution for systems above android4.0

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
  • Screen calibrating method and device for touch screen in Android system
  • Screen calibrating method and device for touch screen in Android system
  • Screen calibrating method and device for touch screen in Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] The Android system is divided into from bottom to top: Linux kernel layer, system runtime layer, application program framework layer (framework layer) and application program layer, and the present invention relates to wherein Linux kernel layer, application program framework layer and application program layer.

[0032] see figure 1 , the embodiment of the present invention provides a method for calibrating a touch screen under an Android system, including:

[0033] S1, the application layer calibration APK responds to the user's click on the specified calibration point on the touch screen;

[0034] The android application layer specifies 5 calibration points, and the user clicks on these 5 points in turn when calibrating the screen. When the user clicks the calibration point, the click event of the driver layer is obtained through the read function of the Linux kernel layer:

[0035] read(ufds[i].fd, &event, sizeof(event));

[0036] S2, the background program conve...

Embodiment 2

[0117] see Figure 4 , the calibration device of the touch screen under the Android system, including:

[0118] The receiving module 201 is used to respond to the user's click on the specified calibration point on the touch screen by the application layer calibration APK;

[0119] Conversion module 202, for converting the acquired event into the touch screen coordinates of the specified calibration point;

[0120] The transmission module 203 is used to transmit the touch screen coordinates of the specified calibration point to the application layer school screen APK through the TCP / IP protocol;

[0121] The calibration coefficient calculation module 204 is used to call the calibration algorithm by the application layer calibration APK, obtain the calibration coefficient according to the coordinates of the display screen of the specified calibration point and the coordinates of the touch screen of the specified calibration point, and store the calibration coefficient in the sp...

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 relates to the technical field of an Android system, and particularly relates to screen calibrating method and device for a touch screen in an Android system. The method comprises the following steps: S1, obtaining a display screen coordinate value of a corresponding calibrated point by an application layer APK (Android package) after a user clicks an appointed calibrated point on the touch screen; S2, converting a click event reported by an inner nuclear layer into a touch screen coordinate of the appointed calibrated point by background program; S3, conveying the touch screen coordinate of the appointed calibrated point to an application layer screen calibrating APK by the background program through a TCP / IP (transmission control protocol / internet protocol); S4, calling a calibration algorithm by the application layer screen calibrating APK, obtaining a screen calibrating coefficient according to the display screen coordinate of the appointed calibrated point and the touch screen coordinate of the appointed calibrated point, and storing the screen calibrating coefficient into an appointed file; S5, calling the calibration algorithm through a function on an application framework layer, and obtaining the calibrated touch screen coordinate of an arbitrary point according to the touch screen coordinate of the arbitrary point and the screen calibrating coefficient. By adopting the screen calibrating method and device, screen calibrating of arbitrary touch screen is achieved; the flexibility and the accuracy are high.

Description

[0001] technical field [0002] The invention relates to the technical field of the Android system, in particular to a screen calibration method and device for a (capacitive screen) touch screen under the Android system. [0003] Background technique [0004] Under the android system, when the touch screen and the display are used together, since the touch screen and the LCD display are two different physical devices, the LCD deals with pixels. For example, the commonly referred to resolution is 1280x1024, which actually refers to the width of each row. It is 1280 pixels, and the height is 1024 pixels. The data processed by the touch screen is the physical coordinates of the points, which are collected by the touch screen controller. Therefore, coordinate conversion is required between the touch screen and the LCD display, so that the touch point on the touch screen can be accurately displayed on the corresponding position of the LCD display or respond to a click processing...

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 Applications(China)
IPC IPC(8): G06F3/044
Inventor 潘敏才士民杨帆
Owner SONOSCAPE MEDICAL CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products