A kind of control method and system of mobile terminal touch screen drive load
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of controlling parties of mobile terminal touch screen drive load
Method and system.
Background technique
With the development of mobile communication and people's living standards continue to improve, the use of various mobile terminals such as mobile phone is got over
Come it is more universal, mobile phone have become people life in indispensable means of communication.
Touch screen is one of most common device of mobile terminal, and mobile terminal manufacturer would generally prepare multiple touch screens and supply
Quotient is answered, to prevent in mobile terminal mass production, problem (such as supplier's price raising, supplier because touch screen supplier supplies
Defect rate increases, supplier goes bankrupt or other suppliers make a price reduction etc.) cause to stop production.In order to which manufacturer terminal mobile in production also can
Unrestricted choice touch screen supplier, without pay close attention to it is currently used be which supplier touch screen, need in mobile terminal
Software in include the touch screen that all possibility use driving, in the prior art use following technical scheme:
When user, which presses power key, wakes up mobile terminal, the driving of each touch screen is successively loaded by permanent order, if
The success of some drive load then stops continuing to load remaining driving;For example, the touch screen supplier in mobile terminal have for one,
For two, for three, for four, for five, when user, which presses power key, wakes up mobile terminal, successively by the permanent order (drive as supplied one
Dynamic, the driving for two, the driving for three, the driving for four, the driving for five, or the driving for five, the driving for three, for one
Driving, the driving for four, driving for two etc.) each touch screen of load driving, until one of drive successfully loads just
Stopping continues to load remaining driving.
Above-mentioned drive load scheme in the prior art is it is possible that user presses power key wake-up mobile terminal every time
When, the slow problem of touch screen drive load;For example, by driving, the driving for two, the drive for three for one in mobile terminal software
The permanent order successively load driver of the dynamic, driving for four, the driving for five, if current mobile terminal uses the touching for one
Screen is touched, then primary driving, touch screen drive load need to only be loaded by pressing in each user when power key wakes up mobile terminal
It is cracking;If but current mobile terminal uses the touch screen for five, presses power key in each user and wakes up movement
Need to load five drivings when terminal, touch screen drive load is very slow;Or above-mentioned mobile terminal uses
It is the touch screen for one, if touch screen from being damaged some day, user to maintenace point replaces touch screen, and what maintenace point was changed for it is confession
Five touch screen, then the touch screen drive load of the mobile terminal is also very slow, it has not been convenient to user.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that when the multi-provider for the prior art supplies touch screen, touch screen
Drive load sequence is fixed, it is possible to there is a problem of that touch screen drive load is slow, provide a kind of mobile terminal touch screen driving
The control method and system of load.A kind of control method of fast and reliable mobile terminal touch screen drive load is provided, is mentioned
High touch screen drive load speed, provides users with the convenient.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of control method of mobile terminal touch screen drive load, wherein include:
A, when mobile terminal detects that user presses power key wake-up mobile terminal, the touch saved in memory is obtained
Shield drive load sequence to be arranged;
B, according to touch screen drive load sequence setting successively load touch screen driving, and judge whether load at
Function stops continuing to load remaining touch screen driving if loading successfully, if load unsuccessfully continues to load next touch screen
Driving is until load successfully.
The control method of the mobile terminal touch screen drive load, wherein include: before the step A
S1, modification touch screen drive load sequence is arranged in advance: will come first in touch screen drive load sequence setting
The touch screen driving of position is set as loading successful driving, and the driving of remaining touch screen arranges in any order since second.
The control method of the mobile terminal touch screen drive load, wherein before the step A further include:
S2, it is stored with the touch screen driving that all mobile terminals are supported in the terminal in advance.
The control method of the mobile terminal touch screen drive load, wherein the touch screen drive load sequence is set
It sets, for the loading sequence setting of each touch screen driving, the loading sequence setting of the touch screen driving, if to include following
The content of dry row same format: serial number, and touch screen corresponding with serial number driving;Wherein, serial number is the touch screen
The loading sequence of driving.
The control method of the mobile terminal touch screen drive load, wherein
The step B further include: the success of touch screen drive load or load failure are specifically included in the drive of each touch screen
It in dynamic, finally can read the corresponding registers of corresponding touch screen in driving, think that touch screen driving adds if reading successfully
It carries successfully, thinks that the touch screen drive load fails if reading failure.
The control method of the mobile terminal touch screen drive load, wherein the corresponding registers of the touch screen, often
There are registers for a touch screen for reading, which can be read when touch screen can be used, the address of specific register
By touch screen, supplier is provided.
A kind of control system of mobile terminal touch screen drive load, wherein include:
Key detection module wakes up mobile terminal for detecting whether user presses power key;
Setting obtains module, for when mobile terminal detects that user presses power key wake-up mobile terminal, acquisition to be deposited
The touch screen drive load sequence saved in reservoir is arranged;
Drive load and judgment module, for according to the touch screen drive load sequence setting, successively load touch screen to be driven
Dynamic, and judge whether load successfully, stopping, which continues to load remaining touch screen, if load successfully drives, if load fail after
The continuous next touch screen driving of load is until load successfully;
Modified module is set, is arranged for modifying touch screen drive load sequence in advance: by touch screen drive load sequence
Make number one in setting touch screen driving be set as loading successful driving, remaining touch screen driving since second by appoint
Meaning sequence arranges.
The control system of the mobile terminal touch screen drive load, wherein its further include:
Module is stored in advance, is driven for being stored with the touch screen that all mobile terminals are supported in the terminal in advance
It is dynamic.
The control system of the mobile terminal touch screen drive load, wherein the touch screen drive load sequence is set
It sets, for the loading sequence setting of each touch screen driving, the loading sequence setting of the touch screen driving, if to include following
The content of dry row same format: serial number, with and with serial number corresponding touch screen driving;Wherein, serial number is the touch screen
The loading sequence of driving.
The control system of the mobile terminal touch screen drive load, wherein the drive load and judgment module packet
It includes:
Drive load unit, for according to the touch screen drive load sequence setting successively load touch screen driving;
Judgement with load control unit, for judge touch screen driving whether load success, if load successfully if stopping after
The continuous remaining touch screen driving of load continues to load if loading failure next touch screen driving until loading successfully;
Judging unit whether load, for finally can read corresponding touch in driving in the driving of each touch screen
The corresponding registers of screen, think touch screen drive load success if reading successfully, unsuccessfully think the touch screen if reading
Drive load failure;The corresponding registers of the touch screen, there are registers for each touch screen for reading, which exists
Touch screen can be read when available, and the address of specific register is provided by touch screen supplier.
The control method and system of mobile terminal touch screen drive load provided by the present invention, when mobile terminal detects
When user presses power key wake-up mobile terminal, obtains the touch screen drive load sequence saved in memory and be arranged;According to institute
Touch screen drive load sequence setting successively load touch screen driving is stated, and judges whether to load successfully, is stopped if loading successfully
Only continue to load remaining touch screen driving, continues to load next touch screen driving if loading failure until loading successfully;
Modification touch screen drive load sequence, which is provided that, drives the touch screen to make number one in touch screen drive load sequence setting
Dynamic to be set as loading successful driving, the driving of remaining touch screen arranges in any order since second;It can effectively solve
In the mobile terminal for having multiple touch screen suppliers, touch screen drive load caused by touch screen drive load sequence is fixed is slow
Problem;In addition it can also make mobile terminal when producing without paying close attention to the touch screen for using which supplier, family, it only need to be by one
The loading sequence of the driving of the touch screen of actual use can be drained into first automatically by lower power key;For user makes
It is come with the loading sequence for the driving that if having replaced the touch screen of different suppliers, can also make the touch screen after replacing in the process
First;Touch screen drive load speed is improved, is provided users with the convenient.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of the control method of mobile terminal touch screen drive load of the present invention.
Fig. 2 is the principle of work and power frame of the preferred embodiment of the control system of mobile terminal touch screen drive load of the present invention
Figure.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer and more explicit, right as follows in conjunction with drawings and embodiments
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Referring to Figure 1, Fig. 1 is the stream of the preferred embodiment of the control method of mobile terminal touch screen drive load of the present invention
Cheng Tu.A kind of control method of mobile terminal touch screen drive load shown in FIG. 1, comprising:
Step S100, it when mobile terminal detects that user presses power key wake-up mobile terminal, obtains and is protected in memory
The touch screen drive load sequence deposited is arranged;
Step S200, according to the touch screen drive load sequence setting successively load touch screen driving, and judge whether
Load successfully, stop continuing to load remaining touch screen driving if loading successfully, if load unsuccessfully continue to load it is next
Touch screen driving is until load successfully.
In the present invention, before the step S100 further include:
S1, modification touch screen drive load sequence is arranged in advance: will come first in touch screen drive load sequence setting
The touch screen driving of position is set as loading successful driving, and the driving of remaining touch screen arranges in any order since second.
And before the step S100 further include:
S2, it is stored with the touch screen driving that all mobile terminals are supported in the terminal in advance.
For example, the touch screen of mobile terminal has five suppliers: for one, for two, for three, for four and supply five, need in advance
Touch screen driving of the storage for one, the touch screen driving for two, the touch screen driving for three, the touch for four in the terminal
Screen drives and drives for five touch screen.
In the embodiment of the present invention, the touch screen drive load sequence is arranged, for the loading sequence of each touch screen driving
Setting, the loading sequence setting of touch screen driving, for the content for including following several row same formats: serial number, with
And touch screen corresponding with serial number drives;Wherein, serial number is the loading sequence of touch screen driving.
Described in for example connecting, touch screen drive load sequence is set as follows:
1, for one;
2, for three;
3, for five;
4, for two;
5, for four;
Its meaning is, successively by for one, for three, for five, for two, for four sequence load touch screen driving until successfully plus
It carries.
Wherein, the step S200, the touch screen are specifically included in each touch screen at carrying successfully or loading failure
In driving, it finally can read the corresponding registers of corresponding touch screen in driving, think that the touch screen drives if reading successfully
It loads successfully, thinks that the touch screen drive load fails if reading failure.
Wherein, the corresponding registers of the touch screen, there are registers for each touch screen for reading, which exists
Touch screen can be read when available, and the address of specific register is provided by touch screen supplier.
As it can be seen that being improved the present invention provides a kind of control method of fast and reliable mobile terminal touch screen drive load
Touch screen drive load speed, provides users with the convenient.
Based on above method embodiment, the present invention also provides a kind of control systems of mobile terminal touch screen drive load
System, as shown in Fig. 2, the system comprises:
Key detection module 210 wakes up mobile terminal for detecting whether user presses power key;Specific institute as above
It states.
Setting obtains module 220, for obtaining when mobile terminal detects that user presses power key wake-up mobile terminal
The touch screen drive load sequence saved in memory is arranged;As detailed above.
Drive load and judgment module 230, for according to the touch screen drive load sequence setting, successively load to be touched
Screen driving, and judge whether to load successfully, stop continuing to load remaining touch screen driving if loading successfully, if load failure
Then continue to load next touch screen driving until loading successfully;As detailed above.
Modified module 240 is set, is arranged for modifying touch screen drive load sequence in advance: touch screen drive load is suitable
Sequence setting in make number one touch screen driving is set as loading successful driving, remaining touch screen driving since second by
Random order arrangement;As detailed above.
Further, the control system of the mobile terminal touch screen drive load, as shown in Fig. 2, its further include:
Module 250 is stored in advance, the touch screen supported for being stored with all mobile terminals in the terminal in advance
Driving;As detailed above.
The control system of the mobile terminal touch screen drive load, wherein the touch screen drive load sequence is set
It sets, for the loading sequence setting of each touch screen driving, the loading sequence setting of the touch screen driving, if to include following
The content of dry row same format: serial number, with and with serial number corresponding touch screen driving;Wherein, serial number is the touch screen
The loading sequence of driving;As detailed above.
The control system of the mobile terminal touch screen drive load, wherein drive load includes: with judgment module
Drive load unit, for according to the touch screen drive load sequence setting successively load touch screen driving;Tool
Body is as described above.
Judgement with load control unit, for judge touch screen driving whether load success, if load successfully if stopping after
The continuous remaining touch screen driving of load continues to load if loading failure next touch screen driving until loading successfully;Specifically
As described above.
Judging unit whether load, for finally can read corresponding touch in driving in the driving of each touch screen
The corresponding registers of screen, think touch screen drive load success if reading successfully, unsuccessfully think the touch screen if reading
Drive load failure;The corresponding registers of the touch screen, there are registers for each touch screen for reading, which exists
Touch screen can be read when available, and the address of specific register is provided by touch screen supplier;As detailed above.
In conclusion the control method and system of mobile terminal touch screen drive load provided by the present invention, work as movement
When terminal detects that user presses power key wake-up mobile terminal, obtains the touch screen drive load sequence saved in memory and set
It sets;According to the touch screen drive load sequence setting successively load touch screen driving, and judge whether to load successfully, if load
It is successful then stop continuing to load remaining touch screen driving, continue to load next touch screen driving if loading failure until plus
It carries successfully;Modification touch screen drive load sequence, which is provided that, to make number one in the sequence setting of touch screen drive load
Touch screen driving is set as loading successful driving, and the driving of remaining touch screen arranges in any order since second;Can have
Effect solves in the mobile terminal for having multiple touch screen suppliers, touch screen driving caused by touch screen drive load sequence is fixed
Load slow problem;In addition it can also make mobile terminal when producing without paying close attention to the touch screen for using which supplier, family,
Only power key, which need to be clicked, to drain into first for the loading sequence of the driving of the touch screen of actual use automatically;For,
User is in use if replaced the touch screen of different suppliers, the load of the driving of the touch screen after capable of also making replacement
Sequence makes number one;Touch screen drive load speed is improved, is provided users with the convenient.
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 all should belong to the guarantor of appended claims of the present invention
Protect range.