WO2017181657A1 - Control method and apparatus for download notification bar - Google Patents

Control method and apparatus for download notification bar Download PDF

Info

Publication number
WO2017181657A1
WO2017181657A1 PCT/CN2016/105552 CN2016105552W WO2017181657A1 WO 2017181657 A1 WO2017181657 A1 WO 2017181657A1 CN 2016105552 W CN2016105552 W CN 2016105552W WO 2017181657 A1 WO2017181657 A1 WO 2017181657A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
notification bar
manager
download task
task
Prior art date
Application number
PCT/CN2016/105552
Other languages
French (fr)
Chinese (zh)
Inventor
于兰
赖文杰
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
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 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017181657A1 publication Critical patent/WO2017181657A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present patent application relates to the field of application technologies, and in particular, to a method and apparatus for controlling a download notification bar applied to a smart terminal.
  • the intelligent terminal is a kind of embedded computer system equipment, so its architecture framework is consistent with the embedded system architecture; at the same time, the intelligent terminal is an application direction of the embedded system, and its application scenario setting is relatively clear, therefore, its The architecture is more explicit than the ordinary embedded system structure, the granularity is finer, and has its own characteristics.
  • the current smart terminal may be such that the PC continues to run the application in the background in a multi-threaded manner after opening an application, not exiting the application, but when the user needs to know the current feedback of the running background application. Or status, or when you want to manipulate a running background application, you need to re-enter the application's program interface to view or manipulate.
  • the usual application scenario is: after clicking download or all downloading, it will not stay in the download control interface, and will continue to be in the music information. The interface stays to view other content or go to other apps.
  • the user needs to pause the download or download and needs to play the downloaded music, then it is necessary to re-enter the download control interface or the local music interface, find the song just downloaded, and then click to play. That is to say, by downloading the notification bar, only the download control page can be clicked, and then the corresponding operation is performed, and the notification bar has no operation item to provide a corresponding operation.
  • an embodiment of the present invention provides a method for controlling a download notification bar, including: when a download task changes, the download manager summarizes all download task information currently controlled and sends the summarized download task information to the notification bar.
  • the notification bar manager displays the download task information in the notification bar; if the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request; the download manager downloads the corresponding download according to the user manipulation request The task performs the requested manipulation.
  • all download tasks currently controlled include a download task that has been downloaded and a download task that is currently in progress; the download task information includes one or more of the following: all downloads currently controlled The number of tasks, the name of each download task, the download progress of each download task, and whether each download task has an error.
  • the method further includes: the download manager is preset Loading a task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; the download manager sends the download task list to the notification bar manager, and the notification bar manager displays the download task list in the notification The column is displayed, and the information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
  • the notification bar manager broadcasts the user manipulation request, including: sending a user manipulation request to the notification bar by clicking or pressure touching the notification bar,
  • the notification bar broadcasts the user manipulation request through a notification bar manager, the user manipulation request including a download task and a manipulation operation on the download task.
  • the download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request, including: the download manager monitors the broadcast of the notification bar manager, and acquires the user manipulation.
  • the download task in the request and the manipulation operation on the download task perform the requested manipulation operation on the corresponding download task.
  • an embodiment of the present invention provides an apparatus for controlling a download notification bar, including: a download manager, configured to summarize all download task information currently controlled and download the summarized download task when the download task changes.
  • the information is sent to the notification bar manager; the notification bar manager is configured to display the download task information in the notification bar; if the notification bar receives the user manipulation request, broadcast the user manipulation request; the download manager is further used to: The user manipulation request performs the requested manipulation operation on the corresponding download task.
  • all download tasks currently controlled include a download task that has been downloaded and a download task that is currently in progress; the download task information includes one or more of the following: all downloads currently controlled The number of tasks, the name of each download task, the download progress of each download task, and whether each download task has an error.
  • the download manager is further configured to: preset download a task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; sends the download task list to the notification bar manager, and the notification bar manager displays the download task list in the notification bar.
  • the information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
  • the notification bar manager is specifically configured to: when receiving a user manipulation request sent by the notification bar, broadcast the user manipulation request, where the user manipulation request includes a download task and Download the manipulation of the task.
  • the download manager is specifically configured to: the download manager monitors a broadcast of the notification bar manager, acquires a download task in the user manipulation request, and performs a manipulation operation on the download task, Perform the requested manipulation on the corresponding download task.
  • an embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is The at least one processor executes to enable the at least one processor to perform a method of controlling a download notification bar provided by any embodiment of the present invention.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions for causing the computer to execute a download notification bar provided by any embodiment of the present invention. Control method.
  • an embodiment of the present invention further provides a computer program product, including: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to execute the method for controlling the download notification bar provided by any embodiment of the present invention.
  • the method and device for downloading the notification bar provided by the embodiment of the invention enable the user to directly perform the manipulation operation of the download task in the notification bar, that is, to implement the download management by controlling the download task information displayed in the notification bar. Control the corresponding download task Control operation, without the user repeatedly entering the download program page for download processing, thereby improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an apparatus for controlling a download notification bar according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • Intelligent terminals such as touch screen smart terminals
  • mobile touch screen terminals such as ipads, mobile phones, etc.
  • mobile touch screen terminals which are conventional operating systems, such as Andriod, ios, etc. limited.
  • the following embodiment specifically describes how to save the operation steps and simplify the operation mode.
  • FIG. 1 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention. Referring to Figure 1, the method includes:
  • Step 11 When the download task changes, the download manager summarizes all the download task information currently controlled and sends the summarized download task information to the notification bar manager for display.
  • Step 12 If the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request.
  • Step 13 The download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request.
  • FIG. 2 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention. Referring to Figure 2, the method includes:
  • Step 21 The download manager obtains a download task.
  • the download task may be a music file download, and of course, other types of file downloads, and no limitation is imposed herein.
  • Step 22 When the download task changes, the download manager is notified by the callback.
  • the download task change may be a new download task, and the progress of the current download task is suspended, continued, completed, and the like.
  • Step 23 The download manager summarizes all download task information currently controlled, and sends the summarized download task information to the notification bar manager.
  • the download task information may include the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, whether each download task has an error, and the like, and is not limited herein.
  • All download tasks currently controlled include the download task that has been downloaded and the download task currently in progress.
  • the code implementation can be:
  • the download manager summarizes all download task information currently controlled, and sends the summarized download task information to the notification bar manager.
  • the download manager further sets a download task list in advance, and the download manager uses the download task list to save the download task that has been downloaded and can be played.
  • the code for downloading the task list is implemented as:
  • the name, number and play button of the successfully downloaded song are displayed. After the play is clicked, the successfully downloaded song displayed in the status bar is displayed. For example, 22 videos have been successfully downloaded, and all the successful downloads are played. First song.
  • the download when the network switches to the mobile network, the download is suspended, and the download can be continued through the notification bar, in case the user consumes the traffic in the unknown situation, causing the loss; if the network fails, the download fails, and the notification bar is also available. Continue to download.
  • Step 24 The notification bar manager performs display of the download task information in the notification bar according to the preset display mode.
  • the display mode is set in advance, for example, the notification bar displays the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, whether each download task has an error, and the like.
  • Step 25 The notification bar receives the user manipulation request, and broadcasts the user manipulation request through the notification bar manager.
  • the user sends a user manipulation request by operating the notification bar.
  • the operation of the notification bar may be a click or a pressure touch, which may be a click, a double click, or a preset pressure value in the notification column. Download task information.
  • the user manipulation request may include a download task and a manipulation operation on the download task, and the manipulation operation may be a pause download task, a download task, or a download completed download Load the task, etc.; the notification bar broadcasts the user manipulation request through the notification bar manager.
  • Step 26 The download manager listens to the broadcast of the notification bar manager, acquires a user manipulation request, and performs the requested manipulation operation on the download task in the user manipulation request.
  • the download manager itself listens to the broadcast of the notification bar manager as a broadcast receiver, and acquires a user manipulation request broadcasted by the notification bar manager, thereby acquiring a download task in the user manipulation request and a manipulation operation on the download task. .
  • the download manager performs the requested manipulation on the download task in the user manipulation request, and the code is implemented as:
  • FIG. 3 is a schematic diagram of an apparatus for controlling a download notification bar according to an embodiment of the present invention. As shown in Figure 3, the device comprises:
  • the download manager is configured to summarize all download task information currently controlled and send the summarized download task information to the notification bar manager when the download task changes;
  • a notification bar manager for displaying the download task information in the notification bar; if the notification bar receives the user manipulation request, broadcasting the user manipulation request;
  • the download manager is further configured to: perform the requested manipulation operation on the corresponding download task according to the user manipulation request.
  • All download tasks currently controlled include download tasks that have been downloaded and current Ongoing download task.
  • the download task information includes one or more of the following: the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, and whether each download task has an error.
  • the download manager is further configured to: preset a download task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; and sends the download task list to the notification bar manager to notify
  • the column manager displays the download task list in the notification bar, and the information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
  • the notification bar manager is specifically configured to: when receiving a user manipulation request sent by the notification bar, broadcast the user manipulation request, where the user manipulation request includes a download task and a manipulation operation on the download task.
  • the download manager is specifically configured to: the download manager monitors the broadcast of the notification bar manager, acquires a download task in the user manipulation request, and performs a manipulation operation on the download task, and performs the requested request on the corresponding download task. Manipulate the operation.
  • the operation of downloading the notification bar is performed on the smart terminal, and the music file is downloaded as an example.
  • the specific example may be as follows:
  • a download task notification is generated in the notification bar, and the download task information includes the downloaded song name, the number, the overall download progress, and the pause download button.
  • the user when the user clicks the pause download task in the notification bar, the user can directly pause the download of the music file without entering the download program page to perform the download suspension processing; The user continues to download, click to resume the download task in the notification bar, and also does not need to enter the download program page to download and restore processing.
  • the method and device for downloading the notification bar provided by the embodiment of the invention enable the user to directly perform the manipulation operation of the download task in the notification bar, that is, to implement the download management by controlling the download task information displayed in the notification bar.
  • the corresponding download task controlled by the device performs the manipulation operation, and the user does not need to repeatedly enter the download program page for download processing, thereby improving the user experience.
  • FIG. 5 is a schematic structural diagram of hardware of a method for controlling a download notification bar according to Embodiment 5 of the present invention, where the device includes:
  • processors 510 and memory 520 one processor 510 is taken as an example in FIG.
  • the manipulation method of downloading the notification bar may further include: an input device 530 and an output device 550.
  • the processor 510, the memory 520, the input device 530, and the output device 550 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 520 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program instruction corresponding to a method for downloading a notification bar in the embodiment of the present invention. / Module (for example, the download manager and the notification bar manager shown in FIG. 3).
  • the processor 510 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions, and modules stored in the memory 520, that is, the method for controlling the download notification bar in the foregoing method embodiments.
  • the memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by the device for controlling the download notification bar, etc. .
  • the memory 520 may include a high speed random access memory, and may also include a non-transitory memory, such as at least one Disk storage devices, flash memory devices, or other non-transitory solid state storage devices.
  • the memory 520 can optionally include a memory remotely located relative to the processor 510 that can be connected via a network to a device for manipulating the download notification bar. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 530 can receive input numeric or character information and generate key signal inputs related to user settings and function controls of the device for manipulating the download notification bar.
  • the output device 550 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform a manipulation method of the download notification bar in any of the above method embodiments.
  • the above product can execute the control method of the download notification bar provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the control method of the download notification bar provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the technical details that are not described in detail in this embodiment refer to the method for controlling the download notification bar provided by the embodiment of the present invention.
  • the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
  • a sixth embodiment of the present invention relates to a non-transitory computer readable storage medium storing computer executable instructions capable of executing a method for controlling a download notification bar in any of the above method embodiments .
  • the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
  • a seventh embodiment of the invention relates to a computer program product comprising: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer executes the method of controlling the download notification bar in any of the above method embodiments.
  • the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
  • the invention is applicable to a wide variety of general purpose or special purpose computer system environments or configurations.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A control method and apparatus for a download notification bar, the method comprising: when a download task changes, a download manager aggregates information of all the currently controlled download tasks and sends the aggregated download task information to a notification bar manager, and the notification bar manager displays the download task information on the notification bar (11); if the notification bar receives a user control request, the notification bar manager broadcasts the user control request (12); and the download manager, on the basis of the user control request, implements the requested control operation on the corresponding download task (13). The user does not need to re-enter the download program page to implement download processing, thereby improving the user experience.

