CN106775633A - A kind of method, device and the terminal of the acquiescence Launcher that automatically switches - Google Patents
A kind of method, device and the terminal of the acquiescence Launcher that automatically switches Download PDFInfo
- Publication number
- CN106775633A CN106775633A CN201611029806.9A CN201611029806A CN106775633A CN 106775633 A CN106775633 A CN 106775633A CN 201611029806 A CN201611029806 A CN 201611029806A CN 106775633 A CN106775633 A CN 106775633A
- Authority
- CN
- China
- Prior art keywords
- launcher
- acquiescence
- log information
- abnormity
- frequency
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention discloses a kind of method, device and the terminal of the acquiescence Launcher that automatically switches.The method includes:The built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher are set to the acquiescence Launcher of the intelligent terminal starting up;Determine the frequency of abnormity in the acquiescence Launcher runnings;If the frequency of abnormity exceedes predetermined threshold value, switch the corresponding Launcher of the acquiescence Launcher.Technical scheme can be when acquiescence Launcher occurs persistently to collapse, the corresponding Launcher of the acquiescence that automatically switches Launcher, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses, and improve Consumer's Experience.
Description
Technical field
The present embodiments relate to electronic apparatus application technology, more particularly to a kind of side of the acquiescence Launcher that automatically switches
Method, device and terminal.
Background technology
Android is a kind of operating system of the open source code based on Linux, is mainly used in mobile phone, panel computer, TV
Or the intelligent terminal such as wrist-watch.In Android system, mainly including operating system, middleware, user interface and application program.
Wherein, Launcher (desktop starter) application program, be after Android system loaded first startup should
With program, it is responsible for processing and responding all operations in addition to application operation itself, such as including providing operation interface (i.e. table
Face), start application program in response to the application icon clicked on desktop and wallpaper etc. be set.In system operation
After the Android installation kit (AndroidPackage, APK) of Launcher application programs, completion system start.In practical application
In, developer or user can customize Launcher according to self-demand, and the Launcher application programs of customization are set to write from memory
Launcher is recognized, so that the Launcher of automatic customization after powering.
However, after the appearance persistently collapse of Launcher application programs is customized, user will repeatedly see that Launcher is applied
The prompting of collapse, such as lasting prompt window for " process com.android.launcher surprisingly stops " occurring, and user cannot
The intelligent terminal is continuing with, Consumer's Experience is reduced.
The content of the invention
The present invention provides a kind of method, device and the terminal of the acquiescence Launcher that automatically switches, to solve in acquiescence
After lasting collapse occurs in Launcher, user cannot be continuing with the problem of the intelligent terminal, improve Consumer's Experience.
In a first aspect, the embodiment of the invention provides a kind of method of the acquiescence Launcher that automatically switches, the method includes:
The built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher are set to described
The acquiescence Launcher of intelligent terminal starting up;
Determine the frequency of abnormity in the acquiescence Launcher runnings;
If the frequency of abnormity exceedes predetermined threshold value, switch the corresponding Launcher of the acquiescence Launcher.
Second aspect, the embodiment of the present invention additionally provides a kind of device of the acquiescence Launcher that automatically switches, the device bag
Include:
Launcher built-in modules, for the built-in at least two desktop starters Launcher in intelligent terminal, wherein
One Launcher is set to the acquiescence Launcher of the intelligent terminal starting up;
Number of times determining module, for determining the frequency of abnormity in the acquiescence Launcher runnings;
Launcher handover modules, if exceeding predetermined threshold value for the frequency of abnormity, switch the acquiescence
The corresponding Launcher of Launcher.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, including the automatic switchover acquiescence shown in second aspect
The device of Launcher.
The present invention is by built-in at least two desktop starters Launcher, one of Launcher in intelligent terminal
It is set to the acquiescence Launcher of intelligent terminal starting up;It is determined that the frequency of abnormity in acquiescence Launcher runnings;If
Frequency of abnormity exceedes predetermined threshold value, then the corresponding Launcher of switches default Launcher.Realize in intelligent terminal in the presence of many
In the case of individual Launcher, when acquiescence Launcher occurs persistently to collapse, Launcher is corresponding for the acquiescence that automatically switches
Launcher, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses, improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the method for automatic switchover acquiescence Launcher in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of the method for automatic switchover acquiescence Launcher in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the method for automatic switchover acquiescence Launcher in the embodiment of the present invention three;
Fig. 4 is a kind of structural representation of the device of automatic switchover acquiescence Launcher in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part rather than entire infrastructure related to the present invention is illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the method for automatic switchover acquiescence Launcher that the embodiment of the present invention one is provided, this reality
Apply example to be applicable to solve give tacit consent to the lasting collapse case of Launcher generations in intelligent terminal, the method can be silent by automatically switching
Recognize the device of Launcher to perform, the device can be realized by the way of software and/or hardware, and can typically be integrated in hand
In the intelligent terminal such as machine or panel computer.Referring to Fig. 1, the method that the present embodiment is provided specifically includes following steps:
Step 101, the built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher set
It is set to the acquiescence Launcher of intelligent terminal starting up.
Wherein, the mode of built-in at least two desktop starters Launcher has much in intelligent terminal, and the present invention is right
This is not construed as limiting.Such as in order to meet the demand of itself, developer or operator can research and develop customization Launcher, and in intelligent terminal
Customization Launcher and system are carried Launcher and be installed in intelligent terminal before dispatching from the factory.And for example, user can also be according to certainly
Body demand, voluntarily installs Launcher in intelligent terminal.
Before intelligent terminal dispatches from the factory, the acquiescence Launcher that can set intelligent terminal starting up is opened with after system boot
Dynamic acquiescence Launcher so that user operates in Launcher is given tacit consent to intelligent terminal.It is preferred that Launcher will be customized
The acquiescence Launcher of intelligent terminal starting up is set to, so as to after system boot startup, system voluntarily runs customization
Launcher, is user's displaying customization Launcher.User can also voluntarily set intelligent end after system boot interface is set
The acquiescence Launcher of starting up is held, after such as user enters setting interface, the list of built-in Launcher is shown in ejection, will
The Launcher that user selects in lists is set to the acquiescence Launcher of intelligent terminal starting up.
Step 102, the frequency of abnormity determined in acquiescence Launcher runnings.
After there is exception in giving tacit consent to Launcher runnings, intelligent terminal interface can eject the reminding window of operation collapse
Mouthful, and acquiescence Launcher need to be restarted.But when occurring persistently collapsing in giving tacit consent to Launcher runnings, open again
Dynamic acquiescence Launcher, it is impossible to solve to continue crash issue, user will repeatedly see the prompt window of the operation collapse of ejection.By
The first program run after Launcher is system boot, is the entrance of other application program, therefore in acquiescence
After lasting collapse occurs in Launcher, user will be unable to continue to operate the intelligent terminal.
The present invention after system boot, by statistical system start shooting after give tacit consent to Launcher runnings in frequency of abnormity
To detect whether acquiescence Launcher lasting collapse occurs.
If step 103, frequency of abnormity exceed predetermined threshold value, the corresponding Launcher of switches default Launcher.
If it is determined that the frequency of abnormity in acquiescence Launcher runnings exceedes predetermined threshold value, it is determined that acquiescence
There is lasting collapse in Launcher, and the corresponding Launcher of switches default Launcher start the acquiescence Launcher after switching
Corresponding Launcher, then to its in intelligent terminal in the corresponding Launcher of acquiescence Launcher that user can be after handover
Its application program is operated, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses.
Exemplary, can be after being spaced at regular intervals, by frequency of abnormity if frequency of abnormity is not less than predetermined threshold value
Reset, in case after system boot, the frequency of abnormity to giving tacit consent to Launcher persistently adds up and causes error detection to give tacit consent to Launcher
There is lasting collapse.
The technical scheme of the present embodiment, by the built-in at least two desktop starters Launcher in intelligent terminal, its
In Launcher be set to the acquiescence Launcher of intelligent terminal starting up;It is determined that in acquiescence Launcher runnings
Frequency of abnormity;If frequency of abnormity exceedes predetermined threshold value, the corresponding Launcher of switches default Launcher.Realize in intelligence
In the case of there is multiple Launcher in terminal, when acquiescence Launcher occurs persistently to collapse, automatically switch acquiescence
The corresponding Launcher of Launcher, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses, improve user
Experience.
Embodiment two
Fig. 2 is a kind of flow chart of the method for automatic switchover acquiescence Launcher that the embodiment of the present invention two is provided, this reality
It is the further optimization to above-described embodiment to apply example.Referring to Fig. 2, the method that this implementation is provided is specifically included:
Step 201, the built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher set
It is set to the acquiescence Launcher of the intelligent terminal starting up;
Step 202, the log information for obtaining the first preset length in journal file, obtain log information sampling sample;
In Android system, during each application program operation exception, all can throw exception, and printable abnormal information is to day
In will file, so that can be by checking the log information preserved in journal file, it is determined that the abnormal position for occurring and abnormal are asked
Topic.
After system start-up, the automatic log information for obtaining the first preset length in journal file obtains daily record to the present invention
Message sample sample.
Preferably, according to prefixed time interval, the log information of the first preset length in journal file is obtained successively, obtain
Log information samples sample.Exemplary, the first preset length is 50 rows, and prefixed time interval is 1000 milliseconds.Then in system
After startup, the log information of 1-50 rows in journal file is obtained first, obtain log information sampling sample, and record this daily record
Line number of the last column of log information in journal file, i.e., 50 in message sample sample, are being separated by prefixed time interval
After 1000 milliseconds, since the next line of record, the log information of 51-100 rows in journal file is obtained, daily record letter is obtained again
Breath sampling sample.
Step 203, judge log information sampling sample in whether include current acquiescence Launcher abnormal information, if
It is to perform step 204, otherwise, performs step 202.
After log information sampling sample is obtained, it is current whether the log information in detection log information sampling sample includes
Acquiescence Launcher abnormal information, so that it is determined that acquiescence Launcher whether operation exception.If log information sampling mark
This includes the abnormal information of current acquiescence Launcher, it is determined that acquiescence Launcher operation exceptions, otherwise, according to default
The log information of the first preset length in time interval timing acquisition journal file, obtains log information sampling sample, and statistics is silent
Whether the frequency of abnormity recognized in Launcher runnings, lasting detection acquiescence Launcher there is lasting collapse.
Step 204, according to acquiescence Launcher abnormal information to acquiescence Launcher runnings in frequency of abnormity
It is cumulative.
If log information sampling sample includes giving tacit consent to the abnormal information of Launcher, it is determined that acquiescence Launcher fortune
Row is abnormal, and the abnormal information according to the acquiescence Launcher for obtaining adds up to the frequency of abnormity for giving tacit consent to Launcher, statistics acquiescence
Frequency of abnormity in Launcher runnings.
205th, judge whether frequency of abnormity exceedes predetermined threshold value, if so, performing step 206, otherwise, perform step 202.
If frequency of abnormity exceedes predetermined threshold value, it is determined that acquiescence Launcher is in and continues collapse conditions, switches default
The corresponding Launcher of Launcher;If frequency of abnormity is not less than predetermined threshold value, according to prefixed time interval timing acquisition
The log information of the first preset length in journal file, obtains log information sampling sample, and lasting detection acquiescence Launcher is
It is no that lasting collapse occurs.
Step 206, the corresponding Launcher of switches default Launcher.
The technical scheme of the present embodiment obtains daily record letter by obtaining the log information of the first preset length in journal file
Whether breath sampling sample, judges include the abnormal information of acquiescence Launcher in log information sampling sample, if including acquiescence
The abnormal information of Launcher, the abnormal information according to acquiescence Launcher is secondary to the exception in acquiescence Launcher runnings
Number is cumulative.The frequency of abnormity in the log information real-time statistics acquiescence Launcher runnings in journal file is realized,
So as to persistently whether detection acquiescence Launcher is in lasting collapse conditions.
Embodiment three
Fig. 3 is a kind of flow chart of the method for automatic switchover acquiescence Launcher that the embodiment of the present invention three is provided, this reality
It is the further optimization to above-described embodiment to apply example.Referring to Fig. 3, the method that this implementation is provided is specifically included:
Step 301, the built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher set
It is set to the acquiescence Launcher of the intelligent terminal starting up.
Step 302, the log information for obtaining the first preset length in journal file, obtain log information sampling sample.
Step 303, judge log information sampling sample in whether include Exception fields, if so, perform step 304,
Otherwise, step 302 is performed.
If application program operation exception, the abnormal information of printing can include Exception fields, therefore, can be by inspection
Whether include Exception field, determine that the log information in log information sampling sample is if surveying in log information sampling sample
It is no including abnormal information.
Such as because log information is String categorical datas, therefore Android SDK (Android can be called
Software Development Kit, Android SDK) in String classes contrast interface public Boolean
Contains (String input), |input paramete Exception, if return value is true, it is determined that log information sampling mark
Log information in this includes abnormal information.
Step 304, judge log information sampling sample include the second preset length of Exception fields daily record believe
Whether breath includes the bag name of current acquiescence Launcher, if so, performing step 305, otherwise, performs step 302.
Log information in log information sampling sample is detected includes Exception fields, determines that log information takes
After log information in sample sample includes abnormal information, Exception words can be included by detecting that log information samples sample
Section the second preset length log information whether include current acquiescence Launcher bag name come determine log information sampling
Whether the abnormal information that sample includes is the abnormal information for giving tacit consent to Launcher.Such as detect bag in log information sampling sample
2 Exception fields are included, then 2 Exception fields are expert at and are expert in obtaining log information sampling sample respectively
Upper 10 row and lower 10 row log information, and detect acquisition Exception fields be expert at and upper 10 row be expert at and
Whether the log information of lower 10 rows includes bag name (Package Name) of current acquiescence Launcher, if including current default
The bag name of Launcher, then illustrate that the Exception is to give tacit consent to the exception that Launcher dishes out, if not including current default
The bag name of Launcher, then illustrate that the Exception is not to give tacit consent to the exception that Launcher dishes out, then continue to obtain journal file
In the first preset length log information, obtain log information sampling sample, whether lasting detection acquiescence Launcher holds
Continuous collapse.
Step 305, log information sampling sample is included the of the Exception fields of the bag name of acquiescence Launcher
The log information caching of three preset lengths.
Preferably, if log information sampling sample includes the log information of the second preset length of Exception fields
Include the bag name of current default Launcher, illustrate that the Exception is to give tacit consent to the exception that Launcher dishes out, then should
The log information caching of the 3rd preset length of Exception fields, so as to preserve the abnormal information of acquiescence Launcher.If
Confirm that the Exception for obtaining is expert at and upper 10 row be expert at and the log information of lower 10 row include current default
The log information caching of the bag name of Launcher, then upper 20 row Exception is expert at and is expert at and lower 20 row.
Step 306, by give tacit consent to Launcher runnings in frequency of abnormity add up acquiescence Launcher bag name
Number.
Preferably, confirming to include the Bao Minghou of current default Launcher, counting bag in log information sampling sample
The number of the bag name of the current default Launcher for including.If having 2 in log information sampling sample includes Exception fields
The second preset length log information include current default Launcher bag name, then the log information sampling sample in write from memory
The number for recognizing the bag name of Launcher is 2, and will give tacit consent to the cumulative acquiescence of frequency of abnormity in Launcher runnings
The number of the bag name of Launcher, the frequency of abnormity in statistics acquiescence Launcher runnings.
Step 307, judge frequency of abnormity whether exceed predetermined threshold value, if so, perform step 308, otherwise, perform step
302。
Step 308, acquisition include the Launcher lists of the bag name information of built-in Launcher;
Exemplary, the information of all Launcher in intelligent terminal can be obtained by PackageMessager classes, and
Preserve in a list, so as to obtain the Launcher lists of the bag name information of built-in Launcher.Such as by following journey
Sequence is realized:
With current acquiescence Launcher bag name identical Launcher in step 309, removal Launcher lists, obtain
First Launcher lists.
By remove in Launcher lists with current acquiescence Launcher bag name identical Launcher, will currently write from memory
Recognize the corresponding Launcher of Launcher to remove to prevent current default Launcher correspondences again from Launcher lists
Launcher switch to the corresponding Launcher of acquiescence Launcher.
Step 310, any Launcher in a Launcher lists is confirmed as target Launcher, and will acquiescence
The corresponding Launcher of Launcher switch to target Launcher.
After a Launcher lists are obtained, any Launcher is chosen automatically for target from a Launcher lists
Launcher, it is target Launcher that can such as choose first Launcher in list.And it is corresponding to give tacit consent to Launcher
Launcher switches to target Launcher, so as to start target Launcher, user, should to other in target Launcher
Operated with program, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses.
The log information not being acquired in step 311, acquisition journal file.
To give tacit consent to after the corresponding Launcher of Launcher switch to target Launcher, obtain and do not obtained in journal file
The all log informations for taking, to obtain the abnormal information not being acquired in journal file.
The log information that step 312, acquisition are not acquired includes the bag name of the preceding acquiescence Launcher of switching
The log information of the 3rd preset length of Exception fields is simultaneously cached.
Exemplary, in the log information not being acquired for obtaining, detect whether to include Exception fields, and examine
It is corresponding that whether acquiescence Launcher before including switching is surveyed in the log information for including the second preset length of Exception fields
The bag name of Launcher, if including, caching includes the log information of the 3rd preset length of the Exception fields, so that
The abnormal information of the corresponding Launcher of Launcher is given tacit consent to before the switching that preservation is not acquired.
Step 313, the log information of all cachings is exported into target directory.
Preferably, the log information of each caching is stored in identical file according to the time order and function order of caching, then will
This document is exported in specified target directory, so as to develop attendant and can be checked in target directory and analyze generation continue
The abnormal information of the Launcher of collapse, is easy to exploitation attendant to be safeguarded.
The technical scheme of the present embodiment, the second of Exception fields is included by judging that log information samples sample
Whether the log information of preset length includes the bag name of current acquiescence Launcher, if the bag name including giving tacit consent to Launcher,
The number of the bag name of acquiescence Launcher that the frequency of abnormity given tacit consent in Launcher runnings is added up.It is convenient fast so as to realize
Promptly the frequency of abnormity in acquiescence Launcher runnings is counted, whether detection acquiescence Launcher occurs persistently to collapse
Burst.Include the Launcher lists of the bag name information of built-in Launcher by obtaining, in removal Launcher lists with ought
Preceding acquiescence Launcher bag name identical Launcher, obtain a Launcher lists, by a Launcher lists
Any Launcher confirms as target Launcher, and will give tacit consent to the corresponding Launcher of Launcher and switch to target
Launcher.So as to obtain the information of built-in all Launcher in intelligent terminal, and lasting collapse will occur
Launcher is removed, and any Launcher in addition to the Launcher of lasting collapse is confirmed as into target Launcher automatically,
And the corresponding Launcher of Launcher will be given tacit consent to switch to target Launcher, and then start target Launcher so that use
Family operates in target Launcher to the other application program in intelligent terminal, it is ensured that after acquiescence Launcher collapses
Intelligent terminal can continue to use.By caching the abnormal information of the Launcher for lasting collapse occur and exporting to target mesh
Record, is easy to develop the abnormal information that attendant checks in target directory and analyzes the Launcher that lasting collapse occurs, and is
Exploitation attendant provide facility.
Example IV
Fig. 4 is a kind of structural representation of the device of automatic switchover acquiescence Launcher that the embodiment of the present invention four is provided,
The method that said apparatus are used to realize the automatic switchover acquiescence Launcher that above-described embodiment is provided, the device includes:
Launcher built-in modules 401, for the built-in at least two desktop starters Launcher in intelligent terminal, its
In Launcher be set to the acquiescence Launcher of the intelligent terminal starting up;
Number of times determining module 402, for determining the frequency of abnormity in the acquiescence Launcher runnings;
Launcher handover modules 403, if exceeding predetermined threshold value for the frequency of abnormity, switch the acquiescence
The corresponding Launcher of Launcher.
In such scheme, optionally, the number of times determining module includes:
Sample sampling unit, the log information for obtaining the first preset length in journal file, obtains log information and takes
Sample sample;
Abnormal information judging unit, for judging whether include the current acquiescence in the log information sampling sample
The abnormal information of Launcher;
Frequency of abnormity summing elements, if for the abnormal information including the acquiescence Launcher, according to the acquiescence
The abnormal information of Launcher adds up to the frequency of abnormity in the acquiescence Launcher runnings.
In such scheme, optionally, the abnormal information judging unit specifically for:
Judge whether include Exception fields in the log information sampling sample;
If so, judging that the log information sampling sample includes the second preset length of the Exception fields
Whether log information includes the bag name of the current acquiescence Launcher;
Accordingly, the frequency of abnormity summing elements specifically for:
If the bag name including the acquiescence Launcher, the frequency of abnormity in the acquiescence Launcher runnings is tired out
Plus the number of the bag name of the acquiescence Launcher.
In such scheme, optionally, Launcher handover modules specifically for:
Acquisition includes the Launcher lists of the bag name information of the built-in Launcher;
Remove in the Launcher lists with the current acquiescence Launcher bags name identical Launcher, obtain
First Launcher lists;
Any Launcher in the first Launcher lists is confirmed as into target Launcher, and by the acquiescence
The corresponding Launcher of Launcher switch to the target Launcher.
In such scheme, optionally, the frequency of abnormity summing elements are additionally operable to:If including the current acquiescence
The bag name of Launcher, the Exception of the bag name of the acquiescence Launcher is included by log information sampling sample
The log information caching of the 3rd preset length of field.
In such scheme, it is preferred that also including information cache module, specifically for:
Obtain the log information not being acquired in the journal file;
The log information not being acquired described in obtaining includes the Exception words of the bag name of the preceding acquiescence Launcher of switching
The log information of the 3rd preset length of section is simultaneously cached;
The log information of all cachings is exported into target directory.
In such scheme, it is preferred that sample sampling unit specifically for:
According to prefixed time interval, the log information of the first preset length in journal file is obtained successively, obtain daily record letter
Breath sampling sample.
In such scheme, it is preferred that the corresponding Launcher of the acquiescence Launcher are initially set to customization
Launcher。
Embodiment five
The embodiment of the present invention five provides a kind of terminal, and the terminal is integrated with the automatic switchover shown in the embodiment of the present invention four
Give tacit consent to the device of Launcher, automatic switchover acquiescence can be carried out by performing the method for the acquiescence Launcher that automatically switches
Launcher。
It is exemplary, terminal in the present embodiment concretely intelligent terminal such as mobile phone, panel computer and TV.
User use the present embodiment in terminal procedures in, in the terminal in the presence of multiple Launcher in the case of, hold
Whether continuous detection acquiescence Launcher there is lasting collapse, and when acquiescence Launcher occurs persistently to collapse, automatically switch acquiescence
The corresponding Launcher of Launcher, it is ensured that intelligent terminal can continue to use after acquiescence Launcher collapses, improve user
Experience.
Said apparatus can perform the method that any embodiment of the present invention is provided, and possess the execution corresponding function of the above method
Module and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to any embodiment of the present invention is provided
Method.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of method that Launcher is given tacit consent in automatic switchover, it is characterised in that including:
The built-in at least two desktop starters Launcher in intelligent terminal, one of Launcher are set to the intelligence
The acquiescence Launcher that starting up of terminal starts;
Determine the frequency of abnormity in the acquiescence Launcher runnings;
If the frequency of abnormity exceedes predetermined threshold value, switch the corresponding Launcher of the acquiescence Launcher.
2. method according to claim 1, it is characterised in that in the determination acquiescence Launcher runnings
Frequency of abnormity, including:
The log information of the first preset length in journal file is obtained, log information sampling sample is obtained;
Judge whether include the abnormal information of the current acquiescence Launcher in the log information sampling sample;
If so, the abnormal information according to the acquiescence Launcher is to the frequency of abnormity in the acquiescence Launcher runnings
It is cumulative.
3. method according to claim 2, it is characterised in that described to judge whether wrapped in the log information sampling sample
The abnormal information of the current acquiescence Launcher is included, including:
Judge whether include Exception fields in the log information sampling sample;
If so, judging that the log information sampling sample includes the daily record of the second preset length of the Exception fields
Whether information includes the bag name of the current acquiescence Launcher;
Accordingly, if so, the abnormal information according to the acquiescence Launcher is in the acquiescence Launcher runnings
Frequency of abnormity adds up, including:
If so, by the frequency of abnormity in the acquiescence Launcher runnings add up the bag name of the acquiescence Launcher
Number.
4. method according to claim 3, it is characterised in that the switching acquiescence Launcher is corresponding
Launcher, including:
Acquisition includes the Launcher lists of the bag name information of the built-in Launcher;
Remove in the Launcher lists with the current acquiescence Launcher bags name identical Launcher, obtain first
Launcher lists;
Any Launcher in the first Launcher lists is confirmed as into target Launcher, and by the acquiescence
The corresponding Launcher of Launcher switch to the target Launcher.
5. method according to claim 3, it is characterised in that the frequency of abnormity by the acquiescence Launcher adds up
Before the number of the bag name of the acquiescence Launcher, also include:
Log information sampling sample is included into the 3rd pre- of the Exception fields of the bag name of the acquiescence Launcher
If the log information caching of length.
6. method according to claim 5, it is characterised in that if the frequency of abnormity exceedes predetermined threshold value, will
Acquiescence Launcher is switched to after target Launcher, is also included:
Obtain the log information not being acquired in the journal file;
The log information not being acquired described in obtaining includes the Exception fields of the bag name of the preceding acquiescence Launcher of switching
The log information of the 3rd preset length is simultaneously cached;
The log information of all cachings is exported into target directory.
7. method according to claim 2, it is characterised in that the daily record of the first preset length in the acquisition journal file
Information, obtains log information sampling sample, specially:
According to prefixed time interval, the log information of the first preset length in journal file is obtained successively, obtain log information and take
Sample sample.
8. method according to claim 1, it is characterised in that the corresponding Launcher of the acquiescence Launcher initially sets
It is set to customization Launcher.
9. a kind of automatic switchover gives tacit consent to the device of Launcher, it is characterised in that including:
Launcher built-in modules, for the built-in at least two desktop starters Launcher in intelligent terminal, one of them
Launcher is set to the acquiescence Launcher of the intelligent terminal starting up;
Number of times determining module, for determining the frequency of abnormity in the acquiescence Launcher runnings;
Launcher handover modules, if exceeding predetermined threshold value for the frequency of abnormity, switch acquiescence Launcher pairs
The Launcher for answering.
10. a kind of terminal, it is characterised in that the device including the automatic switchover acquiescence Launcher described in claim 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029806.9A CN106775633A (en) | 2016-11-15 | 2016-11-15 | A kind of method, device and the terminal of the acquiescence Launcher that automatically switches |
PCT/CN2017/103294 WO2018090719A1 (en) | 2016-11-15 | 2017-09-25 | Method, device, and terminal for automatically switching default launcher |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611029806.9A CN106775633A (en) | 2016-11-15 | 2016-11-15 | A kind of method, device and the terminal of the acquiescence Launcher that automatically switches |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106775633A true CN106775633A (en) | 2017-05-31 |
Family
ID=58970808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611029806.9A Pending CN106775633A (en) | 2016-11-15 | 2016-11-15 | A kind of method, device and the terminal of the acquiescence Launcher that automatically switches |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106775633A (en) |
WO (1) | WO2018090719A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018090719A1 (en) * | 2016-11-15 | 2018-05-24 | 广州视源电子科技股份有限公司 | Method, device, and terminal for automatically switching default launcher |
CN113849337A (en) * | 2021-11-30 | 2021-12-28 | 飞狐信息技术(天津)有限公司 | System exception handling method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103400081A (en) * | 2013-07-30 | 2013-11-20 | 东莞宇龙通信科技有限公司 | Terminal and display control method of user interface |
CN103677587A (en) * | 2013-12-11 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for rapidly switching main interfaces in Android system |
CN103713813A (en) * | 2014-01-03 | 2014-04-09 | 三星电子(中国)研发中心 | Method for controlling functions of intelligent handheld equipment |
CN105487980A (en) * | 2015-12-04 | 2016-04-13 | Tcl集团股份有限公司 | Method and device for repairing running abnormity of application program |
CN105607972A (en) * | 2015-12-28 | 2016-05-25 | Tcl集团股份有限公司 | Abnormity remedying method and device |
CN106095621A (en) * | 2016-06-12 | 2016-11-09 | Tcl集团股份有限公司 | The restoration methods of Launcher operation exception and system in a kind of Android system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104794014B (en) * | 2015-04-08 | 2020-08-25 | 华为技术有限公司 | System operation method and intelligent terminal |
CN105677421B (en) * | 2016-01-06 | 2020-01-03 | 惠州Tcl移动通信有限公司 | Customization method and system for desktop starter of mobile terminal |
CN106775633A (en) * | 2016-11-15 | 2017-05-31 | 广州视源电子科技股份有限公司 | A kind of method, device and the terminal of the acquiescence Launcher that automatically switches |
-
2016
- 2016-11-15 CN CN201611029806.9A patent/CN106775633A/en active Pending
-
2017
- 2017-09-25 WO PCT/CN2017/103294 patent/WO2018090719A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103400081A (en) * | 2013-07-30 | 2013-11-20 | 东莞宇龙通信科技有限公司 | Terminal and display control method of user interface |
CN103677587A (en) * | 2013-12-11 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for rapidly switching main interfaces in Android system |
CN103713813A (en) * | 2014-01-03 | 2014-04-09 | 三星电子(中国)研发中心 | Method for controlling functions of intelligent handheld equipment |
CN105487980A (en) * | 2015-12-04 | 2016-04-13 | Tcl集团股份有限公司 | Method and device for repairing running abnormity of application program |
CN105607972A (en) * | 2015-12-28 | 2016-05-25 | Tcl集团股份有限公司 | Abnormity remedying method and device |
CN106095621A (en) * | 2016-06-12 | 2016-11-09 | Tcl集团股份有限公司 | The restoration methods of Launcher operation exception and system in a kind of Android system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018090719A1 (en) * | 2016-11-15 | 2018-05-24 | 广州视源电子科技股份有限公司 | Method, device, and terminal for automatically switching default launcher |
CN113849337A (en) * | 2021-11-30 | 2021-12-28 | 飞狐信息技术(天津)有限公司 | System exception handling method and device |
CN113849337B (en) * | 2021-11-30 | 2022-03-01 | 飞狐信息技术(天津)有限公司 | System exception handling method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2018090719A1 (en) | 2018-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10846475B2 (en) | Emoji input method and device thereof | |
CN108427633B (en) | Display interface processing method and device | |
US20130321314A1 (en) | Method and terminal for activating application based on handwriting input | |
US20030125956A1 (en) | Speech enabling labeless controls in an existing graphical user interface | |
CN103714333A (en) | Apparatus and method for recognizing a character in terminal equipment | |
CN108762837A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN111881019B (en) | User interface testing method and device | |
US20100125445A1 (en) | Apparatus and method for testing electronic apparatuses | |
CN105895093A (en) | Voice information processing method and device | |
US10621076B2 (en) | Methods for controlling mobile phones and instruments and systems using the same | |
JP2008508597A (en) | Help utility application program | |
CN111081241B (en) | Data detection method and device for device false wake-up, mobile terminal and storage medium | |
CN111602107B (en) | Display method and terminal during application quitting | |
CN107391021B (en) | Recognition methods, device, storage medium and the mobile terminal of blank screen gesture | |
CN106486119B (en) | A kind of method and apparatus identifying voice messaging | |
CN106775633A (en) | A kind of method, device and the terminal of the acquiescence Launcher that automatically switches | |
CN105786568B (en) | A kind of updated contents display methods, device and intelligent terminal | |
CN110335629A (en) | Pitch recognition methods, device and the storage medium of audio file | |
CN116069612A (en) | Abnormality positioning method and device and electronic equipment | |
EP3418882A1 (en) | Display apparatus having the ability of voice control and method of instructing voice control timing | |
CN109189437A (en) | Software upgrading reminding method, device, computer equipment and readable storage medium storing program for executing | |
CN112416751A (en) | Processing method and device for interface automation test and storage medium | |
KR101858544B1 (en) | Information processing method and apparatus | |
CN111179907A (en) | Voice recognition test method, device, equipment and computer readable storage medium | |
US20120259591A1 (en) | Keyboard testing method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |