CN106155748A - Thematic map target method for building up, device in portable mobile termianl and downloading process - Google Patents

Thematic map target method for building up, device in portable mobile termianl and downloading process Download PDF

Info

Publication number
CN106155748A
CN106155748A CN201610580629.7A CN201610580629A CN106155748A CN 106155748 A CN106155748 A CN 106155748A CN 201610580629 A CN201610580629 A CN 201610580629A CN 106155748 A CN106155748 A CN 106155748A
Authority
CN
China
Prior art keywords
progress
desktop
icon
shade
download
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
Application number
CN201610580629.7A
Other languages
Chinese (zh)
Inventor
吴立佳
任魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610580629.7A priority Critical patent/CN106155748A/en
Publication of CN106155748A publication Critical patent/CN106155748A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses thematic map target method for building up and device in a kind of downloading process, this control method includes: in response to user to the download instruction of application program in application shop, obtain the icon of this application program;The theme icon corresponding with the icon of described application program is generated according to current desktop topic style;Described theme icon and download progress thereof is shown at desktop.Additionally, the present invention also provides for a kind of portable mobile termianl for performing described control method.The invention provides when the download application program of application shop, generate theme icon according to desktop theme and design the shade display dynamic method of download so that download progress shows clearly, promotes Consumer's Experience.

Description

