CN107193541A - The display methods and device of tasks carrying progress - Google Patents

The display methods and device of tasks carrying progress Download PDF

Info

Publication number
CN107193541A
CN107193541A CN201610150236.2A CN201610150236A CN107193541A CN 107193541 A CN107193541 A CN 107193541A CN 201610150236 A CN201610150236 A CN 201610150236A CN 107193541 A CN107193541 A CN 107193541A
Authority
CN
China
Prior art keywords
progress
self
defined shape
bitmap
notification message
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
CN201610150236.2A
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201610150236.2A priority Critical patent/CN107193541A/en
Priority to PCT/CN2016/106307 priority patent/WO2017157042A1/en
Publication of CN107193541A publication Critical patent/CN107193541A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of display methods of tasks carrying progress and device, it is related to areas of information technology, on the premise of main purpose is to ensure that the currently processed Task Progress that APP is shown in informing, the progress bar of various personalized shapes is shown, to increase the visual experience of user.The major programme of the present invention includes:Correspondence need to show that the task of progress creates notification message in informing, and the notification message is used for the progress bitmap for showing the self-defined shape of the task;The progress bitmap of self-defined shape is drawn according to the current implementation progress of the task;The progress bitmap of the self-defined shape is passed into the notification message;The progress bitmap of the self-defined shape is shown in the notification message.During the present invention is applied to the display of tasks carrying progress.

Description

