CN108268178A - Mobile terminal touch screen coordinate output control, mobile terminal and storage medium - Google Patents
Mobile terminal touch screen coordinate output control, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108268178A CN108268178A CN201810164346.3A CN201810164346A CN108268178A CN 108268178 A CN108268178 A CN 108268178A CN 201810164346 A CN201810164346 A CN 201810164346A CN 108268178 A CN108268178 A CN 108268178A
- Authority
- CN
- China
- Prior art keywords
- head
- piece
- mobile terminal
- touch screen
- coordinate
- 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.)
- Granted
Links
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 37
- 238000004891 communication Methods 0.000 claims description 7
- 238000002955 isolation Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses mobile terminal touch screen coordinate output control, mobile terminal and storage medium, wherein, method includes:Touch panel coordinates are pre-set to export with piece, including:False head, piece content;And there is the correspondence of true head and false head;When touch screen, which detects, to be touched, effective touch coordinate is obtained, generates true head;The corresponding false head of the true head are obtained according to true head table;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;The mobile terminal master controller processing touch screen data piece obtains false head, piece content;And corresponding true head are obtained according to true head table;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.The present invention, which avoids directly inputting the absolute coordinate that user touches on the touchscreen, gives mobile terminal master controller, to ensure the safety of mobile terminal, avoids causing damages to user, promotes user experience, provides to the user conveniently.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal touch screen coordinate exports controlling party
Method, mobile terminal and storage medium.
Background technology
Touch screen is absolute coordinate system, which to select just directly put that, the essential area with this kind of Relative positioning systems of mouse
It is not the intuitive of one-time-reach-place.The characteristics of absolute coordinate system is that the elements of a fix are not closed with the last elements of a fix each time
System, touch screen is physically a set of independent coordinate positioning, and the data touched every time switch to screen by calibration data
On coordinate, no matter thus, it is desirable to touch screen this set coordinate when, the output data of same point be it is stable,
It is if unstable, then this touch screen cannot ensure that absolute coordinate positions, and point is inaccurate.
Just because of this, although the resolution ratio of touch screen is higher and higher, the touch screen of mobile terminal is often by coordinate points
It is made very accurately to ensure the use of user.But since touch screen is discrete device, be with Mobile terminal main board it is independent,
Accordingly, it is considered to artificial Password Input, there are rate limitations, such as one second several character of most touch inputs, criminal to exist
After stealing the mobile terminal of user, signal of the touch screen input to mobile terminal master controller is connected by removing touch screen
Onto the machine of debugging, by the machine of debugging export relevant signal come the signal of simulated touch screen so as to carry out to
The rapidly carry out Password Input trial of some interface for password input of family mobile terminal, so as to finally crack the password of user,
I.e. also there are security risks for touch screen operation in the prior art.
Therefore, the prior art has yet to be improved and developed.
Invention content
Part in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of mobile terminal touch screen coordinates
Output control method, mobile terminal and storage medium provide a kind of safe coordinate output method of mobile terminal touch screen, it is intended to
When user uses touch screen, the coordinate of touch screen output is pre-processed, avoids user touching on the touchscreen exhausted
Coordinate is directly inputted and gives mobile terminal master controller, to ensure the safety of mobile terminal, avoids causing damages to user, is
User provides convenient.
In order to achieve the above object, this invention takes following technical schemes:
A kind of mobile terminal touch screen coordinate output control method, wherein, include the following steps:
A is pre-set touch panel coordinates and is exported with piece, and described includes:False head, piece content;
And true head table is stored in touch screen and mobile terminal memory, there are true head and false head in the true head table
Correspondence;
B when touch screen, which detects, to be touched, obtains effective touch coordinate, and effective touch coordinate is added several invalid touches
Set of coordinates content in blocks;True head are generated according to the position of touch coordinate effective in piece content;It is true that this is obtained according to true head table
The corresponding false head of head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;
C, mobile terminal master controller handles the touch screen data piece and obtains false head, piece content;And it is obtained according to true head table
To corresponding true head;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.
The mobile terminal touch screen coordinate output control method, wherein, the step B is specifically included:
Touch screen is detected and is touched;
Obtain effective touch coordinate;
By effective touch coordinate plus several invalid touch coordinate composition piece contents;
True head are generated according to the position of touch coordinate effective in piece content;
The corresponding false head of the true head are obtained according to true head table;
By false head, the touch screen data piece of piece content composition output to mobile terminal master controller.
The mobile terminal touch screen coordinate output control method, wherein, the false head in the step A, packet
A byte is included, after false head obtain true head by true head table, true head are used to which byte in piece content to be specified to open
Beginning is effective touch panel coordinates;Described content, including several bytes, wherein invalid with other comprising effective touch panel coordinates
Touch panel coordinates.
The mobile terminal touch screen coordinate output control method, wherein, the touch screen in the step B detect by
It touches, including:When the touch screen is touched, interrupt pin output level change notification mobile terminal master controller will be passed through.
The mobile terminal touch screen coordinate output control method, wherein, it is described by effective touch coordinate plus several
Invalid touch coordinate composition piece content, the invalid touch coordinate are predetermined time nearest touch datas of touch screen.
The mobile terminal touch screen coordinate output control method, wherein, it is described by false head, the composition output of piece content
Touch screen data piece include:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated with data slice isolation character between piece content.
The mobile terminal touch screen coordinate output control method, the step C are specifically included:
Mobile terminal master controller receives the touch screen data piece;
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate.
A kind of mobile terminal, wherein, including:Processor, memory and communication bus;
The computer-readable program that can be performed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The processor realizes following steps when performing the computer-readable program:
It pre-sets touch panel coordinates to export with piece, described includes:False head, piece content;
And true head table is stored in touch screen and mobile terminal memory, there are true head and false head in the true head table
Correspondence;
When touch screen, which detects, to be touched, effective touch coordinate is obtained, effective touch coordinate is sat plus several invalid touch
Mark composition piece content;True head are generated according to the position of touch coordinate effective in piece content;The true piece is obtained according to true head table
Corresponding false head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;
The mobile terminal master controller processing touch screen data piece obtains false head, piece content;And it is obtained according to true head table
Corresponding true head;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.
The mobile terminal, wherein, the processor also realizes following steps when performing the computer-readable program:
Touch screen is detected and is touched;
Obtain effective touch coordinate;
By effective touch coordinate plus several invalid touch coordinate composition piece contents;
True head are generated according to the position of touch coordinate effective in piece content;
The corresponding false head of the true head are obtained according to true head table;
By false head, the touch screen data piece of piece content composition output to mobile terminal master controller;
Mobile terminal master controller receives the touch screen data piece;
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate;
The vacation head, including a byte, after false head obtain true head by true head table, true head are used to specify piece
Which byte is initially effective touch panel coordinates in content;Described content, including several bytes, wherein comprising effectively touching
Shield coordinate and other invalid touch panel coordinates;
The touch screen detects and touched, including:When the touch screen is touched, will be changed by interrupt pin output level
Notify mobile terminal master controller;
The invalid touch coordinate is predetermined time nearest touch data of touch screen;
It is described by false head, the touch screen data piece of piece content composition output includes:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated with data slice isolation character between piece content.
A kind of computer readable storage medium, wherein, there are one the computer-readable recording medium storages or multiple
Program, one or more of programs can be performed by one or more processor, to realize the movement described in any one
Step in terminal touch screen coordinate output control method.
Compared to the prior art, mobile terminal touch screen coordinate output control method provided by the invention, mobile terminal and
Storage medium, the method is by when touch screen is detected and touched, obtaining effective touch coordinate, effective touch coordinate being added
Upper several invalid touch coordinate composition piece contents;True head are generated according to the position of touch coordinate effective in piece content;According to true
Head table obtains the corresponding false head of the true head;So as to extremely be moved by the touch screen data piece of false head, the composition output of piece content
Dynamic terminal master controller;When mobile terminal master controller receives above-mentioned data slice, the false head in data slice are obtained, according to
True head table obtains the corresponding true head of the true head;It is in place that effective touch coordinate institute in piece content is further obtained by true head
It puts;Obtain effective touch coordinate;When user use touch screen when, to touch screen output coordinate pre-process, avoid by with
The absolute coordinate that family touches on the touchscreen, which directly inputs, gives mobile terminal master controller, to ensure the safety of mobile terminal,
It avoids causing damages to user, provide to the user conveniently.
Description of the drawings
Fig. 1 is the flow chart of mobile terminal touch screen coordinate output control method provided by the invention.
Fig. 2 is the functional block diagram of mobile terminal preferred embodiment of the present invention.
Fig. 3 is the functional block diagram of mobile terminal preferred embodiment of the present invention.
Specific embodiment
To make the purpose of the present invention, technical solution and effect clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that specific embodiment described herein is not used to only to explain the present invention
Limit the present invention.
Referring to Fig. 1, mobile terminal touch screen coordinate output control method provided by the invention includes the following steps:
S100, it touch panel coordinates is pre-set is exported with piece, described includes:False head, piece content;And in touch screen and movement
True head table is stored in terminal memory, the correspondence for having true head and false head in the true head table;
It in the embodiment of the present invention, needs to pre-set touch panel coordinates and is exported with piece, described includes:False head, piece content.
The vacation head, including a byte, after false head obtain true head by true head table, true head are used to refer to
Which byte is initially effective touch panel coordinates in stator content.
Because false head are only a bytes, therefore the value range of false head is 0 to 255, for example false head are 10
It represents after the vacation head obtain true head by true head table, true head are initially to have for specifying which byte in piece content
The touch panel coordinates of effect.
Described content, including several bytes, wherein including effective touch panel coordinates and other invalid touch panel coordinates;Separately
Outside, true head table is stored in touch screen and mobile terminal memory, there is true head and false head in the true head table
Correspondence.
For example false head are 76, the vacation head 76 correspond to true head 29 in true head table, then it represents that the 29th in piece content
Byte is initially effective touch panel coordinates.
S200 when touch screen, which detects, to be touched, obtains effective touch coordinate, and effective touch coordinate is added several nothings
Imitate touch coordinate composition piece content;True head are generated according to the position of touch coordinate effective in piece content;It is obtained according to true head table
To the corresponding false head of the true head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master control
Device processed.
Specifically, step S200 includes:
S1, touch screen are detected and are touched;
When the touch screen is touched, interrupt pin output level change notification mobile terminal master controller will be passed through.
S2, effective touch coordinate is obtained.
S3, effective touch coordinate is formed into piece content plus several invalid touch coordinates;
By effective touch coordinate plus in several invalid touch coordinates composition piece contents, the invalid touch coordinate be touch screen most
Near predetermined time(Such as three times)Touch data;For example piece content includes 4 touch coordinates, then in addition to an effective touch coordinate
Three invalid touch coordinates are further included outside, these three invalid touch coordinates are touch coordinates recently three times.
S4, true head are generated according to the position of touch coordinate effective in piece content;
For example piece content includes 4 touch coordinates, effective touch coordinate is located at nybble, then true head are 4.
S5, the corresponding false head of the true head are obtained according to true head table.
S6, by false head, the touch screen data piece of piece content composition output to mobile terminal master controller.
It is described by false head, the touch screen data piece of piece content composition output includes:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated with data slice isolation character between piece content;
For example, data slice pointing character head and data slice pointing character tail are 9111122992 and 99343488 respectively, former number
Word is used to refer to the beginning of data slice, and the latter's number is used to refer to the end of data slice;Character is isolated in data slice
89877777120, which is used to point out the beginning of piece content or the end of head.
Step S300, mobile terminal master controller handles the touch screen data piece and obtains false head, piece content;And according to
True head table obtains corresponding true head;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.
In this step, following steps will be performed when mobile terminal master controller receives above-mentioned data slice:
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate.
For example false head are 96, the vacation head 96 correspond to true head 2 in true head table, and piece content is
223344551234556A123 (expression of 16 systems) then represents that the 2nd byte is initially effective touch panel coordinates in piece content, i.e.,
3344551234556A123 is effective touch panel coordinates.
Therefore the method is by when touch screen is detected and touched, obtaining effective touch coordinate, will effectively touch
Coordinate is touched plus several invalid touch coordinate composition piece contents;True piece is generated according to the position of touch coordinate effective in piece content
Head;The corresponding false head of the true head are obtained according to true head table;So as to by false head, the touch screen number of piece content composition output
According to piece to mobile terminal master controller;When mobile terminal master controller receives above-mentioned data slice, the vacation in data slice is obtained
Head obtain the corresponding true head of the true head according to true head table;It further obtains effectively touching in piece content by true head
Coordinate position;Obtain effective touch coordinate;When user uses touch screen, the coordinate of touch screen output is located in advance
Reason avoids directly inputting the absolute coordinate that user touches on the touchscreen and gives mobile terminal master controller, mobile whole to ensure
The safety at end avoids causing damages to user, promotes user experience, provides to the user conveniently.
As shown in Fig. 2, based on above-mentioned mobile terminal touch screen coordinate output control method, the present invention further correspondingly provides one
Kind mobile terminal, the mobile terminal can be the calculating such as mobile phone, desktop PC, notebook, palm PC and server
Equipment.The mobile terminal includes processor 10, memory 20 and display screen 30.Fig. 2 illustrates only the members of mobile terminal,
It should be understood that it is not required for implementing all components shown, the more or less component of the implementation that can be substituted.
The memory 20 can be the internal storage unit of the mobile terminal in some embodiments, such as mobile whole
The memory at end.The memory 20 can also be the External memory equipment of the mobile terminal in further embodiments, such as
The plug-in type USB flash disk being equipped on the mobile terminal, intelligent memory card(Smart Media Card, SMC), secure digital
(Secure Digital, SD)Card, flash card(Flash Card)Deng.Further, the memory 20 can also both include
The internal storage unit of institute's mobile terminal also includes External memory equipment.The memory 20 is installed on the movement for storing
The application software and Various types of data of terminal, such as program code of the installation mobile terminal etc..The memory 20 can be with
For temporarily storing the data that has exported or will export.In one embodiment, it is stored on memory 20 mobile whole
Touch panel coordinates Output Control Program 40 is held, which can be held by processor 10
Row, so as to fulfill mobile terminal touch screen coordinate output control method in the application.
The processor 10 can be a central processing unit in some embodiments(Central Processing Unit,
CPU), microprocessor, mobile phone baseband processor or other data processing chips, for running the journey stored in the memory 20
Sequence code or processing data, such as perform described mobile terminal touch screen coordinate output control method etc..
The display screen 30 can be LED display, liquid crystal display, touch liquid crystal display in some embodiments
And OLED(Organic Light-Emitting Diode, Organic Light Emitting Diode)Touch device etc..The display screen 30 is used
In the information for being shown in the mobile terminal and for showing visual user interface.The component 10- of the mobile terminal
30 are in communication with each other by system bus.
In one embodiment, when processor 10 performs mobile terminal touch screen coordinate output control journey in the memory 20
Following steps are realized during sequence 40:
It pre-sets touch panel coordinates to export with piece, described includes:False head, piece content;
And true head table is stored in touch screen and mobile terminal memory, there are true head and false head in the true head table
Correspondence;
When touch screen, which detects, to be touched, effective touch coordinate is obtained, effective touch coordinate is sat plus several invalid touch
Mark composition piece content;True head are generated according to the position of touch coordinate effective in piece content;The true piece is obtained according to true head table
Corresponding false head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;
The mobile terminal master controller processing touch screen data piece obtains false head, piece content;And it is obtained according to true head table
Corresponding true head;To obtain effective touch coordinate position in piece content;Effective touch coordinate is obtained, specifically as above institute
It states.
Further, the mobile terminal, the processor also realize following step when performing the computer-readable program
Suddenly:
Touch screen is detected and is touched;
Obtain effective touch coordinate;
By effective touch coordinate plus several invalid touch coordinate composition piece contents;
True head are generated according to the position of touch coordinate effective in piece content;
The corresponding false head of the true head are obtained according to true head table;
By false head, the touch screen data piece of piece content composition output to mobile terminal master controller;
Mobile terminal master controller receives the touch screen data piece;
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate;
The vacation head, including a byte, after false head obtain true head by true head table, true head are used to specify piece
Which byte is initially effective touch panel coordinates in content;Described content, including several bytes, wherein comprising effectively touching
Shield coordinate and other invalid touch panel coordinates;
The touch screen detects and touched, including:When the touch screen is touched, will be changed by interrupt pin output level
Notify mobile terminal master controller;
The invalid touch coordinate is predetermined time nearest touch data of touch screen;
It is described by false head, the touch screen data piece of piece content composition output includes:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated between piece content, as detailed above with data slice isolation character.
Referring to Fig. 3, its shifting for present invention installation mobile terminal touch screen coordinate output control method computer program
The functional block diagram of dynamic terminal preferred embodiment.In the present embodiment, mobile terminal touch screen coordinate Output Control Program is installed
System can be divided into one or more modules, one or more of modules are stored in the memory 20,
And by one or more processors(The present embodiment is the processor 10)It is performed, to complete the present invention.For example, in figure 3,
The mobile terminal of installation mobile terminal touch screen coordinate output control method computer program can be divided into data slice configuration
Module 21, data slice generation and output module 22, touch coordinate acquisition module 23.The so-called module of the present invention is to refer to complete
The series of computation machine program instruction section of specific function is exported than program more suitable for describing the mobile terminal touch screen coordinate
Control implementation procedure of the program in the mobile terminal.The function of specifically introducing the module 21-23 is described below.
Data slice configuration module 21, for touch panel coordinates to be set to be exported with piece, described includes:False head, piece content;
The vacation head, including a byte, after false head obtain true head by true head table, true head are used to specify piece
Which byte is initially effective touch panel coordinates in content;
Described content, including several bytes, wherein including effective touch panel coordinates and other invalid touch panel coordinates;
In addition, being stored with true head table in touch screen and mobile terminal memory, there are true head and vacation in the true head table
The correspondence of head;
Data slice generates and output module 22, will be effective for when touch screen is detected and touched, obtaining effective touch coordinate
Touch coordinate is plus several invalid touch coordinate composition piece contents;True piece is generated according to the position of touch coordinate effective in piece content
Head;The corresponding false head of the true head are obtained according to true head table;So as to by false head, the touch screen number of piece content composition output
According to piece to mobile terminal master controller.
Touch coordinate acquisition module 23, for when mobile terminal master controller receives above-mentioned data slice, obtaining data
False head in piece obtain the corresponding true head of the true head according to true head table;It is further obtained in piece content by true head
Effective touch coordinate position;Effective touch coordinate is obtained, as detailed above.
It is described computer-readable to deposit the present invention also provides a kind of computer readable storage medium based on above-described embodiment
Storage media is stored with one or more program, and one or more of programs can be performed by one or more processor,
To realize the step in the mobile terminal touch screen coordinate output control method as described in above-mentioned any one embodiment, specifically as above
It is described.
In conclusion mobile terminal touch screen coordinate output control method provided by the invention, mobile terminal and storage are situated between
In matter, the method is by when touch screen is detected and touched, obtaining effective touch coordinate, if effective touch coordinate is added
Dry invalid touch coordinate composition piece content;True head are generated according to the position of touch coordinate effective in piece content;According to true head
Table obtains the corresponding false head of the true head;So as to which by false head, the touch screen data piece that piece content composition exports to movement is eventually
Hold master controller;When mobile terminal master controller receives above-mentioned data slice, the false head in data slice are obtained, according to true piece
Head table obtains the corresponding true head of the true head;Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate;When user uses touch screen, the coordinate of touch screen output is pre-processed, avoids touching user
The absolute coordinate touched on the touchscreen, which directly inputs, gives mobile terminal master controller, to ensure the safety of mobile terminal, avoids
It causes damages to user, promotes user experience, provide to the user conveniently.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method,
It is that can related hardware be instructed by computer program(Such as processor, controller etc.)It completes, the program can store
In a computer-readable storage medium, which may include when being executed such as the flow of above-mentioned each method embodiment.Its
Described in storage medium can be memory, magnetic disc, CD etc..
It should be understood that the application of the present invention is not limited to the above, it for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect range.
Claims (10)
1. a kind of mobile terminal touch screen coordinate output control method, which is characterized in that include the following steps:
A is pre-set touch panel coordinates and is exported with piece, and described includes:False head, piece content;
And true head table is stored in touch screen and mobile terminal memory, there are true head and false head in the true head table
Correspondence;
B when touch screen, which detects, to be touched, obtains effective touch coordinate, and effective touch coordinate is added several invalid touches
Set of coordinates content in blocks;True head are generated according to the position of touch coordinate effective in piece content;According to obtaining true head table
The corresponding false head of true head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;
C, mobile terminal master controller handles the touch screen data piece and obtains false head, piece content;And it is obtained according to true head table
To corresponding true head;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.
2. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that the step B
It specifically includes:
Touch screen is detected and is touched;
Obtain effective touch coordinate;
By effective touch coordinate plus several invalid touch coordinate composition piece contents;
True head are generated according to the position of touch coordinate effective in piece content;
The corresponding false head of the true head are obtained according to true head table;
By false head, the touch screen data piece of piece content composition output to mobile terminal master controller.
3. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that the step A
In the false head, including a byte, after false head obtain true head by true head table, true head are for specifying piece
Which byte is initially effective touch panel coordinates in content;Described content, including several bytes, wherein comprising effectively touching
Shield coordinate and other invalid touch panel coordinates.
4. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that the step B
In touch screen detect and touched, including:When the touch screen is touched, interrupt pin output level change notification will be passed through
Mobile terminal master controller.
5. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that described to incite somebody to action effectively
For touch coordinate plus several invalid touch coordinates composition piece contents, the invalid touch coordinate is that nearest predetermined time of touch screen is touched
Touch data.
6. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that described by false piece
Head, the touch screen data piece of piece content composition output include:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated with data slice isolation character between piece content.
7. mobile terminal touch screen coordinate output control method according to claim 1, which is characterized in that the step C
It specifically includes:
Mobile terminal master controller receives the touch screen data piece;
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate.
8. a kind of mobile terminal, which is characterized in that including:Processor, memory and communication bus;
The computer-readable program that can be performed by the processor is stored on the memory;
The communication bus realizes the connection communication between processor and memory;
The processor realizes following steps when performing the computer-readable program:
It pre-sets touch panel coordinates to export with piece, described includes:False head, piece content;
And true head table is stored in touch screen and mobile terminal memory, there are true head and false head in the true head table
Correspondence;
When touch screen, which detects, to be touched, effective touch coordinate is obtained, effective touch coordinate is sat plus several invalid touch
Mark composition piece content;True head are generated according to the position of touch coordinate effective in piece content;It is obtained according to true head table described true
The corresponding false head of head;And by false head, the touch screen data piece that piece content composition exports to mobile terminal master controller;
The mobile terminal master controller processing touch screen data piece obtains false head, piece content;And it is obtained according to true head table
Corresponding true head;To obtain effective touch coordinate position in piece content;Obtain effective touch coordinate.
9. mobile terminal according to claim 8, which is characterized in that when the processor performs the computer-readable program
Also realize following steps:
Touch screen is detected and is touched;
Obtain effective touch coordinate;
By effective touch coordinate plus several invalid touch coordinate composition piece contents;
True head are generated according to the position of touch coordinate effective in piece content;
The corresponding false head of the true head are obtained according to true head table;
By false head, the touch screen data piece of piece content composition output to mobile terminal master controller;
Mobile terminal master controller receives the touch screen data piece;
The false head in data slice are obtained, the corresponding true head of the true head are obtained according to true head table;
Effective touch coordinate position in piece content is further obtained by true head;
Obtain effective touch coordinate;
The vacation head, including a byte, after false head obtain true head by true head table, true head are used to specify piece
Which byte is initially effective touch panel coordinates in content;Described content, including several bytes, wherein comprising effectively touching
Shield coordinate and other invalid touch panel coordinates;
The touch screen detects and touched, including:When the touch screen is touched, will be changed by interrupt pin output level
Notify mobile terminal master controller;
The invalid touch coordinate is predetermined time nearest touch data of touch screen;
It is described by false head, the touch screen data piece of piece content composition output includes:
Data slice pointing character head and data slice pointing character tail are set;
False head, piece content are added among data slice pointing character head and data slice pointing character tail;
And false head are separated with data slice isolation character between piece content.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage there are one or
Multiple programs, one or more of programs can be performed by one or more processor, to realize that claim 1-7 such as appoints
The step in mobile terminal touch screen coordinate output control method described in meaning one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810164346.3A CN108268178B (en) | 2018-02-27 | 2018-02-27 | Mobile terminal touch screen coordinate output control, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810164346.3A CN108268178B (en) | 2018-02-27 | 2018-02-27 | Mobile terminal touch screen coordinate output control, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108268178A true CN108268178A (en) | 2018-07-10 |
CN108268178B CN108268178B (en) | 2021-07-13 |
Family
ID=62774551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810164346.3A Active CN108268178B (en) | 2018-02-27 | 2018-02-27 | Mobile terminal touch screen coordinate output control, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108268178B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277194A (en) * | 2008-05-13 | 2008-10-01 | 江苏科技大学 | Transmitting/receiving method for secret communication |
CN102916804A (en) * | 2012-08-28 | 2013-02-06 | 华南农业大学 | Two-dimension code coding and decoding method and device based on local color verification |
US20130286035A1 (en) * | 2012-04-30 | 2013-10-31 | Martin Chakirov | Device and method for processing user input |
CN103999092A (en) * | 2011-11-30 | 2014-08-20 | 英特尔公司 | Securing inputs from malware |
CN104156642A (en) * | 2014-07-22 | 2014-11-19 | 杭州晟元芯片技术有限公司 | Security password input system and method based on security touch screen control chip |
CN104166822A (en) * | 2013-05-20 | 2014-11-26 | 阿里巴巴集团控股有限公司 | Data protecting method and device |
CN104252608A (en) * | 2013-06-25 | 2014-12-31 | Ncr公司 | Anti-tamper encrypting keypad |
CN104850258A (en) * | 2015-04-21 | 2015-08-19 | 小米科技有限责任公司 | Touch panel point report method and device |
CN105243309A (en) * | 2015-10-08 | 2016-01-13 | 宁波大学 | Industrial drawing encryption system based on image of intelligent mobile terminal and encryption method of system |
US20180014186A1 (en) * | 2014-07-14 | 2018-01-11 | Microsoft Technology Licensing, Llc | Cryptographic key exchange over an electrostatic channel |
-
2018
- 2018-02-27 CN CN201810164346.3A patent/CN108268178B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101277194A (en) * | 2008-05-13 | 2008-10-01 | 江苏科技大学 | Transmitting/receiving method for secret communication |
CN103999092A (en) * | 2011-11-30 | 2014-08-20 | 英特尔公司 | Securing inputs from malware |
US20130286035A1 (en) * | 2012-04-30 | 2013-10-31 | Martin Chakirov | Device and method for processing user input |
CN102916804A (en) * | 2012-08-28 | 2013-02-06 | 华南农业大学 | Two-dimension code coding and decoding method and device based on local color verification |
CN104166822A (en) * | 2013-05-20 | 2014-11-26 | 阿里巴巴集团控股有限公司 | Data protecting method and device |
CN104252608A (en) * | 2013-06-25 | 2014-12-31 | Ncr公司 | Anti-tamper encrypting keypad |
US20180014186A1 (en) * | 2014-07-14 | 2018-01-11 | Microsoft Technology Licensing, Llc | Cryptographic key exchange over an electrostatic channel |
CN104156642A (en) * | 2014-07-22 | 2014-11-19 | 杭州晟元芯片技术有限公司 | Security password input system and method based on security touch screen control chip |
CN104850258A (en) * | 2015-04-21 | 2015-08-19 | 小米科技有限责任公司 | Touch panel point report method and device |
CN105243309A (en) * | 2015-10-08 | 2016-01-13 | 宁波大学 | Industrial drawing encryption system based on image of intelligent mobile terminal and encryption method of system |
Non-Patent Citations (3)
Title |
---|
HSIEN-CHOU LIAO: "A Location-Dependent Data Encryption Approach for Enhancing Mobile Information System Security", 《IEEE》 * |
中国支付清算协会: "《支付清算理论与实务》", 30 April 2017, 中国金融出版社 * |
张迎辉: "基于互联网的触摸屏数据库远程监控系统", 《低压电器》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108268178B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10175852B2 (en) | Information processing methods and electronic devices for classifying applications | |
US20180173614A1 (en) | Technologies for device independent automated application testing | |
US20190361593A1 (en) | Screen Capturing Method and Apparatus | |
WO2013191458A1 (en) | License verification method and apparatus, and computer readable storage medium storing program therefor | |
CN107102886A (en) | The detection method and device of Android simulator | |
US9053241B2 (en) | Scripting application with role identification | |
CN108280374B (en) | Mobile terminal keyboard safety input control method, system and storage medium | |
CN105477854A (en) | Handle control method, device and system applied in intelligent terminal | |
US20150007130A1 (en) | Software development using gestures | |
WO2019061977A1 (en) | Page configuration method and apparatus, server and medium | |
CN105278751A (en) | Method and apparatus for implementing human-computer interaction, and protective case | |
CN109718554A (en) | A kind of real-time rendering method, apparatus and terminal | |
CN110174946A (en) | Mouse action analogy method, simulation system, storage medium and electronic equipment | |
CN111385661B (en) | Method, device, terminal and storage medium for voice control of full screen playing | |
CN105278812B (en) | A kind of interface method of adjustment and terminal | |
CN108268178A (en) | Mobile terminal touch screen coordinate output control, mobile terminal and storage medium | |
CN115510508A (en) | Page information protection method and device and electronic equipment | |
CN109683762A (en) | Program of mobile terminal starting control processing method, mobile terminal and storage medium | |
US20140071058A1 (en) | Positioning Clickable Hotspots On A Touchscreen Display | |
CN114629800A (en) | Visual generation method, device, terminal and storage medium for industrial control network target range | |
CN111352357B (en) | Robot control method and device and terminal equipment | |
EP3115898B1 (en) | Method for generating user-level events for an application | |
CN103077104A (en) | Verification method, device and system for on-chip system | |
CN111382416B (en) | Application program operation identification method and device, terminal equipment and storage medium | |
US20100287569A1 (en) | Computer, input method, and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231017 Address after: Room 501, 85 Xiaguang Dongli, Haicang District, Xiamen City, Fujian Province, 361000 Patentee after: Xiamen reliable intellectual property service Co.,Ltd. Address before: 10 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100 Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd. |