Thematic map target method for building up, device in portable mobile termianl and downloading process
Technical field
The present invention relates to technical field of mobile terminals, set up more particularly, to thematic map target in a kind of downloading process Method and apparatus, relates to a kind of portable mobile termianl simultaneously.
Background technology
By third party's installation procedure carry out program install time, generally use software to mourn in silence installation.Installation of mourning in silence refers to Without any user intervention during installation, directly pressing default setting and install, this is for the user without specific demand or by Integrated Simulation It is the most effective in fixing disc.Installation of mourning in silence is referred to as unmanned and installs, peace of can mourning in silence in installation process Install and be pre-designed some integrated popular softwares, install and just can directly use after terminating.When mourning in silence installation, in order to allow User sees download installation progress, it is common practice to running background, after installation terminates, pop-up window is reminded, or at table Progress bar is directly displayed on face.
A kind of method showing progress in installation process of mourning in silence is: after installation procedure is mourned in silence in startup, at predetermined time intervals Installation directory is scanned obtaining the current size of installation directory;Described current size is entered with predetermined installation directory size Going to compare and be currently installed on progress to obtain and show, wherein, described predetermined installation directory size is obtained by below step: often Secondary program mourn in silence installation time obtain total size of this this installation directory of program;Total size of installation directory is averaging also As described predetermined installation directory size.Said method shows installation progress by the way of progress bar, promotes Consumer's Experience.
But, said method can not meet the user using desktop theme, and i.e. cannot generate one can be with current table The icon that face theme is consistent.
Summary of the invention
In view of the above problems, thematic map target method for building up and corresponding dress during the present invention proposes a kind of downloading process Putting, it provides in downloading process and generates the thematic map calibration method consistent with desktop theme.
Another object of the present invention is to provide a kind of portable mobile termianl.
First aspect, the invention provides thematic map target method for building up in a kind of downloading process, comprises the steps:
In response to user to the download instruction of application program in application shop, obtain the icon of this application program;
The theme icon corresponding with the icon of described application program is generated according to current desktop topic style;
Described theme icon and download progress thereof is shown at desktop.
First, when user click on application shop certain application program time, mobile terminal in response to the click commands of user, Identify the application program that user is clicked on, from corresponding document presss from both sides, then obtain the icon of this application program;Then, according to currently The desktop theme that user is used generates a theme icon corresponding with pre-download application program;Finally, show at desktop Theme icon and download progress.This programme uses the mode of identification desktop theme to directly generate the theme icon of corresponding desktop theme Beautify work without postorder, the work efficiency of mobile terminal can be improved, it is possible to generate the table used with user The icon that face theme is consistent, has and beautifies interface, intuitively effect, improves Consumer's Experience.
In conjunction with first aspect, in first embodiment of first aspect, desktop show described theme icon and under The step of degree of being loaded into comprises the following specific steps that:
Described theme icon is shown at desktop;
Call preset shape function and obtain described thematic map target size, form parameter;
Call default drawing function to draw corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter;
Obtain the download progress of current topic icon, correspond to the ash of download progress according to described preset cutting function cutting Color progress shade;
Cover described Lycoperdon polymorphum Vitt progress shade to put on to described thematic map.
After desktop shows topics icon, in addition it is also necessary to show download progress intuitively.Step includes the following: first at desktop The theme icon that display generates;Then call preset shape function and obtain thematic map target size, form parameter for generating with main Topic icon sizes, the Lycoperdon polymorphum Vitt shade that shape is consistent are prepared;Then call default drawing function to draw corresponding to described thematic map Mark size, the Lycoperdon polymorphum Vitt shade of form parameter;Then by the way of reading folder, obtain current download progress, and use pre- If cutting function cutting is corresponding to the Lycoperdon polymorphum Vitt progress shade of download progress;Finally cover this Lycoperdon polymorphum Vitt progress shade to described thematic map Put on, thus reached the effect of Dynamic Announce download progress by refreshing mode.Adopt and show that download progress has in this way Effect intuitively, promotes Consumer's Experience.
In conjunction with first aspect, in second embodiment of first aspect, call refresh function and refresh covering at this theme Lycoperdon polymorphum Vitt progress shade on icon, to follow the tracks of the download progress of this application program according to described Lycoperdon polymorphum Vitt progress shade.
After cutting complete Lycoperdon polymorphum Vitt shade generates Lycoperdon polymorphum Vitt progress shade, need Lycoperdon polymorphum Vitt progress shade is covered theme icon On, need to refresh the Lycoperdon polymorphum Vitt progress shade tapered into along with progress increase that covering is put at thematic map, thus demonstrate Dynamic effect, promotes Consumer's Experience.
In conjunction with second embodiment of first aspect, when meeting pre-conditioned, stop refreshing covering and put at thematic map Lycoperdon polymorphum Vitt progress shade.
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map, thus save refreshing Operation occupies too much Installed System Memory, promotes Consumer's Experience.
In conjunction with second embodiment of first aspect, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
In the present embodiment, arrange and pre-conditioned described application icon refreshed, thus reduce unnecessary Refresh operation, saves Installed System Memory, it is ensured that system runs smoothness, thus promotes Consumer's Experience.As described below:
When current desktop is placed in backstage, user there is no need the download progress shown the most on the table, now can remove from Refresh operation.
When current desktop is in the slip page, the emphasis that user may pay close attention to not is download progress, now can save Slightly refresh operation.
When current desktop is in edit pattern, such as user is adding small tool, is selecting wallpaper and enter desktop setting Time, for avoiding having multioperation to stop refresh operation on desktop.
When current desktop is in execution animation, the operation of refresh icon is a low priority operation, for performing Gao You The desktop animation of first level and stop refreshing Lycoperdon polymorphum Vitt progress shade.
When being currently executing drag motions, call the icon whether having application program on respective function detection current desktop Being in drag motions, when there being drag motions, icon is in sliding mode, now for avoiding having multioperation to stop on desktop Only refresh Lycoperdon polymorphum Vitt progress shade.When an application program selected in applying shop is downloaded, can create one on the table should The View of the shortcut (Shortcut) of application, is stored in desktop by the bag name of this application, icon and application name simultaneously In data base, the flush mechanism of the present invention is to stop when following condition refreshing:
The view of presently described application program shortcut not in the file opened, this shortcut i.e. current View in file and file close or currently this View not in the file opened.
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode, the View of this shortcut i.e. current is at desktop or Hotseat, and file is in open mode.
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.The View of this shortcut i.e. current is at desktop or Hotseat, and this View institute Screen not at the Screen residing for current desktop.
At the view of presently described application program shortcut not in the file opened, presently described application journey The view of sequence shortcut is at desktop or at shortcut navigation bar, and file is in open mode.
In conjunction with second embodiment of first aspect, call refresh function when detection is unsatisfactory for pre-conditioned and continue to refresh At the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on.
When being unsatisfactory for pre-conditioned, call refresh function and continue to refresh the Lycoperdon polymorphum Vitt progress screening put at described thematic map Cover, thus continue to show download progress, thus promote Consumer's Experience.
In conjunction with first aspect, in the 3rd embodiment of first aspect, calculate the area of described Lycoperdon polymorphum Vitt shade, answer when described When changing by download program progress, described Lycoperdon polymorphum Vitt shade is correspondingly cropped on an equal basis by the ratio accounting for aggregate scheduling according to download progress The area of ratio is to generate Lycoperdon polymorphum Vitt progress shade.
Those skilled in that art are appreciated that the area of the Lycoperdon polymorphum Vitt shade cropped accounts for the area of total Lycoperdon polymorphum Vitt shade The ratio that ratio accounts for total download with current download is consistent, the ratio needing cutting calculated according to this proportionate relationship Example is accurate with the area needing cutting, reliable.
In conjunction with first aspect, in the 4th embodiment of first aspect, described cutting is entered corresponding to the Lycoperdon polymorphum Vitt of download progress The mode of degree shade includes fan-shaped cutting and bar shaped cutting.
In conjunction with first aspect, in the 5th embodiment of first aspect, described Lycoperdon polymorphum Vitt shade is translucent shade.
Use translucent Lycoperdon polymorphum Vitt shade to have effect intuitively, the shape of icon can also be shown while display progress Shape and size, therefore can improve Consumer's Experience.
In conjunction with first aspect, in the 6th embodiment of first aspect, described Lycoperdon polymorphum Vitt mask layer is positioned at top layer, described theme Icon layer is positioned at next layer of described Lycoperdon polymorphum Vitt mask layer.
The present invention, with theme desktop as background, is sequentially overlapped theme icon layer and Lycoperdon polymorphum Vitt mask layer, and Lycoperdon polymorphum Vitt mask layer is positioned at The top of theme icon layer, theme icon layer is positioned at the intermediate layer of Lycoperdon polymorphum Vitt mask layer and desktop background.
In conjunction with first aspect, the 7th embodiment in first aspect:
Receive, in the middle of any one of application shop or desktop, described thematic map target progress is changed instruction;
According to corresponding call back function readjustment application program or application shop, change the download progress of application program.
Any one according to application shop or desktop changes progress instruction to thematic map target, such as, suspend, cancel Deng instruction, according to corresponding call back function readjustment application program or application shop, thus complete suspend download transmission or stop passing Defeated and delete, thus change the download progress of application program.
In conjunction with first aspect, in the 8th embodiment of first aspect, refresh at described thematic map calling refresh function During the Lycoperdon polymorphum Vitt progress shade put on, below described theme icon, show progress bar.
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that thematic map are put on, download progress bar can be shown simultaneously, Thus reaching the effect of dual display so that display effect is the most directly perceived.
Second aspect, embodiments provides thematic map target in a kind of downloading process and sets up device, and this was downloaded In journey, thematic map target is set up device and is had and realize in above-mentioned first aspect the merit of thematic map target method for building up in downloading process Energy.Described function can be realized by hardware, it is also possible to performs corresponding software by hardware and realizes.Described hardware or software kit Include one or more module corresponding with above-mentioned functions, including such as lower unit:
Acquiring unit, is used in response to user the download instruction of application program in application shop, obtains this application program Icon;
Signal generating unit, for generating the theme corresponding with the icon of described application program according to current desktop topic style Icon;
Display unit, for showing described theme icon and download progress thereof at desktop.
First, acquiring unit for when user click on application shop certain application program time, mobile terminal in response to The click commands at family, identifies the application program that user is clicked on, then obtains the icon of this application program from corresponding document presss from both sides; Then, the desktop theme that signal generating unit is used according to active user generates a theme corresponding with pre-download application program Icon;Finally, display unit shows topics icon and download progress at desktop.The mode of this programme employing identification desktop theme is straight The theme icon delivering a child into corresponding desktop theme beautifies work without postorder, can improve the work effect of mobile terminal Rate, it is possible to generate the icon consistent with the desktop theme that user is used, have and beautify interface, intuitively effect, improves user Experience.
In conjunction with second aspect, in first embodiment of second aspect, described display unit specifically includes such as lower module:
Desktop display module, for showing described theme icon at desktop;
Parameter acquisition module, is used for calling preset shape function and obtains described thematic map target size, form parameter;
Drafting module, draws corresponding to described theme icon sizes, the ash of form parameter for calling default drawing function Color shade;
Cutting module, for obtaining the download progress of current topic icon, corresponding according to described preset cutting function cutting Lycoperdon polymorphum Vitt progress shade in download progress;
Overlay module, is used for covering described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map.
After desktop shows topics icon, in addition it is also necessary to show download progress intuitively.Display unit specifically includes: desktop shows Show module, for the theme icon generated in desktop display;Parameter acquiring unit, is used for calling preset shape function and obtains theme The size of icon, form parameter are to generate to prepare with theme icon sizes, Lycoperdon polymorphum Vitt shade that shape is consistent;Drafting module, uses Draw corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter in calling default drawing function;Cutting module, is used for By the way of reading folder, obtain current download progress, and use preset cutting function cutting corresponding to download progress Lycoperdon polymorphum Vitt progress shade;Overlay module, is used for covering this Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map, thus by refreshing mode Reach the effect of Dynamic Announce download progress.Adopt and show that download progress has effect intuitively in this way, promote user's body Test.
In conjunction with second aspect, in second embodiment of second aspect, call refresh function and refresh covering at this theme Lycoperdon polymorphum Vitt progress shade on icon, to follow the tracks of the download progress of this application program according to described Lycoperdon polymorphum Vitt progress shade.
After cutting complete Lycoperdon polymorphum Vitt shade generates Lycoperdon polymorphum Vitt progress shade, need Lycoperdon polymorphum Vitt progress shade is covered theme icon On, need to refresh the Lycoperdon polymorphum Vitt progress shade tapered into along with progress increase that covering is put at thematic map, thus demonstrate Dynamic effect, promotes Consumer's Experience.
In conjunction with second embodiment of second aspect, when meeting pre-conditioned, stop refreshing covering and put at thematic map Lycoperdon polymorphum Vitt progress shade.
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map, thus save refreshing Operation occupies too much Installed System Memory, promotes Consumer's Experience.
In conjunction with second embodiment of second aspect, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
In the present embodiment, arrange and pre-conditioned described application icon refreshed, thus reduce unnecessary Refresh operation, saves Installed System Memory, it is ensured that system runs smoothness, thus promotes Consumer's Experience.As described below:
When current desktop is placed in backstage, user there is no need the download progress shown the most on the table, now can remove from Refresh operation;
When current desktop is in the slip page, the emphasis that user may pay close attention to not is download progress, now can save Slightly refresh operation;
When current desktop is in edit pattern, such as user is adding small tool, is selecting wallpaper and enter desktop setting Time, for avoiding having multioperation to stop refresh operation on desktop;
When current desktop is in execution animation, the operation of refresh icon is a low priority operation, for performing Gao You The desktop animation of first level and stop refreshing Lycoperdon polymorphum Vitt progress shade;When being currently executing drag motions, by calling function check Whether have the icon of application program to be in drag motions on current desktop, when there being drag motions, icon is in sliding mode, Now for avoiding having multioperation to stop refreshing Lycoperdon polymorphum Vitt progress shade on desktop;
When an application program selected in applying shop is downloaded, the quick side of this application can be created on the table The View of formula (Shortcut), is stored in the bag name of this application, icon and application name in the data base of desktop simultaneously, this Bright flush mechanism is to stop when following condition refreshing:
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
In conjunction with second embodiment of second aspect, call refresh function when detection is unsatisfactory for pre-conditioned and continue to refresh At the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on.
When being unsatisfactory for pre-conditioned, call refresh function and continue to refresh the Lycoperdon polymorphum Vitt progress screening put at described thematic map Cover, thus continue to show download progress, thus promote Consumer's Experience
In conjunction with second aspect, in the 3rd embodiment of second aspect, calculate the area of described Lycoperdon polymorphum Vitt shade, when described During the change of application program download progress, the ratio accounting for aggregate scheduling according to download progress correspondingly crops same geometric ratio to described shade The area of example is to generate Lycoperdon polymorphum Vitt progress shade.
Those skilled in that art are appreciated that the area of the Lycoperdon polymorphum Vitt shade cropped accounts for the area of total Lycoperdon polymorphum Vitt shade The ratio that ratio accounts for total download with current download is consistent, the ratio needing cutting calculated according to this proportionate relationship Example is accurate with the area needing cutting, reliable.
In conjunction with second aspect, in the 4th embodiment of second aspect, described cutting is corresponding to the Lycoperdon polymorphum Vitt of download progress The mode of progress shade includes fan-shaped cutting and bar shaped cutting.
In conjunction with second aspect, in the 5th embodiment of second aspect, described mask layer is translucent shade.
Use translucent Lycoperdon polymorphum Vitt shade to have effect intuitively, the shape of icon can also be shown while display progress Shape and size, therefore can improve Consumer's Experience.
In conjunction with second aspect, in the 6th embodiment of second aspect, described mask layer is positioned at top layer, described icon layer It is positioned at next layer of described mask layer.
Any one according to application shop or desktop changes progress instruction to thematic map target, such as, suspend, cancel Deng instruction, according to corresponding call back function readjustment application program or application shop, thus complete suspend download transmission or stop passing Defeated and delete, thus change the download progress of application program.
In conjunction with second aspect, in the 7th embodiment of second aspect, also include such as lower unit:
Receive unit, in the middle of any one receiving application shop or desktop, described thematic map target progress is changed Become instruction;
Readjustment unit, for according to corresponding call back function readjustment application program or application shop, changing under application program Degree of being loaded into.
Receive unit in the middle of any one receiving application shop or desktop, described thematic map target progress to be changed The instructions such as change instruction such as suspends, cancellation, readjustment unit is for adjusting back application program or application business according to corresponding call back function Shop, thus complete suspend download transmission or stop transmission and delete, thus change the download progress of application program.
In conjunction with second aspect, in the 8th embodiment of second aspect, refresh at described theme calling refresh function During Lycoperdon polymorphum Vitt progress shade on icon, below described theme icon, show progress bar.
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that thematic map are put on, download progress bar can be shown simultaneously, Thus reaching the effect of dual display so that display effect is the most directly perceived.
The third aspect, present invention also offers a kind of portable mobile termianl, it is characterised in that including:
Touch-sensitive display, for sense operation instruction and shows corresponding interface according to this instruction;
For storing, memorizer, supports that R-T unit performs the journey of thematic map target method for building up in above-mentioned downloading process Sequence;
Communication interface, in above-mentioned downloading process, thematic map target sets up device and other equipment or communication network leads to Letter;
One or more processors, for performing the program of storage in described memorizer;
One or more application programs, wherein said one or more application programs are stored in described memorizer and quilt Being configured to be performed by the one or more processor, the one or more program is configurable for performing any download Thematic map target method for building up in journey.
In a possible design, in downloading process, thematic map target is set up the structure of device and is included processor and deposit Reservoir, described memorizer is for storing the program supporting that R-T unit performs said method, and described processor is configurable for Perform the program of storage in described memorizer.In described downloading process, thematic map target is set up device and can also be included that communication connects Mouthful, in downloading process, thematic map target sets up device and other equipment or communication.
Fourth aspect, embodiments provides a kind of computer-readable storage medium, is used for saving as above-mentioned downloading process Middle thematic map target sets up the computer software instructions used by device, and it comprises for performing above-mentioned aspect is master in downloading process The program set up designed by device of topic sudden change.
Relative to prior art, the scheme that the present invention provides, this programme uses the mode of identification desktop theme to directly generate The theme icon of corresponding desktop theme beautifies work without postorder, can improve the work efficiency of mobile terminal, energy The icon that enough generations are consistent with the desktop theme that user is used, user uses mobile terminal to download application program from application shop Time, the icon corresponding to current desktop theme can be directly generated, this programme has the effect beautifying man machine interface, intuitive display Really, Consumer's Experience is improved.
The aspects of the invention or other aspects be meeting more straightforward in the following description.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
Fig. 1 shows thematic map target method for building up flow process in a kind of according to an embodiment of the invention downloading process Figure.
Fig. 2 shows thematic map target display packing flow process in a kind of according to an embodiment of the invention downloading process Figure.
Fig. 3 shows that receiving progress in a kind of according to an embodiment of the invention downloading process changes instruction and perform The flow chart of operation.
Fig. 4 shows that in a kind of according to an embodiment of the invention downloading process, thematic map target sets up device block diagram.
Fig. 5 shows display unit block diagram in a kind of according to an embodiment of the invention downloading process.
Fig. 6 shows that receiving progress in a kind of according to an embodiment of the invention downloading process changes instruction and perform The block diagram of operation.
Fig. 7 shows a kind of according to an embodiment of the invention portable mobile termianl block diagram.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Particular order occur multiple operations, but it should be clearly understood that these operation can not according to its occur in this article suitable Sequence performs or executed in parallel, the sequence number of operation such as 101,102 etc., is only used for distinguishing each different operation, sequence number Itself does not represent any execution sequence.It addition, these flow processs can include more or less of operation, and these operations can To perform in order or executed in parallel.It should be noted that " first ", " second " herein etc. describe, it is for distinguishing not Message together, equipment, module etc., do not represent sequencing, and not limiting " first " and " second " is different types.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The explanation of nouns used in the present invention is as follows:
Download instruction, refers to the download instruction to application program that user clicks on, and concrete can be single-click operation, response In this instruction, system is obtained in that user wants the demand of downloaded software, thus is downloaded application program.
Topic style, is the pattern of a kind of display icon with aesthetic, and user can be oneself to select a kind of theme The desktop that pattern makes oneself beautiful, the most all of application icon all makes fruit shape into.
Theme icon, refers to the theme icon that the topic style according to current desktop theme generates, and system reads desktop master The file of topic, finds a suitable icon from file, the corresponding document folder of the desktop that is such as the theme at a fruit In find fruit pattern that the application program of current pre-download is corresponding as its theme icon.Theme icon is different from normogram Mark, is the consistent icon of desktop theme that is a kind of and that be currently in use.
Preset shape function, has preset a lot of preset function in the system of the present invention, including preset shape function, Such as set up a function, utilize this function call relevant interface, obtain corresponding master by calculating the application program of pre-download The height of topic icon and width, and shape, thus generate and theme icon shape, Lycoperdon polymorphum Vitt shade of the same size.
Preset drawing function, utilize the drawing function preset to generate and theme icon sizes, Lycoperdon polymorphum Vitt shade that shape is consistent, Such as presetting and use the setColor function of Paint apoplexy due to endogenous wind to shear icon, function header is setColor (int Color), can arrange drafting color with this function, its color uses color value to represent, this color value includes transparency parameter With RGB color parameter.
Preset cutting function, calls the Andriod source code increased income, and applies Paint class, such as, presets and use SetXfermode (new (PorterDuff.Mode.DST_IN)) function can carry out cutting to shade, such as, use AvoidXfermode subclass can arrange color and tolerance, forces Paint to draw in the range of it;And for example PixelXorXfermode subclass can apply a simple pixel-wise XOR operation when covering existing color;And for example PorterDuffXfermode subclass is a kind of translative mode, uses 16 Porter-Duff that it can use image to synthesize Any one of rule controls how Paint interacts with existing Canvas painting canvas image.In the present invention, pass through PorterDuffXfermode subclass can shear Lycoperdon polymorphum Vitt shade, obtains progress according to the mode of reading folder, then passes through Paint interacts with existing Lycoperdon polymorphum Vitt shade, to cut out the Lycoperdon polymorphum Vitt progress shade meeting current download progress.
Lycoperdon polymorphum Vitt shade, refers to use that default drawing function draws out and theme icon sizes, shape in the present invention The shade of consistent Lycoperdon polymorphum Vitt, is preferably arranged to transparent color, and when being plotted to thematic map and putting on, theme icon presents Lycoperdon polymorphum Vitt, Use this Lycoperdon polymorphum Vitt shade to cover to put at thematic map when waiting for downloads, when refreshing along with download progress, this Lycoperdon polymorphum Vitt shade quilt Lycoperdon polymorphum Vitt progress shade is replaced, and now theme icon presents the effect of the icon that gradually shows topics dynamically.
Lycoperdon polymorphum Vitt progress shade, the mode of download progress Main Basis reading folder, has read the application program of pre-download Through the data volume of locally downloading file, then total data volume of this data volume Yu this application program is compared and Obtaining a ratio value, those skilled in that art are appreciated that this ratio value constantly becomes big along with the increase of download progress, And Lycoperdon polymorphum Vitt shade to need the area of cutting to account for the ratio value of the Lycoperdon polymorphum Vitt shade gross area consistent with this ratio value, reduce a part Lycoperdon polymorphum Vitt shade becomes Lycoperdon polymorphum Vitt progress shade.
The applied environment of the present invention is mobile terminal, and application shop can provide a series of application program, when user thinks Using in certain application program on mobile terminal, can download in application shop, selecting certain by operation mobile terminal should After program, the installation file of this application program will be transmitted automatically in local folders in application shop, then can enter The installation operation of row postorder, downloading the process installed can carry out after default setting, such as default design are downloaded automatic by user It is arranged on SD card.
In response to the down operation instruction of the application program that user selects in application shop, what identification user was clicked on should By program, and automatically generate a theme icon corresponding with current desktop theme, after generating this theme icon, show that it is at table On face;In the process by the selected application program of the Internet download, now this application program is constantly transmitted in application shop Associated documents in local folders, now the mode of the data volume that system constantly reads local folders obtain current under Degree of being loaded into;According to the change of download progress, by the Open Source Code of Andriod, call its corresponding class and function controls raw Grey shade, cutting Lycoperdon polymorphum Vitt shade, drafting Lycoperdon polymorphum Vitt shade operate to theme icon etc..
Translucent, in the present invention, the translucent transparency not implying that transparency is 50%, can include the most transparent Degree, in order to obtain more preferable transparent effect, programmer can adjust according to repeatedly test result, thus by journey set in advance Sequence arranges transparency.
First aspect, the invention provides thematic map target method for building up in a kind of downloading process, as it is shown in figure 1, include Following steps:
S101, in response to user to the download instruction of application program in application shop, obtains the icon of this application program.
Those skilled in that art are appreciated that user can be single to the download instruction of application program in application shop Hit, be considered as that user successfully implements under application program when user enters into download interface according to corresponding prompting Carrying instruction, system to the download instruction of application program in application shop, obtains the figure of this application program in response to user automatically Mark, in order to generate theme icon as early as possible.Such as needing the application program downloaded is 360 mobile phone assistants, reads 360 mobile phones the most immediately The icon style of assistant.
S102, generates the theme icon corresponding with the icon of described application program according to current desktop topic style.
After the icon obtaining application program, generate the icon phase with described application program according to current desktop topic style Corresponding theme icon.Such as current topic pattern is fruit theme, when need download application program be 360 mobile phone assistants also After having obtained the icon style of 360 mobile phone assistants, fruit theme is searched the fruit icon of corresponding 360 mobile phone assistants automatically Pattern, i.e. theme icon.
S103, shows described theme icon and download progress thereof at desktop.
After generating theme icon, generate the theme icon of corresponding 360 mobile phone assistants, needed theme icon On the table, drafting Lycoperdon polymorphum Vitt shade is to its top layer simultaneously, and when progress changes, what Lycoperdon polymorphum Vitt shade can be cropped more comes in display The fewest, thus the operation refreshed can make thematic map mark present the effect of dynamically appearance.
First, when user click on application shop certain application program time, mobile terminal in response to the click commands of user, Identify the application program that user is clicked on, from corresponding document presss from both sides, then obtain the icon of this application program;Then, according to currently The desktop theme that user is used generates a theme icon corresponding with pre-download application program;Finally, show at desktop Theme icon and download progress.This programme uses the mode of identification desktop theme to directly generate the theme icon of corresponding desktop theme Beautify work without postorder, the work efficiency of mobile terminal can be improved, it is possible to generate the table used with user The icon that face theme is consistent, has and beautifies interface, intuitively effect, improves Consumer's Experience.
In conjunction with first aspect, in first embodiment of first aspect, desktop show described theme icon and under The step of degree of being loaded into is as in figure 2 it is shown, comprise the following specific steps that:
S201, shows described theme icon at desktop.
Those skilled in that art are appreciated that after the theme icon obtaining corresponding desktop theme, it is possible to obtain right The parameters such as the thematic map target size answered, shape, color, pattern, therefore can draw out phase on the table by Paint class The theme icon answered.
S202, calls preset shape function and obtains described thematic map target size, form parameter.
When creating Lycoperdon polymorphum Vitt shade, size, form parameter must obtain, and such as other parts in program can obtain Obtain progress variable progress and the occurrence of icon width variable height, by one variable top of definition, define according to it Statement is the height that float top=(height/100.0f) * progress can obtain icon, i.e. the value of top, thus root Lycoperdon polymorphum Vitt shade is drawn according to the value of top.
S203, calls default drawing function and draws corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter.
In one embodiment of the invention, one canvas painting canvas of generation is drawn first with Paint class, then in advance Canvas painting canvas is depicted as Lycoperdon polymorphum Vitt by the setColor class utilizing Paint in the altitude range first detected, it is preferred that Ke Yitong Cross and the subclass function of setColor class is set Lycoperdon polymorphum Vitt shade is set to translucent.
S204, obtains the download progress of current topic icon, according to described preset cutting function cutting corresponding to being downloaded into The Lycoperdon polymorphum Vitt progress shade of degree.
In the present embodiment, call the Andriod source code increased income, apply Paint class, such as, preset and use SetXfermode (new (PorterDuff.Mode.DST_IN)) function can carry out cutting to shade, such as, use AvoidXfermode subclass can arrange color and tolerance, forces Paint to draw in the range of it;And for example PixelXorXfermode subclass can apply pixel-wise XOR operation when covering existing color;And for example PorterDuffXfermode subclass is a kind of translative mode, uses 16 Porter-Duff that it can use image to synthesize Any one of rule controls how Paint interacts, such as with canvas Lycoperdon polymorphum Vitt with existing canvas painting canvas image Shade painting canvas interacts.In the present invention, Lycoperdon polymorphum Vitt shade can be sheared by PorterDuffXfermode subclass, according to reading The mode taking file obtains progress, is then interacted, to cut out with existing canvas Lycoperdon polymorphum Vitt shade by Paint class Meet the Lycoperdon polymorphum Vitt progress shade of current download progress.
S205, covers described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map.
The Lycoperdon polymorphum Vitt progress shade cut can refreshing frequency set in advance constantly be plotted on described theme soil icon, One second such as refresh, in the present invention for 10 times, it is also possible to preferably, stop when meeting pre-conditioned refreshing.
Include the following: first generate in desktop display in show topics total step of icon and download progress thereof of desktop Theme icon;Then call preset shape function obtain thematic map target size, form parameter for generate with theme icon sizes, The Lycoperdon polymorphum Vitt shade that shape is consistent is prepared;Then call default drawing function to draw corresponding to described theme icon sizes, shape The Lycoperdon polymorphum Vitt shade of parameter;Then by the way of reading folder, obtain current download progress, and use preset cutting function Cutting is corresponding to the Lycoperdon polymorphum Vitt progress shade of download progress;Finally cover this Lycoperdon polymorphum Vitt progress shade to put on to described thematic map, thus The effect of Dynamic Announce download progress is reached by refreshing mode.Adopt and show that download progress has in this way and imitate intuitively Really, Consumer's Experience is promoted.
In conjunction with first aspect, in second embodiment of first aspect, call refresh function and refresh covering at this theme Lycoperdon polymorphum Vitt progress shade on icon, to follow the tracks of the download progress of this application program according to described Lycoperdon polymorphum Vitt progress shade.
After cutting complete Lycoperdon polymorphum Vitt shade generates Lycoperdon polymorphum Vitt progress shade, need Lycoperdon polymorphum Vitt progress shade is covered theme icon On, definition OnAppIconRefersh method can be used to refresh Lycoperdon polymorphum Vitt progress shade, along with the carrying out of refresh activity, cover The Lycoperdon polymorphum Vitt progress shade tapered into along with progress increase that thematic map are put on, thus demonstrate dynamic effect, promote user Experience.
In conjunction with second embodiment of first aspect, when meeting pre-conditioned, stop refreshing covering and put at thematic map Lycoperdon polymorphum Vitt progress shade.
Refresh operation is to take thread, power consumption and consume the operation of Installed System Memory, in the present invention, in order to reduce refreshing That is brought takies Installed System Memory, it is provided that a kind of mechanism stopping when meeting pre-conditioned refreshing, pre-conditioned when meeting Time, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.Thus save refresh operation and occupy too much Installed System Memory, Promote Consumer's Experience.
In conjunction with second embodiment of first aspect, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode.
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
In the present embodiment, arrange and pre-conditioned described application icon refreshed, thus reduce unnecessary Refresh operation, saves Installed System Memory, it is ensured that system runs smoothness, thus promotes Consumer's Experience.As described below:
When current desktop is placed in backstage, can obtain whether current desktop is located by calling mLauncher.isPaused () In backstage, when desktop is in backstage, user there is no need the download progress shown the most on the table, now can remove refreshing from Operation.
When current desktop is in the slip page, by calling mLauncher.getWorkspace () .isPageMoving () can obtain whether current desktop is in the slip page, and the emphasis that user may pay close attention to not is to download Progress, now can omit refresh operation.
When current desktop is in edit pattern, can obtain current by calling Workspace.mIsEditMode Whether desktop is in edit pattern, stops refresh operation, such as user when being in edit pattern and is adding small tool, selecting wallpaper And enter desktop when arranging, for avoiding having multioperation to stop refresh operation on desktop.
When current desktop is in execution animation, current table can be obtained by calling mLauncher.mIsAnimating Whether face is performing animation, and when performing animation, the operation of refresh icon is a low priority operation, for performing high priority Desktop animation and stop refresh Lycoperdon polymorphum Vitt progress shade.
When being currently executing drag motions, by calling mLauncher.getDragController () Whether .isDragging () obtains has the icon of application program to be in drag motions, when there being drag motions on current desktop Icon is in sliding mode, now for avoiding having multioperation to stop refreshing Lycoperdon polymorphum Vitt progress shade on desktop;
When an application program selected in applying shop is downloaded, by all () method in ContentProvider Adjust back the FLAG_DOWNLOAD_CREATE method of desktop and the bag name of application, icon and application name are transmitted by bundle To desktop, the View of the shortcut (Shortcut) of this application now can be created on the table, simultaneously by this application Bag name, icon and application name are stored in the data base of desktop, and the flush mechanism of the present invention is to stop brush when following condition New:
The view of presently described application program shortcut not in the file opened, this shortcut i.e. current View in file and file close or currently this View not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode, the View of this shortcut i.e. current is at desktop or Hotseat, and file is in open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.The View of this shortcut i.e. current is at desktop or Hotseat, and this View institute Screen not at the Screen residing for current desktop.
At the view of presently described application program shortcut not in the file opened, presently described application journey The view of sequence shortcut is at desktop or at shortcut navigation bar, and file is in open mode.
In conjunction with second embodiment of first aspect, call refresh function when detection is unsatisfactory for pre-conditioned and continue to refresh At the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on.
Pre-conditioned when being unsatisfactory for, or when exiting pre-conditioned, call refresh function and continue to refresh at described thematic map The Lycoperdon polymorphum Vitt progress shade put on, thus continue to show download progress, thus promote Consumer's Experience.In an embodiment of the present invention, Can by call determine whether to have logged out with minor function above-mentioned pre-conditioned: as whether detection current desktop returns to foreground, OnResume () function is used to determine;Whether detection desktop slides terminates to use onPageEndMoving () function;Detection pulls Whether operation terminates to use endDrag ();Detect whether that exiting edit pattern uses (endEditMode ());Detection file Open mode use openFolder () function;And detect state employing closeFolder () whether file closes.
In conjunction with first aspect, in the 3rd embodiment of first aspect, calculate the area of described Lycoperdon polymorphum Vitt shade, answer when described When changing by download program progress, described Lycoperdon polymorphum Vitt shade is correspondingly cropped on an equal basis by the ratio accounting for aggregate scheduling according to download progress The area of ratio is to generate Lycoperdon polymorphum Vitt progress shade.
Those skilled in that art are appreciated that the mode of download progress Main Basis reading folder, read pre-download Application program have been downloaded into the data volume of file of this locality, then by total data of this data volume and this application program Amount compares and obtains a ratio value, and those skilled in that art are appreciated that this ratio value is along with the increasing of download progress Add and constantly become big, and Lycoperdon polymorphum Vitt shade to need the area of cutting to account for the ratio value of the Lycoperdon polymorphum Vitt shade gross area consistent with this ratio value, The Lycoperdon polymorphum Vitt shade reducing a part becomes Lycoperdon polymorphum Vitt progress shade.The area of the Lycoperdon polymorphum Vitt shade cropped accounts for total Lycoperdon polymorphum Vitt shade The ratio that the ratio of area accounts for total download with current download is consistent, is needed sanction according to what this proportionate relationship calculated The ratio cut is accurate with the area needing cutting, reliable.
In conjunction with first aspect, in the 4th embodiment of first aspect, described cutting is entered corresponding to the Lycoperdon polymorphum Vitt of download progress The mode of degree shade includes fan-shaped cutting and bar shaped cutting.
In the present embodiment, described fan-shaped cutting is to be as the criterion with the center of circle, carries out described theme icon according to download progress Fan-shaped cutting, icon presents the rotary effect gradually presented;Described bar shaped is cut to according to download progress thematic map Mark carries out bar shaped cutting, and icon presents the effect the most gradually manifested.
In conjunction with first aspect, in the 5th embodiment of first aspect, described Lycoperdon polymorphum Vitt shade is translucent shade.
In one embodiment of the invention, the subclass of the setXfermode class of practical Paint can realize making semi-transparent Bright shade, such as, use setXfermode (new PorterDuffXfermode (PorterDuff.Mode.DST_IN)) Function, uses translucent Lycoperdon polymorphum Vitt shade to have effect intuitively, can also show the shape of icon while display progress And size, therefore can improve Consumer's Experience.
In conjunction with first aspect, in the 6th embodiment of first aspect, described Lycoperdon polymorphum Vitt mask layer is positioned at top layer, described theme Icon layer is positioned at next layer of described Lycoperdon polymorphum Vitt mask layer.
When drawing, first thematic map mark is plotted in bottom, the most again gray scale progress shade is plotted in theme icon On, the present invention, with theme desktop as background, is sequentially overlapped theme icon layer and Lycoperdon polymorphum Vitt mask layer, and Lycoperdon polymorphum Vitt mask layer is positioned at thematic map The top of mark layer, theme icon layer is positioned at the intermediate layer of Lycoperdon polymorphum Vitt mask layer and desktop background.
In conjunction with first aspect, in the 7th embodiment of first aspect, as shown in Figure 3:
S301, receives, in the middle of any one of application shop or desktop, described thematic map target progress is changed instruction;
S302, according to corresponding call back function readjustment application program or application shop, changes the download progress of application program.
In one embodiment of the invention, calling by ContentProvider between desktop and shop Call () method realizes.
Method prototype is such as: Bundle call (Uri uri, String method, String arg, Bundle extras);
For this in an embodiment of this programme, define series of protocols:
Url:
Public static final String ASSISIT_PROVIDE_URL=" content: // com.qihoo.appstore.LauncherDownloadProvider";// mobile phone assistant provider URL
Public static final String LAUNCHER_PROVIDE_URL=" content: // com.qiku.android.Launcher3.DownLoadProvider";//Launcher provider URL
Definition method is:
Public static final String FLAG_DOWNLOAD_CREATE=
"FLAG_DOWNLOAD_CREATE";// create and download mark
Public static final String FLAG_DOWNLOAD_ING=
"FLAG_DOWNLOAD_ING";// start to download mark
Public static final String FLAG_DOWNLOAD_PAUSE=
"FLAG_DOWNLOAD_PAUSE";// suspend and download mark
Public static final String FLAG_INSTALL_ING=
"FLAG_INSTALL_ING";// Installation Mark
Public static final String FLAG_DOWNLOAD_FAIL=
"FLAG_DOWNLOAD_FAIL";// failed download mark
Public static final String FLAG_INSTALL_FAIL=
"FLAG_INSTALL_FAIL";// install failure mark
Public static final String FLAG_DOWNLOAD_DELETE=
"FLAG_DOWNLOAD_DELETE";// delete task flag
Public static final String FLAG_DOWNLOAD_RESUME=
"FLAG_DOWNLOAD_RESUME";// continue to download mark
Public static final String FLAG_INSTALL_RESUME=
"FLAG_INSTALL_RESUME";// continue Installation Mark
Public static final String FLAG_GET_SATTE=
"FLAG_INSTALL_RESUME";// obtain and download installment state
When clicking on some application of download in shop, shop is returned by the call () method in ContentProvider Adjust the FLAG_DOWNLOAD_CREATE method of desktop and the bag name of application, icon and application name are passed to by Bundle Desktop, now can create the View class of the shortcut (Shortcut) of this application on the table, i.e. view, simultaneously we The bag name of this application, icon and application name are stored in the data base of desktop.It is currently at wait to identify this application The state downloaded, the icon in this application adds complete Lycoperdon polymorphum Vitt shade.When shop starts to download this application, shop can be called The progress currently downloaded also is passed to desktop by Bundle class by the FLAG_DOWNLOAD_ING method of desktop, now desktop Can calculate, according to the current humidometer downloaded, the scope that Lycoperdon polymorphum Vitt shade covers, then repaint on the icon of application, along with The Lycoperdon polymorphum Vitt shade that continues to increase of download progress is gradually decorporated, and the theme icon of application program gradually displays.
Any one according to application shop or desktop changes progress instruction to thematic map target, such as, suspend, cancel Deng instruction, according to corresponding call back function readjustment application program or application shop, thus complete suspend download transmission or stop passing Defeated and delete, thus change the download progress of application program.
In conjunction with first aspect, in the 8th embodiment of first aspect, refresh at described thematic map calling refresh function During the Lycoperdon polymorphum Vitt progress shade put on, below described theme icon, show progress bar.
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that thematic map are put on, download progress bar can be shown simultaneously, Thus reaching the effect of dual display so that display effect is the most directly perceived.
Second aspect, embodiments provides thematic map target in a kind of downloading process and sets up device, and this was downloaded In journey, thematic map target is set up device and is had and realize in above-mentioned first aspect the merit of thematic map target method for building up in downloading process Energy.Described function can be realized by hardware, it is also possible to performs corresponding software by hardware and realizes.Described hardware or software kit Include one or more module corresponding with above-mentioned functions, as shown in Figure 4, including such as lower unit:
Acquiring unit 101, is used in response to user the download instruction of application program in application shop, obtains this application journey The icon of sequence;
Acquiring unit 101 is for obtaining the icon of application program, and those skilled in that art are appreciated that user is to application In shop, the download instruction of application program can be to click, and is considered when user enters into download interface according to corresponding prompting User successfully implements the download instruction to application program, system in response to user to the application program in application shop Download instruction, obtains the icon of this application program automatically, in order to generate theme icon as early as possible.Such as need the application program downloaded It is 360 mobile phone assistants, reads the icon style of 360 mobile phone assistants the most immediately.
Signal generating unit 102, for generating corresponding with the icon of described application program according to current desktop topic style Theme icon;
After the icon obtaining application program, signal generating unit 102 generates and described application according to current desktop topic style The theme icon that the icon of program is corresponding.Such as current topic pattern is fruit theme, when needing the application program downloaded is 360 mobile phone assistants after having obtained the icon style of 360 mobile phone assistants, search corresponding 360 mobile phones in fruit theme automatically The fruit icon style of assistant, i.e. theme icon.
Display unit 103, for showing described theme icon and download progress thereof at desktop.
Display unit 103, after generating theme icon, has generated the theme icon of corresponding 360 mobile phone assistants, Showing on the table by theme icon, simultaneity factor can draw Lycoperdon polymorphum Vitt shade to its top layer, and when progress changes, Lycoperdon polymorphum Vitt hides Cover can be cropped fewer and feweri, thus the operation refreshed can make thematic map mark present the effect of dynamically appearance.
First, acquiring unit for when user click on application shop certain application program time, mobile terminal in response to The click commands at family, identifies the application program that user is clicked on, then obtains the icon of this application program from corresponding document presss from both sides; Then, the desktop theme that signal generating unit is used according to active user generates a theme corresponding with pre-download application program Icon;Finally, display unit shows topics icon and download progress at desktop.The mode of this programme employing identification desktop theme is straight The theme icon delivering a child into corresponding desktop theme beautifies work without postorder, can improve the work effect of mobile terminal Rate, it is possible to generate the icon consistent with the desktop theme that user is used, have and beautify interface, intuitively effect, improves user Experience.
In conjunction with second aspect, in first embodiment of second aspect, as it is shown in figure 5, described display unit specifically wraps Include such as lower module:
Desktop display module 201, for showing described theme icon at desktop;
Desktop display module 201 is that those skilled in that art are appreciated that for showing described theme icon at desktop After the theme icon obtaining corresponding desktop theme, it is possible to obtain the thematic map target size of correspondence, shape, color, pattern Etc. parameter, therefore can draw out corresponding theme icon on the table by Paint class.
Parameter acquisition module 202, is used for calling preset shape function and obtains described thematic map target size, form parameter;
Parameter acquiring unit 202 is for obtaining described thematic map target size, form parameter when creating Lycoperdon polymorphum Vitt shade;Example As progress variable progress and the occurrence of icon width variable height can be obtained in other parts of program, by fixed One variable top of justice, is that float top=(height/100.0f) * progress can obtain icon according to its definition statement Height, i.e. the value of top, thus draw Lycoperdon polymorphum Vitt shade according to the value of top.
Drafting module 203, draws corresponding to described theme icon sizes, form parameter for calling default drawing function Lycoperdon polymorphum Vitt shade;
Drafting module 203 is for calling the drafting of default drawing function corresponding to described theme icon sizes, form parameter Lycoperdon polymorphum Vitt shade, in one embodiment of the invention, first with Paint class draw generate a canvas painting canvas, then Canvas painting canvas is depicted as Lycoperdon polymorphum Vitt by the setColor class utilizing Paint in the altitude range being previously detected, it is preferred that can Lycoperdon polymorphum Vitt shade is set to translucent by arranging the subclass function of setColor class.
Cutting module 204, for obtaining the download progress of current topic icon, according to described preset cutting function cutting pair Should be in the Lycoperdon polymorphum Vitt progress shade of download progress;
Cutting module 204 is used for corresponding to the Lycoperdon polymorphum Vitt progress shade of download progress according to described preset cutting function cutting, Call the Andriod source code increased income, apply Paint class, such as, preset and use setXfermode (new (PorterDuff.Mode.DST_IN)) function can carry out cutting to shade, such as, can set by AvoidXfermode subclass Put color and tolerance, force Paint to draw in the range of it;And for example PixelXorXfermode subclass can cover During some colors, apply pixel-wise XOR operation;And for example PorterDuffXfermode subclass is a kind of translative mode, uses it can To use any one of 16 Porter-Duff rules of image synthesis to control how Paint draws with existing canvas Cloth image interacts, such as, interact with canvas Lycoperdon polymorphum Vitt shade painting canvas.In the present invention, pass through PorterDuffXfermode subclass can shear Lycoperdon polymorphum Vitt shade, obtains progress according to the mode of reading folder, then passes through Paint class interacts with existing canvas Lycoperdon polymorphum Vitt shade, to cut out the Lycoperdon polymorphum Vitt progress shade meeting current download progress.
Overlay module 205, is used for covering described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map.
Overlay module 205 is used for covering described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map, and covering also is to draw, cutting Good Lycoperdon polymorphum Vitt progress shade constantly can be plotted on described theme soil icon with refreshing frequency set in advance, such as in one second Refresh for 10 times.
After desktop shows topics icon, in addition it is also necessary to show download progress intuitively.Display unit specifically includes: desktop shows Show module, for the theme icon generated in desktop display;Parameter acquiring unit, is used for calling preset shape function and obtains theme The size of icon, form parameter are to generate to prepare with theme icon sizes, Lycoperdon polymorphum Vitt shade that shape is consistent;Drafting module, uses Draw corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter in calling default drawing function;Cutting module, is used for By the way of reading folder, obtain current download progress, and use preset cutting function cutting corresponding to download progress Lycoperdon polymorphum Vitt progress shade;Overlay module, is used for covering this Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map, thus by refreshing mode Reach the effect of Dynamic Announce download progress.Adopt and show that download progress has effect intuitively in this way, promote user's body Test.
In conjunction with second aspect, in second embodiment of second aspect, call refresh function and refresh covering at this theme Lycoperdon polymorphum Vitt progress shade on icon, to follow the tracks of the download progress of this application program according to described Lycoperdon polymorphum Vitt progress shade.
After cutting complete Lycoperdon polymorphum Vitt shade generates Lycoperdon polymorphum Vitt progress shade, need Lycoperdon polymorphum Vitt progress shade is covered theme icon On, definition OnAppIconRefersh method can be used to refresh Lycoperdon polymorphum Vitt progress shade, along with the carrying out of refresh activity, cover The Lycoperdon polymorphum Vitt progress shade tapered into along with progress increase that thematic map are put on, thus demonstrate dynamic effect, promote user Experience.
In conjunction with second embodiment of second aspect, when meeting pre-conditioned, stop refreshing covering and put at thematic map Lycoperdon polymorphum Vitt progress shade.
Refresh operation is to take thread, power consumption and consume the operation of Installed System Memory, in the present invention, in order to reduce refreshing That is brought takies Installed System Memory, it is provided that a kind of mechanism stopping when meeting pre-conditioned refreshing, pre-conditioned when meeting Time, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.Thus save refresh operation and occupy too much Installed System Memory, Promote Consumer's Experience.
In conjunction with second embodiment of second aspect, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
In the present embodiment, arrange and pre-conditioned described application icon refreshed, thus reduce unnecessary Refresh operation, saves Installed System Memory, it is ensured that system runs smoothness, thus promotes Consumer's Experience.As described below:
When current desktop is placed in backstage, can obtain whether current desktop is located by calling mLauncher.isPaused () In backstage, when desktop is in backstage, user there is no need the download progress shown the most on the table, now can remove refreshing from Operation;
When current desktop is in the slip page, by calling mLauncher.getWorkspace () .isPageMoving () can obtain whether current desktop is in the slip page, and the emphasis that user may pay close attention to not is to download Progress, now can omit refresh operation;
When current desktop is in edit pattern, can obtain current by calling Workspace.mIsEditMode Whether desktop is in edit pattern, stops refresh operation, such as user when being in edit pattern and is adding small tool, selecting wallpaper And enter desktop when arranging, for avoiding having multioperation to stop refresh operation on desktop;
When current desktop is in execution animation, current table can be obtained by calling mLauncher.mIsAnimating Whether face is performing animation, and when performing animation, the operation of refresh icon is a low priority operation, for performing high priority Desktop animation and stop refresh Lycoperdon polymorphum Vitt progress shade.When being currently executing drag motions, by calling MLauncher.getDragController () .isDragging () can obtain whether have application program on current desktop Icon is in drag motions, and when there being drag motions, icon is in sliding mode, now for avoiding having on desktop multioperation And stop refreshing Lycoperdon polymorphum Vitt progress shade;
When an application program selected in applying shop is downloaded, by all () method in ContentProvider Adjust back the FLAG_DOWNLOAD_CREATE method of desktop and the bag name of application, icon and application name are transmitted by bundle To desktop, the View of the shortcut (Shortcut) of this application now can be created on the table, simultaneously by this application Bag name, icon and application name are stored in the data base of desktop, and the flush mechanism of the present invention is to stop brush when following condition New:
The view of presently described application program shortcut not in the file opened, this shortcut i.e. current View in file and file close or currently this View not in the file opened.
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode, the View of this shortcut i.e. current is at desktop or Hotseat, and file is in open mode.
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.The View of this shortcut i.e. current is at desktop or Hotseat, and this View institute Screen not at the Screen residing for current desktop.
At the view of presently described application program shortcut not in the file opened, presently described application journey The view of sequence shortcut is at desktop or at shortcut navigation bar, and file is in open mode.
In conjunction with second embodiment of second aspect, call refresh function when detection is unsatisfactory for pre-conditioned and continue to refresh At the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on.
Pre-conditioned when being unsatisfactory for, or when exiting pre-conditioned, call refresh function and continue to refresh at described thematic map The Lycoperdon polymorphum Vitt progress shade put on, thus continue to show download progress, thus promote Consumer's Experience.In an embodiment of the present invention, Can by call determine whether to have logged out with minor function above-mentioned pre-conditioned: as whether detection current desktop returns to foreground, OnResume () function is used to determine;Whether detection desktop slides terminates to use onPageEndMoving () function;Detection pulls Whether operation terminates to use endDrag ();Detect whether that exiting edit pattern uses (endEditMode ());Detection file Open mode use openFolder () function;And detect state employing closeFolder () whether file closes.
In conjunction with second aspect, in the 3rd embodiment of second aspect, calculate the area of described Lycoperdon polymorphum Vitt shade, when described During the change of application program download progress, the ratio accounting for aggregate scheduling according to download progress correspondingly crops same geometric ratio to described shade The area of example is to generate Lycoperdon polymorphum Vitt progress shade.
Those skilled in that art are appreciated that the mode of download progress Main Basis reading folder, read pre-download Application program have been downloaded into the data volume of file of this locality, then by total data of this data volume and this application program Amount compares and obtains a ratio value, and those skilled in that art are appreciated that this ratio value is along with the increasing of download progress Add and constantly become big, and Lycoperdon polymorphum Vitt shade to need the area of cutting to account for the ratio value of the Lycoperdon polymorphum Vitt shade gross area consistent with this ratio value, The Lycoperdon polymorphum Vitt shade reducing a part becomes Lycoperdon polymorphum Vitt progress shade.The area of the Lycoperdon polymorphum Vitt shade cropped accounts for total Lycoperdon polymorphum Vitt shade The ratio that the ratio of area accounts for total download with current download is consistent, is needed sanction according to what this proportionate relationship calculated The ratio cut is accurate with the area needing cutting, reliable.
In conjunction with second aspect, in the 4th embodiment of second aspect, described cutting is corresponding to the Lycoperdon polymorphum Vitt of download progress The mode of progress shade includes fan-shaped cutting and bar shaped cutting.
In the present embodiment, described fan-shaped cutting is to be as the criterion with the center of circle, carries out described theme icon according to download progress Fan-shaped cutting, icon presents the rotary effect gradually presented;Described bar shaped is cut to according to download progress thematic map Mark carries out bar shaped cutting, and icon presents the effect the most gradually manifested.
In conjunction with second aspect, in the 5th embodiment of second aspect, described mask layer is translucent shade.
In one embodiment of the invention, the subclass of the setXfermode class of practical Paint can realize making semi-transparent Bright shade, such as, use setXfermode (new PorterDuffXfermode (PorterDuff.Mode.DST_IN)) Function, uses translucent Lycoperdon polymorphum Vitt shade to have effect intuitively, can also show the shape of icon while display progress And size, therefore can improve Consumer's Experience.
In conjunction with second aspect, in the 6th embodiment of second aspect, described mask layer is positioned at top layer, described icon layer It is positioned at next layer of described mask layer.
When drawing, first thematic map mark is plotted in bottom, the most again gray scale progress shade is plotted in theme icon On, the present invention, with theme desktop as background, is sequentially overlapped theme icon layer and Lycoperdon polymorphum Vitt mask layer, and Lycoperdon polymorphum Vitt mask layer is positioned at thematic map The top of mark layer, theme icon layer is positioned at the intermediate layer of Lycoperdon polymorphum Vitt mask layer and desktop background.
In conjunction with second aspect, in the 7th embodiment of second aspect, as shown in Figure 6, also include such as lower unit:
Receive unit 301, in the middle of any one receiving application shop or desktop, described thematic map target is entered Degree changes instruction;
Readjustment unit 302, for according to corresponding call back function readjustment application program or application shop, changing application program Download progress.
Receive unit 301 in the middle of any one receiving application shop or desktop to described thematic map target progress Change instruction such as suspend, the instruction such as cancellation, readjustment unit 302 is for according to corresponding call back function readjustment application program or should With shop, thus complete to suspend and download transmission or stop transmission and delete, thus change the download progress of application program.
In one embodiment of the invention, calling by ContentProvider between desktop and shop Call () method realizes.
Method prototype is such as: Bundle call (Uri uri, String method, String arg, Bundle extras);
For this in an embodiment of this programme, define series of protocols:
Url:
Public static final String ASSISIT_PROVIDE_URL=" content: // com.qihoo.appstore.LauncherDownloadProvider";// mobile phone assistant provider URL
Public static final String LAUNCHER_PROVIDE_URL=" content: // com.qiku.android.Launcher3.DownLoadProvider";//Launcher provider URL
Definition method is:
Public static final String FLAG_DOWNLOAD_CREATE=
"FLAG_DOWNLOAD_CREATE";// create and download mark
Public static final String FLAG_DOWNLOAD_ING=
"FLAG_DOWNLOAD_ING";// start to download mark
Public static final String FLAG_DOWNLOAD_PAUSE=
"FLAG_DOWNLOAD_PAUSE";// suspend and download mark
Public static final String FLAG_INSTALL_ING=
"FLAG_INSTALL_ING";// Installation Mark
Public static final String FLAG_DOWNLOAD_FAIL=
"FLAG_DOWNLOAD_FAIL";// failed download mark
Public static final String FLAG_INSTALL_FAIL=
"FLAG_INSTALL_FAIL";// install failure mark
Public static final String FLAG_DOWNLOAD_DELETE=
"FLAG_DOWNLOAD_DELETE";// delete task flag
Public static final String FLAG_DOWNLOAD_RESUME=
"FLAG_DOWNLOAD_RESUME";// continue to download mark
Public static final String FLAG_INSTALL_RESUME=
"FLAG_INSTALL_RESUME";// continue Installation Mark
Public static final String FLAG_GET_SATTE=
"FLAG_INSTALL_RESUME";// obtain and download installment state
When clicking on some application of download in shop, shop is returned by the call () method in ContentProvider Adjust the FLAG_DOWNLOAD_CREATE method of desktop and the bag name of application, icon and application name are passed to by Bundle Desktop, now can create the View class of the shortcut (Shortcut) of this application on the table, i.e. view, simultaneously we The bag name of this application, icon and application name are stored in the data base of desktop.It is currently at wait to identify this application The state downloaded, the icon in this application adds complete Lycoperdon polymorphum Vitt shade.When shop starts to download this application, shop can be called The progress currently downloaded also is passed to desktop by Bundle class by the FLAG_DOWNLOAD_ING method of desktop, now desktop Can calculate, according to the current humidometer downloaded, the scope that Lycoperdon polymorphum Vitt shade covers, then repaint on the icon of application, along with The Lycoperdon polymorphum Vitt shade that continues to increase of download progress is gradually decorporated, and the theme icon of application program gradually displays.
Any one according to application shop or desktop changes progress instruction to thematic map target, such as, suspend, cancel Deng instruction, according to corresponding call back function readjustment application program or application shop, thus complete suspend download transmission or stop passing Defeated and delete, thus change the download progress of application program.
In conjunction with second aspect, in the 8th embodiment of second aspect, refresh at described theme calling refresh function During Lycoperdon polymorphum Vitt progress shade on icon, below described theme icon, show progress bar.
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that thematic map are put on, download progress bar can be shown simultaneously, Thus reaching the effect of dual display so that display effect is the most directly perceived.
The embodiment of the present invention additionally provides a kind of portable mobile termianl, as it is shown in fig. 7, for convenience of description, only illustrates The part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, refer to embodiment of the present invention method part, institute State portable mobile termianl to include:
Touch-sensitive display, for sense operation instruction and shows corresponding interface according to this instruction;
For storing, memorizer, supports that R-T unit performs the journey of thematic map target method for building up in above-mentioned downloading process Sequence;
Communication interface, in above-mentioned downloading process, thematic map target sets up device and other equipment or communication network leads to Letter;
One or more processors, for performing the program of storage in described memorizer;
One or more application programs, wherein said one or more application programs are stored in described memorizer and quilt Being configured to be performed by the one or more processor, the one or more program is configurable for performing in downloading process Any method of the foundation of theme sudden change.
This terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, individual digital Assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal unit such as vehicle-mounted computer, as a example by terminal is as mobile phone:
Fig. 7 is illustrated that the block diagram of the part-structure of the mobile phone relevant to the terminal of embodiment of the present invention offer.With reference to figure 7, mobile phone includes: touch-sensitive display 701, memorizer 702, communication interface 703, one or more processor 704, one or more The parts such as application program 705 and power supply 706.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 not Constitute the restriction to mobile phone, can include that ratio illustrates more or less of parts, or combine some parts, or different portions Part is arranged.
Below in conjunction with Fig. 7 each component parts of mobile phone carried out concrete introduction:
The entirety that touch-sensitive display 701 is touch screen and display screen unites two into one, touch screen and display screen respectively account for one layer;Touch Touch screen and include touch pad, can collect user thereon or neighbouring touch operation (such as user uses finger, stylus etc. any suitable The object closed or adnexa operation on contact panel or near contact panel), and drive phase according to formula set in advance The attachment means answered.Optionally, contact panel can include touch detecting apparatus and two parts of touch controller.Wherein, touch The touch orientation of detection device detection user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch Touch controller from touch detecting apparatus, receive touch information, and be converted into contact coordinate, then give processor 704, and Order that processor 704 sends can be received and performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray and surface The polytypes such as sound wave realize contact panel.Except contact panel, display screen can be used for showing the information inputted by user or carrying The information of supply user and the various menus of mobile phone.Display unit can include display floater, optionally, can use liquid crystal Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, Etc. OLED) form configures display floater.Further, contact panel can cover display floater, when contact panel detects After touch operation on or near it, send processor 704 to determine the type of touch event, with preprocessor 704 basis The type of touch event provides corresponding visual output on a display panel.Although in the figure 7, contact panel with display floater is Input and the input function of mobile phone is realized as two independent parts, but in some embodiments it is possible to by touch surface Plate is integrated with display floater and realizes input and the output function of mobile phone.
Memorizer 702 can be used for storing software program and module, and processor 704 is stored in memorizer 702 by operation Software program and module, thus perform mobile phone various functions application and data process.Memorizer 702 can mainly include Storage program area and storage data field, wherein, storage program area can store the application journey needed for operating system, at least one function Sequence 705 (such as sound-playing function, image player function etc.) etc.;The use that storage data field can store according to mobile phone is created Data (such as voice data, phone directory etc.) etc..Additionally, memorizer 702 can include high random access memory block 702, Can also include nonvolatile storage 702, for example, at least one disk memory, flush memory device or other volatibility are solid State memory device.
Communication interface 703, in above-mentioned downloading process, thematic map target sets up device and other equipment or communication network Communication.Communication interface 703 is the interface that processor 704 communicates with extraneous subsystem, for processor 704 and ambient systems Between the transmission of information, to reach to control the purpose of subsystem.
Processor 704 is the control centre of mobile phone, utilizes various communication interface 703 and the whole mobile phone of connection each Part, is stored in the software program in memory block 702 and/or module by running or performing, and calls and be stored in memory block Data in 702, perform the various functions of mobile phone and process data, thus mobile phone is carried out integral monitoring.Optionally, processor 704 can include one or more processing unit;Preferably, processor 704 can integrated application processor and modem processor, Wherein, application processor mainly processes operating system, user interface and application program 705 etc., and modem processor is mainly located Reason radio communication.It is understood that above-mentioned modem processor can not also be integrated in processor 704.
One or more application programs 705, it is preferable that these application programs 705 are stored in described memory block 702 And be configured to be performed by the one or more processor 704, the one or more application program 705 is configurable for Perform any embodiment of thematic map target method for building up in described downloading process.
Mobile phone also includes the power supply 706 (such as battery) powered to all parts, it is preferred that power supply 706 can be by electricity Management system is logically contiguous with processor 704, thus manages system by power supply 706 and realize management charging, electric discharge, Yi Jigong The functions such as consumption management.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., does not repeats them here.
In embodiments of the present invention, this processor 704 included by portable multi-function terminal also has a following functions:
In response to user to the download instruction of application program in application shop, obtain the icon of this application program;
The theme icon corresponding with the icon of described application program is generated according to current desktop topic style;
Described theme icon and download progress thereof is shown at desktop.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, is used for saving as theme in above-mentioned downloading process The computer software instructions set up used by device of icon, it comprises for performing above-mentioned second aspect is theme in downloading process The program set up designed by device of icon.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In several embodiments provided herein, those skilled in that art are appreciated that disclosed system, dress Put and method, can realize by another way.Such as, device embodiment described above is only schematically, example Such as, the division of described unit, being only a kind of logic function and divide, actual can have other dividing mode, such as when realizing Multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Separately A bit, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, device Or the INDIRECT COUPLING of unit or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing with the hardware controlling to be correlated with by programmed instruction, this program can be stored in a computer-readable recording medium, Storage medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
In sum, the technical scheme that the present invention provides is summarized as follows:
Thematic map target method for building up in A1, a kind of downloading process, comprises the steps:
In response to user to the download instruction of application program in application shop, obtain the icon of this application program;
The theme icon corresponding with the icon of described application program is generated according to current desktop topic style;
Described theme icon and download progress thereof is shown at desktop.
A2, according to the method for building up described in claim A1, show described theme icon and download progress thereof at desktop Step comprises the following specific steps that:
Described theme icon is shown at desktop;
Call preset shape function and obtain described thematic map target size, form parameter;
Call default drawing function to draw corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter;
Obtain the download progress of current topic icon, correspond to the ash of download progress according to described preset cutting function cutting Color progress shade;
Cover described Lycoperdon polymorphum Vitt progress shade to put on to described thematic map.
A3, according to the method for building up described in claim A1, also include:
Call refresh function and refresh the Lycoperdon polymorphum Vitt progress shade that covering is put at these thematic map, to hide according to described Lycoperdon polymorphum Vitt progress The download progress of this application program followed the tracks of by cover.
A4, according to the method for building up described in claim A3, also include:
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.
A5, according to the method for building up described in claim A4, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
A6, according to the method for building up described in claim A5, including:
Call refresh function to continue to refresh the Lycoperdon polymorphum Vitt progress put at described thematic map when detection is unsatisfactory for pre-conditioned Shade.
A7, according to the method for building up described in claim A1, including:
Calculate the area of described Lycoperdon polymorphum Vitt shade, when described application program download progress changes, account for always according to download progress The ratio of progress correspondingly crops the area of equal proportion to generate Lycoperdon polymorphum Vitt progress shade to described Lycoperdon polymorphum Vitt shade.
A8, according to the method for building up described in claim A1, including:
Described cutting includes fan-shaped cutting and bar shaped cutting corresponding to the mode of the Lycoperdon polymorphum Vitt progress shade of download progress.
A9, according to the method for building up described in claim A1, including:
Described Lycoperdon polymorphum Vitt shade is translucent shade.
A10, according to the method for building up described in claim A1, including:
Described Lycoperdon polymorphum Vitt mask layer is positioned at top layer, and described theme icon layer is positioned at next layer of described Lycoperdon polymorphum Vitt mask layer.
A11, according to the method for building up described in claim A1, including:
Receive, in the middle of any one of application shop or desktop, described thematic map target progress is changed instruction;
According to corresponding call back function readjustment application program or application shop, change the download progress of application program.
A12, according to the method for building up described in claim A1, including:
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on, below described theme icon Display progress bar.
In B13, a kind of downloading process, thematic map target sets up device, including such as lower unit:
Acquiring unit, is used in response to user the download instruction of application program in application shop, obtains this application program Icon;
Signal generating unit, for generating the theme corresponding with the icon of described application program according to current desktop topic style Icon;
Display unit, for showing described theme icon and download progress thereof at desktop.
B14, according to the device of setting up described in claim B13, described display unit specifically includes such as lower module:
Desktop display module, for showing described theme icon at desktop;
Parameter acquisition module, is used for calling preset shape function and obtains described thematic map target size, form parameter;
Drafting module, draws corresponding to described theme icon sizes, the ash of form parameter for calling default drawing function Color shade;
Cutting module, for obtaining the download progress of current topic icon, corresponding according to described preset cutting function cutting Lycoperdon polymorphum Vitt progress shade in download progress;
Overlay module, is used for covering described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map.
B15, according to setting up device described in claim B13, also include:
Call refresh function and refresh the Lycoperdon polymorphum Vitt progress shade that covering is put at these thematic map, to hide according to described Lycoperdon polymorphum Vitt progress The download progress of this application program followed the tracks of by cover.
B16, according to setting up device described in claim B15, also include:
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.
B17, according to the device of setting up described in claim B16, described pre-conditioned include following any one:
Current desktop is placed in backstage;
Current desktop is in the slip page;
Current desktop is in edit pattern;
Current desktop is carrying out animation;
It is currently executing drag motions;
The view of presently described application program shortcut is not in the file opened;
The view of presently described application program shortcut is at desktop or at shortcut navigation bar, and file is in Open mode;
The view of presently described application program shortcut is at desktop or shortcut navigation bar, and this view place Screen is not at the screen at current desktop place.
B18, according to claim 17 set up device, including:
Call refresh function to continue to refresh the Lycoperdon polymorphum Vitt progress put at described thematic map when detection is unsatisfactory for pre-conditioned Shade.
B19, according to setting up device described in claim B13, including:
Calculate the area of described Lycoperdon polymorphum Vitt shade, when described application program download progress changes, account for always according to download progress The ratio of progress correspondingly crops the area of equal proportion to generate Lycoperdon polymorphum Vitt progress shade to described Lycoperdon polymorphum Vitt shade.
B20, according to setting up device described in claim B13, including:
Described cutting includes fan-shaped cutting and bar shaped cutting corresponding to the mode of the Lycoperdon polymorphum Vitt progress shade of download progress.
B21, according to setting up device described in claim B13, including:
Described Lycoperdon polymorphum Vitt shade is translucent shade.
B22, according to setting up device described in claim B13, including:
Described Lycoperdon polymorphum Vitt mask layer is positioned at top layer, and described theme icon layer is positioned at next layer of described Lycoperdon polymorphum Vitt mask layer.
B23, according to setting up device described in claim B13, also include such as lower unit:
Receive unit, in the middle of any one receiving application shop or desktop, described thematic map target progress is changed Become instruction;
Readjustment unit, for according to corresponding call back function readjustment application program or application shop, changing under application program Degree of being loaded into.
B24, according to setting up device described in claim B13, including:
When calling refresh function refreshing at the Lycoperdon polymorphum Vitt progress shade that described thematic map are put on, below described theme icon Display progress bar.
C25, a kind of portable mobile termianl, including:
Touch-sensitive display, for sense operation instruction and shows corresponding interface according to this instruction;
For storing, memorizer, supports that R-T unit performs the journey of thematic map target method for building up in above-mentioned downloading process Sequence;
Communication interface, in above-mentioned downloading process, thematic map target sets up device and other equipment or communication network leads to Letter;
One or more processors, for performing the program of storage in described memorizer;
One or more application programs, wherein said one or more application programs are stored in described memorizer and quilt Being configured to be performed by the one or more processor, the one or more program is configurable for performing claim A1 To any method described in A12.
Above thematic map target method for building up and device in a kind of downloading process provided by the present invention are carried out in detail Introduce, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, in detailed description of the invention and range of application On all will change, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. thematic map target method for building up in a downloading process, it is characterised in that comprise the steps:
In response to user to the download instruction of application program in application shop, obtain the icon of this application program;
The theme icon corresponding with the icon of described application program is generated according to current desktop topic style;
Described theme icon and download progress thereof is shown at desktop.
Method for building up the most according to claim 1, it is characterised in that show described theme icon at desktop and be downloaded into The step of degree comprises the following specific steps that:
Described theme icon is shown at desktop;
Call preset shape function and obtain described thematic map target size, form parameter;
Call default drawing function to draw corresponding to described theme icon sizes, the Lycoperdon polymorphum Vitt shade of form parameter;
Obtain the download progress of current topic icon, enter corresponding to the Lycoperdon polymorphum Vitt of download progress according to described preset cutting function cutting Degree shade;
Cover described Lycoperdon polymorphum Vitt progress shade to put on to described thematic map.
Method for building up the most according to claim 1, it is characterised in that also include:
Call refresh function to refresh and cover the Lycoperdon polymorphum Vitt progress shade put at these thematic map, with according to described Lycoperdon polymorphum Vitt progress shade with The download progress of this application program of track.
Method for building up the most according to claim 3, it is characterised in that also include:
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.
5. in a downloading process, thematic map target sets up device, it is characterised in that include such as lower unit:
Acquiring unit, is used in response to user the download instruction of application program in application shop, obtains the figure of this application program Mark;
Signal generating unit, for generating the thematic map corresponding with the icon of described application program according to current desktop topic style Mark;
Display unit, for showing described theme icon and download progress thereof at desktop.
The most according to claim 5 set up device, it is characterised in that described display unit specifically includes such as lower module:
Desktop display module, for showing described theme icon at desktop;
Parameter acquisition module, is used for calling preset shape function and obtains described thematic map target size, form parameter;
Drafting module, draws the Lycoperdon polymorphum Vitt screening corresponding to described theme icon sizes, form parameter for calling default drawing function Cover;
Cutting module, for obtaining the download progress of current topic icon, corresponds to down according to described preset cutting function cutting The Lycoperdon polymorphum Vitt progress shade of degree of being loaded into;
Overlay module, is used for covering described Lycoperdon polymorphum Vitt progress shade and puts on to described thematic map.
The most according to claim 5 set up device, it is characterised in that also include:
Call refresh function to refresh and cover the Lycoperdon polymorphum Vitt progress shade put at these thematic map, with according to described Lycoperdon polymorphum Vitt progress shade with The download progress of this application program of track.
The most according to claim 7 set up device, it is characterised in that also include:
When meeting pre-conditioned, stop refreshing the Lycoperdon polymorphum Vitt progress shade that covering is put at thematic map.
The most according to claim 5 set up device, it is characterised in that also include such as lower unit:
Receive unit, in the middle of any one receiving application shop or desktop, described thematic map target progress is changed and refer to Order;
Readjustment unit, for according to corresponding call back function readjustment application program or application shop, changing being downloaded into of application program Degree.
10. a portable mobile termianl, it is characterised in that including:
Touch-sensitive display, for sense operation instruction and shows corresponding interface according to this instruction;
For storing, memorizer, supports that R-T unit performs the program of thematic map target method for building up in above-mentioned downloading process;
Communication interface, in above-mentioned downloading process, thematic map target sets up device and other equipment or communication;
One or more processors, for performing the program of storage in described memorizer;
One or more application programs, wherein said one or more application programs are stored in described memorizer and are configured For being performed by the one or more processor, the one or more program is configurable for performing according to claim 1 To any method described in 4.
CN201610580629.7A 2016-07-21 2016-07-21 Thematic map target method for building up, device in portable mobile termianl and downloading process Pending CN106155748A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610580629.7A CN106155748A (en) 2016-07-21 2016-07-21 Thematic map target method for building up, device in portable mobile termianl and downloading process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610580629.7A CN106155748A (en) 2016-07-21 2016-07-21 Thematic map target method for building up, device in portable mobile termianl and downloading process