The display methods and device of tasks carrying progress
Technical field
The present invention relates to areas of information technology, more particularly to a kind of tasks carrying progress display methods and Device.
Background technology
With the fast development of information technology, the use of Android system (Android system) is in current society Can it is more and more extensive, and in Android system application program (Application, APP) application It is more and more diversified.User is used APP for convenience, and APP generally will in the task of processing The progress bar of Task Progress is shown to be shown in the form of notification message in informing, so that user obtains The progress actually accomplished during tasks carrying.
Due to informing and the APP process that to belong to two different, and content is transmitted between different processes Limited resource is more, at present, and informing is when showing APP processing Task Progress, it will usually with rectangular The form of shape progress bar shows speed, completeness, the remaining size for completing task amount of task processing etc. Deng.For example, Android system by informing when showing that APP handles the progress bar of Task Progress, It is to be carried out by way of reflection, i.e., Android system is realized rectangular by ProgressBar controls The display of shape progress bar;In the running of ProgressBar controls, the current of APP is obtained first Handle Task Progress, and using the currently processed Task Progress of the APP as ProgressBar controls fortune Row parameter value, runs the ProgressBar controls, i.e., entering for APP processing tasks is shown in informing Spend bar.
The implementation method of Task Progress is handled based on above-mentioned APP, generally can only be entered with rectangle progress bar Row display, causes the display of Task Progress in informing more single, so that user can not have more preferably User's visual experience.
The content of the invention
In view of this, the embodiment of the present invention provides the display methods and device of a kind of tasks carrying progress, On the premise of main purpose is to ensure that the currently processed Task Progress that APP is shown in informing, exhibition Show the progress bar of various personalized shapes, to increase the visual experience of user.
To reach above-mentioned purpose, the present invention provides following technical scheme:
On the one hand, the present invention provides a kind of display methods of tasks carrying progress, including:
Correspondence need to show that the task of progress creates notification message in informing, and the notification message is used to show Show the progress bitmap of the self-defined shape of the task;
The progress bitmap of self-defined shape is drawn according to the current implementation progress of the task;
The progress bitmap of the self-defined shape is passed into the notification message;
The progress bitmap of the self-defined shape is shown in the notification message.
On the other hand, the display device for a kind of tasks carrying progress that the present invention is provided, including:
Creating unit, notification message is created for corresponding need to the showing progress of the task in informing, described Notification message is used for the progress bitmap for showing the self-defined shape of the task;
Drawing unit, the progress for drawing self-defined shape according to the current implementation progress of the task Bitmap;
Transfer unit, for the progress bitmap of the self-defined shape to be passed into the notification message;
Display unit, the progress bitmap for showing the self-defined shape in the notification message.
By above-mentioned technical proposal, technical scheme provided in an embodiment of the present invention at least has following advantages:
The display methods and device for a kind of tasks carrying progress that the present invention is provided, correspondence need to show progress Task the notification message of the progress bitmap for showing the self-defined shape of task is created in informing, The progress bitmap of self-defined shape is drawn according to the current implementation progress of task, and the progress bitmap is passed Pass and be shown in the notification message of informing.Enter with the rectangle that shows single in informing at present Degree bar is compared, and the present invention will will can be held in response to that need to show the task of progress according to the current of task The progress bitmap for the self-defined shape that traveling degree is drawn is shown in notification message, and completion is worked as to task The Indivitual display of preceding implementation progress, it is to avoid the unification that current implementation progress is shown in informing, And then add the visual experience of user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's Technological means, and being practiced according to the content of specification, and in order to allow the above-mentioned of the present invention and Other objects, features and advantages can become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for Those of ordinary skill in the art will be clear understanding.Accompanying drawing is only used for showing the mesh of preferred embodiment , and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol Number represent identical part.In the accompanying drawings:
Fig. 1 shows a kind of flow of the display methods of tasks carrying progress provided in an embodiment of the present invention Figure;
Fig. 2 shows the stream of the display methods of another tasks carrying progress provided in an embodiment of the present invention Cheng Tu
Fig. 3 shows that the display of informing in mobile intelligent terminal equipment provided in an embodiment of the present invention is shown It is intended to;
Fig. 4 shows the stream of the display methods of another tasks carrying progress provided in an embodiment of the present invention Cheng Tu;
Fig. 5 shows a kind of composition of the display device of tasks carrying progress provided in an embodiment of the present invention Block diagram;
Fig. 6 shows the group of the display device of another tasks carrying progress provided in an embodiment of the present invention Into block diagram;
Fig. 7 shows the group of the display device of another tasks carrying progress provided in an embodiment of the present invention Into block diagram.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure Without that should be limited by embodiments set forth here.Conversely it is able to more there is provided these embodiments Thoroughly understand the disclosure, and can be by the technology for conveying to this area of the scope of the present disclosure completely Personnel.
The embodiment of the present invention provides a kind of display methods of progress bar, as shown in figure 1, this method includes:
101st, it need to correspondingly show that the task of progress creates notification message in informing, the notification message is used In the progress bitmap for showing the self-defined shape of task.
Wherein, correspondence need to show the task of progress, and the corresponding notification message of task is created in informing When, it can be realized using any one mode, such as when the needing display progress of the task is in android System, then can use the primary control of Android system to realize, specifically can by but do not limit to Realized in following method, this method is:The view that the notification message binding has self-defined layout shows Show file, the view shows that including image in file shows control, and image shows that control is to put The primary control being placed in informing, it can load, show various types of pictures.
The progress bitmap of the self-defined shape of the task by task process according to the current schedules of tasks carrying and The arbitrary shape of advance sub-definite, the customized shape, can be circle, triangle, rhombus, The shape that any user oneself such as fan-shaped, square, trapezoidal, self-defined shape likes, specifically originally Inventive embodiments are not limited to this.
102nd, the progress bitmap of self-defined shape is drawn according to the current implementation progress of the task.
Explanation is needed exist for, task process is drawn according to the current implementation progress of the task and made by oneself The progress bitmap of adopted shape., can be by calling mapping program interface to realize specifically when drawing The drafting of the corresponding progress bitmap for oneself defining shape, specific mapping program interface, the present invention is implemented Example, without limiting, can select the mapping program used to this according to the difference using operating system Interface.
103rd, the progress bitmap of the self-defined shape is passed into the notification message.
When the progress bitmap through the self-defined shape passes to the notification message, it can use and appoint Meaning it is a kind of realized between different processes picture transmission method, the specific embodiment of the present invention to this not Limited.For example, control can be transmitted by the self-defined shape by the image of operating system Progress bitmap passes to the notification message;Can also be by plug-in card program by the self-defined shape Progress bitmap passes to the notification message;Can also be by image transmission function by the self-defined shape The progress bitmap of shape passes to the notification message.
104th, the progress bitmap of the self-defined shape is shown in the notification message.
Herein it should be noted that showing the progress bit of the self-defined shape in the notification message During figure, it would however also be possible to employ any one can show that the method for picture is self-defined by this in an announcement message The progress bitmap of shape shows that the specific embodiment of the present invention is to this without limit in the notification message System.For example, it is described to show that control is shown in the notification message by the primary image of operating system The progress bitmap of self-defined shape;It can also be realized by plug-in unit or other functions.
In the embodiment of the present invention, correspondence need to show that the task of progress is created in informing and appoint for showing The notification message of the progress bitmap for self-defined shape of being engaged in, draws according to the current implementation progress of task and makes by oneself The progress bitmap of adopted shape, and the progress bitmap is transmitted and including in the notification message of informing. With being shown at present in informing compared with single rectangle progress bar, the present invention in response to need to show into The task of degree, can be by the progress bit for the self-defined shape that will be drawn according to the current implementation progress of task Figure is shown in an announcement message, completes the Indivitual display to the current implementation progress of task, it is to avoid The unification that current implementation progress is shown in informing, and then add the visual experience of user.
Further, as described above, carry out notification message establishment and enter the transmission of figure bitmap with And the display of progress bitmap is above, it can be realized using various ways, to save system resource and letter Change the complexity of application development, it is real that the embodiment of the present invention preferably uses the primary control of operating system The display of current task implementation progress, the embodiment of the present invention is specifically with Android system (Android system) Example is specifically described.
The embodiment of the present invention provides a kind of display methods of tasks carrying progress, as shown in Fig. 2 described Method includes:
201st, it need to correspondingly show that the task of progress creates notification message in informing, the notification message is used In the progress for showing the self-defined shape of task.
For mobile intelligent terminal equipment, tablet personal computer using Android system etc., work as application program (Application, APP) perform during, it is necessary to when showing the task of progress, Android system The corresponding notification message of task is created in informing, the notification message is with showing the task of progress one by one Correspondence.
When creating the corresponding notification message of task in informing, can by but be not limited to following Method realizes that this method is:The view that the notification message binding has self-defined layout shows file, The view shows that including image in file shows control, and image shows that control is can be positioned over notice Primary control in column, it can load, show various types of pictures.Wherein, notification message is tied up Surely have self-defined layout view show file purpose be, by step 102 according to the task Current implementation progress draw the progress bitmap " reflection " of self-defined shape and give image display control, with Just image shows that control shows the progress bitmap of self-defined shape, realizes the personalized exhibition of progress strip Show.
In actual applications, the view of the self-defined layout shows that file usually is from definition and layout In XML file, the XML file control is shown comprising image;Wherein, image shows the class of control Type can use but be not limited to herein below, for example:ImageView controls.The embodiment of the present invention Show the type of control without specific restriction to image.
It should be noted that the executive agent of the embodiment of the present invention is Android system, and the present invention is real Android system in example is applied mainly to include:APP, informing, the execution of the embodiment of the present invention are depended on Interacting between APP and informing.Wherein, the APP is probably the built-in APP of Android system, Such as music, using shop;Or, it is also possible to the APP that user installs according to the actual demand of oneself, Such as so-and-so chat software, so-and-so video software, the embodiment of the present invention in Android system to installing APP types are without limiting;The other guide included in Android system, the embodiment of the present invention is herein No longer repeated one by one.
202nd, the progress bitmap of self-defined shape is drawn according to the current implementation progress of the task.
In the step, APP obtains the current implementation progress of task, and according to the current execution after acquisition Progress draws out the progress bitmap of self-defined shape., should when drawing the progress bitmap of self-defined shape The self-defined shape of progress bitmap can be including but not limited to following shape, such as:Circular, triangle Shape, rhombus, sector, square, trapezoidal, self-defined shape etc..
When the embodiment of the present invention is embodied, entering for self-defined shape is drawn by the corresponding APP of task Bitmap is spent, APP accurately draws progress bitmap according to the current implementation progress of task.Made by oneself in drafting Used during the progress bitmap of adopted shape, it is necessary to create and draw the progress bitmap of self-defined shape Painting canvas, set painting canvas attribute, for example, the color of painting canvas, size etc.;Self-defined shape The color of shape, size etc..In the embodiment of the present invention, the progress bitmap of self-defined shape is drawn, It is intended that in message informing in informing, the progress bar of various personalized shapes is shown, To increase the visual experience of user.
It should be noted that when APP startups need the task of display progress, times of the display progress Business may be one, it is also possible to be at least two;Generally, the execution speed of task is often whole with movement The hardware configuration of end equipment, network speed, bandwidth etc. are relevant, and the embodiment of the present invention is only to needing display The display shape of progress task is illustrated, therefore, tool of the embodiment of the present invention to display progress task Body number is not construed as limiting.
203rd, control is transmitted by the image of operating system to transmit the progress bitmap of the self-defined shape The notification message to informing.
In this step, it is related to interacting between APP and informing, to realize the personalized exhibition of progress bar Show;Because APP and informing are different processes, accordingly, it would be desirable to based on view transmission control realize across The view transmission of process.When the progress bitmap for self-defined shape of completing, APP can pass through image The progress bitmap of self-defined shape is transferred to the notification message of informing by transmission control, wherein, the figure Image relaying control bundle described image shows control;Image transmits control interacting in APP and informing During play a part of transmitting the progress bitmap of self-defined shape.
In the embodiment of the present invention, image shows that control is carried out with image transmission control, notification message respectively Binding;The purpose that image shows control and image transmission control bundle is, APP is by step 102 In the progress bitmap of self-defined shape completed be transferred to image display control, so that image is shown Control shows the progress bitmap of the self-defined shape;Image shows the purpose that control is bound with notification message It is, image shows control after the progress bitmap of self-defined shape of APP transmission is received, base Show that control shows the progress bitmap of the self-defined shape in informing in the image, i.e., in informing The display of middle implementation progress.
204th, show that control shows described self-defined in the notification message by the image of operating system The progress bitmap of shape.
In order to illustrate the current implementation progress of task in the form of the progress bitmap of self-defined shape It has been shown that, will be elaborated in exemplary fashion below in notification message.Exemplary, such as Fig. 3 Shown, Fig. 3 shows the display of informing in mobile intelligent terminal equipment provided in an embodiment of the present invention In schematic diagram, informing as shown in Figure 3, the task of display progress is needed comprising two startups, is needed Show that the task of progress is started by application program I and application program II respectively to generate, wherein, application The corresponding progress bitmap shapes of program I are circle, and the corresponding progress bitmap shapes of application program II are fan Shape;In informing, except the performance for showing current implementation progress, remaining performance, it can also wrap Contain but be not limited to herein below, for example:Display task current task performs speed, may need place Reason time etc..The exemplary only citings of Fig. 3, the embodiment of the present invention needs display progress to startup The number of task, the self-defined shape of progress bitmap without limit.
In the embodiment of the present invention, by the control of operating system, correspondence need to show the task of progress logical The notification message that the progress bitmap for showing the self-defined shape of task is created in column is known, according to task Current implementation progress draws the progress bitmap of self-defined shape, and by the progress bitmap transmit and including In the notification message of informing.With being shown at present in informing compared with single rectangle progress bar, The present invention will will can be drawn in response to that need to show the task of progress according to the current implementation progress of task The progress bitmap of self-defined shape be shown in notification message, complete the current implementation progress to task Indivitual display, it is to avoid the unification that current implementation progress is shown in informing, and then add The visual experience of user.And program implementation complexity is simplified, and saves system resource.
Further, as the refinement and extension to step 203 method shown in Fig. 2, passed by view When passing file the progress bitmap of self-defined shape being passed into the notification message of informing, first, APP Create in view transmission file, view transmission file and transmit control comprising image;Passed creating view During passing file, or, after completion view transmission file is created, obtain self-defined shape Progress bitmap;Secondly set according to the progress bitmap of the self-defined shape and its transmission destination Described image transmits the configured transmission of control, and the transmission destination is the notification message of informing;Finally, The progress bitmap of the self-defined shape is passed to the notice and disappeared by execution described image transmission control Breath, realizes the striding course transmission of self-defined shape progress bitmap.
In actual applications, the image transmission control included in view transmission file is RemoteViews Control, RemoteViews controls, which are described, includes the progress bitmap of self-defined shape in the logical of informing Know in message, the progress bitmap of self-defined shape is in transmittance process, the transmission starting point comprising transmission And transmission destination, in the embodiment of the present invention, the transmission starting point of the progress bitmap of self-defined shape is APP, the transmission destination of the progress bitmap of self-defined shape is the notification message of informing;APP roots The transmission of the progress bitmap of self-defined shape is completed according to the transmission destination of setting.Creating view transmission During file, due to the difference between different programming languages, cause to create the difference that view transmits document method Different, the embodiment of the present invention transmits the specific control type of control to image and creates view transmission file Used programming language is without limiting.
Further, hold as described in step 202, being made by oneself being drawn according to the current implementation progress of task During the progress bitmap of adopted shape, the information of the progress bitmap of self-defined shape, the letter can be set Breath includes but is not limited to herein below:The performance of current implementation progress, remaining performance, display Task current task perform speed, may need processing time, the color of the self-defined shape of progress bitmap, Size, the color of the performance of current implementation progress, color of remaining performance etc..Correspondence is with painting The progress bitmap of self-defined shape is made, when showing the progress bitmap of the self-defined shape in an announcement message, The display parameters for setting image to show control according to the information of the progress bitmap of the self-defined shape are needed, I.e. display parameters are consistent with the information of the progress bitmap of self-defined shape;It is provided with view and shows control Display parameters after, perform the view show control, the display parameters based on setting are in notification message The progress bitmap of the middle self-defined shape of display.It should be noted that according to the progress bit of self-defined shape The information of figure sets the display parameters of image display control, its object is to, it is ensured that self-defined shape Synchronism that progress bitmap is shown, uniformity.
Further, due to itself not possessing picture function in many APP, but in the embodiment of the present invention, The progress bitmap that APP draws self-defined shape is the essential feature of the present invention, therefore, on solving Problem is stated, APP is when drawing the progress bitmap of self-defined shape according to current implementation progress, first, The current implementation progress of acquisition task;Secondly, mapping program interface is called;Finally, based on drawing journey The progress bitmap of the corresponding self-defined shape of the current implementation progress of sequence interface renderings.In actual applications, The mapping program interface that APP is called is Canvas, and the embodiment of the present invention is specific to mapping program interface Type is without limiting;APP is obtained by Handler methods and worked as when obtaining its current implementation progress Preceding implementation progress, the specific current implementation progress how obtained about Handler, refer to prior art In detailed description, the embodiment of the present invention do not repeated one by one herein.
Further, above-described embodiment, which is described in detail in informing, shows entering for independent personalized shape Bar is spent, still, in actual applications, progress bar represents answering corresponding to Android system processing task With the processing progress of program, and APP is real-time processing display progress task, if APP processing displays It is inconsistent that the progress sequence of progress task shows that progress updates with progress bar, then cause the display of progress bar wrong By mistake.In order to solve the above problems, the embodiment of the present invention also provides the display methods of another progress bar, As shown in figure 4, this method includes:
401st, it need to correspondingly show that the task of progress creates notification message in informing, the notification message is used In the progress bitmap for showing the self-defined shape of task.
402nd, the progress bitmap of self-defined shape is drawn according to the current implementation progress of the task.
403rd, the progress bitmap of the self-defined shape is passed into the notification message.
404th, the progress bitmap of the self-defined shape is shown in the notification message.
Wherein, step 401 is to step 404, with step 201 as shown in Figure 2 to step 204, reality Existing mode is identical, about the explanation of step 401 to step 404, refer to above-mentioned steps 201 to step Rapid 204 detailed description, the embodiment of the present invention is no longer repeated one by one herein.
It should be noted that when showing that control shows the progress bitmap of self-defined shape by image, by The time interval that the progress bitmap of self-defined shape is drawn in APP is shorter, from user level, enters Degree bar changes and is continually changing over time;Said from machine level, when image transmission control will be certainly The progress bitmap for defining shape is transferred to image display control, and when performing image display control, will The progress bitmap of different self-defined shapes is shown that the principle forms the process class of animation with Flash Seemingly.
The progress bitmap (display of progress bar) and display progress of self-defined shape are shown in notification message The implementation progress of task is closely bound up, wherein, display progress task is:0%-100%;When progress is appointed Be engaged in for 0% when, illustrate the task just start execution, when progress task be 100% when, illustrate the task Executed is finished.
405th, the update cycle of progress bar in the informing is obtained.
Update cycle of progress bar in the informing, that is, the progress bitmap for drawing self-defined shape is painted Cycle processed, the progress bar is corresponded with tasks carrying progress.The update cycle can configure, can It can also be 1s or 2s etc., the renewal in the config update cycle using the config update cycle as 0.5s Period assignment it is smaller, the degree of accuracy that progress bar is shown is bigger, update cycle configuration it is bigger, The degree of accuracy that progress bar is shown is smaller.The embodiment of the present invention is to the update cycle of task without limiting.
406th, whether the Task Progress shown in the progress bitmap of the self-defined shape is completion status.
If it is determined that being unfinished state, then step 402 is continued executing with, until the Task Progress is completion State;If it is determined that being completion status, then step 407 is performed.
In actual applications, whether be completion status, that is, determine to show in progress bitmap if determining Task Progress Whether the Task Progress shown is 100%, however, it is determined that the progress task of display is 100%, then illustrates task Progress is completion status;If it is determined that display progress task is not 100%, then it is not complete to illustrate Task Progress Into state, still need to APP circulations and perform step 402- steps 406, until it is determined that Task Progress is completion State.
407th, the progress bitmap of the self-defined shape is removed.
After it is determined that Task Progress is completion status, the progress bar in notification message is removed, so as to In the display of other task correspondence progress bars for needing display progress.When removing progress bar, call pre- Put removal function schedule bar.
Further, as the realization to method shown in above-mentioned Fig. 1, another embodiment of the present invention is also carried A kind of display device of tasks carrying progress is supplied.The device embodiment is corresponding with preceding method embodiment, For ease of reading, present apparatus embodiment is no longer carried out one by one to the detail content in preceding method embodiment Repeat, realized it should be understood that the device in the present embodiment can be corresponded in preceding method embodiment Full content.
The embodiment of the present invention provides a kind of display device of tasks carrying progress, as shown in figure 5, the dress Put including:
Creating unit 51, need to show the task of progress in informing establishment notification message, institute for correspondence State the progress bitmap that notification message is used to show the self-defined shape of the task;
Drawing unit 52, for drawing entering for self-defined shape according to the current implementation progress of the task Spend bitmap;
Transfer unit 53, for the progress bitmap of the self-defined shape to be passed into the notification message;
Display unit 54, the progress bitmap for showing the self-defined shape in the notification message.
Further, as shown in fig. 6, the transfer unit 53 includes:
First transfer module 531, control is transmitted by the self-defined shape for the image by operating system The progress bitmap of shape passes to the notification message;
Or second transfer module 532, for by plug-in card program by the progress bit of the self-defined shape Figure passes to the notification message;
Or the 3rd transfer module 533, for the entering the self-defined shape by image transmission function Degree bitmap passes to the notification message.
Wherein, first transfer module 531 includes:
Submodule is set, for the progress bitmap and its transmission destination according to the self-defined shape Described image is set to transmit the configured transmission of control;Wherein, the transmission destination is the informing The notification message;
Submodule is handled, is made by oneself for performing the described image transmission control that the creation module is created by described The progress bitmap of adopted shape passes to the notification message.
Further, as shown in fig. 6, the display unit 54 includes:
First display module 541, shows control in the notification message for the image by operating system The progress bitmap of the middle display self-defined shape.
Wherein, the first display module 541, including:
Submodule is set, and the information for the progress bitmap according to the self-defined shape sets the figure Display parameters as showing control;
Submodule is operated, shows described in the notification message for performing described image display control The progress bitmap of self-defined shape.
Further, as shown in fig. 6, the drawing unit 52 includes:
Acquisition module 521, the current implementation progress for obtaining the task;
Drafting module 522, for the current of the self-defined shape according to tasks carrying progress and the task Implementation progress, draws the progress bitmap of the corresponding self-defined shape of the current implementation progress.
Further, as shown in fig. 7, described device also includes:
Determining unit 55, for making by oneself described in being shown in the display unit 54 in the notification message After the progress bitmap of adopted shape, the Task Progress shown in the progress bitmap of the self-defined shape is No is completion status;The progress bar is corresponded with the task;
Operating unit 56, for when the determining unit 55 is defined as unfinished state, according to progress The self-defined shape that the bitmap update cycle will periodically draw according to the implementation progress of the task Progress bitmap be transferred to the notification message, and show in the notification message the self-defined shape The progress bitmap of shape, until the Task Progress is completion status;
Unit 57 is removed, for when the determining unit 55 is defined as completion status, by the self-defined shape The progress bitmap of shape is removed.
In the embodiment of the present invention, correspondence need to show that the task of progress is created in informing and appoint for showing The notification message of the progress bitmap for self-defined shape of being engaged in, draws according to the current implementation progress of task and makes by oneself The progress bitmap of adopted shape, and the progress bitmap is transmitted and including in the notification message of informing. With being shown at present in informing compared with single rectangle progress bar, the present invention in response to need to show into The task of degree, can be by the progress bit for the self-defined shape that will be drawn according to the current implementation progress of task Figure is shown in an announcement message, completes the Indivitual display to the current implementation progress of task, it is to avoid The unification that current implementation progress is shown in informing, and then add the visual experience of user.And The display of Task Progress is performed by the control of operating system, program implementation complexity is simplified, and Save system resource.
The display device of the tasks carrying progress include processor and memory, above-mentioned creating unit, Drawing unit, transfer unit, display unit etc. as program unit storage in memory, by Reason device performs the said procedure unit of storage in memory to realize corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can To set one or more, being realized by adjusting kernel parameter is ensuring to show APP in informing Currently processed Task Progress on the premise of, the progress bar of various personalized shapes is shown, to increase use The visual experience at family.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM), memory includes at least one storage chip.
Present invention also provides a kind of computer program product, when being performed on data processing equipment, It is adapted for carrying out the program code of initialization there are as below methods step:Correspondence need to show the task of progress logical Know that column creates notification message, the notification message is used for the progress bit for showing the self-defined shape of the task Figure;The progress bitmap of self-defined shape is drawn according to the current implementation progress of the task;By described in certainly The progress bitmap for defining shape passes to the notification message;Described in being shown in the notification message certainly Define the progress bitmap of shape.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system, Or computer program product.Therefore, the application can be implemented using complete hardware embodiment, complete software The form of embodiment in terms of example or combination software and hardware.Moreover, the application can be used at one Or multiple computer-usable storage mediums for wherein including computer usable program code are (including but not Be limited to magnetic disk storage, CD-ROM, optical memory etc.) on the computer program product implemented Form.
The application be with reference to according to the display methods of figure in the chart of the embodiment of the present application, device and The flow chart and/or block diagram of computer program product is described.It should be understood that can be by computer program Instruct implementation process figure and/or each flow and/or square frame and flow chart in block diagram and/ Or the flow in block diagram and/or the combination of square frame.These computer program instructions can be provided to general Computer, special-purpose computer, the processor of Embedded Processor or other programmable data processing devices To produce a machine so that held by the processor of computer or other programmable data processing devices Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one side of block diagram The device for the function of being specified in frame or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable datas to handle In the computer-readable memory that equipment works in a specific way so that be stored in this and computer-readable deposit Instruction in reservoir, which is produced, includes the manufacture of command device, and command device realization is in flow chart one The function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices On so that series of operation steps is performed on computer or other programmable devices to produce computer The processing of realization, so that the instruction performed on computer or other programmable devices is provided for realizing Specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/ Output interface, network interface and internal memory.
Memory potentially includes the volatile memory in computer-readable medium, random access memory The form such as device (RAM) and/or Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Memory is the example of computer-readable medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with Realize that information is stored by any method or technique.Information can be computer-readable instruction, data knot Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electricity can Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light Disk read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium, The information that can be accessed by a computing device available for storage.Defined according to herein, it is computer-readable Medium does not include temporary computer readable media (transitory media), the data-signal and load of such as modulation Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model Within enclosing.

