Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that do not rushing
In the case of prominent, the embodiment in the application and the feature in embodiment can be mutually combined.
Providing a kind of standby interface processing method in the present embodiment, Fig. 1 is treating according to embodiments of the present invention
The flow chart of machine interface processing method, as it is shown in figure 1, this flow process comprises the steps:
Step S102, receives and carries out to the standby interface of mobile terminal answering in start process by guide of starting shooting
By the configuration message of layout;
Step S104, determines the application layout of this standby interface according to this configuration message.
By above-mentioned steps, receive and in start process, the standby interface of mobile terminal is carried out by guide of starting shooting
The configuration message of application layout, determines the application layout of described standby interface, in start according to described configuration message
During just can by standby interface application be laid out, solving can not be in start process in correlation technique
By the problem being laid out standby interface, improve Consumer's Experience.
In start process, application layout is carried out to the standby interface of this mobile terminal by guide of starting shooting receiving
Configuration message before, be set in advance in this start guide in this mobile terminal, wherein, this guide of starting shooting
For hiding HOME application.
In an optional embodiment, receive the list of application menu pre-setting providing from this start guide
According to this determination instruction, the middle determination instruction determining the selected precalculated position being applied to this standby interface, determines that this is treated
This selected application determining is shown in this precalculated position of this standby interface by the application layout at machine interface.
Carry out to the standby interface of this mobile terminal applying cloth in start process by this start guide receiving
After this configuration message of office, this configuration message is generated flag bit, this flag bit is write launcher data
Storehouse.First the marker bit write start wizard application database that will generate, afterwards by start guide data storehouse by institute
There is marker bit write launcher database.
Embodiments provide a kind of standby interface processing means, this device be used for realizing above-described embodiment and
Preferred embodiment, had carried out repeating no more of explanation.As used below, term " module " can
To realize the combination of the software of predetermined function and/or hardware.Although the device described by following example is preferably
Realize with software, but hardware, or the realization of the combination of software and hardware is also may and to be contemplated.
Fig. 2 is the block diagram of standby interface processing means according to embodiments of the present invention, as shown in Figure 2, comprising:
Receiver module 22, for receiving by start guide standby interface to mobile terminal in start process
Carry out the configuration message of application layout;
Determining module 24, for determining the application layout of this standby interface according to this configuration message.
Fig. 3 is the block diagram one of standby interface processing means according to the preferred embodiment of the invention, as it is shown on figure 3,
This device also includes:
Arranging module 32, for being set in advance in this start guide in this mobile terminal, wherein, this will be opened
Machine guide is the HOME application hidden.
Fig. 4 is the block diagram two of standby interface processing means according to the preferred embodiment of the invention, as shown in Figure 4,
Receiver module 22 includes:
Receiving unit 42, for receiving from the list of application menu pre-setting that this start guide provides really
The determination instruction in the fixed selected precalculated position being applied to this standby interface.
Fig. 5 is the block diagram three of standby interface processing means according to the preferred embodiment of the invention, as it is shown in figure 5,
Determining module 24 includes:
Determining unit 52, for determining the application layout of this standby interface according to this determination instruction;
Display unit 54, for being shown in this precalculated position of this standby interface by this selected application determining.
Fig. 6 is the block diagram four of standby interface processing means according to the preferred embodiment of the invention, as shown in Figure 6,
This device also includes:
Generation module 62, for generating flag bit by this configuration message;
Writing module 64, for writing launcher database by this flag bit.
The embodiment of the present invention additionally provides a kind of mobile terminal, including processor, wherein, this processor is used for connecing
Receive the configuration message being carried out application layout by guide of starting shooting in start process to the standby interface of mobile terminal,
Determine the application layout of this standby interface according to this configuration message.
Below in conjunction with alternative embodiment, the embodiment of the present invention is further described.
Go configuration/modification mobile phone standby interface (panel) application layout in order to solve user after power-up one by one
Trouble, make user just the standby interface of equipment is configured in start process user's most convenient use state.
This alternative embodiment is included by the method for guide configuration interface layout of starting shooting:
Identifying after mobile phone terminal opening and starting start guide, user will apply according to the brief description of start guide
(Apps) or Widget select to the standby interface (panel) needing layout, complete each standby interface (panel)
Layout after, the application (apps) on each standby interface or widget layout configuration information import launcher
After database, launcher layout refreshes and loads, the application layout configuration take-effective of user.
After mobile phone terminal opening, whether initiative recognition starts start guide.Start guide will be hidden to user as one
HOME application (APK) hiding is preset in mobile phone terminal software, and mobile phone terminal first powers on and will carry out system
Initialize, after system bottom is ready to complete, read the flag bit A judgement start whether start guide configures
Wizard application is the need of startup, and after start wizard application starts and configures and complete, flag bit A will never join
Configuration state (value is 0) is converted to configured state (value is 1) and carries out this flag bit write into Databasce
Storage.After flag bit is once revised as configured state, application itself can be disabled by start wizard application, removes
Factory reset or the motor-driven work of violence brush, start wizard application will not be again started up.
Provide a user with preset application (Apps) and Widget enumerated list.Click on preset application (Apps) or
After application in Widget enumerated list or Widget, the thumbnail row of standby interface (panel) will be switched out
Table, preset application (Apps) and widget enumerated list changing interface, will application (Apps) or Widget to next layer
After the preset frame of application on the extremely corresponding standby interface (panel) of drag and drop, the configuration of application can be completed;
When to each standby interface (panel), the carrying out of upper application (Apps) or Widget configures, can be by
Application configuration information generate in real time flag bit BN be stored in start wizard application database C, flag bit BN by
Positional information S# of the upper application (Apps) of standby interface (panel) or Widget placement and application (Apps)
Or Widget start activity class composition, this flag bit BN generate after can real-time storage to start shooting
In the database C of wizard application.This database purchase, in the system subregion of equipment, prevents erasing apparatus from believing
The abnormal operations such as breath destroy this database.
After all of standby interface (panel) all configures and completes, start wizard application database C storage
The configuration information of standby interface (panel) will all be directed in launcher database D, launcher data
Storehouse D resolves after receiving configuration information, is stored in configuration information after being parsed, and configuration information has stored
The configuration information that after one-tenth, launcher database D carries out refreshing with standby interface (panel) loads, and exists afterwards
The corresponding application (apps) of the upper display of each standby interface (panel) or the icon of widget.
Needing preset start wizard application to apply as HOME in the software version of mobile phone terminal, this application is begun
Being default hidden eventually, user cannot see in application enumerated list (Apps) or widget that start guide should
Relevant icon.Mobile phone terminal is first powering on initialization, after system bottom is ready to complete, opens acquiescence
Dynamic start guide HOME application, the priority of start wizard application process needs higher to ensure to start successfully.
After start wizard application once completes to configure, the flag bit A whether start wizard application is configured:
OemSetupWizard_Run, never configuration status (value is 0) are converted to configured state (value is 1),
After the modification, application itself can be disabled the value of flag bit A by start wizard application.Equipment restarts start again
During can read start guide flag bit A value, the value reading flag bit A is 1, then do not start out
Machine wizard application;Otherwise, start wizard application configuration standby interface (panel) will be again started up.Start guide
Application identity position A:OemSetupWizard_Run can be after performing factory reset or the motor-driven work of violence brush
Be converted to the state (value is 0) not configured from configured state (value is 1), once equipment is performing to recover
Factory is arranged or start after violence brush machine, and equipment will be again started up guide of starting shooting.
Preset application (Apps) and widget enumerated list in start guide offer select and click on answering of needs
With rear, changeable go out standby interface (panel) enumerated list, in this part, can be straight by clicking on " OK "
Connect the layout configuration completing certain standby interface (panel), now understand user not to this standby interface (panel)
Application layout configure, acquiescence uses original standby interface (panel) layout;Also drag and drop will can be applied
To certain standby interface (panel), complete the application layout configuration of this standby interface (panel).
The preset frame of application, the preset frame of this application can be drawn in standby interface (panel) enumerated list switching out
Carry positional information S#, represent the position depositing in the upper application (Apps) of standby interface (panel) or widget
Confidence ceases;After clicking on the application in preset application (Apps) and widget enumerated list, can real-time calling application
(Apps) or startup " Activity " class of widget, application is drawn on standby interface (panel)
After applying preset frame, the preset frame of application can be carried positional information S# and the application (Apps) on this position or
Startup " Activity " class of widget is combined as application configuration information flag bit BN, and this flag bit BN can be real
When be stored in start wizard application database C in.
Carry out configuration application (Apps) to each standby interface (panel) or Widget configures after completing, open
The application configuration information currently started shooting in wizard application database C can will all be imported to by machine wizard application
In launcher database D, launcher database first corresponds to after getting all of application configuration information use
Configuration information resolves, and after being parsed, launcher database D stores and refreshes, and loads afterwards
Deriving from the application configuration information in start wizard application database C, loading after completing, user can be at hand
The stand-by interface layout of configuration is seen in machine terminal.Now, the layout configuration of whole standby interface (panel)
Process terminates.
By above-mentioned alternative embodiment, user can be by the method for start guide configuration stand-by interface layout, user
Can be that mobile phone uses more convenient more people easily according to the use habit configuration stand-by interface layout of oneself
Property.
Fig. 7 is the flow chart by guide configurating mobile stand-by interface layout of starting shooting according to embodiments of the present invention,
As it is shown in fig. 7, comprises following steps:
Step S702, equipment is in start process, it may be judged whether need to start start guide.Start guide should
Being used as HOME application to be preset in software code, this application is all the time to user's default hidden, start guide
Apply by default, the flag bit A that whether start wizard application can be configured:
OemSetupWizard_Run is set to non-configuration status (value is 0).If equipment is to first power on, start
Wizard application is non-configuration status, facilitates user to configure the cloth of standby interface (panel) by starting start guide
Office.After once completing configuration, flag bit A will be revised as configured state (value is 1), flag bit A's
After the modification, application itself can be disabled value by start wizard application.Non-executing factory reset or violence brush machine,
Start guide must not be started.First power on if equipment is non-, wizard application mark of in start process, reading being started shooting
The value of will position A:OemSetupWizard_Run judges whether to need to start start wizard application.
Step S704, equipment display application (Apps) and Widget enumerated list, click in enumerated list
After application (Apps) or Widget icon, switch out standby interface (panel) enumerated list.
Step S706, will apply the application (Apps) in (Apps) and Widget list interface or Widget
After dragging to corresponding standby interface (panel), the startup of meeting real-time calling application (Apps) or Widget
Activity class, above applies positional information S# deposited to collectively constitute application configuration in conjunction with standby interface (panel)
Information sign position BN, this flag bit BN can start shooting in wizard application database C after generation in real time in write.
Step S708, after standby interface (panel) configuration completes, clicks on the OK key in the upper right corner, interface, complete
Become the configuration at current idle interface (panel), after all of standby interface (panel) all configures and completes,
Application configuration information in start wizard application database C can all be imported launcher by start wizard application
Database D, launcher database resolves after receiving all of application configuration information, to be resolved complete
Process storage after one-tenth, launcher database D refreshes and loads to derive from starts shooting in wizard application database C
Application configuration information, loads after completing, and user's standby interface (panel) application layout comes into force.
Fig. 8 is the schematic diagram by guide configurating mobile stand-by interface layout of starting shooting according to embodiments of the present invention,
As shown in Figure 8, comprising:
S802, this interface is application (Apps) enumerated list, is drawn by start wizard application, also can call
Andriod native applications (Apps) enumerated list interface.Click on the Chrome on the S802 interface in Fig. 8
Icon, equipment switches out standby interface (panel) enumerated list, and calls the activity starting Chrome application
Class: com.google.android.apps.chrome.Main, this value is also Chrome application place, main interface
Class.Drag the Chrome selecting and be applied to first application preset frame S101 placement at S806 interface, now
The positional information combining S101 is formed corresponding with the Activity class of startup Chrome application by start wizard application
Application configuration information flag bit BN, and flag bit is stored in start wizard application be positioned under system subregion
Database C in.The operating process of user such as connecting line is 1. shown, and on this standby interface, other application joins
Put similar.
S804, this interface is Widget enumerated list, is drawn by start wizard application, also can call andriod
Native applications (Apps) enumerated list interface.Configure process on this interface similar with S802 interface, click on S804
Bookmarks icon on interface, equipment switches out standby interface (panel) enumerated list, and calls and open
The activity class of dynamic Bookmarks, drags the first of Bookmarks widget to the S806 interface selecting
The preset frame S301 of individual application places, wizard application of now starting shooting by combine the positional information of S301 and
The activity category information of Bookmarks widget generates the application configuration information mark of Bookmarks widget
Position BN, and flag bit is stored in start wizard application database C.The operating process of user such as connecting line
4. shown, the configuration of other widget on this standby interface is similar to.
S806, this interface is standby interface (panel) the first screen, and this interface is drawn by wizard application of starting shooting.
The preset frame of the application of preset 4*4 on interface, such as dark border grid in Fig. 8, the preset frame of this application carries position
Information S#, such as " S101, S102 " mark in Fig. 8, marking convention is: standby interface (panel) shields number
The preset frame positional number combination with application, as it can be seen, S101 represents that this position is in standby interface (panel)
1st (standby interface screen number is 1, applies preset frame positional number to be 01) of the 1st screen, the like, S102
Representing that this position is in the 2nd of standby interface (panel) the 1st screen, it is standby that S209 represents that this position is in
The 9th of interface (panel) the 2nd screen, applies preset frame to arrange from left to right, counts from top to bottom, therefore
S116 represents that this position is in the 16th of standby interface (panel) the 1st screen.According to connecting line 1. by Chrome
Application layout to after the 1st of the 1st screen, by positional information S101 and click on Chrome at S802 interface should
The startup activity category information calling after with: com.google.android.apps.chrome.Main collectively constitutes
Application configuration information flag bit B101:S101;Com.google.android.apps.chrome.Main is stored in and is positioned at
In start wizard application database C under system subregion, other application is also raw according to above method
It is stored in real time after becoming corresponding application configuration information flag bit BN in start wizard application database C and process.
S808, this interface is standby interface (panel) the second screen (standby interface main screen), this interface by start shooting to
Lead application to draw.The preset frame of the application of preset 4*4 on interface, such as dark border grid in Fig. 8.Drag S804
Behind the S201 position at Widget to the S808 interface at interface, start wizard application can the current Widget of comparison
The size of application and the size of the preset frame of current application, calculate the positional information needing to take, and answers corresponding
All writing in start wizard application database C with configuration information flag bit BN, this part will be in S808 portion
Part describes in detail.Application (the configuration of Hotkey of the conventional Hotkey (below S808) of configuration is supported at this interface
Only support to carry out at standby main screen interface).The positional information of Hotkey and other positional informations applied on interface
Having part difference, this positional information is labeled as S281, is expressed as the 1st of standby main screen (the second screen) hotkey the
Position, S282 is the 2nd of standby main screen (the second screen) Hotkey successively.By Phone application place with
On first of Hotkey, application configuration information flag bit B281:
S281;The application configuration information flag bit class of com.android.dialer.DialtactsActivity, other hotkey
Seemingly, line is 3. shown coupled as shown.The configuration of other application of S808 interface is similar with the method at S806 interface, will
After Gmail application on S802 interface drags to S808 interface location S209, generate application configuration letter in real time
Breath flag bit B209:S209;Com.google.android.gm.ui.MailActivityGmail such as connecting line 2. institute
Show.
S810, this interface is the 3rd screen of standby interface (panel), and this interface is drawn by wizard application of starting shooting.
The preset frame of application of preset 4*4.As connecting line is 4. shown, click on the Bookmarks Widget at S804 interface
After, call the Activity category information starting Bookmarks Widget, drag Widget to S810 interface
Behind the position of S301, combining position information generates application configuration information flag bit BN.Widget is dragged to
Behind S301 position, the locational space taking due to Widget is more than S301 locational space, now needs start
Wizard application receives initiative recognition Bookmarks after the Activity category information of Bookmarks Widget
Locational space information TN (wide and high) of Widget, and by this information and current S301 locational space
Information T1 (wide and high) is mated, if TN is more than T1, the then spatial information according to TN
It is laid out, and calculate the multiple proportion N of TN and T1.The position of Bookmarks Widget in Fig. 8
Put spatial information TN (4*2) more than locational space information T1 (1*1) of S301, through calculating, TN with
The multiple proportion N of T1 is 4*2, i.e. takies the locational space of S301 to S308.Now, Bookmarks
The positional information of Widget will be from S301 mark to S308, Bookmarks widget application configuration information BN
Correspondence position information S301 to S308 also generates 8 flag bit B301 to B308 write start guides should
With in database C.The configuration of other Widget is similar with mentioned above.
Fig. 9 is the flow chart of start guide configurating mobile stand-by interface layout according to embodiments of the present invention, such as figure
Shown in 9, comprise the following steps:
Step S902, mobile phone terminal opening
Step S904, mobile phone terminal now reads start guide the need of opening after system bottom is ready to complete
Dynamic flag bit A:OemSetupWizard_Run, if flag bit A is 0, represents that start guide was not opened
Dynamic, need to start start guide, enter step S906, if flag bit A is 1, represented start guide
It is activated and configures and complete, enter step S908, do not start start guide configuration, and start shooting loading user
The interface layout to be solved that configuration completes.The value of flag bit A will remain stored in start wizard application database C
In.
Step S906, it is judged that the start of step S904 step is after guide active flag position A is 0, start start to
Lead.
Step S908, it is judged that step S904 step start guide active flag position A value is 1, represent start shooting to
Leading configured, (stand-by interface layout of loading may be for using for the configuration layout of the current standby interface of equipment loading
After the configured layout in family or user skip start guide, the default standby interface layout of loading)
Step S910, prompts the user whether to begin through the stand-by interface layout of start guide configuration equipment
Step S912, after user selects "No", directly skips start guide, and Launcher database loads
Software default layout, and by the value of start guide active flag position A:OemSetupWizard_Run from 0 (not
Configuration) it is revised as 1 (configured).
Step S914, user selects after "Yes" in step S910, display application (Apps)/Widget piece
Lift list, such as the S802 of Fig. 8, S804 interface.
Step S916, after clicking on the application (Apps) on S802 or S804 interface or Widget, equipment shows
Blank standby interface enumerated list with the preset frame of application is shown, such as the S806 in Fig. 8, S808, S810
Interface.
Step S918, user also can after demonstrating standby interface enumerated list, click directly on standby interface (as
S806, S808 and S810 in Fig. 8) on OK key, click on after OK key, this standby interface is according to soft
This interface is configured by the Launcher layout of part acquiescence.
Step S920, the application (Apps) on S802 or S804 interface in selected Fig. 8 or Widget
After, being dragged to user needs on the standby interface of configuration (S806, S808 and S810 as in Fig. 8),
Use positional information S# of application and the startup activity class composition of selected application (Apps) or Widget
Application configuration flag bit BN:S#;Activity and put into start wizard application be positioned at the data under system subregion
Storehouse C stores.Can complete to apply (Apps) or configuration on standby interface for the Widget.
Step S922, after each standby interface (S806, S808 and S810 as in Fig. 8) configuration completes,
All of application configuration information all stores to start wizard application database C, and start wizard application can be by
Application configuration information in current start wizard application database C will all import to Launcher database D
In.
Step S924, Launcher database will be to all of application after getting all of application configuration information
Configuration information resolves;After being parsed, Launcher database D storing and resolving data, afterwards,
Launcher database D refreshes the configuration information of simultaneously load store, loads after completing, and user can be at mobile phone
The stand-by interface layout of configuration is seen in terminal.Now, the layout of whole standby interface (panel) configured
Journey terminates.
By above-mentioned steps, can by the method for guide convenient configurating mobile terminal standby interface application layout of starting shooting,
The application layout of all standby interfaces of configurating mobile terminal (panel) can be unified, facilitate user according to oneself
Use habit in standby interface (panel) upper configuration application.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be used
General computing device realizes, they can concentrate in single computing device, or is distributed in multiple meter
Calculating on the network that device is formed, alternatively, they can be realized by the executable program code of computing device,
It is thus possible to be stored in storage device is performed by computing device, and in some cases, can
Perform shown or described step with the order to be different from herein, or they are fabricated to respectively each collection
Become circuit module, or the multiple module in them or step are fabricated to single integrated circuit module realize.
So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for this area
Technical staff for, the present invention can have various modifications and variations.All within the spirit and principles in the present invention,
Any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.