Description

一种下载通知栏的操控方法和装置Method and device for downloading notification bar
本申请基于申请号为2016102455763、申请日为2016/04/19的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is filed on the basis of the Chinese Patent Application No. PCT Application No.
技术领域Technical field
本专利申请涉及应用程序技术领域,尤其涉及一种应用于智能终端的下载通知栏的操控方法和装置。The present patent application relates to the field of application technologies, and in particular, to a method and apparatus for controlling a download notification bar applied to a smart terminal.
背景技术Background technique
智能终端是一类嵌入式计算机系统设备,因此其体系结构框架与嵌入式系统体系结构是一致的;同时,智能终端作为嵌入式系统的一个应用方向,其应用场景设定较为明确,因此,其体系结构比普通嵌入式系统结构更加明确,粒度更细,且拥有一些自身的特点。The intelligent terminal is a kind of embedded computer system equipment, so its architecture framework is consistent with the embedded system architecture; at the same time, the intelligent terminal is an application direction of the embedded system, and its application scenario setting is relatively clear, therefore, its The architecture is more explicit than the ordinary embedded system structure, the granularity is finer, and has its own characteristics.
如今智能终端随着安装了不同类型的应用程序之后,成为了具备对应功能的触屏终端,例如移动触屏终端中游戏应用、文本应用、音乐播放应用等。Nowadays, with the installation of different types of applications, smart terminals have become touch-screen terminals with corresponding functions, such as game applications, text applications, music playback applications, etc. in mobile touch-screen terminals.
目前的智能终端可以是如PC端在开启一个应用程序之后,以多线程的处理方式在后台继续运行该应用程序,并非退出应用程序,然而当用户需要知悉正在运行的后台应用程序当前的反馈信息或状态,或者要对正在运行的后台应用程序进行操控时,均需要再次进入应用程序的程序界面进行观看或操控。The current smart terminal may be such that the PC continues to run the application in the background in a multi-threaded manner after opening an application, not exiting the application, but when the user needs to know the current feedback of the running background application. Or status, or when you want to manipulate a running background application, you need to re-enter the application's program interface to view or manipulate.
例如,用户在使用音乐应用进行下载时,通常的应用场景为:点击下载或全部下载后,不会停留在下载操控界面,会继续在音乐资讯 界面停留查看其他内容,或进入其他应用。此时,若用户需要暂停下载或下载完毕需要播放已下载的音乐时,则需要再重新进入下载操控界面或本地音乐界面,查找到刚下载的歌曲,再点击进行播放。也就是说,通过下载通知栏仅能点击进入下载操控页面,再进行相应操作,通知栏并无操作项提供对应操作。For example, when a user downloads using a music application, the usual application scenario is: after clicking download or all downloading, it will not stay in the download control interface, and will continue to be in the music information. The interface stays to view other content or go to other apps. At this time, if the user needs to pause the download or download and needs to play the downloaded music, then it is necessary to re-enter the download control interface or the local music interface, find the song just downloaded, and then click to play. That is to say, by downloading the notification bar, only the download control page can be clicked, and then the corresponding operation is performed, and the notification bar has no operation item to provide a corresponding operation.
上述提及的当用户需要知悉正在运行的后台下载程序当前的反馈信息或状态,或者要对正在运行的后台下载程序进行操控时,均需要再次进入下载程序页面进行处理,不仅操作步骤相对繁杂,而且由于多次重复操作,导致了用户体验性低。When the user needs to know the current feedback information or status of the running background download program, or when the user wants to control the running background download program, it is necessary to enter the download program page again for processing, and the operation steps are relatively complicated. Moreover, due to repeated operations, the user experience is low.
发明内容Summary of the invention
本发明部分实施例的目的在于提供一种下载通知栏的操控方法和装置,无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。It is an object of some embodiments of the present invention to provide a method and apparatus for downloading a notification bar, which does not require the user to repeatedly enter the download program page for download processing, thereby improving the user experience.
第一方面,本发明实施例提供了一种下载通知栏的操控方法,包括:当下载任务变化时,下载管理器汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器,通知栏管理器将下载任务信息在通知栏进行显示;如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求;下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作。In a first aspect, an embodiment of the present invention provides a method for controlling a download notification bar, including: when a download task changes, the download manager summarizes all download task information currently controlled and sends the summarized download task information to the notification bar. a manager, the notification bar manager displays the download task information in the notification bar; if the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request; the download manager downloads the corresponding download according to the user manipulation request The task performs the requested manipulation.
在本发明的一实施例中,所述当前控制的所有下载任务包括已经下载结束的下载任务和当前进行中的下载任务;所述下载任务信息包括下面的一个或多个:当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误。In an embodiment of the present invention, all download tasks currently controlled include a download task that has been downloaded and a download task that is currently in progress; the download task information includes one or more of the following: all downloads currently controlled The number of tasks, the name of each download task, the download progress of each download task, and whether each download task has an error.
在本发明的一实施例中,所述方法还包括:下载管理器预先设置下 载任务列表,所述下载任务列表保存当前控制的所有下载任务信息中已经下载完成的下载任务信息;下载管理器将下载任务列表发送给通知栏管理器,通知栏管理器将下载任务列表在通知栏进行显示,显示的下载任务列表的信息包括下面的一个或多个:已下载任务的数量、各下载任务的名称、及各下载任务的播放按钮。In an embodiment of the invention, the method further includes: the download manager is preset Loading a task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; the download manager sends the download task list to the notification bar manager, and the notification bar manager displays the download task list in the notification The column is displayed, and the information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
在本发明的一实施例中,所述如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求,包括:通过对通知栏进行点击或压力触摸向通知栏发送用户操控请求,通知栏通过通知栏管理器广播所述用户操控请求,所述用户操控请求包括下载任务和对所述下载任务的操控操作。In an embodiment of the present invention, if the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request, including: sending a user manipulation request to the notification bar by clicking or pressure touching the notification bar, The notification bar broadcasts the user manipulation request through a notification bar manager, the user manipulation request including a download task and a manipulation operation on the download task.
在本发明的一实施例中,所述下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作,包括:下载管理器监听通知栏管理器的广播,获取所述用户操控请求中的下载任务和对所述下载任务的操控操作,对相应的下载任务进行所请求的操控操作。In an embodiment of the present invention, the download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request, including: the download manager monitors the broadcast of the notification bar manager, and acquires the user manipulation. The download task in the request and the manipulation operation on the download task perform the requested manipulation operation on the corresponding download task.
第二方面,本发明实施例提供了一种用于操控下载通知栏的装置,包括:下载管理器,用于当下载任务变化时,汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器;通知栏管理器,用于将下载任务信息在通知栏进行显示;如果通知栏接收到用户操控请求,广播所述用户操控请求;下载管理器,还用于:根据所述用户操控请求对相应的下载任务进行所请求的操控操作。In a second aspect, an embodiment of the present invention provides an apparatus for controlling a download notification bar, including: a download manager, configured to summarize all download task information currently controlled and download the summarized download task when the download task changes. The information is sent to the notification bar manager; the notification bar manager is configured to display the download task information in the notification bar; if the notification bar receives the user manipulation request, broadcast the user manipulation request; the download manager is further used to: The user manipulation request performs the requested manipulation operation on the corresponding download task.
在本发明的一实施例中,所述当前控制的所有下载任务包括已经下载结束的下载任务和当前进行中的下载任务;所述下载任务信息包括下面的一个或多个:当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误。In an embodiment of the present invention, all download tasks currently controlled include a download task that has been downloaded and a download task that is currently in progress; the download task information includes one or more of the following: all downloads currently controlled The number of tasks, the name of each download task, the download progress of each download task, and whether each download task has an error.
在本发明的一实施例中,所述下载管理器,还用于:预先设置下载 任务列表,所述下载任务列表保存当前控制的所有下载任务信息中已经下载完成的下载任务信息;将下载任务列表发送给通知栏管理器,通知栏管理器将下载任务列表在通知栏进行显示,显示的下载任务列表的信息包括下面的一个或多个:已下载任务的数量、各下载任务的名称、及各下载任务的播放按钮。In an embodiment of the invention, the download manager is further configured to: preset download a task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; sends the download task list to the notification bar manager, and the notification bar manager displays the download task list in the notification bar. The information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
在本发明的一实施例中,所述通知栏管理器,具体用于:当接收通知栏发送的用户操控请求时,广播所述用户操控请求,所述用户操控请求包括下载任务和对所述下载任务的操控操作。In an embodiment of the present invention, the notification bar manager is specifically configured to: when receiving a user manipulation request sent by the notification bar, broadcast the user manipulation request, where the user manipulation request includes a download task and Download the manipulation of the task.
在本发明的一实施例中,所述下载管理器,具体用于:下载管理器监听通知栏管理器的广播,获取所述用户操控请求中的下载任务和对所述下载任务的操控操作,对相应的下载任务进行所请求的操控操作。In an embodiment of the present invention, the download manager is specifically configured to: the download manager monitors a broadcast of the notification bar manager, acquires a download task in the user manipulation request, and performs a manipulation operation on the download task, Perform the requested manipulation on the corresponding download task.
第三方面,本发明实施例还提供了一种电子设备,包括:至少一个处理器;以及存储器;其中,所述存储器存储有可被所述至少一个处理器执行的程序,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本发明任意实施例提供的下载通知栏的操控方法。In a third aspect, an embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory; wherein the memory stores a program executable by the at least one processor, where the instruction is The at least one processor executes to enable the at least one processor to perform a method of controlling a download notification bar provided by any embodiment of the present invention.
第四方面,本发明实施例还提供了一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机指令用于使所述计算机执行本发明任意实施例提供的下载通知栏的操控方法。In a fourth aspect, the embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer executable instructions for causing the computer to execute a download notification bar provided by any embodiment of the present invention. Control method.
第五方面,本发明实施例还提供了一种计算机程序产品,包括:存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本发明任意实施例提供的下载通知栏的操控方法。In a fifth aspect, an embodiment of the present invention further provides a computer program product, including: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer The computer is caused to execute the method for controlling the download notification bar provided by any embodiment of the present invention.
本发明实施例提供的一种下载通知栏的操控方法和装置,使用户在通知栏就能直接的进行下载任务的操控操作,也就是说,通过操控通知栏显示的下载任务信息实现对下载管理器控制的相应的下载任务进行操 控操作,无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。The method and device for downloading the notification bar provided by the embodiment of the invention enable the user to directly perform the manipulation operation of the download task in the notification bar, that is, to implement the download management by controlling the download task information displayed in the notification bar. Control the corresponding download task Control operation, without the user repeatedly entering the download program page for download processing, thereby improving the user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图逐一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly introduced one by one. It is obvious that the drawings in the following description are Some embodiments of the present invention may also be used to obtain other drawings based on these drawings without departing from the art.
图1为本发明实施例提供的下载通知栏的操控方法的流程示意图;1 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention;
图2为本发明实施例提供的下载通知栏的操控方法的详细流程示意图;2 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention;
图3为本发明实施例提供的用于操控下载通知栏的装置示意图;FIG. 3 is a schematic diagram of an apparatus for controlling a download notification bar according to an embodiment of the present invention;
图4(a)和4(b)为应用实例示意图;4(a) and 4(b) are schematic diagrams of application examples;
图5为本发明实施例提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
智能终端,例如触屏智能终端,此处尤其指定为移动触屏终端,如ipad、手机等,在前述的移动触屏终端中为常规的操作系统,如Andriod、ios等,此处具体不做限定。 Intelligent terminals, such as touch screen smart terminals, are specifically designated as mobile touch screen terminals, such as ipads, mobile phones, etc., in the aforementioned mobile touch screen terminals, which are conventional operating systems, such as Andriod, ios, etc. limited.
当用户需要在智能终端中对在后台运行的下载程序,例如音乐下载任务进行操控时,为了使得用户无需再次进入下载管理器,下面的实施例具体描述了如何节省操作步骤,简化操作方式。When the user needs to manipulate the download program running in the background, such as a music download task, in the smart terminal, in order to prevent the user from having to enter the download manager again, the following embodiment specifically describes how to save the operation steps and simplify the operation mode.
实施例一 Embodiment 1
图1为本发明实施例提供的下载通知栏的操控方法的流程示意图。请参阅图1,该方法包括:FIG. 1 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention. Referring to Figure 1, the method includes:
步骤11、当下载任务变化时,下载管理器汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器进行显示。 Step 11. When the download task changes, the download manager summarizes all the download task information currently controlled and sends the summarized download task information to the notification bar manager for display.
步骤12、如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求。Step 12: If the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request.
步骤13、下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作。Step 13: The download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request.
实施例二Embodiment 2
图2为本发明实施例提供的下载通知栏的操控方法的详细流程示意图。请参阅图2,该方法包括:FIG. 2 is a schematic flowchart of a method for controlling a download notification bar according to an embodiment of the present invention. Referring to Figure 2, the method includes:
步骤21、下载管理器获取下载任务。Step 21: The download manager obtains a download task.
在本步骤中,下载任务可以是音乐文件下载,当然也可以是其他类型文件下载,在此不做限制。In this step, the download task may be a music file download, and of course, other types of file downloads, and no limitation is imposed herein.
步骤22、当下载任务变化时,通过回调通知下载管理器。Step 22: When the download task changes, the download manager is notified by the callback.
在本步骤中,下载任务变化可以是新增下载任务,对当前下载任务暂停、继续、完成等进度变化。In this step, the download task change may be a new download task, and the progress of the current download task is suspended, continued, completed, and the like.
步骤23、下载管理器汇总当前控制的所有下载任务信息,并将汇总后的下载任务信息发送给通知栏管理器。 Step 23: The download manager summarizes all download task information currently controlled, and sends the summarized download task information to the notification bar manager.
在本步骤中,下载任务信息可以包括当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误等等,在此并不做限制。In this step, the download task information may include the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, whether each download task has an error, and the like, and is not limited herein.
当前控制的所有下载任务包括已经下载结束的下载任务和当前进行中的下载任务,代码实现可以为:All download tasks currently controlled include the download task that has been downloaded and the download task currently in progress. The code implementation can be:
Figure PCTCN2016105552-appb-000001
Figure PCTCN2016105552-appb-000001
下载管理器汇总当前控制的所有下载任务信息,并将汇总后的下载任务信息发送给通知栏管理器。The download manager summarizes all download task information currently controlled, and sends the summarized download task information to the notification bar manager.
在本发明实施例中,下载管理器还预先设置了下载任务列表,下载管理器使用下载任务列表保存已经下载完成并可以播放的下载任务。In the embodiment of the present invention, the download manager further sets a download task list in advance, and the download manager uses the download task list to save the download task that has been downloaded and can be played.
下载任务列表的代码实现为:The code for downloading the task list is implemented as:
Figure PCTCN2016105552-appb-000002
Figure PCTCN2016105552-appb-000002
Figure PCTCN2016105552-appb-000003
Figure PCTCN2016105552-appb-000003
下载任务完成后,显示成功下载的歌曲名称、数量及播放按钮,点击播放后,播放状态栏中显示的已下载成功的歌曲,例如:已下载成功22首,则全部播放此次下载成功的22首歌曲。After the download task is completed, the name, number and play button of the successfully downloaded song are displayed. After the play is clicked, the successfully downloaded song displayed in the status bar is displayed. For example, 22 videos have been successfully downloaded, and all the successful downloads are played. First song.
此外,在本发明具体实施例中,网络切换至移动网络时暂停下载,可通过通知栏继续下载,以防用户在未知情况下耗费流量造成损失;无联网时导致下载失败,也可通过通知栏继续下载。In addition, in the specific embodiment of the present invention, when the network switches to the mobile network, the download is suspended, and the download can be continued through the notification bar, in case the user consumes the traffic in the unknown situation, causing the loss; if the network fails, the download fails, and the notification bar is also available. Continue to download.
步骤24、通知栏管理器根据预先设置的显示模式在通知栏进行下载任务信息的显示。Step 24: The notification bar manager performs display of the download task information in the notification bar according to the preset display mode.
在本步骤中,预先设置显示模式,例如在通知栏显示当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误等等。In this step, the display mode is set in advance, for example, the notification bar displays the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, whether each download task has an error, and the like.
步骤25、通知栏接收到用户操控请求,通过通知栏管理器广播用户操控请求。Step 25: The notification bar receives the user manipulation request, and broadcasts the user manipulation request through the notification bar manager.
在本步骤中,用户通过对通知栏进行操作来发送用户操控请求,本实施例中对通知栏进行操作可以是点击或压力触摸,可以是单击、双击或预置压力值按压通知栏中的下载任务信息。In this step, the user sends a user manipulation request by operating the notification bar. In this embodiment, the operation of the notification bar may be a click or a pressure touch, which may be a click, a double click, or a preset pressure value in the notification column. Download task information.
用户操控请求可以包括下载任务和对该下载任务的操控操作,该操控操作可以是暂停下载任务,继续下载任务,还是播放已下载完成的下 载任务等等;通知栏通过通知栏管理器广播用户操控请求。The user manipulation request may include a download task and a manipulation operation on the download task, and the manipulation operation may be a pause download task, a download task, or a download completed download Load the task, etc.; the notification bar broadcasts the user manipulation request through the notification bar manager.
步骤26、下载管理器监听通知栏管理器的广播,获取用户操控请求,并对用户操控请求中的下载任务进行所请求的操控操作。Step 26: The download manager listens to the broadcast of the notification bar manager, acquires a user manipulation request, and performs the requested manipulation operation on the download task in the user manipulation request.
在本步骤中,下载管理器自身作为广播接受者监听通知栏管理器的广播,获取通知栏管理器广播的用户操控请求,从而获取该用户操控请求中的下载任务和对该下载任务的操控操作。In this step, the download manager itself listens to the broadcast of the notification bar manager as a broadcast receiver, and acquires a user manipulation request broadcasted by the notification bar manager, thereby acquiring a download task in the user manipulation request and a manipulation operation on the download task. .
下载管理器对用户操控请求中的下载任务进行所请求的操控操作,代码实现为:The download manager performs the requested manipulation on the download task in the user manipulation request, and the code is implemented as:
Figure PCTCN2016105552-appb-000004
Figure PCTCN2016105552-appb-000004
Figure PCTCN2016105552-appb-000005
Figure PCTCN2016105552-appb-000005
实施例三Embodiment 3
图3为本发明实施例提供的用于操控下载通知栏的装置示意图。如图3所示,该装置包括:FIG. 3 is a schematic diagram of an apparatus for controlling a download notification bar according to an embodiment of the present invention. As shown in Figure 3, the device comprises:
下载管理器,用于当下载任务变化时,汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器;The download manager is configured to summarize all download task information currently controlled and send the summarized download task information to the notification bar manager when the download task changes;
通知栏管理器,用于将下载任务信息在通知栏进行显示;如果通知栏接收到用户操控请求,广播所述用户操控请求;a notification bar manager for displaying the download task information in the notification bar; if the notification bar receives the user manipulation request, broadcasting the user manipulation request;
下载管理器,还用于:根据所述用户操控请求对相应的下载任务进行所请求的操控操作。The download manager is further configured to: perform the requested manipulation operation on the corresponding download task according to the user manipulation request.
具体地,specifically,
所述当前控制的所有下载任务包括已经下载结束的下载任务和当前 进行中的下载任务。All download tasks currently controlled include download tasks that have been downloaded and current Ongoing download task.
所述下载任务信息包括下面的一个或多个:当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误。The download task information includes one or more of the following: the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, and whether each download task has an error.
所述下载管理器,还用于:预先设置下载任务列表,所述下载任务列表保存当前控制的所有下载任务信息中已经下载完成的下载任务信息;将下载任务列表发送给通知栏管理器,通知栏管理器将下载任务列表在通知栏进行显示,显示的下载任务列表的信息包括下面的一个或多个:已下载任务的数量、各下载任务的名称、及各下载任务的播放按钮。The download manager is further configured to: preset a download task list, where the download task list saves download task information that has been downloaded in all download task information currently controlled; and sends the download task list to the notification bar manager to notify The column manager displays the download task list in the notification bar, and the information of the displayed download task list includes one or more of the following: the number of downloaded tasks, the name of each download task, and the play button of each download task.
所述通知栏管理器,具体用于:当接收通知栏发送的用户操控请求时,广播所述用户操控请求,所述用户操控请求包括下载任务和对所述下载任务的操控操作。The notification bar manager is specifically configured to: when receiving a user manipulation request sent by the notification bar, broadcast the user manipulation request, where the user manipulation request includes a download task and a manipulation operation on the download task.
所述下载管理器,具体用于:下载管理器监听通知栏管理器的广播,获取所述用户操控请求中的下载任务和对所述下载任务的操控操作,对相应的下载任务进行所请求的操控操作。The download manager is specifically configured to: the download manager monitors the broadcast of the notification bar manager, acquires a download task in the user manipulation request, and performs a manipulation operation on the download task, and performs the requested request on the corresponding download task. Manipulate the operation.
实施例四Embodiment 4
在本发明的一个具体实施例中,在智能终端上进行下载通知栏的操控,以下载音乐文件为例,具体实例可以如下:In a specific embodiment of the present invention, the operation of downloading the notification bar is performed on the smart terminal, and the music file is downloaded as an example. The specific example may be as follows:
如图4(a)所示,点击音乐文件进行下载后在通知栏生成下载任务通知,下载任务信息包括下载的歌曲名称、数量、整体下载进度及暂停下载按钮。As shown in FIG. 4(a), after downloading the music file for downloading, a download task notification is generated in the notification bar, and the download task information includes the downloaded song name, the number, the overall download progress, and the pause download button.
如图4(b)所示,用户在通知栏点击暂停下载任务,就可以直接暂停音乐文件的下载,而不用进入下载程序页面进行下载暂停处理;如果 用户向继续下载,在通知栏点击恢复下载任务即可,同样不需要进入下载程序页面进行下载恢复处理。As shown in FIG. 4(b), when the user clicks the pause download task in the notification bar, the user can directly pause the download of the music file without entering the download program page to perform the download suspension processing; The user continues to download, click to resume the download task in the notification bar, and also does not need to enter the download program page to download and restore processing.
本发明实施例提供的一种下载通知栏的操控方法和装置,使用户在通知栏就能直接的进行下载任务的操控操作,也就是说,通过操控通知栏显示的下载任务信息实现对下载管理器控制的相应的下载任务进行操控操作,无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。The method and device for downloading the notification bar provided by the embodiment of the invention enable the user to directly perform the manipulation operation of the download task in the notification bar, that is, to implement the download management by controlling the download task information displayed in the notification bar. The corresponding download task controlled by the device performs the manipulation operation, and the user does not need to repeatedly enter the download program page for download processing, thereby improving the user experience.
实施例五Embodiment 5
图5是本发明实施例五提供的下载通知栏的操控方法的硬件结构示意图,该设备包括:FIG. 5 is a schematic structural diagram of hardware of a method for controlling a download notification bar according to Embodiment 5 of the present invention, where the device includes:
一个或多个处理器510以及存储器520,图5中以一个处理器510为例。One or more processors 510 and memory 520, one processor 510 is taken as an example in FIG.
下载通知栏的操控方法还可以包括:输入装置530和输出装置550。The manipulation method of downloading the notification bar may further include: an input device 530 and an output device 550.
处理器510、存储器520、输入装置530和输出装置550可以通过总线或者其他方式连接,图5中以通过总线连接为例。The processor 510, the memory 520, the input device 530, and the output device 550 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器520作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块,如本发明实施例中的下载通知栏的操控方法对应的程序指令/模块(例如,附图3所示的下载管理器以及通知栏管理器)。处理器510通过运行存储在存储器520中的非暂态软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例中的下载通知栏的操控方法。The memory 520 is used as a non-transitory computer readable storage medium, and can be used for storing a non-transitory software program, a non-transitory computer executable program, and a module, such as a program instruction corresponding to a method for downloading a notification bar in the embodiment of the present invention. / Module (for example, the download manager and the notification bar manager shown in FIG. 3). The processor 510 executes various functional applications and data processing of the server by running the non-transitory software programs, instructions, and modules stored in the memory 520, that is, the method for controlling the download notification bar in the foregoing method embodiments.
存储器520可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储供用于操控下载通知栏的装置使用所创建的数据等。此外,存储器520可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一 个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施例中,存储器520可选包括相对于处理器510远程设置的存储器,这些远程存储器可以通过网络连接至用于操控下载通知栏的装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 520 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by the device for controlling the download notification bar, etc. . In addition, the memory 520 may include a high speed random access memory, and may also include a non-transitory memory, such as at least one Disk storage devices, flash memory devices, or other non-transitory solid state storage devices. In some embodiments, the memory 520 can optionally include a memory remotely located relative to the processor 510 that can be connected via a network to a device for manipulating the download notification bar. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置530可接收输入的数字或字符信息,以及产生与用于操控下载通知栏的装置的用户设置以及功能控制有关的键信号输入。输出装置550可包括显示屏等显示设备。 Input device 530 can receive input numeric or character information and generate key signal inputs related to user settings and function controls of the device for manipulating the download notification bar. The output device 550 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器520中,当被所述一个或者多个处理器510执行时,执行上述任意方法实施例中的下载通知栏的操控方法。The one or more modules are stored in the memory 520, and when executed by the one or more processors 510, perform a manipulation method of the download notification bar in any of the above method embodiments.
上述产品可执行本发明任意实施例所提供的下载通知栏的操控方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的下载通知栏的操控方法。The above product can execute the control method of the download notification bar provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For the technical details that are not described in detail in this embodiment, refer to the method for controlling the download notification bar provided by the embodiment of the present invention.
与现有技术相比,本实施方式的有益效果为:用户在通知栏就能直接的进行下载任务的操控操作,且无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。Compared with the prior art, the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
实施例六Embodiment 6
本发明第六实施方式涉及一种非暂态计算机可读存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的下载通知栏的操控方法。A sixth embodiment of the present invention relates to a non-transitory computer readable storage medium storing computer executable instructions capable of executing a method for controlling a download notification bar in any of the above method embodiments .
与现有技术相比,本实施方式的有益效果为:用户在通知栏就能直接的进行下载任务的操控操作,且无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。Compared with the prior art, the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
实施例七 Example 7
本发明七实施方式涉及一种计算机程序产品,包括:存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任意方法实施例中的下载通知栏的操控方法。A seventh embodiment of the invention relates to a computer program product comprising: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer executes the method of controlling the download notification bar in any of the above method embodiments.
与现有技术相比,本实施方式的有益效果为:用户在通知栏就能直接的进行下载任务的操控操作,且无需用户重复进入下载程序页面进行下载处理,从而提高了用户体验。Compared with the prior art, the beneficial effect of the embodiment is that the user can directly perform the manipulation operation of the download task in the notification bar, and the user does not need to repeatedly enter the download program page to perform the download process, thereby improving the user experience.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本发明可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。The invention is applicable to a wide variety of general purpose or special purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor based systems, set-top boxes, programmable consumer electronics devices, network PCs, small computers, mainframe computers, including A distributed computing environment of any of the above systems or devices, and the like.
最后应说明的是:上面对本发明的各种实施方式的描述以描述的目的提供给本领域技术人员。其不旨在是穷举的、或者不旨在将本发明限制于单个公开的实施方式。如上所述,本发明的各种替代和变化对于上述技术所属领域技术人员而言将是显而易见的。因此,虽然已经具体讨论了一些另选的实施方式,但是其它实施方式将是显而易见的,或者本领域技术人员相对容易得出。本发明旨在包括在此已经讨论过的本发明的所有替代、修改、和变化,以及落在上述申请的精神和范围内的其它实施方式。 Finally, it should be noted that the above description of various embodiments of the invention is provided to those skilled in the art for the purpose of description. It is not intended to be exhaustive or to limit the invention to the single disclosed embodiments. As described above, various alternatives and modifications of the present invention will be apparent to those skilled in the art. Thus, while a few alternative embodiments have been discussed in detail, other embodiments will be apparent or apparent to those skilled in the art. The present invention is intended to cover all alternatives, modifications, and variations of the present invention, as well as other embodiments that fall within the spirit and scope of the application.