Claims (14)

1. a kind of display methods of tasks carrying progress, it is characterised in that including:
Correspondence need to show that the task of progress creates notification message in informing, and the notification message is used to show Show the progress bitmap of the self-defined shape of the task;
The progress bitmap of self-defined shape is drawn according to the current implementation progress of the task;
The progress bitmap of the self-defined shape is passed into the notification message;
The progress bitmap of the self-defined shape is shown in the notification message.
2. according to the method described in claim 1, it is characterised in that by entering for the self-defined shape Degree bitmap, which passes to the notification message, to be included:
Control is transmitted by the image of operating system the progress bitmap of the self-defined shape is passed into institute State notification message;
Or by plug-in card program by the progress bitmap of the self-defined shape pass to it is described notice disappear Breath;
Or the progress bitmap of the self-defined shape is passed to by the notice by image transmission function Message.
3. method according to claim 2, it is characterised in that passed by the image of operating system Passing control the progress bitmap of the self-defined shape is passed into the notification message includes:
Described image is set to transmit according to the progress bitmap of the self-defined shape and its transmission destination The configured transmission of control;Wherein, the transmission destination is the notification message of the informing;
Perform described image transmission control and the progress bitmap of the self-defined shape is passed into the notice Message.
4. method according to claim 3, it is characterised in that shown in the notification message The progress bitmap of the self-defined shape includes:
Show that control shows the self-defined shape in the notification message by the image of operating system Progress bitmap.
5. method according to claim 4, it is characterised in that shown by the image of operating system Show that control shows that the progress bitmap of the self-defined shape includes in the notification message:
The display of described image display control is set according to the information of the progress bitmap of the self-defined shape Parameter;
Perform described image and show that control shows the progress of the self-defined shape in the notification message Bitmap.
6. according to the method described in claim 1, it is characterised in that current according to the task is held The progress bitmap that traveling degree draws self-defined shape includes:
Obtain the current implementation progress of the task;
According to the self-defined shape of tasks carrying progress and the current implementation progress of the task, institute is drawn State the progress bitmap of the corresponding self-defined shape of current implementation progress.
7. the method according to any one of claim 1-6, it is characterised in that notified described After the progress bitmap that the self-defined shape is shown in message, methods described also includes:
Whether the Task Progress shown in the progress bitmap for determining the self-defined shape is completion status;
If it is determined that be unfinished state, then periodically will be according to described according to the progress bitmap update cycle The progress bitmap for the self-defined shape that the implementation progress of task is drawn is transferred to the notification message, And the progress bitmap of the self-defined shape is shown in the notification message, until the Task Progress For completion status;
If it is determined that being completion status, then the progress bitmap of the self-defined shape is removed.
8. a kind of display device of tasks carrying progress, it is characterised in that including:
Creating unit, notification message is created for corresponding need to the showing progress of the task in informing, described Notification message is used for the progress bitmap for showing the self-defined shape of the task;
Drawing unit, the progress for drawing self-defined shape according to the current implementation progress of the task Bitmap;
Transfer unit, for the progress bitmap of the self-defined shape to be passed into the notification message;
Display unit, the progress bitmap for showing the self-defined shape in the notification message.
9. device according to claim 8, it is characterised in that the transfer unit includes:
First transfer module, control is transmitted by the self-defined shape for the image by operating system Progress bitmap pass to the notification message;
Or second transfer module, for by plug-in card program by the progress bitmap of the self-defined shape Pass to the notification message;
Or the 3rd transfer module, for by image transmission function by the progress of the self-defined shape Bitmap passes to the notification message.
10. method according to claim 9, it is characterised in that the first transfer module bag Include:
Submodule is set, for the progress bitmap and its transmission destination according to the self-defined shape Described image is set to transmit the configured transmission of control;Wherein, the transmission destination is the informing The notification message;
Submodule is handled, will be described for performing the described image transmission control that the creation module is created The progress bitmap of self-defined shape passes to the notification message.
11. device according to claim 10, it is characterised in that the display unit includes:
First display module, shows control in the notification message for the image by operating system Show the progress bitmap of the self-defined shape.
12. device according to claim 11, it is characterised in that the first display module bag Include:
Submodule is set, and the information for the progress bitmap according to the self-defined shape sets the figure Display parameters as showing control;
Submodule is operated, shows described in the notification message for performing described image display control The progress bitmap of self-defined shape.
13. device according to claim 8, it is characterised in that the drawing unit includes:
Acquisition module, the current implementation progress for obtaining the task;
Drafting module, holds for the self-defined shape according to tasks carrying progress and the current of the task Traveling degree, draws the progress bitmap of the corresponding self-defined shape of the current implementation progress.
14. the device according to any one of claim 8-13, it is characterised in that described device Also include:
Determining unit, for showing the self-defined shape in the notification message in the display unit After the progress bitmap of shape, the Task Progress shown in the progress bitmap of the self-defined shape whether be Completion status;
Operating unit, for when the determining unit is defined as unfinished state, according to progress bitmap Update cycle periodically entering the self-defined shape drawn according to the implementation progress of the task Degree bitmap is transferred to the notification message, and shows in the notification message the self-defined shape Progress bitmap, until the Task Progress is completion status;
Unit is removed, for when the determining unit is defined as completion status, by the self-defined shape The progress bitmap of shape is removed.
CN201610150236.2A 2016-03-15 2016-03-15 The display methods and device of tasks carrying progress Pending CN107193541A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610150236.2A CN107193541A (en) 2016-03-15 2016-03-15 The display methods and device of tasks carrying progress
PCT/CN2016/106307 WO2017157042A1 (en) 2016-03-15 2016-11-17 Display method and apparatus for task execution progress, and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610150236.2A CN107193541A (en) 2016-03-15 2016-03-15 The display methods and device of tasks carrying progress

