CN108388370A - Mobile terminal touch screen interrupts detection method, mobile terminal and storage medium - Google Patents
Mobile terminal touch screen interrupts detection method, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108388370A CN108388370A CN201810107073.9A CN201810107073A CN108388370A CN 108388370 A CN108388370 A CN 108388370A CN 201810107073 A CN201810107073 A CN 201810107073A CN 108388370 A CN108388370 A CN 108388370A
- Authority
- CN
- China
- Prior art keywords
- voltage
- touch screen
- mobile terminal
- size
- interrupt pin
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 29
- 238000003860 storage Methods 0.000 title claims abstract description 17
- 230000008859 change Effects 0.000 claims abstract description 41
- 230000005611 electricity Effects 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 8
- 230000001174 ascending effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000037007 arousal Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009466 transformation 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/0412—Digitisers structurally integrated in a display
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
-
- 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)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses mobile terminal touch screens to interrupt detection method, mobile terminal and storage medium, wherein method includes:The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without intersection;Each voltage range is configured into corresponding cache size;Data to be transferred size is detected when touch screen, which detects, to be touched, and is the voltage in corresponding voltage range according to detected data to be transferred size setting interrupt pin;Mobile terminal monitors the voltage change of touch screen interrupt pin, the voltage of touch screen interrupt pin is obtained when voltage change, and configure corresponding buffer size according to voltage.The present invention is able to know that the size of this data when the baseband processor of mobile terminal before the data for starting to obtain touch screen, then configures corresponding buffer area, has both ensured that data are not lost, also makes to be space by reasonable employment.
Description
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of mobile terminal touch screen interrupts detection method, moves
Dynamic terminal and storage medium.
Background technology
Development with mobile communication technology and people's living standards continue to improve, various mobile terminals such as mobile phone make
With increasingly popularizing, mobile phone has become indispensable means of communication in people's life.Currently, mobile terminal generally uses greatly
Touch screen is as its main entering apparatus;It is mobile whole in order to adapt to the requirement for touch screen input that user is constantly promoted
The touch screen used on end is more and more advanced, and control also becomes increasingly complex, or even introduces touch screen and double-click arousal function with generation
For the switching manipulation of power key.
In the prior art, for touch screen, the course of work is as follows:
When touch screen detects user's touch operation(Including single-touch, multiple point touching, sliding etc.)When, control interrupt pin
It changes(Such as high to Low level), after baseband processor detects the variation of interrupt pin, communicated with touch screen,
Then the touch data packet that touch screen sends over has been obtained, in addition, since touch data packet size is indefinite(Such as single-touch
Data packet includes a touch type byte, a touch abscissa byte, a touch ordinate byte, and two touch numbers
Include a touch type byte, two touch abscissa bytes, two touch ordinate bytes according to packet), due to being touched
Baseband processor does not know how many byte had and are transmitted through to come before touching data packet, so needing to stop enough spatial caches in advance.But
Spatial cache is wasted if the data that touch screen passes over are excessively few, if the overabundance of data that touch screen transmits
Inadequate buffer space is easy to cause loss of data, inconvenience is brought to user's operation to put down so most evidences.
Therefore, the existing technology needs to be improved and developed.
Invention content
Place in view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide a kind of interruptions of mobile terminal touch screen
Detection method, mobile terminal and storage medium, it is intended to when the baseband processor of mobile terminal is in the data for starting acquisition touch screen
It is able to know that the size of this data before, then configures corresponding buffer area, has both ensured that data are not lost, also makes to be space quilt
Reasonable employment.
In order to achieve the above object, this invention takes following technical schemes:
A kind of mobile terminal touch screen interruption detection method, wherein include the following steps:
The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without boundary
Place;
Each voltage range is configured into corresponding cache size;
Data to be transferred size is detected when touch screen, which detects, to be touched, and is arranged according to detected data to be transferred size and is interrupted
Pin is the voltage in corresponding voltage range;
Mobile terminal monitors the voltage change of touch screen interrupt pin, and the electricity of touch screen interrupt pin is obtained when voltage change
Pressure, and corresponding buffer size is configured according to voltage.
The mobile terminal touch screen interrupts detection method, wherein described in advance by the interruption of mobile terminal touch screen
Foot is configured to multiple voltage ranges, wherein each voltage range further includes without intersection:
By the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range is corresponding, which to be one, to configure
Cache size.
The mobile terminal touch screen interrupts detection method, wherein described that the configuration of each voltage range is corresponding
The step of cache size further includes:The corresponding cache size of configuration is more than to the cache size of actual needs.
The mobile terminal touch screen interrupts detection method, wherein described when touch screen detects that the when of being touched is detected
Data to be transferred size is the voltage in corresponding voltage range according to detected data to be transferred size setting interrupt pin
Step includes:
It is touched when touch screen detects, then detects data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin.
The mobile terminal touch screen interrupts detection method, wherein the mobile terminal monitors touch screen interrupt pin
Voltage change, the voltage of touch screen interrupt pin is obtained when voltage change, and it is big according to voltage to configure corresponding buffer area
Small step includes:
Mobile terminal baseband processor monitors the voltage change of touch screen interrupt pin;
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage.
The mobile terminal touch screen interrupts detection method, wherein described that the configuration of each voltage range is corresponding
Cache size further includes:
It is that correspond to cache size be 10 bytes to 0.1V to 0.3V that interrupt pin, which is configured to voltage range,;Interrupt pin is configured to voltage
Range is that correspond to cache size be 25 bytes to 0.55V to 0.99V.
A kind of mobile terminal, wherein including:Processor, memory and communication bus;
The computer-readable program that can be executed 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 executing the computer-readable program:
The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without boundary
Place;
Each voltage range is configured into corresponding cache size;
Data to be transferred size is detected when touch screen, which detects, to be touched, and is arranged according to detected data to be transferred size and is interrupted
Pin is the voltage in corresponding voltage range;
Mobile terminal monitors the voltage change of touch screen interrupt pin, and the electricity of touch screen interrupt pin is obtained when voltage change
Pressure, and corresponding buffer size is configured according to voltage.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
By the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range is corresponding, which to be one, to configure
Cache size;
The corresponding cache size of configuration is more than to the cache size of actual needs.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
It is touched when touch screen detects, then detects data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin;
Mobile terminal baseband processor monitors the voltage change of touch screen interrupt pin;
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage.
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 executed by one or more processor, to realize described in any one as above
Mobile terminal touch screen interrupts the step in detection method.
Compared to the prior art, mobile terminal touch screen provided by the invention interrupts detection method, mobile terminal and storage
Medium, the method by the interruption foot of touch screen by being configured to multiple voltage ranges, wherein each voltage range is without boundary
Place;Each voltage range is configured into corresponding cache size;Data to be transferred size is detected when touch screen, which detects, to be touched,
It is the voltage in corresponding voltage range according to detected data to be transferred size setting interrupt pin;Baseband processor monitors
The voltage change of touch screen interrupt pin, the voltage of touch screen interrupt pin is obtained when voltage change, and is configured according to voltage
Corresponding buffer size.When the baseband processor of mobile terminal is able to know that this before the data for starting to obtain touch screen
The size of data, then configures corresponding buffer area, has both ensured that data are not lost, and also makes to be space by reasonable employment, is user
It offers convenience.
Description of the drawings
Fig. 1 is the flow chart that mobile terminal touch screen provided by the invention interrupts detection method.
Fig. 2 is the functional block diagram of mobile terminal preferred embodiment of the present invention.
Fig. 3 is the system function that mobile terminal preferred embodiment of the present invention installs that mobile terminal touch screen interrupts detection program
Module map.
Specific implementation mode
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 described herein, specific examples are only used to explain the present invention, is not used to
Limit the present invention.
Referring to Fig. 1, mobile terminal touch screen provided by the invention interrupts, detection method includes the following steps:
S100, the interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each equal nothing of voltage range
Intersection;
In the embodiment of the present invention, need that the interruption foot of mobile terminal touch screen is configured to multiple voltage ranges, Ge Ge electricity in advance
Press range without intersection, for example, by the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range
It is corresponding to be one and answer allocating cache size.
Preferably, it is that correspond to cache size be 10 words to 0.1V to 0.3V that interrupt pin, which may be used, to be configured to voltage range
Section;It is that correspond to cache size be 25 bytes to 0.55V to 0.99V that interrupt pin, which is configured to voltage range,;The original of voltage range is set
Because being, it is contemplated that voltage can since there are the variations of certain slight amplitude for ectocine, such as even if setting voltage is 0.2V,
It may also change between 0.3V in 0.1V.So what the present invention configured is voltage range.
S200, each voltage range is configured into corresponding cache size;
Each voltage range is configured into corresponding cache size in the present invention, it can be big by the corresponding caching of configuration when specific
The small cache size for being more than actual needs, it is contemplated that less several voltage ranges can be set, then approach cache size
Several cache sizes merge, it is reserved slow to ensure to correspond to the greater in wherein cache size for each voltage range at this time
It is enough to deposit space;For example, have cache size be 12 bytes, 13 bytes, 14 bytes, then these three cache sizes merge into one
Kind takes 14 byte of big person, then only corresponds to a voltage range.
S300, data to be transferred size is detected when touch screen is detected and touched, it is big according to detected data to be transferred
Small setting interrupt pin is the voltage in corresponding voltage range;
In the present invention, data to be transferred size is detected when touch screen, which detects, to be touched, it is big according to detected data to be transferred
Small setting interrupt pin is the voltage in corresponding voltage range.
Such as touched when touch screen detects, then detect data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin.
Such as described in connecting, when it is 24 byte to detect data to be transferred size, setting interrupt pin is corresponding voltage
Voltage in range is range 0.55V to 0.99V(Volt)In a voltage, the citing interrupt pin of corresponding above-mentioned steps S100 matches
It is that correspond to cache size be 25 bytes to 0.55V to 0.99V to be set to voltage range.
The voltage change of S400, mobile terminal monitoring touch screen interrupt pin, touch screen interruption is obtained when voltage change
The voltage of pin, and corresponding buffer size is configured according to voltage.
Using the voltage change of mobile terminal monitoring touch screen interrupt pin in this step, obtains and touch when voltage change
Shield the voltage of interrupt pin, and corresponding buffer size is configured according to voltage.
It is specifically as follows the voltage change that touch screen interrupt pin is monitored by mobile terminal baseband processor;When voltage becomes
The voltage of touch screen interrupt pin is obtained when change, and corresponding buffer size is configured according to voltage.
Such as when detecting that the voltage change range of monitoring touch screen interrupt pin is 0.1V to 0.3V, then configuration is corresponding
Buffer size is 10 bytes;When detecting that the voltage change range of monitoring touch screen interrupt pin is 0.55V to 0.99V, then
It is 25 bytes to configure corresponding buffer size.
As it can be seen that the present invention, which provides a kind of mobile terminal touch screen, interrupts detection method, the method is by by touch screen
It interrupts foot and is configured to multiple voltage ranges, wherein each voltage range is without intersection;Each voltage range is configured and is corresponded to
Cache size;Data to be transferred size is detected when touch screen, which detects, to be touched, according to detected data to be transferred size
It is the voltage in corresponding voltage range that interrupt pin, which is arranged,;Baseband processor monitors the voltage change of touch screen interrupt pin,
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage.When mobile whole
The baseband processor at end is able to know that the size of this data before the data for starting to obtain touch screen, then configures corresponding
Buffer area had both ensured that data were not lost, and also made to be space, by reasonable employment, to offer convenience for user.
As shown in Fig. 2, interrupting detection method based on above-mentioned mobile terminal touch screen, the present invention further correspondingly provides a kind of shifting
Dynamic terminal, the mobile terminal can be the computing devices such as mobile phone, desktop PC, notebook, palm PC and server.
The mobile terminal includes processor 10, memory 20 and display screen 30.Fig. 2 illustrates only the members of mobile terminal, still
It should be understood that, it is not required that implement all components shown, the implementation that can be substituted is more or less component.
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 the program code etc. for installing mobile terminal.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
Hold touch screen interrupt detection program 40, the mobile terminal touch screen interrupt detection program 40 can performed by processor 10, to
Realize that mobile terminal touch screen interrupts detection 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 execute the mobile terminal touch screen and interrupt detection 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, detection program 40 is interrupted when processor 10 executes mobile terminal touch screen in the memory 20
Shi Shixian following steps:
The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without boundary
Place;
Each voltage range is configured into corresponding cache size;
Data to be transferred size is detected when touch screen, which detects, to be touched, and is arranged according to detected data to be transferred size and is interrupted
Pin is the voltage in corresponding voltage range;
Mobile terminal monitors the voltage change of touch screen interrupt pin, and the electricity of touch screen interrupt pin is obtained when voltage change
Pressure, and corresponding buffer size is configured according to voltage.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
By the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range is corresponding, which to be one, to configure
Cache size;
The corresponding cache size of configuration is more than to the cache size of actual needs.
The mobile terminal, wherein the processor also realizes following steps when executing the computer-readable program:
It is touched when touch screen detects, then detects data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin;
Mobile terminal baseband processor monitors the voltage change of touch screen interrupt pin;
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage, specifically
As described above.
Referring to Fig. 3, it installs mobile terminal touch screen for mobile terminal preferred embodiment of the present invention interrupts detection program
System function module figure.In the present embodiment, the system that installation mobile terminal touch screen interrupts detection program can be divided
At one or more modules, one or more of modules are stored in the memory 20, and by one or more
Manage device(The present embodiment is the processor 10)It is performed, to complete the present invention.For example, in figure 3, installation mobile terminal touches
It is defeated that the system that screen interrupts detection program can be divided into voltage range picture sub-module 21, allocating cache module 22, interrupt voltage
Go out module 23 and baseband processing module 24.The so-called module of the present invention is the series of computation machine journey for referring to complete specific function
Sequence instruction segment interrupts detection program holding in the mobile terminal than program more suitable for describing the mobile terminal touch screen
Row process.The function of the module 21-24 will specifically be introduced by being described below.
Voltage range draws sub-module 21, for the interruption foot of touch screen to be configured to multiple voltage ranges, wherein Ge Ge electricity
Press range without intersection;
Allocating cache module 22, for each voltage range to be configured corresponding cache size;
Interrupt voltage output module 23, for detecting data to be transferred size when touch screen is detected and touched, according to being detected
The data to be transferred size setting interrupt pin arrived is the voltage in corresponding voltage range;
Baseband processing module 24 is obtained for the voltage change of baseband processor monitoring touch screen interrupt pin when voltage change
The voltage of touch screen interrupt pin is taken, and corresponding buffer size is configured according to voltage, as detailed above.
Based on above-described embodiment, the present invention also provides a kind of computer readable storage medium, calculated described in the present embodiment
Machine readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be handled by one or more
Device executes, to realize that the mobile terminal touch screen described in any one as above interrupts the step in detection method, specific institute as above
It states.
In conclusion mobile terminal touch screen provided by the invention interrupts in detection method, system and storage medium, it is described
Method is detected by working as mobile terminal to be connected with computer, obtains the first algorithm version of the external charging chip that computer end has
This number;The algorithm versions No. the second for comparing the algorithm versions No. first and having in mobile terminal, if first algorithm
Version number is newer than the algorithm versions No. second, then obtains the total electric current setting of current USB port, and shutdown external charging chip fills
Electricity Functional;It is the total electric current setting of above-mentioned USB port that charge inside, which is arranged,;Switching external charging chip simultaneously executes update algorithm steps
Suddenly.Make, when mobile terminal uses external charging chip, if mobile terminal is connected with computer, electricity can be quickly move through
Brain carries out algorithm update to the external charging chip of the mobile terminal connected, to ensure mobile terminal external charging chip work
Make efficiency, it is user-friendly.
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 instruct related hardware by computer program(Such as processor, controller etc.)It completes, the program can store
In a computer-readable storage medium, which may include the flow such as above-mentioned each method embodiment when being executed.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 for those of ordinary skills can
With improvement or transformation based on 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 interrupts detection method, which is characterized in that include the following steps:
The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without boundary
Place;
Each voltage range is configured into corresponding cache size;
Data to be transferred size is detected when touch screen, which detects, to be touched, and is arranged according to detected data to be transferred size and is interrupted
Pin is the voltage in corresponding voltage range;
Mobile terminal monitors the voltage change of touch screen interrupt pin, and the electricity of touch screen interrupt pin is obtained when voltage change
Pressure, and corresponding buffer size is configured according to voltage.
2. mobile terminal touch screen according to claim 1 interrupts detection method, which is characterized in that described to move in advance
The interruption foot of terminal touch screen is configured to multiple voltage ranges, wherein each voltage range further includes without intersection:
By the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range is corresponding, which to be one, to configure
Cache size.
3. mobile terminal touch screen according to claim 1 interrupts detection method, which is characterized in that described by each electricity
Pressure range configure corresponding cache size the step of further include:The corresponding cache size of configuration is more than the slow of actual needs
Deposit size.
4. mobile terminal touch screen according to claim 1 interrupts detection method, which is characterized in that described when touch screen is examined
Detection data to be transferred size when being touched is measured, is corresponding electricity according to detected data to be transferred size setting interrupt pin
Pressure range in voltage the step of include:
It is touched when touch screen detects, then detects data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin.
5. mobile terminal touch screen according to claim 1 interrupts detection method, which is characterized in that the mobile terminal prison
The voltage change for surveying touch screen interrupt pin, the voltage of touch screen interrupt pin is obtained when voltage change, and is matched according to voltage
The step of setting corresponding buffer size include:
Mobile terminal baseband processor monitors the voltage change of touch screen interrupt pin;
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage.
6. mobile terminal touch screen according to claim 1 interrupts detection method, which is characterized in that described by each electricity
Pressure range configures corresponding cache size:
It is that correspond to cache size be 10 bytes to 0.1V to 0.3V that interrupt pin, which is configured to voltage range,;Interrupt pin is configured to voltage
Range is that correspond to cache size be 25 bytes to 0.55V to 0.99V.
7. a kind of mobile terminal, which is characterized in that including:Processor, memory and communication bus;
The computer-readable program that can be executed 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 executing the computer-readable program:
The interruption foot of mobile terminal touch screen is configured to multiple voltage ranges in advance, wherein each voltage range is without boundary
Place;
Each voltage range is configured into corresponding cache size;
Data to be transferred size is detected when touch screen, which detects, to be touched, and is arranged according to detected data to be transferred size and is interrupted
Pin is the voltage in corresponding voltage range;
Mobile terminal monitors the voltage change of touch screen interrupt pin, and the electricity of touch screen interrupt pin is obtained when voltage change
Pressure, and corresponding buffer size is configured according to voltage.
8. mobile terminal according to claim 7, which is characterized in that when the processor executes the computer-readable program
Also realize following steps:
By the ascending arrangement of each voltage range, and it is folded to mutually disjoint, each voltage range is corresponding, which to be one, to configure
Cache size;
The corresponding cache size of configuration is more than to the cache size of actual needs.
9. mobile terminal according to claim 7, which is characterized in that the processor executes the computer-readable program
When also realize following steps:
It is touched when touch screen detects, then detects data to be transferred size;
It is the voltage in corresponding voltage range according to detected data to be transferred size, setting interrupt pin;
Mobile terminal baseband processor monitors the voltage change of touch screen interrupt pin;
The voltage of touch screen interrupt pin is obtained when voltage change, and corresponding buffer size is configured according to voltage.
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 executed by one or more processor, to realize that claim 1-6 such as appoints
Mobile terminal touch screen described in meaning one interrupts the step in detection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107073.9A CN108388370B (en) | 2018-02-02 | 2018-02-02 | Mobile terminal touch screen interruption detection method, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810107073.9A CN108388370B (en) | 2018-02-02 | 2018-02-02 | Mobile terminal touch screen interruption detection method, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108388370A true CN108388370A (en) | 2018-08-10 |
CN108388370B CN108388370B (en) | 2021-07-13 |
Family
ID=63075206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810107073.9A Active CN108388370B (en) | 2018-02-02 | 2018-02-02 | Mobile terminal touch screen interruption detection method, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108388370B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114003147A (en) * | 2021-11-02 | 2022-02-01 | 深圳市汇顶科技股份有限公司 | Signal detection device, touch pad and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130173938A1 (en) * | 2011-12-30 | 2013-07-04 | Samsung Electronics Co., Ltd. | Data processing device and portable device having the same |
CN103870400A (en) * | 2014-03-06 | 2014-06-18 | 华为技术有限公司 | Voltage regulating method, device and system of super-capacitor |
CN104932740A (en) * | 2015-06-02 | 2015-09-23 | 惠州Tcl移动通信有限公司 | System and method for activating mobile terminal touch screen |
CN105094976A (en) * | 2015-10-09 | 2015-11-25 | 天津国芯科技有限公司 | Interrupt control method and interrupt controller |
-
2018
- 2018-02-02 CN CN201810107073.9A patent/CN108388370B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130173938A1 (en) * | 2011-12-30 | 2013-07-04 | Samsung Electronics Co., Ltd. | Data processing device and portable device having the same |
CN103870400A (en) * | 2014-03-06 | 2014-06-18 | 华为技术有限公司 | Voltage regulating method, device and system of super-capacitor |
CN104932740A (en) * | 2015-06-02 | 2015-09-23 | 惠州Tcl移动通信有限公司 | System and method for activating mobile terminal touch screen |
CN105094976A (en) * | 2015-10-09 | 2015-11-25 | 天津国芯科技有限公司 | Interrupt control method and interrupt controller |
Non-Patent Citations (2)
Title |
---|
WENRUI DIAO: "No Pardon for the Interruption: New Inference Attacks on Android Through Interrupt Timing Analysis", 《IEEE》 * |
孙文阅: "基于S3C6410嵌入式Linux系统触摸屏驱动设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114003147A (en) * | 2021-11-02 | 2022-02-01 | 深圳市汇顶科技股份有限公司 | Signal detection device, touch pad and electronic equipment |
CN114003147B (en) * | 2021-11-02 | 2022-08-09 | 深圳市汇顶科技股份有限公司 | Signal detection device, touch pad and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108388370B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3937016A1 (en) | Memory management method and apparatus | |
WO2015069021A1 (en) | Method for executing function in response to touch input and electronic device implementing the same | |
EP3333733B1 (en) | Method and device for use in parallel execution of terminal database | |
WO2015115852A1 (en) | Task scheduling method and apparatus | |
WO2014019124A1 (en) | Touch event reporting method, device and mobile terminal | |
CN106786960B (en) | Charge control method, device and terminal | |
WO2015194920A1 (en) | Electronic device and method for controlling display | |
KR20150107448A (en) | Task Migration Method and Apparatus | |
CN101661304B (en) | Computer and input equipment sharing method thereof | |
CN103336704A (en) | Low-temperature starting method of adjustable type computer | |
KR20150026424A (en) | Method for controlling a display and an electronic device | |
US20190310737A1 (en) | Electronic device and electronic device operating method | |
CN110427301A (en) | A kind of computer fault alarm system | |
CN108388370A (en) | Mobile terminal touch screen interrupts detection method, mobile terminal and storage medium | |
CN108845924A (en) | Control response region display control method, electronic device and storage medium | |
TWM542184U (en) | Extension control device of display card | |
CN104881297A (en) | State machine management method and system | |
CN115904851B (en) | Terminal equipment and external equipment access detection system | |
WO2023160122A1 (en) | Electric leakage detection method for electronic device, electronic equipment and storage medium | |
CN110399166A (en) | Store method, device, equipment and the storage medium of ME Nonce value | |
CN206610285U (en) | A kind of usb expansion circuit and its hub with power supply interface | |
CN114503088B (en) | Establishing a trusted connection with a peripheral device | |
CN111708631B (en) | Data processing method based on multipath server, intelligent terminal and storage medium | |
CN109362094B (en) | WIFI connection processing method for mobile terminal, mobile terminal and storage medium | |
CN109218523B (en) | Mobile terminal display data abnormity detection method, mobile terminal and storage 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: 20231008 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. |