Claims (13)

  1. 一种下载通知栏的操控方法,应用于智能终端,包括:A method for downloading a notification bar is applied to a smart terminal, including:
    当下载任务变化时,下载管理器汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器,通知栏管理器将下载任务信息在通知栏进行显示;When the download task changes, the download manager summarizes all the download task information currently controlled and sends the summarized download task information to the notification bar manager, and the notification bar manager displays the download task information in the notification bar;
    如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求;If the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request;
    下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作。The download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request.
  2. 根据权利要求1所述的下载通知栏的操控方法,其中,所述当前控制的所有下载任务包括已经下载结束的下载任务和当前进行中的下载任务;The method for controlling a download notification bar according to claim 1, wherein all download tasks of the current control include a download task that has been downloaded and a download task that is currently in progress;
    所述下载任务信息包括下面的一个或多个:当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误。The download task information includes one or more of the following: the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, and whether each download task has an error.
  3. 根据权利要求1或2所述的下载通知栏的操控方法,其中,所述方法还包括:The method for controlling a download notification bar according to claim 1 or 2, wherein the method further comprises:
    下载管理器预先设置下载任务列表,所述下载任务列表保存当前控制的所有下载任务信息中已经下载完成的下载任务信息;The download manager presets a download task list, and the download task list saves download task information that has been downloaded and downloaded in all download task information currently controlled;
    下载管理器将下载任务列表发送给通知栏管理器,通知栏管理器将下载任务列表在通知栏进行显示,显示的下载任务列表的信息包括下面的一个或多个:已下载任务的数量、各下载任务的名称、及各下载任务的播放按钮。The download manager sends the download task list to the notification bar manager, and the notification bar manager displays the download task list in the notification bar. The displayed download task list information includes one or more of the following: the number of downloaded tasks, each Download the name of the task and the play button for each download task.
  4. 根据权利要求1,2或3所述的下载通知栏的操控方法,其中,所述如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求,包括:The method for controlling a download notification bar according to claim 1, 2 or 3, wherein if the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request, including:
    通过对通知栏进行点击或压力触摸向通知栏发送用户操控请求,通知栏 通过通知栏管理器广播所述用户操控请求,所述用户操控请求包括下载任务和对所述下载任务的操控操作。Send a user manipulation request to the notification bar by clicking or pressure touching the notification bar, the notification bar The user manipulation request is broadcast by a notification bar manager, the user manipulation request including a download task and a manipulation operation on the download task.
  5. 根据权利要求4所述的下载通知栏的操控方法,其中,所述下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作,包括:The method for controlling a download notification bar according to claim 4, wherein the download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request, including:
    下载管理器监听通知栏管理器的广播,获取所述用户操控请求中的下载任务和对所述下载任务的操控操作,对相应的下载任务进行所请求的操控操作。The download manager listens to the broadcast of the notification bar manager, acquires the download task in the user manipulation request, and the manipulation operation on the download task, and performs the requested manipulation operation on the corresponding download task.
  6. 一种用于操控下载通知栏的装置,包括:A device for manipulating a download notification bar, comprising:
    下载管理器,用于当下载任务变化时,汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器;The download manager is configured to summarize all download task information currently controlled and send the summarized download task information to the notification bar manager when the download task changes;
    通知栏管理器,用于将下载任务信息在通知栏进行显示;如果通知栏接收到用户操控请求,广播所述用户操控请求;a notification bar manager for displaying the download task information in the notification bar; if the notification bar receives the user manipulation request, broadcasting the user manipulation request;
    下载管理器,还用于:根据所述用户操控请求对相应的下载任务进行所请求的操控操作。The download manager is further configured to: perform the requested manipulation operation on the corresponding download task according to the user manipulation request.
  7. 根据权利要求6所述的用于操控下载通知栏的装置,其中,所述当前控制的所有下载任务包括已经下载结束的下载任务和当前进行中的下载任务;The apparatus for controlling a download notification bar according to claim 6, wherein all download tasks of the current control include a download task that has been downloaded and a download task that is currently in progress;
    所述下载任务信息包括下面的一个或多个:当前控制的所有下载任务的数量、各下载任务的名称、各下载任务的下载进度、各下载任务是否发生错误。The download task information includes one or more of the following: the number of all download tasks currently controlled, the name of each download task, the download progress of each download task, and whether each download task has an error.
  8. 根据权利要求6或7所述的用于操控下载通知栏的装置,其中,所述下载管理器,还用于:The apparatus for controlling a download notification bar according to claim 6 or 7, wherein the download manager is further configured to:
    预先设置下载任务列表,所述下载任务列表保存当前控制的所有下载任务信息中已经下载完成的下载任务信息; Determining a download task list, where the download task list saves download task information that has been downloaded and downloaded in all download task information currently controlled;
    将下载任务列表发送给通知栏管理器,通知栏管理器将下载任务列表在通知栏进行显示,显示的下载任务列表的信息包括下面的一个或多个:已下载任务的数量、各下载任务的名称、及各下载任务的播放按钮。Sending the download task list to the notification bar manager, the notification bar manager displays the download task list in the notification bar, and the displayed download task list information includes one or more of the following: the number of downloaded tasks, and the download tasks. The name, and the play button for each download task.
  9. 根据权利要求6,7或8所述的用于操控下载通知栏的装置,其中,所述通知栏管理器,具体用于:The apparatus for controlling a download notification bar according to claim 6, 7 or 8, wherein the notification bar manager is specifically configured to:
    当接收通知栏发送的用户操控请求时,广播所述用户操控请求,所述用户操控请求包括下载任务和对所述下载任务的操控操作。When the user manipulation request sent by the notification bar is received, the user manipulation request is broadcasted, and the user manipulation request includes a download task and a manipulation operation on the download task.
  10. 根据权利要求9所述的用于操控下载通知栏的装置,其中,所述下载管理器,具体用于:The device for controlling a download notification bar according to claim 9, wherein the download manager is specifically configured to:
    下载管理器监听通知栏管理器的广播,获取所述用户操控请求中的下载任务和对所述下载任务的操控操作,对相应的下载任务进行所请求的操控操作。The download manager listens to the broadcast of the notification bar manager, acquires the download task in the user manipulation request, and the manipulation operation on the download task, and performs the requested manipulation operation on the corresponding download task.
  11. 一种电子设备,包括:An electronic device comprising:
    至少一个处理器;以及,At least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:
    当下载任务变化时,下载管理器汇总当前控制的所有下载任务信息并将汇总后的下载任务信息发送给通知栏管理器,通知栏管理器将下载任务信息在通知栏进行显示;When the download task changes, the download manager summarizes all the download task information currently controlled and sends the summarized download task information to the notification bar manager, and the notification bar manager displays the download task information in the notification bar;
    如果通知栏接收到用户操控请求,通知栏管理器广播所述用户操控请求;If the notification bar receives the user manipulation request, the notification bar manager broadcasts the user manipulation request;
    下载管理器根据所述用户操控请求对相应的下载任务进行所请求的操控操作。The download manager performs the requested manipulation operation on the corresponding download task according to the user manipulation request.
  12. 一种非暂态计算机可读存储介质,存储有计算机指令,所述计算机 指令用于使所述计算机执行权利要求1至5任一所述方法。A non-transitory computer readable storage medium storing computer instructions, the computer The instructions are for causing the computer to perform the method of any of claims 1 to 5.
  13. 一种计算机程序产品,包括:存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1至5任一所述方法。 A computer program product comprising: a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, causing the computer to perform claim 1 5 any of the methods described.