Publications (1)

Publication Number Publication Date
CN107193541A true CN107193541A (en) 2017-09-22

Family

ID=59850511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610150236.2A Pending CN107193541A (en) 2016-03-15 2016-03-15 The display methods and device of tasks carrying progress

Country Status (2)

Country Link
CN (1) CN107193541A (en)
WO (1) WO2017157042A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562388A (en) * 2017-10-11 2018-01-09 郑州云海信息技术有限公司 Method for reading data, device and medium during a kind of RAID initialization
CN109828826A (en) * 2019-01-10 2019-05-31 新华三云计算技术有限公司 A kind of polling method of Task Progress, apparatus and system
CN110019059A (en) * 2017-12-04 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of Timing Synchronization
CN110505256A (en) * 2018-05-16 2019-11-26 腾讯科技(深圳)有限公司 Collaborative task condition processing method, device, storage medium and computer equipment
CN112035188A (en) * 2020-09-28 2020-12-04 中移(杭州)信息技术有限公司 Control generation method and device, network equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114721759B (en) * 2022-03-31 2023-11-24 珠海豹趣科技有限公司 Android desktop view display method and device and electronic equipment
CN114816948A (en) * 2022-06-27 2022-07-29 统信软件技术有限公司 Method and device for checking task progress of working area and recording method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035936A (en) * 2010-11-22 2011-04-27 东莞宇龙通信科技有限公司 Implementation method of terminal task manager and terminal
CN102841732A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Method and device for managing tasks on terminal
CN102929493A (en) * 2012-09-26 2013-02-13 东莞宇龙通信科技有限公司 Terminal and method for centralized control of application program task
CN103218115A (en) * 2013-03-06 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for realizing optimized display of notification bar
CN103699473A (en) * 2013-12-13 2014-04-02 乐视网信息技术(北京)股份有限公司 Indicating method and device for task progress
CN104133662A (en) * 2013-07-02 2014-11-05 腾讯科技(深圳)有限公司 Operation progress display method and relevant device
US20150095819A1 (en) * 2013-09-30 2015-04-02 Samsung Electronics Co., Ltd. Method for displaying previews in a widget
WO2015076905A2 (en) * 2013-11-22 2015-05-28 Vose Technical Systems, Inc. Systems and methods for shared surveillance

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244100B (en) * 2013-06-13 2018-09-11 腾讯科技(深圳)有限公司 progress bar control method and device
CN103995771B (en) * 2014-05-30 2017-12-01 北京安兔兔科技有限公司 Task Progress methods of exhibiting and system
CN104239053B (en) * 2014-09-12 2018-03-23 广州华多网络科技有限公司 Progress bar display methods and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035936A (en) * 2010-11-22 2011-04-27 东莞宇龙通信科技有限公司 Implementation method of terminal task manager and terminal
CN102841732A (en) * 2011-06-23 2012-12-26 腾讯科技(深圳)有限公司 Method and device for managing tasks on terminal
CN102929493A (en) * 2012-09-26 2013-02-13 东莞宇龙通信科技有限公司 Terminal and method for centralized control of application program task
CN103218115A (en) * 2013-03-06 2013-07-24 广东欧珀移动通信有限公司 Method and mobile terminal for realizing optimized display of notification bar
CN104133662A (en) * 2013-07-02 2014-11-05 腾讯科技(深圳)有限公司 Operation progress display method and relevant device
US20150095819A1 (en) * 2013-09-30 2015-04-02 Samsung Electronics Co., Ltd. Method for displaying previews in a widget
WO2015076905A2 (en) * 2013-11-22 2015-05-28 Vose Technical Systems, Inc. Systems and methods for shared surveillance
CN103699473A (en) * 2013-12-13 2014-04-02 乐视网信息技术(北京)股份有限公司 Indicating method and device for task progress

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵启明: "《Android典型技术模块开发详解》", 31 August 2012, 中国铁道出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562388A (en) * 2017-10-11 2018-01-09 郑州云海信息技术有限公司 Method for reading data, device and medium during a kind of RAID initialization
CN110019059A (en) * 2017-12-04 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of Timing Synchronization
CN110505256A (en) * 2018-05-16 2019-11-26 腾讯科技(深圳)有限公司 Collaborative task condition processing method, device, storage medium and computer equipment
CN109828826A (en) * 2019-01-10 2019-05-31 新华三云计算技术有限公司 A kind of polling method of Task Progress, apparatus and system
CN112035188A (en) * 2020-09-28 2020-12-04 中移(杭州)信息技术有限公司 Control generation method and device, network equipment and storage medium

