Summary of the invention
In view of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide the display at a kind of mobile terminal-opening interface
Method and system, make cell phone system show mobile phone operation interface after all complex modules loadeds, make user make smoothly
With operating handset, prevent system crash simultaneously.
Technical scheme is as follows:
The display packing at a kind of mobile terminal-opening interface, comprises the following steps:
A, when mobile terminal-opening start counting process, counting process with lowest priority be weighted process and record count
Value and gate time;
B, when the operation interface of mobile terminal is ready, mobile terminal operation interface is carried out obstruction process, start simultaneously judge into
Journey also judges that whether the numerical value of counting process record is more than count threshold;
C, when counting process record numerical value more than count threshold time show the operation interface of mobile terminal and close counting process
With judge process, continue executing with judgement process when counting process no more than count threshold.
In the display packing at above-mentioned mobile terminal-opening interface, step A specifically includes:
A1, when mobile terminal-opening start counting process, carry out with lowest priority in the first Preset Time inside counting process
Counting adds 1 process;
A2, process and record the system time added each time when 1 counting processes simultaneously adding 1 counting each time.
In the display packing at above-mentioned mobile terminal-opening interface, step B specifically includes:
B1, when the operation interface of mobile terminal is ready, mobile terminal operation interface is carried out obstruction process;
B2 and obstruction mobile terminal operation interface start judgement process simultaneously, it is judged that process checks meter every the second Preset Time
In the first Preset Time that number process is nearest, whether record numerical value is more than count threshold.
In the display packing at above-mentioned mobile terminal-opening interface, first that in step B2 step, counting process is nearest is preset
The numerical value of record is in time: search the maximum count value and of gate time scope in the content recorded in counting process
The difference of subtotal numerical value.
In the display packing at above-mentioned mobile terminal-opening interface, the condition that described counting process runs with lowest priority
For: mobile terminal system does not have any process perform.
The present invention also provides for a kind of mobile terminal-opening interface display system, including:
Counting module, for starting counting process when mobile terminal-opening, counting process is weighted place with lowest priority
Reason recording gauge numerical value and gate time;
Judge module, for mobile terminal operation interface being carried out obstruction process when the operation interface of mobile terminal is ready, with
Shi Qidong judges process and judges that whether the numerical value of counting process record is more than count threshold;
Perform module, for showing the operation interface of mobile terminal when the numerical value of counting process record is more than count threshold and closes
Close counting process and judgement process, continue executing with judgement process when counting process no more than count threshold.
In above-mentioned mobile terminal-opening interface display system, counting module includes:
First counting unit, for when mobile terminal-opening start counting process, the first Preset Time inside counting process with
Lowest priority carries out counting and adds 1 process;
Second counting unit, for add each time 1 counting process record the system added each time when 1 counting processes simultaneously time
Between.
In above-mentioned mobile terminal-opening interface display system, it is judged that module includes:
Operation interface blocking unit, for blocking mobile terminal operation interface when the operation interface of mobile terminal is ready
Process;
Contrast unit, for starting judgement process with obstruction mobile terminal operation interface simultaneously, it is judged that process is preset every second
Whether time records numerical value more than count threshold in checking the first Preset Time that counting process is nearest.
In above-mentioned mobile terminal-opening interface display system, the first Preset Time that in contrast unit, counting process is nearest
The numerical value of interior record is: search maximum count value and the subtotal of gate time scope in the content recorded in counting process
The difference of numerical value.
In above-mentioned mobile terminal-opening interface display system, the condition that counting process runs with lowest priority is: move
Dynamic terminal system does not have any process to perform.
The display packing at mobile terminal-opening interface provided by the present invention and system, start meter when mobile terminal-opening
Number process, counting process runs with lowest priority, and it carries out adding 1 operation, and record operation is worked as when adding 1 operation each time
The front time;When mobile terminal operation interface is ready, first operation interface is blocked, start judgement process, it is judged that enter simultaneously
Journey check at regular intervals counting process in nearest first Preset Time inside counting device institute count value whether more than counting door
Limit, if then out and operation interface display being closed counting process and judgement process, otherwise judging that process waits and sentencing next time
Disconnected.So that system only just can show user interface after powering after all complex module loading are complete, make
User can use system swimmingly, simultaneously prevented also from system crash.
Detailed description of the invention
The present invention provides display packing and the system at a kind of mobile terminal-opening interface, for making the purpose of the present invention, technology
Scheme and effect are clearer, clear and definite, referring to the drawings and give an actual example that the present invention is described in more detail.Should be appreciated that
Specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Referring to Fig. 1, the present invention provides the display packing at mobile terminal-opening interface, comprises the following steps:
S100, when mobile terminal-opening start counting process, counting process with lowest priority be weighted process and record
Count value and gate time.I.e. starting counting process when mobile terminal performs boot program, described counting process is only moving
When not having any process to perform in terminal system, counting process just performs, and described counting process carries out counting weighting 1 process, and
Record this weighting 1 when counting weighting 1 process each time and process the current time being.The count value of record and gate time interior
Appearance information comprises several rows information: count value and gate time, wherein gate time is that counting process is when counting weighting and processing
The system time of recording gauge numerical value.
S200, when the operation interface of mobile terminal is ready, mobile terminal operation interface is carried out obstruction process, open simultaneously
Move and judge process and judge that whether the numerical value of counting process record is more than count threshold.Mobile terminal-opening operates interface after starting
Ready can be shown, now the operation interface to mobile terminal carries out obstruction and processes and make it postpone display.Postponing
While the operation interface of display mobile terminal, mobile terminal system starts judgement process, this judgement process be used for judging counting into
Whether the count value that in journey, technology weighting 1 is recorded is more than counting relevant with central processing unit dominant frequency in the mobile terminal preset
Thresholding.Operation display interface after i.e. other modules of mobile terminal are opened, reduces the startup of other modules of mobile terminal
Impact on user operation.
S300, when counting process record numerical value more than count threshold time show the operation interface of mobile terminal and close meter
Number processes and judge process, execution step S200 when counting process is not more than count threshold.
Below in conjunction with specific embodiment, the display packing at the mobile terminal-opening interface in the present invention is said further
Bright.
S410, when mobile terminal-opening start counting process, the first Preset Time inside counting process with minimum preferentially
Level carries out counting and adds 1 process.Such as counting process in the Preset Time of 0.5 second to mobile terminal system in the program run
Number counts, and often starts a process counting and adds 1.In above-mentioned steps counting process with lowest priority run refer to be only
When not having any process to perform in system, counting process just can perform.
S420, process and record the system time added each time when 1 counting processes simultaneously adding 1 counting each time.Adding at 1
The counting of reason often counts the concrete time once recording this counting.Described counting process is weighted 1 operation, and often
Record current time when once weighting 1, has an information composition that several rows comprise following form in being recorded:
Count value, gate time;
Wherein, gate time be counting process be system time during count value;That is often perform once at counting process
When adding 1 operation, include obtaining present system time (gate time), and recording gauge numerical value and gate time simultaneously.
Mobile terminal is in start process in addition to basic startup process, and it is complex that current smart mobile phone starts some
Module just like bluetooth, WIFI, NFC, GPRS and Light-Sensor etc., according to being typically designed of current smart mobile phone, these
Module is in the case of opening, and after user starts shooting the most again, they can automatically open up;And counting process is only moving
Just can run the most placed in a suspend state under the state that terminal is completely idle, as long as and have other processes to start to perform, counting
Process is the most out of service.The present invention says that the service condition of counting process changes, and arranges sufficient condition out of service and utilizes it
Tally function.
S430, when the operation interface of mobile terminal is ready, mobile terminal operation interface is carried out obstruction process;I.e. to shifting
The operation interface of dynamic terminal takes obstruction process to make it postpone display.
S440 and obstruction mobile terminal operation interface start judgement process simultaneously, it is judged that process is every the second Preset Time
In checking the first Preset Time that counting process is nearest, whether record numerical value is more than count threshold.I.e. when operation circle of mobile terminal
When face is ready, first blocking operation interface, start judgement process simultaneously, described judgement process is looked into every the second Preset Time
See counting process in nearest first Preset Time inside counting device institute count value whether more than count threshold, if YES then will operation
Interface display out and closes counting process and judgement process, otherwise judges that process waits and judges next time.
Concrete, in the first Preset Time that counting process is nearest, the numerical value of record is: recorded in counting process
Content is searched maximum count value and the difference of least count value of gate time scope.Judgement process checks that counting process is recently
The first Preset Time inside counting device institute count value specifically include following steps:
S1, acquisition current time;Current time is the time that judgement process performs;
S2, the maximum count value that lookup gate time scope is in the content that counting process is recorded and least count value: rise
Start from current time and deduct the minima of the first Preset Time, end at the maximum of current time;
S3, difference is asked to be counting process when nearest first presets by searching the maximum count value that obtains with least count value
Between inside counting device institute count value.
Wherein, described first Preset Time is 0.5 second, and described second Preset Time is 0.5 second;
Such as, the content that counting process is recorded is as follows:
10 points 21.256235 seconds during 1,2015 on October 12,12;
10 points 25.256235 seconds during 2,2015 on October 12,12;
10 points 28.256235 seconds during 3,2015 on October 12,12;
10 points 29.256235 seconds during 4,2015 on October 12,12;
10 points 29.256255 seconds during 5,2015 on October 12,12;
10 points 29.256295 seconds during 6,2015 on October 12,12;
10 points 29.259295 seconds during 7,2015 on October 12,12;
10 points 29.259666 seconds during 8,2015 on October 12,12;
10 points 29.266666 seconds when if the current time obtained in step S1 is 12 days 12 October in 2015, then preset by first
0.5 second time time range 10 points of on October 12nd, 29.266666 seconds-0.5 second 1 when 12 days 12 October in 2015
When 12 10 points in 29.266666 seconds, the maximum of count value is 8, and minima is 4, therefore maximum count value and least count value
Seek poor 8-4=4.If count threshold is 3, it is judged that process judges that 4 are more than 3, is operation interface display out and to be closed
Counting process and judge process, if count threshold is 5, it is judged that process judges that 4 are less than 5, then judge that process wait is sentenced next time
Disconnected, until closing counting process and judgement process when counting is more than 5 and showing the operation interface of mobile terminal.
Above-mentioned be embodied as inner in the dominant frequency of central processing unit that used with mobile terminal of count threshold relevant, dominant frequency
Should be the biggest by the count threshold performed selected by more instruction in the highest instruction sheet bit time.It is preferred that for count threshold
Arrange can be as follows: the priority of counting process, when developing mobile terminal, is set to by mobile terminal manufacturer
Height, and close every other process, then make counting process run the first Preset Time (0.5 second), at counting process institute record
Content in search gate time scope be following maximum count value and least count value: originate in current time and deduct first
The setting time, end at current time;Difference is asked to be count threshold by searching the maximum count value obtained with least count value;
In view of surplus time actually used, the final count threshold arranged can take 0.8* count threshold, such as mobile terminal manufacture
It is a that business obtains count threshold when developing mobile terminal by preceding method, then the final count threshold arranged is 0.8*a.
The display packing at above-mentioned mobile terminal-opening interface, makes system after powering only when all complex modules
Just can show user interface after loaded, enable users to use swimmingly system, be also prevented from system crash simultaneously.The present invention
Also provide for a kind of mobile terminal system performing said method.The most as shown in Figure 2:
The mobile terminal-opening interface display system that the present invention provides, including:
Counting module 510, for starting counting process when mobile terminal-opening, counting process is weighted with lowest priority
Process and recording gauge numerical value and gate time, the most as implied above;
Judge module 520, for mobile terminal operation interface being carried out obstruction process when the operation interface of mobile terminal is ready,
Start simultaneously and judge process and judge whether the numerical value of counting process record is more than count threshold, the most as implied above;
Perform module 530, for showing the operation interface of mobile terminal when the numerical value of counting process record is more than count threshold
And close counting process and judgement process, continue executing with judgement process when counting process no more than count threshold, the most as above
Shown in;
Described counting module 510 includes:
First counting unit, for when mobile terminal-opening start counting process, the first Preset Time inside counting process with
Lowest priority carries out counting and adds 1 process, the most as implied above;
Second counting unit, for add each time 1 counting process record the system added each time when 1 counting processes simultaneously time
Between, the most as implied above.
Described judge module 520 includes:
Operation interface blocking unit, for blocking mobile terminal operation interface when the operation interface of mobile terminal is ready
Process, the most as implied above;
Contrast unit, for starting judgement process with obstruction mobile terminal operation interface simultaneously, it is judged that process is preset every second
Time records whether numerical value is more than count threshold in checking the first Preset Time that counting process is nearest, the most as implied above.
In the first Preset Time that in described contrast unit, counting process is nearest, the numerical value of record is: institute in counting process
The content of record is searched maximum count value and the difference of least count value of gate time scope, the most as implied above.
The condition that described counting process runs with lowest priority is: do not have any process to perform in mobile terminal system,
The most as implied above.
In sum, the display packing at mobile terminal-opening interface provided by the present invention and system, open at mobile terminal
Starting counting process during machine, counting process runs with lowest priority, and it carries out adding 1 operation, and when adding 1 operation each time
Record operation current time;When mobile terminal operation interface is ready, first to operation interface block, simultaneously start judge into
Journey, it is judged that process checks that counting process is the biggest in nearest first Preset Time inside counting device institute count value at regular intervals
In count threshold, if then operation interface display out and being closed counting process and judgement process, otherwise judge that process waits
Judge next time.So that system only just can show user after powering after all complex module loading are complete
Interface, enables users to use swimmingly system, simultaneously prevented also from system crash.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved according to the above description or to convert, all these modifications and variations all should belong to the guarantor of claims of the present invention
Protect scope.