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

Screen calibration method and device for touch screen under Android system

An Android system and touch screen technology, which is applied in the field of touch screen calibration, can solve the problems of inability to generalize, fail to provide a capacitive screen calibration solution, and low flexibility, and achieve the effect of flexible calibration

Active Publication Date: 2017-02-15
SONOSCAPE MEDICAL CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Under the existing android system, the screen calibration technology used (roughly divided into two types, one) is directly calibrated at the driver layer, because the specified screen has a corresponding driver, and the original data is generally calibrated in the display driver at the driver layer Direct modification, this method cannot be generalized, it can only be carried out for the specified screen, and the flexibility is not high
(The other is to calibrate at the framework layer. The 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 calibration method and device for touch screen under Android system
  • Screen calibration method and device for touch screen under Android system
  • Screen calibration method and device for touch screen under Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] 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.

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

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

[0029] 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:

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

[0031] S2, the background program convert...

Embodiment 2

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

[0089] 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;

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

[0091] 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;

[0092] 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

technical field [0001] 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. Background technique [0002] 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, a coordinate transformation 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 event. [0...

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/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