Publications (1)

Publication Number Publication Date
CN106155748A true CN106155748A (en) 2016-11-23

Family

ID=58059521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610580629.7A Pending CN106155748A (en) 2016-07-21 2016-07-21 Thematic map target method for building up, device in portable mobile termianl and downloading process

Country Status (1)

Country Link
CN (1) CN106155748A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970868A (en) * 2017-04-10 2017-07-21 广东欧珀移动通信有限公司 Method for information display, device and terminal
CN109901849A (en) * 2019-01-30 2019-06-18 Oppo广东移动通信有限公司 Application program installation method, device, electronic equipment and storage medium
US20230161609A1 (en) * 2020-06-29 2023-05-25 Vivo Mobile Communication Co., Ltd. Application management method and apparatus, and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714826A (en) * 2015-03-23 2015-06-17 小米科技有限责任公司 Application theme loading method and device
CN105608161A (en) * 2015-12-18 2016-05-25 北京金山安全软件有限公司 Loading progress display method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104714826A (en) * 2015-03-23 2015-06-17 小米科技有限责任公司 Application theme loading method and device
CN105608161A (en) * 2015-12-18 2016-05-25 北京金山安全软件有限公司 Loading progress display method and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970868A (en) * 2017-04-10 2017-07-21 广东欧珀移动通信有限公司 Method for information display, device and terminal
WO2018188289A1 (en) * 2017-04-10 2018-10-18 广东欧珀移动通信有限公司 Information display method, apparatus, and terminal
US11137876B2 (en) 2017-04-10 2021-10-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Information display method, device and terminal for displaying progress on application icon
CN109901849A (en) * 2019-01-30 2019-06-18 Oppo广东移动通信有限公司 Application program installation method, device, electronic equipment and storage medium
CN109901849B (en) * 2019-01-30 2022-06-21 Oppo广东移动通信有限公司 Application program installation method and device, electronic equipment and storage medium
US20230161609A1 (en) * 2020-06-29 2023-05-25 Vivo Mobile Communication Co., Ltd. Application management method and apparatus, and electronic device
US11972274B2 (en) * 2020-06-29 2024-04-30 Vivo Mobile Communication Co., Ltd. Application management method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
CN108958633A (en) Multi-screen display method, device, storage medium and electronic equipment
US10048824B2 (en) User terminal device and display method thereof
KR101640463B1 (en) Operation Method And Apparatus For Portable Device
CN103119541B (en) For the method and apparatus at touch apparatus inediting main screen
CN101661375B (en) Touch control method, system and display terminal
US20140340332A1 (en) Device, method, and graphical user interface with interactive popup views
CN107506118A (en) Feature card arrangement collocation method, device and terminal device
CN106970868A (en) Method for information display, device and terminal
CN108933861A (en) Application icon sort method, device, readable storage medium storing program for executing and intelligent terminal
KR102129924B1 (en) Mobile terminal and operation method thereof
CN103544106A (en) Method and device for generating script based on control
US9910641B2 (en) Generation of application behaviors
WO2009077847A1 (en) Device feature manipulation based on presented content
CN106506401A (en) A kind of flow managing method and mobile terminal
CN105955587A (en) Hidden application icon display method and device
KR20130041629A (en) Method and apparatus for displaying icons on mobile terminal
CN104461726A (en) Displaying method of operation systems, displaying device of operation systems and terminal
CN106155748A (en) Thematic map target method for building up, device in portable mobile termianl and downloading process
CN106484262A (en) A kind of generation method of application of attending to anything else, device and terminal
CN103345348A (en) Method and device for controlling display menu
CN107743203A (en) A kind of parameter regulation means, terminal and computer-readable recording medium
US20130222299A1 (en) Method and apparatus for editing content view in a mobile device
CN105930119A (en) Display control method and device of intelligent terminal
CN106354373A (en) Icon moving method and mobile terminal
CN102710846A (en) System and method for realizing electronic book page turning based on forced induction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801

Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123