PCT/CN2016/105552 2016-04-19 2016-11-12 Control method and apparatus for download notification bar WO2017181657A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610245576.3A CN105930057A (en) 2016-04-19 2016-04-19 Method and device for controlling downloading notification bars
CN201610245576.3 2016-04-19

Publications (1)

Publication Number Publication Date
WO2017181657A1 true WO2017181657A1 (en) 2017-10-26

Family

ID=56839196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105552 WO2017181657A1 (en) 2016-04-19 2016-11-12 Control method and apparatus for download notification bar

Country Status (2)

Country Link
CN (1) CN105930057A (en)
WO (1) WO2017181657A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567659A (en) * 2022-02-25 2022-05-31 北京百度网讯科技有限公司 Cloud mobile phone control method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930057A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for controlling downloading notification bars

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000063804A1 (en) * 1999-04-20 2000-10-26 Joo Jin Yong Advertising systems and methods using interval
US20070220590A1 (en) * 2006-02-23 2007-09-20 Microsoft Corporation Non-intrusive background synchronization when authentication is required
CN102314347A (en) * 2010-09-08 2012-01-11 微软公司 Notice hurdle user interface controls
CN102368194A (en) * 2010-09-14 2012-03-07 微软公司 DOWNLOAD BAR USER INTERFACE CONTROLlER
CN105930057A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for controlling downloading notification bars

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000063804A1 (en) * 1999-04-20 2000-10-26 Joo Jin Yong Advertising systems and methods using interval
US20070220590A1 (en) * 2006-02-23 2007-09-20 Microsoft Corporation Non-intrusive background synchronization when authentication is required
CN102314347A (en) * 2010-09-08 2012-01-11 微软公司 Notice hurdle user interface controls
CN102368194A (en) * 2010-09-14 2012-03-07 微软公司 DOWNLOAD BAR USER INTERFACE CONTROLlER
CN105930057A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Method and device for controlling downloading notification bars

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567659A (en) * 2022-02-25 2022-05-31 北京百度网讯科技有限公司 Cloud mobile phone control method, device, equipment and storage medium
CN114567659B (en) * 2022-02-25 2023-11-14 北京百度网讯科技有限公司 Cloud mobile phone control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105930057A (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US10970101B2 (en) System and method for dynamically configuring virtual displays and virtual inputs for different remote sessions that each present content for a virtual machine
KR101981026B1 (en) Companion application for activity cooperation
KR102107708B1 (en) Automatic application updates
US10469562B2 (en) Virtual machine pixel remoting
US10606367B2 (en) Command relay device, system and method for providing remote assistance/remote control
CN106569758B (en) Wireless screen projection method and device
US20180364890A1 (en) Image display apparatus and method of operating the same
CN111314372A (en) Display equipment awakening method, control terminal, server and display equipment
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN111427524A (en) Remote control method, device, computer equipment and storage medium
WO2023098732A1 (en) Cross-device interaction method and apparatus, electronic device, and storage medium
JP6088531B2 (en) Event service for local client applications through a local server
WO2017113855A1 (en) Application program interaction method and terminal
CN112286612A (en) Information display method and device and electronic equipment
WO2017181657A1 (en) Control method and apparatus for download notification bar
US11256560B2 (en) Scalable automated detection of functional behavior
WO2022171058A1 (en) Application program processing method and apparatus, and electronic device
CN107015874B (en) Data transmission control method, device and terminal
CN114489697A (en) Application program installation method and device
CN113268300B (en) Information display method and device
CN112672436A (en) Intelligent device searching method and device, electronic device and storage medium
KR101892952B1 (en) System for cloud streaming service, method of controlling frame rate based on events and apparatus for the same
CN115314740A (en) Display page interaction control method and device, electronic equipment and readable storage medium
US20140375435A1 (en) Data processing system and method
CN112000407A (en) Interface interaction method and device, terminal equipment and storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16899239

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16899239

Country of ref document: EP

Kind code of ref document: A1