Also Published As

Publication number Publication date
WO2017157042A1 (en) 2017-09-21

Similar Documents

Publication Publication Date Title
CN107193541A (en) The display methods and device of tasks carrying progress
CN109146084B (en) Machine learning method and device based on cloud computing
CN103914450A (en) Method and device for presenting web graphics in mobile terminal platform
US20170286068A1 (en) Development support system
WO2014014443A1 (en) Workflow compilation
CN109754072B (en) Processing method of network offline model, artificial intelligence processing device and related products
CN111399814A (en) Visual arrangement method and device for construction tasks
CN106406839A (en) Processing method and device of screen adaption file
CN111026494A (en) Business process processing method, device and equipment
CN110633959A (en) Method, device, equipment and medium for creating approval task based on graph structure
CN112862396B (en) Distribution range setting method, distribution range setting device, electronic equipment and readable storage medium
CN109542779A (en) Test method, device and storage medium
CN116643823A (en) Visual configuration method, device and medium for resource data in production flow
CN111413876A (en) Method for configuring control page of APP, cloud platform and terminal equipment
CN111158681B (en) Web front-end topological graph plug-in implementation method and system
CN107025126B (en) Resource scheduling method, NFVO and system
CN113536514A (en) Data processing method, device, equipment and storage medium
CN109857964A (en) A kind of heating power drawing drawing method, device, storage medium and the processor of page operation
CN104050692A (en) Frame display method and frame display device in photograph beautifying process
CN109146870B (en) Data interaction method and device between modules
CN106371899A (en) Thread parameter processing method and apparatus
EP2608004B1 (en) Method and device for movement of image object
CN109284828A (en) A kind of hyper parameter tuning method, device and equipment
CN109522532A (en) A kind of calculation method and device of line chart selection range
CN114443753A (en) Map data display method and device for cleaning robot, robot and medium

Legal Events

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

Effective date of registration: 20200605

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510640 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.