WO2009046650A1 - A method and device for displaying the download tasks - Google Patents

A method and device for displaying the download tasks Download PDF

Info

Publication number
WO2009046650A1
WO2009046650A1 PCT/CN2008/072329 CN2008072329W WO2009046650A1 WO 2009046650 A1 WO2009046650 A1 WO 2009046650A1 CN 2008072329 W CN2008072329 W CN 2008072329W WO 2009046650 A1 WO2009046650 A1 WO 2009046650A1
Authority
WO
WIPO (PCT)
Prior art keywords
download
task
state
status
category
Prior art date
Application number
PCT/CN2008/072329
Other languages
French (fr)
Chinese (zh)
Inventor
Huateng Ma
Bo Wu
Ruisheng Huang
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2009046650A1 publication Critical patent/WO2009046650A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine

Definitions

  • the present invention relates to network data downloading technologies in network communication technologies, and in particular, to a downloading task display method and apparatus in a downloading tool. Background technique
  • the downloading tool is a tool software that can be installed on a device connected to a network and used exclusively to download data files on the network.
  • the typical use of the download tool is: The user clicks on a downloadable link in the browser, the download tool captures the clickable link that is clicked, and automatically generates a confirmation of the new download task. After the user confirms, the download will be downloaded in the download tool.
  • the link generates a download task that the user can initiate, pause, or cancel at any time.
  • the download tool is fast and stable, and some download tools can simultaneously download multiple data resources and provide management functions for downloaded tasks.
  • a classification management method is generally adopted for a downloaded task.
  • tasks downloaded from the network can be assigned to corresponding categories according to file categories.
  • it is generally managed by a tree structure.
  • Each node in the tree structure can have multiple child nodes.
  • the big category is "movie”
  • a download task will be recorded on a node.
  • a download task for downloading a movie file "Transformers” can be assigned to the category of "European Movies".
  • Each of the nodes may correspond to a file directory in the local terminal device memory.
  • the downloaded files can be classified into sub-categories such as "movie”, “software”, “music”, and "game”. when When the user downloads a movie file, the information of the movie file can be attributed to the sub-category of "movie" to facilitate subsequent search and management.
  • the embodiment of the invention provides a method and a device for displaying a download task, so that the user can quickly understand the change of the task state, and the user is more convenient to manage the download task.
  • the download tasks in different download states are displayed in different display forms according to the download status of the obtained download tasks.
  • the first unit is configured to obtain a state in which each download task in the download category is located;
  • a second unit configured to display, according to the state of each download task acquired by the first unit, the download tasks in different states in different display forms.
  • the first unit is configured to obtain a state in which each download task in the download category is located;
  • a second unit configured to determine, according to a state of each download task acquired by the first unit, a number of download tasks in a preset state
  • the third unit is configured to display the number of download tasks determined by the second unit in a preset state.
  • the status of each download task in the download category is obtained, and the download tasks in different states in the download category are displayed in different display forms, so that the real-time status of the download task can be more conveniently distinguished. For example, for a downloaded file, the "read" status and the "unread” status are displayed or identified differently. When the user manages multiple files at the same time, the tasks that have already been viewed can be recognized.
  • the embodiment of the present invention obtains the state of each download task in the download category, determines the number of download tasks in the preset state, and displays the number, for example, displayed next to the download category. Therefore, the user can quickly learn the change of the status of each download classification task through the number of download tasks in the preset state, and facilitate the user to manage the download task.
  • FIG. 1 is a flowchart of a method for displaying a download task according to an embodiment of the present invention.
  • FIG. 2 is a flow chart showing a state change of a download task in an embodiment of the present invention.
  • FIG. 3A is a specific interface diagram showing the number of download tasks in the embodiment of the present invention.
  • FIG. 3B is a specific interface diagram showing the number of download tasks in another embodiment of the present invention.
  • the specific interface diagram of the task is a specific interface diagram showing the number of download tasks in another embodiment of the present invention. The specific interface diagram of the task.
  • FIG. 4 is a schematic diagram of a download task display device according to an embodiment of the present invention. Mode for carrying out the invention
  • FIG. 1 is a flowchart of a method for managing display of a download task according to an embodiment of the present invention. As shown in Figure 1, the method includes:
  • Step 101 Obtain the status of each download task in the download category.
  • Step 102 Determine the number of download tasks that are in a preset state in the download category, where the preset is preset
  • the status is any of the states that are in the download category.
  • Step 103 Display the determined number of download tasks in the preset state, such as displaying the determined number of download tasks in the preset state in the corresponding positions of the download category.
  • the download categories described in the present invention mainly include “downloading” categories and "downloaded” categories.
  • the present invention manages the download classification using a tree-like classification structure, and classifies the files into corresponding categories. For example, the file that is being downloaded is classified into the "Downloading" category. When the user creates a new download task, the download task will be classified into the "Downloading" category. When the download is completed, the download task will be classified into a sub-category of "Downloaded”. The user can Set the category to be classified after the download is completed when creating a new task.
  • the download category can also include the "deleted” category
  • the user can also delete the download task at any time, the deleted task will be placed in the "deleted” category, of course, the user can also restore the task from the "deleted” category Under the original classification.
  • the status of the download task includes the following:
  • the status is being downloaded. If the download task belongs to the downloading state, the download task is connecting to the download server or is acquiring data from the download server, and the process of accepting the data by the download task has not been completed yet.
  • the status of the download task mainly includes the unread status and the read status.
  • the download task is switched from the downloading state to the completed state, if the user has not viewed the download task, it is in an unread state.
  • the download task is switched from the downloading state to the completed state and the user has viewed it, it is in the read state.
  • step 101 the status change of each download task can be monitored to obtain the status of each download task.
  • the process includes:
  • Step 201 Start a download task.
  • Step 202 Display the started download task in the "Downloading" category, and its status is the downloading status.
  • the default state after the new creation is the downloading state.
  • the status of the download task is obtained according to the running status of the download task.
  • the execution order of the steps 203 to 206 is not strictly defined, and may be performed in parallel.
  • Step 203 Determine whether the download task is normal and all the downloads are completed and pass the integrity check. If yes, execute step 207; otherwise, return to step 202.
  • Step 204 Determine whether the download task is faulty and fail to complete the download. If not, return to step 202; if yes, the status of the download task is changed to an error state, and in the error state, it is determined whether the download task is restarted. If there is no restart, the error state continues to be maintained, and if it is restarted, it returns to step 202.
  • Step 205 Determine whether the user's pause operation is received. If not, return to step 202; if received, the status of the download task changes to a pause state, and in the pause state, determine whether the download task is restarted. If it is not restarted, continue to maintain the pause state, and if it restarts, return to step 202.
  • Step 206 Determine whether the number of tasks currently being downloaded reaches the upper limit set by the user. If the upper limit is not reached, return to step 202. If the upper limit is reached, the status of the download task is changed to a waiting state, and the waiting state is determined. Whether the number of tasks currently being downloaded reaches the upper limit set by the user, and if the upper limit is reached, the waiting state continues, otherwise returning to step 202.
  • Step 207 The status of the download task is changed to the completed state, and moved to the "downloaded” point. In the class. If the "Downloaded" category includes sub-categories, the download task will be categorized into a sub-category of "Downloaded", and the user can set the sub-category to be classified after the download is completed when creating a new task.
  • Step 208 After the download task moves to the "Downloaded" category, its status is unread. Step 209 to step 210, determining whether the download task is operated by a user, for example, clicking a download task, double-clicking to view task information, or opening a file corresponding to the download task, and if the user has been operated, performing step 210, The download task status changes to the read status; otherwise, it remains unread.
  • the state change of each download task is obtained by monitoring the state change of each download task.
  • the step 102 and the step 103 are triggered, which specifically includes:
  • the preset state of the present invention is corresponding to the download category. For example, for the "downloading" category, the preset state may be set to a non-completed state, so it is required to count all the "downloading" categories are not completed.
  • the number of download tasks for the status including the number of download tasks in the download status, error status, pause status, and wait status; for the "Downloaded” category, the preset status can be set to the unread status, and the statistics "Downloaded” are required.
  • the present invention can also specify a download category that needs to display the number of download tasks in the preset state, and can only count and display the number of download tasks in the specified download category in the preset state.
  • FIG. 3A is a specific interface diagram showing the number of download tasks in a preset state next to the download category.
  • the number of downloads is displayed as the number of tasks being downloaded, assuming that the number of downloading tasks at this time is 10; in "Downloaded", the category is displayed in the category.
  • the number of tasks in the read state assuming that the number of download tasks in the unread state is 15.
  • the present invention further includes: determining a status of each download task in each sub-category, and calculating a number of download tasks in the preset state in each sub-category And displaying the determined number of download tasks in the preset state in the corresponding positions of the corresponding sub-categories; and then determining the number of download tasks in the preset state in the download category, that is, in all sub-categories in the download category The sum of the number of download tasks in the preset state, and the sum of the number of download tasks is displayed in the corresponding position of the download category.
  • Figure 3 ⁇ shows the specific interface diagram showing the number of download tasks in the preset state next to the download category and sub-categories.
  • the "Downloaded” category is further divided into “software”, “, music”, “, “game”, “, “movie”, “, and Subcategories such as “others”.
  • For the "software" sub-category in the "Downloaded” category determine the number of download tasks in the "software” sub-category that are in a preset state, assuming that the preset state is unread. After determining the number of download tasks in the unread state, for example, the number of download tasks in the unread state in the "software” subcategory is 10, the number is displayed in "software".
  • the corresponding position of the sub-category for example, displayed next to the "software" sub-category; using the same method, the number of download tasks in the unread state of other sub-categories can be determined and displayed, for example, "music”
  • the number of download tasks in the unread state in the sub-category is two, and the number of download tasks in the unread state in the "movie” sub-category is three, "game” and “others” sub-categories
  • the number of download tasks in the unread state is 0.
  • the classification of the number of download tasks in the preset state is 0, and the corresponding ones may not be displayed. Download number of tasks.
  • the number of download tasks in the unread state is the sum of the number of download tasks in the unread state in each sub-category, for example, 15 here, The number is displayed next to the "Downloaded" category.
  • the present invention may also provide a modification interface to the user, and the preset state may be modified by the user setting, for example, for the "downloaded" classification, or the read state may be set to a preset state; the download classification may also be The user specifies that, when displayed, only the number of download tasks in the download category that are in the preset state is displayed next to the specified download category.
  • the present invention may further include: displaying the download tasks in the same state in the download category in the same display form, which will be different
  • the status download task is displayed differently in different display forms. For example, when the download task in the "Downloaded" category is displayed, the download task in the read state and the download task in the unread state are different in the task list, such as the download task in the read state is black, not The download task in the read state is blue; or the download task in the read state is non-bold, the download task in the unread state is bold, etc., or in other different ways, not here - enumerated.
  • the embodiment of the present invention uses the same display form in the downloading task in the same state in the downloading category, as compared with the prior art, which lacks the identifiers of the status of the "read” or "unread”. Displaying, the download tasks in different states are displayed differently in different display forms, so that the real-time status of the download task can be more conveniently distinguished. When a user manages multiple files at the same time, the tasks that have been viewed can be recognized in a convenient manner.
  • Figure 3C shows a specific interface diagram for downloading tasks in different states that are displayed differently in different display formats.
  • the unread status download files 301, 303, 305 are shown in bold, and the read status download files 302, 304, 306 are non-bold.
  • the present invention also discloses a download task display device, which is suitable for downloading tools for classifying management and display of download tasks by using download categories.
  • Figure 4 is a schematic illustration of the device. Referring to Figure 4, the device mainly includes:
  • the status obtaining module 401 is configured to obtain a status of each download task in the download category of the download tool.
  • the number determining module 402 is configured with a preset state corresponding to each download category, and is configured to determine, according to the obtaining result of the state acquiring module 401, the number of downloading tasks in the download category corresponding to the downloading category corresponding to the preset state;
  • the number display module 403 is configured to display the determined number of download tasks in a preset state, such as displaying the determined number of download tasks in a preset state at corresponding positions of the download category.
  • the device further includes a difference display module 431, configured to display, according to the acquisition result of the state obtaining module 401, the download tasks in different states in the download category in different display forms, further Can also download tasks in the same state Display in the same display format. For example, when a download task in the "Downloaded" category is displayed, the download task in the read state is non-bold, and the download task in the unread state is bold.
  • the apparatus may further include a modification interface 404 for performing setting modification on the preset state in the number determining module 402. Therefore, the preset state is set to a state that the user wants to intuitively understand, which is more suitable for the actual needs of the user, and is more convenient for managing the download task.
  • the embodiment of the invention further provides a download task display method, including:
  • Download tasks in different states are displayed in different display formats.
  • download tasks in the same state can also be displayed in the same display form.
  • the embodiment of the present invention may further determine the number of download tasks that are in a preset state in the download category; and display the determined number of download tasks in the preset state.
  • the present invention also discloses a download task display device, which is suitable for downloading tools for classifying management and display of download tasks by using download classification.
  • the device includes:
  • the status obtaining module is configured to obtain the status of each download task in the download category of the download tool.
  • the distinguishing display module is configured to display, according to the obtaining result of the state acquiring module, the downloading tasks in different states in the downloading category in different display forms.
  • the apparatus may further include a number determining module and a number display module, and may further include a modifying interface, the functions of the three modules being the same as the corresponding modules in FIG.
  • the above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope of the present invention. All should be covered by the scope of the present invention.

Abstract

A method and device for displaying the download tasks are provided. The invention sorts the download tasks to display distinctively, so that a user quickly understands the change of the task status and manages the download tasks easily. The method for displaying the download tasks includes that: acquiring the status of each download task in the download sorts; distinctively displaying the download tasks of the different download status using the different display form according to the acquired download status of each download task. The method for displaying download tasks further includes: acquiring the status of each download task in the download sorts; determining the number of the download tasks which are in the preset state in the download sorts; displaying the determined number of the download tasks which are in the preset state; wherein the preset state is one of the download status in the download sorts.

Description

下载任务显示方法及装置  Download task display method and device
技术领域 本发明涉及网络通讯技术中的网络数据下载技术,尤其涉及一种在下载 工具中下载任务显示方法和装置。 背景技术 TECHNICAL FIELD The present invention relates to network data downloading technologies in network communication technologies, and in particular, to a downloading task display method and apparatus in a downloading tool. Background technique
网络作为一种信息获取方式已经被越来越多的人所接受和使用。通过网 络上存放着各种数据资源, 例如软件、 音乐、 游戏、 电影等数据文件, 人们 可以通过下载工具从网络上下载自己所需要的数据文件。所述的下载工具是 一种工具软件, 可以安装在与网络相连设备终端上, 专门用于下载网络上的 数据文件。 下载工具的典型使用方法是: 用户在浏览器中点击一个可下载的 链接, 下载工具捕获所点击的可下载链接, 自动生成一次新建下载任务的确 认, 用户确认后将在下载工具中对此下载链接生成一个下载任务, 用户可以 随时启动、 暂停、 或取消所述下载任务。 相比浏览器自带的下载功能, 下载 工具具有速度快和稳定的特点,并且部分下载工具还可以同时下载多个数据 资源, 并提供了对已下载任务的管理功能。  As a way of obtaining information, the Internet has been accepted and used by more and more people. Through the network to store various data resources, such as software, music, games, movies and other data files, people can download the data files they need from the network through the download tool. The downloading tool is a tool software that can be installed on a device connected to a network and used exclusively to download data files on the network. The typical use of the download tool is: The user clicks on a downloadable link in the browser, the download tool captures the clickable link that is clicked, and automatically generates a confirmation of the new download task. After the user confirms, the download will be downloaded in the download tool. The link generates a download task that the user can initiate, pause, or cancel at any time. Compared to the browser's own download function, the download tool is fast and stable, and some download tools can simultaneously download multiple data resources and provide management functions for downloaded tasks.
现有技术中, 对已下载任务一般采用分类管理的方式。 例如创建下载任 务的分类, 如"软件"、 "游戏"、 "电影"、 "音乐 "等的分类, 从网络上下载的 任务可以按照文件类别被分配到对应的分类中。在对下载任务进行分类管理 时, 一般采用树状结构进行管理, 树状结构中的每个节点可以存在多个子节 点, 例如大分类是 "电影", "电影"分类下面有若干个小分类: 例如"欧美电 影"、 "日韩电影"、 "大陆电影"等。 一个下载任务将被记在一个节点之上, 如一个下载电影文件《变形金刚》的下载任务可以分配在"欧美电影"的分类 上。 所述的每个节点可以对应于本地终端设备存储器中的一个文件目录。 如 可以将已下载的文件分类为 "电影"、 "软件"、 "音乐"、 "游戏 "等子分类。 当 用户下载完一部电影文件时, 可以将这部电影文件的信息归于"电影"这个子 分类下, 以方便后续的查找以及管理。 In the prior art, a classification management method is generally adopted for a downloaded task. For example, to create a classification of download tasks, such as "software", "game", "movie", "music", etc., tasks downloaded from the network can be assigned to corresponding categories according to file categories. When classifying and managing download tasks, it is generally managed by a tree structure. Each node in the tree structure can have multiple child nodes. For example, the big category is "movie", and there are several small categories under the "movie" category: For example, "European and American movies", "Japanese and Korean movies", "Continental movies" and so on. A download task will be recorded on a node. For example, a download task for downloading a movie file "Transformers" can be assigned to the category of "European Movies". Each of the nodes may correspond to a file directory in the local terminal device memory. For example, the downloaded files can be classified into sub-categories such as "movie", "software", "music", and "game". when When the user downloads a movie file, the information of the movie file can be attributed to the sub-category of "movie" to facilitate subsequent search and management.
但在现有的下载工具中,下载分类上没有任何显示下载任务所处状态的 标识, 用户无法快速了解下载分类中任务状态的改变。 例如当下载完成一个 文件时, 该文件被移至相应的分类目录下, 但没有做任何显示下载任务所处 状态的标识, 用户无法迅速地找到刚刚下载的文件。 发明内容  However, in the existing download tool, there is no identifier on the download category showing the status of the download task, and the user cannot quickly understand the change of the task status in the download category. For example, when a file is downloaded and downloaded, the file is moved to the corresponding category, but no identifier is displayed indicating the status of the download task. The user cannot quickly find the file just downloaded. Summary of the invention
本发明实施例提供了一种下载任务显示方法和装置,使用户可以迅速了 解任务状态的改变, 更方便用户管理下载任务。  The embodiment of the invention provides a method and a device for displaying a download task, so that the user can quickly understand the change of the task state, and the user is more convenient to manage the download task.
本发明实施例提供的一种下载任务显示方法, 包括:  A method for displaying a download task according to an embodiment of the present invention includes:
获取下载分类中各下载任务所处的下载状态;  Obtain the download status of each download task in the download category;
根据获取得到的各下载任务所处的下载状态,将处于不同下载状态的下 载任务用不同的显示形式区别显示。  The download tasks in different download states are displayed in different display forms according to the download status of the obtained download tasks.
本发明实施例提供的一种下载任务显示装置, 包括:  A download task display device provided by the embodiment of the invention includes:
第一单元, 用于获取下载分类中各下载任务所处的状态;  The first unit is configured to obtain a state in which each download task in the download category is located;
第二单元, 用于根据所述第一单元获取的各下载任务所处的状态, 将处 于不同状态的下载任务用不同的显示形式区别显示。  And a second unit, configured to display, according to the state of each download task acquired by the first unit, the download tasks in different states in different display forms.
本发明实施例提供的一种下载任务显示方法, 包括:  A method for displaying a download task according to an embodiment of the present invention includes:
获取下载分类中各下载任务所处的下载状态;  Obtain the download status of each download task in the download category;
确定在下载分类中处于预设状态的下载任务数目;  Determining the number of download tasks that are in a preset state in the download category;
显示所确定的处于预设状态的下载任务数目; 其中所述预设状态为所 述下载分类中所具有的下载状态中的任一种。  And displaying the determined number of download tasks in a preset state; wherein the preset state is any one of download states included in the download category.
本发明实施例提供的一种下载任务显示装置, 包括:  A download task display device provided by the embodiment of the invention includes:
第一单元, 用于获取下载分类中各下载任务所处的状态;  The first unit is configured to obtain a state in which each download task in the download category is located;
第二单元, 用于根据所述第一单元获取的各下载任务所处的状态, 确定 处于预设状态的下载任务数目; 第三单元, 用于显示所述第二单元确定的处于预设状态的下载任务数 。 a second unit, configured to determine, according to a state of each download task acquired by the first unit, a number of download tasks in a preset state; The third unit is configured to display the number of download tasks determined by the second unit in a preset state.
本发明实施例获取下载分类中各下载任务所处的状态,将下载分类中处 于不同状态的下载任务用不同的显示形式区别显示,从而可以更加方便地区 分下载任务的实时状态。 例如对于已下载的文件, 将"已读"状态和 "未读 "状 态区别显示或标识, 当用户同时管理多个文件时, 可以筒便地辨识已经查看 过的任务。  In the embodiment of the present invention, the status of each download task in the download category is obtained, and the download tasks in different states in the download category are displayed in different display forms, so that the real-time status of the download task can be more conveniently distinguished. For example, for a downloaded file, the "read" status and the "unread" status are displayed or identified differently. When the user manages multiple files at the same time, the tasks that have already been viewed can be recognized.
本发明实施例获取下载分类中各下载任务所处的状态,确定处于预设状 态的下载任务数目, 并显示该数目, 例如显示在下载分类旁边。 从而可以使 用户通过处于预设状态的下载任务数目迅速地了解各个下载分类任务状态 的改变, 方便用户管理下载任务。 附图简要说明  The embodiment of the present invention obtains the state of each download task in the download category, determines the number of download tasks in the preset state, and displays the number, for example, displayed next to the download category. Therefore, the user can quickly learn the change of the status of each download classification task through the number of download tasks in the preset state, and facilitate the user to manage the download task. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为本发明实施例中下载任务显示方法的流程图。  FIG. 1 is a flowchart of a method for displaying a download task according to an embodiment of the present invention.
图 2为本发明实施例中下载任务的状态变化流程图。  2 is a flow chart showing a state change of a download task in an embodiment of the present invention.
图 3A为本发明实施例中显示下载任务数的具体界面图。  FIG. 3A is a specific interface diagram showing the number of download tasks in the embodiment of the present invention.
图 3B为本发明另一实施例中显示下载任务数的具体界面图。 载任务的具体界面图。  FIG. 3B is a specific interface diagram showing the number of download tasks in another embodiment of the present invention. The specific interface diagram of the task.
图 4为本发明实施例中下载任务显示装置的示意图。 实施本发明的方式  FIG. 4 is a schematic diagram of a download task display device according to an embodiment of the present invention. Mode for carrying out the invention
下面通过具体实施例和附图对本发明做进一步详细说明。  The present invention will be further described in detail below by way of specific embodiments and the accompanying drawings.
图 1为本发明实施例中对下载任务进行管理显示的方法流程图。 如图 1 所示, 该方法包括:  FIG. 1 is a flowchart of a method for managing display of a download task according to an embodiment of the present invention. As shown in Figure 1, the method includes:
步骤 101 : 获取下载分类中各下载任务所处的状态。  Step 101: Obtain the status of each download task in the download category.
步骤 102: 确定在下载分类中处于预设状态的下载任务数目, 这里预设 状态为下载分类中所具有的状态中的任一种。 Step 102: Determine the number of download tasks that are in a preset state in the download category, where the preset is preset The status is any of the states that are in the download category.
步骤 103: 显示所确定的处于预设状态的下载任务数目, 如将所确定的 处于预设状态的下载任务数目显示在所述下载分类的对应位置。  Step 103: Display the determined number of download tasks in the preset state, such as displaying the determined number of download tasks in the preset state in the corresponding positions of the download category.
本发明中所述下载分类主要包括"正在下载"分类和 "已下载"分类。 本发 明使用树状分类结构对所述下载分类进行管理, 将文件归类于对应的分类 中。 如将正在下载状态的文件归类至"正在下载"分类中。 当用户新建一个下 载任务时, 该下载任务将被归类至"正在下载"的分类中, 当下载完成后, 该 下载任务将被归类至 "已下载"的某个子类别中, 用户可以在新建任务时设置 下载完成后被归类的类别。 进一步, 下载分类还可以包括 "已删除" 分类, 用户还可以随时删除下载任务, 被删除的任务将被放到"已删除 "分类中, 当 然用户还可以从"已删除"分类中将任务还原至原先的分类下。  The download categories described in the present invention mainly include "downloading" categories and "downloaded" categories. The present invention manages the download classification using a tree-like classification structure, and classifies the files into corresponding categories. For example, the file that is being downloaded is classified into the "Downloading" category. When the user creates a new download task, the download task will be classified into the "Downloading" category. When the download is completed, the download task will be classified into a sub-category of "Downloaded". The user can Set the category to be classified after the download is completed when creating a new task. Further, the download category can also include the "deleted" category, the user can also delete the download task at any time, the deleted task will be placed in the "deleted" category, of course, the user can also restore the task from the "deleted" category Under the original classification.
对于"正在下载"分类, 下载任务的状态包括以下几种:  For the "Downloading" category, the status of the download task includes the following:
1 ) 正在下载状态。 如果下载任务属于正在下载状态, 则所述下载任务 正在连接下载服务器或正在从下载服务器获取数据,该下载任务接受数据的 流程还没有完成。  1) The status is being downloaded. If the download task belongs to the downloading state, the download task is connecting to the download server or is acquiring data from the download server, and the process of accepting the data by the download task has not been completed yet.
2 ) 等待状态。 由于下载工具对同时下载的任务数有限制, 如果一个下 载任务虽已被启动, 但当前未连接下载服务器, 需等待其它下载任务完成后 再连接服务器的状态为等待状态。 当连接服务器开始下载后则下载任务由等 待状态转换为正在下载状态。  2) Waiting state. Since the download tool has a limit on the number of tasks to be downloaded at the same time, if a download task has been started, but the download server is not currently connected, it needs to wait for other download tasks to complete before the connection server is in the wait state. When the connection server starts downloading, the download task is converted from the wait state to the download state.
3 ) 暂停状态。 如果一个下载任务启动过且未下载完成, 中途被用户执 行暂停操作, 则该下载任务处于暂停状态。 当用户重新启动被暂停的下载任 务时, 则该下载任务由暂停状态转换为正在下载状态或等待状态。  3) Pause status. If a download task has been started and the download has not been completed, and the user is suspended during the middle of the download, the download task is paused. When the user restarts the suspended download task, the download task is switched from the paused state to the downloading state or the waiting state.
4 ) 出错状态。 如果一个下载任务启动过且下载过程中出现错误未能完 成下载, 则该下载任务处于出错状态。  4) Error status. If a download task has been initiated and an error has occurred during the download and the download has not been completed, the download task is in an error state.
如果一个下载任务已经全部下载完毕并校验正确则处于已完成状态,此 时该下载任务被转到 "已经下载" 分类。  If a download task has all been downloaded and verified correctly, it is in the completed state, at which point the download task is transferred to the "already downloaded" category.
对于 "已经下载"分类,下载任务的状态主要包括未读状态和已读状态。 当下载任务由正在下载状态切换至已完成状态后,如果用户未查看过该下载 任务, 则处于未读状态。 当下载任务由正在下载状态切换至已完成状态且用 户已经查看过后, 则处于已读状态。 For the "already downloaded" category, the status of the download task mainly includes the unread status and the read status. After the download task is switched from the downloading state to the completed state, if the user has not viewed the download task, it is in an unread state. When the download task is switched from the downloading state to the completed state and the user has viewed it, it is in the read state.
图 2为本发明所述一个下载任务的状态变化流程图。 步骤 101中, 可以 对每一个下载任务的状态变化进行监测, 从而获取各个下载任务的状态。 参 见图 2, 所述流程包括:  2 is a flow chart showing the state change of a download task according to the present invention. In step 101, the status change of each download task can be monitored to obtain the status of each download task. Referring to Figure 2, the process includes:
步骤 201、 启动一个下载任务。  Step 201: Start a download task.
步骤 202、 将启动的下载任务显示在"正在下载"分类中, 其状态为正在 下载状态。 对于新建的下载任务, 新建后的默认状态为正在下载状态。  Step 202: Display the started download task in the "Downloading" category, and its status is the downloading status. For a newly created download task, the default state after the new creation is the downloading state.
接下来根据所述下载任务在启动后的运行情况来获取其状态,具体参见 以下步骤 203至步骤 206,步骤 203至步骤 206的执行顺序没有严格的规定, 可以是并行执行。  Then, the status of the download task is obtained according to the running status of the download task. For details, refer to the following steps 203 to 206. The execution order of the steps 203 to 206 is not strictly defined, and may be performed in parallel.
步骤 203、判断所述下载任务是否正常全部下载完成并通过完整性校验, 如果是则执行步骤 207 , 否则返回步骤 202。  Step 203: Determine whether the download task is normal and all the downloads are completed and pass the integrity check. If yes, execute step 207; otherwise, return to step 202.
步骤 204、 判断所述下载任务是否出错未能完成下载, 如果不是, 则返 回步骤 202; 如果是则所述下载任务的状态转成出错状态, 在出错状态下判 断所述下载任务是否重新启动, 如果没有重新启动, 则继续保持出错状态, 如果重新启动则返回步骤 202。  Step 204: Determine whether the download task is faulty and fail to complete the download. If not, return to step 202; if yes, the status of the download task is changed to an error state, and in the error state, it is determined whether the download task is restarted. If there is no restart, the error state continues to be maintained, and if it is restarted, it returns to step 202.
步骤 205、 判断是否收到用户的暂停操作, 如果没有收到, 则返回步骤 202; 如果收到, 则所述下载任务的状态转成暂停状态, 在暂停状态下判断 所述下载任务是否重新启动, 如果没有重新启动, 则继续保持暂停状态, 如 果重新启动则返回步骤 202。  Step 205: Determine whether the user's pause operation is received. If not, return to step 202; if received, the status of the download task changes to a pause state, and in the pause state, determine whether the download task is restarted. If it is not restarted, continue to maintain the pause state, and if it restarts, return to step 202.
步骤 206,判断当前处于正在下载的任务数量是否达到用户设定的上限, 如果没有达到上限, 则返回步骤 202; 如果达到上限, 则所述下载任务的状 态转成等待状态,在等待状态下判断当前处于正在下载的任务数量是否达到 用户设定的上限, 如果达到上限, 继续保持等待状态, 否则返回步骤 202。  Step 206: Determine whether the number of tasks currently being downloaded reaches the upper limit set by the user. If the upper limit is not reached, return to step 202. If the upper limit is reached, the status of the download task is changed to a waiting state, and the waiting state is determined. Whether the number of tasks currently being downloaded reaches the upper limit set by the user, and if the upper limit is reached, the waiting state continues, otherwise returning to step 202.
步骤 207、 所述下载任务的状态转为已完成状态, 并移动到"已下载 "分 类中。 如果"已下载 "分类包括子分类, 则下载任务将被归类至"已下载 "的某 个子类别中, 用户可以在新建任务时设置下载完成后被归类的子分类。 Step 207: The status of the download task is changed to the completed state, and moved to the "downloaded" point. In the class. If the "Downloaded" category includes sub-categories, the download task will be categorized into a sub-category of "Downloaded", and the user can set the sub-category to be classified after the download is completed when creating a new task.
步骤 208、所述下载任务移动到 "已下载"分类中后,其状态为未读状态。 步骤 209 ~步骤 210、 判断所述下载任务是否被用户的操作, 例如点击 下载任务、 双击查看任务信息、 或打开下载任务对应的文件等操作, 如果已 被用户操作, 则执行步骤 210, 将该下载任务状态转为已读状态; 否则继续 保持未读状态。  Step 208: After the download task moves to the "Downloaded" category, its status is unread. Step 209 to step 210, determining whether the download task is operated by a user, for example, clicking a download task, double-clicking to view task information, or opening a file corresponding to the download task, and if the user has been operated, performing step 210, The download task status changes to the read status; otherwise, it remains unread.
本发明中, 通过对每一个下载任务的状态变化进行监测, 从而获取各个 下载任务的状态变化情况。 当任一个下载任务的状态发生改变时, 则触发执 行所述步骤 102和步骤 103 , 具体包括:  In the present invention, the state change of each download task is obtained by monitoring the state change of each download task. When the status of any one of the download tasks is changed, the step 102 and the step 103 are triggered, which specifically includes:
a、 遍历下载分类中的下载任务, 统计确定各下载分类中处于预设状态 的下载任务的数量。 本发明所述的预设状态是与下载分类对应的, 例如对于 "正在下载"分类, 所述的预设状态可以设置为非已完成状态, 因此需要统计 "正在下载"分类所有处于非已完成状态的下载任务数目, 包括处于正在下载 状态、 出错状态、 暂停状态以及等待状态的下载任务数目; 对于"已下载 "分 类, 所述预设状态可以设置为未读状态, 需要统计"已下载 "分类中处于未读 状态的下载任务数目。本发明还可以对需要显示处于预设状态下载任务数的 下载分类进行指定,可以只统计显示指定下载分类中处于预设状态的下载任 务数。  a. Traverse the download task in the download category, and statistically determine the number of download tasks in the preset state in each download category. The preset state of the present invention is corresponding to the download category. For example, for the "downloading" category, the preset state may be set to a non-completed state, so it is required to count all the "downloading" categories are not completed. The number of download tasks for the status, including the number of download tasks in the download status, error status, pause status, and wait status; for the "Downloaded" category, the preset status can be set to the unread status, and the statistics "Downloaded" are required. The number of download tasks in the classification that are in an unread state. The present invention can also specify a download category that needs to display the number of download tasks in the preset state, and can only count and display the number of download tasks in the specified download category in the preset state.
b、 将所统计确定的各下载分类中处于预设状态的文件数目与对应的下 载分类对应显示, 例如将所述数目显示在下载分类旁边。  b. Display the number of files in the preset state in each of the downloaded download categories corresponding to the corresponding download category, for example, display the number next to the download category.
图 3A为在下载分类旁显示处于预设状态下载任务数的具体界面图。 参 见图 3A, 在"正在下载 (Downloading ),,分类中显示下载状态为正在下载的 任务数, 假设此时的正在下载任务数为 10; 在"已下载 (Downloaded ) ,,分 类中显示处于未读状态的任务数, 假设此时处于未读状态下载任务数为 15。  FIG. 3A is a specific interface diagram showing the number of download tasks in a preset state next to the download category. Referring to FIG. 3A, in the "Downloading" category, the number of downloads is displayed as the number of tasks being downloaded, assuming that the number of downloading tasks at this time is 10; in "Downloaded", the category is displayed in the category. The number of tasks in the read state, assuming that the number of download tasks in the unread state is 15.
对于拥有子分类的下载分类, 本发明进一步包括: 确定每个子分类中各 个下载任务的状态, 计算所述每个子分类中处于预设状态的下载任务的数 目, 将所确定的处于预设状态的下载任务数目显示在对应子分类的对应位 置; 然后确定该下载分类中处于预设状态的下载任务的数目, 也就是该下载 分类中所有子分类中处于预设状态的下载任务数量的总和,将所述的下载任 务数量的总和显示在所述下载分类的对应位置。 For the download classification having the sub-category, the present invention further includes: determining a status of each download task in each sub-category, and calculating a number of download tasks in the preset state in each sub-category And displaying the determined number of download tasks in the preset state in the corresponding positions of the corresponding sub-categories; and then determining the number of download tasks in the preset state in the download category, that is, in all sub-categories in the download category The sum of the number of download tasks in the preset state, and the sum of the number of download tasks is displayed in the corresponding position of the download category.
图 3Β为在下载分类旁和子分类旁显示处于预设状态下载任务数的具体 界面图。如图 3Β所示, "已下载( Downloaded ) "分类又分为 "软件 ( software ),,、 "音乐( music ),,、 "游戏( game ),,、 "电影( movie ),,、 以及"其它( others ) " 等子分类。 对于所述"已下载 (Downloaded ) "分类中的"软件 (software ) " 子分类, 确定该 "软件(software ) "子分类中处于预设状态的下载任务数目, 假设预设状态为未读状态, 确定好所述处于未读状态的下载任务数目后, 例 如此时 "软件(software ) "子分类中的未读状态的下载任务数目为 10个, 则 将该数目显示在"软件 (software ) "子分类的对应位置, 例如显示在"软件 ( software ) "子分类的旁边; 采用相同的方法, 可以确定其它子分类中未读 状态的下载任务数目并显示出来, 例如"音乐 (music ) "子分类中的未读状 态的下载任务数目为 2个, "电影 (movie ) "子分类中未读状态的下载任务 数目为 3个, "游戏 (game ) "和"其它 (others ) "子分类中的未读状态的下 载任务数目为 0个, 此处, 对于处于预设状态的下载任务数目为 0的分类, 可以不显示其对应的处于预设状态的下载任务数目。  Figure 3Β shows the specific interface diagram showing the number of download tasks in the preset state next to the download category and sub-categories. As shown in Figure 3, the "Downloaded" category is further divided into "software", ", music", ", "game", ", "movie", ", and Subcategories such as "others". For the "software" sub-category in the "Downloaded" category, determine the number of download tasks in the "software" sub-category that are in a preset state, assuming that the preset state is unread. After determining the number of download tasks in the unread state, for example, the number of download tasks in the unread state in the "software" subcategory is 10, the number is displayed in "software". "The corresponding position of the sub-category, for example, displayed next to the "software" sub-category; using the same method, the number of download tasks in the unread state of other sub-categories can be determined and displayed, for example, "music" The number of download tasks in the unread state in the sub-category is two, and the number of download tasks in the unread state in the "movie" sub-category is three, "game" and "others" sub-categories The number of download tasks in the unread state is 0. Here, the classification of the number of download tasks in the preset state is 0, and the corresponding ones may not be displayed. Download number of tasks.
如图 3B所示, 对于"已下载 (Downloaded ) "分类, 其中处于未读状态 的下载任务的数目为各个子分类中处于未读状态的下载任务数目的总和,例 如此处为 15 , 将该数目显示在"已下载 (Downloaded ) "分类的旁边。  As shown in FIG. 3B, for the "Downloaded" category, the number of download tasks in the unread state is the sum of the number of download tasks in the unread state in each sub-category, for example, 15 here, The number is displayed next to the "Downloaded" category.
本发明也可以向用户提供修改接口, 所述预设状态可以由用户设置修 改, 例如针对"已下载"分类, 也可以将已读状态设定为预设状态; 所述的下 载分类也可以由用户进行指定, 在显示时, 只在指定的下载分类旁显示该下 载分类中处于预设状态的下载任务数目。  The present invention may also provide a modification interface to the user, and the preset state may be modified by the user setting, for example, for the "downloaded" classification, or the read state may be set to a preset state; the download classification may also be The user specifies that, when displayed, only the number of download tasks in the download category that are in the preset state is displayed next to the specified download category.
本发明在显示下载分类中的下载任务时, 还可进一步包括: 将所述下载 分类中处于同一种状态的下载任务用相同的显示形式进行显示,将处于不同 状态的下载任务用不同的显示形式区别显示。 例如, 在显示 "已下载"分类中 的下载任务时,处于已读状态的下载任务和处于未读状态的下载任务在任务 列表中的显示有区别, 如已读状态的下载任务是黑色, 未读状态的下载任务 是蓝色; 或者已读状态的下载任务是非粗体, 未读状态的下载任务是粗体等 等, 或者用其它区别方式, 此处不——列举。 When the download task in the download category is displayed, the present invention may further include: displaying the download tasks in the same state in the download category in the same display form, which will be different The status download task is displayed differently in different display forms. For example, when the download task in the "Downloaded" category is displayed, the download task in the read state and the download task in the unread state are different in the task list, such as the download task in the read state is black, not The download task in the read state is blue; or the download task in the read state is non-bold, the download task in the unread state is bold, etc., or in other different ways, not here - enumerated.
这样, 相比于现有技术中缺少对已下载的文件进行"已读"或"未读"等状 态的标识,本发明实施例将下载分类中处于同一种状态的下载任务用相同的 显示形式进行显示, 将处于不同状态的下载任务用不同的显示形式区别显 示, 从而可以更加方便地区分下载任务的实时状态。 当用户同时管理多个文 件时, 可以筒便地辨识已经查看过的任务。  In this way, the embodiment of the present invention uses the same display form in the downloading task in the same state in the downloading category, as compared with the prior art, which lacks the identifiers of the status of the "read" or "unread". Displaying, the download tasks in different states are displayed differently in different display forms, so that the real-time status of the download task can be more conveniently distinguished. When a user manages multiple files at the same time, the tasks that have been viewed can be recognized in a convenient manner.
图 3C为处于不同状态的下载任务用不同的显示形式区别显示的一种具 体界面图。 参见图 3C, 在已下载的任务文件中, 未读状态的下载文件 301、 303、 305是粗体显示, 已读状态的下载文件 302、 304、 306是非粗体显示。  Figure 3C shows a specific interface diagram for downloading tasks in different states that are displayed differently in different display formats. Referring to Fig. 3C, in the downloaded task file, the unread status download files 301, 303, 305 are shown in bold, and the read status download files 302, 304, 306 are non-bold.
基于上述方法, 本发明还公开了一种下载任务显示装置, 该装置适用于 采用下载分类对下载任务进行分类管理和显示的下载工具。 图 4为所述装置 的示意图。 参见图 4, 该装置主要包括:  Based on the above method, the present invention also discloses a download task display device, which is suitable for downloading tools for classifying management and display of download tasks by using download categories. Figure 4 is a schematic illustration of the device. Referring to Figure 4, the device mainly includes:
状态获取模块 401 , 用于获取下载工具的下载分类中各下载任务所处的 状态。  The status obtaining module 401 is configured to obtain a status of each download task in the download category of the download tool.
数目确定模块 402, 其中设置有每个下载分类对应的预设状态, 用于根 据所述状态获取模块 401 的获取结果确定在下载分类中处于该下载分类对 应预设状态的下载任务数目;  The number determining module 402 is configured with a preset state corresponding to each download category, and is configured to determine, according to the obtaining result of the state acquiring module 401, the number of downloading tasks in the download category corresponding to the downloading category corresponding to the preset state;
数目显示模块 403 , 用于显示所确定的处于预设状态的下载任务数目, 如将所确定的处于预设状态的下载任务数目显示在所述下载分类的对应位 置。  The number display module 403 is configured to display the determined number of download tasks in a preset state, such as displaying the determined number of download tasks in a preset state at corresponding positions of the download category.
在另一种实施方式中, 所述装置进一步包括区别显示模块 431 , 用于根 据状态获取模块 401的获取结果,将所述下载分类中处于不同状态的下载任 务用不同的显示形式区别显示,进一步还可以将处于同一种状态的下载任务 用相同的显示形式进行显示。 例如, 在显示 "已下载"分类中的下载任务时, 处于已读状态的下载任务是非粗体, 未读状态的下载任务是粗体等。 In another embodiment, the device further includes a difference display module 431, configured to display, according to the acquisition result of the state obtaining module 401, the download tasks in different states in the download category in different display forms, further Can also download tasks in the same state Display in the same display format. For example, when a download task in the "Downloaded" category is displayed, the download task in the read state is non-bold, and the download task in the unread state is bold.
在另一种实施方式中, 所述装置还可进一步包括修改接口 404 , 用于对 所述数目确定模块 402中的预设状态进行设置修改。从而将预设状态设置为 用户希望直观了解到的状态, 更适于用户的实际需要, 也更加方便了对下载 任务的管理。  In another embodiment, the apparatus may further include a modification interface 404 for performing setting modification on the preset state in the number determining module 402. Therefore, the preset state is set to a state that the user wants to intuitively understand, which is more suitable for the actual needs of the user, and is more convenient for managing the download task.
本发明实施例还提供了一种下载任务显示方法, 包括:  The embodiment of the invention further provides a download task display method, including:
获取下载分类中各下载任务所处状态, 具体过程如图 2所示;  Obtain the status of each download task in the download category, as shown in Figure 2;
将处于不同状态的下载任务用不同的显示形式区别显示。  Download tasks in different states are displayed in different display formats.
进一步的, 还可以判断每个下载任务所处的下载状态是否变化; 在下载 任务的下载状态发生变化时,将该下载任务的显示形式切换为变化后的下载 状态对应的显示形式。  Further, it is also possible to determine whether the download status of each download task changes; when the download status of the download task changes, the display form of the download task is switched to the display form corresponding to the changed download status.
进一步的,还可以将处于同一种状态的下载任务用相同的显示形式进行 显示。  Further, download tasks in the same state can also be displayed in the same display form.
以 "正在下载" 分类为例, 区分显示 "正在下载状态" 、 "等待状态" "暂停状态" 以及 "出错状态" 下的下载任务。 以 "已下载" 分类为例, 区 分显示 "未读状态" 和 "已读状态" 。  Take the "Downloading" category as an example to distinguish between downloading tasks under "Downloading Status", "Wait Status", "Pause Status", and "Error Status". Taking the "Downloaded" classification as an example, the area displays "Unread Status" and "Read Status".
在此基础上,本发明实施例还可以进一步确定在下载分类中处于预设状 态的下载任务数目; 并显示所确定的处于预设状态的下载任务数目。  On this basis, the embodiment of the present invention may further determine the number of download tasks that are in a preset state in the download category; and display the determined number of download tasks in the preset state.
基于上述方法, 本发明还公开了一种下载任务显示装置, 适用于采用下 载分类对下载任务进行分类管理和显示的下载工具。 该装置包括:  Based on the above method, the present invention also discloses a download task display device, which is suitable for downloading tools for classifying management and display of download tasks by using download classification. The device includes:
状态获取模块, 用于获取下载工具的下载分类中各下载任务所处的状 态。  The status obtaining module is configured to obtain the status of each download task in the download category of the download tool.
区分显示模块, 用于根据状态获取模块的获取结果, 将所述下载分类中 处于不同状态的下载任务用不同的显示形式区别显示。  The distinguishing display module is configured to display, according to the obtaining result of the state acquiring module, the downloading tasks in different states in the downloading category in different display forms.
该装置还可以进一步包括数目确定模块和数目显示模块,还可以进一步 包括修改接口, 这三个模块的功能与图 4中对应模块相同。 以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉该技术的人在本发明所揭露的技术范围内, 可轻易想到 的变化或替换, 都应涵盖在本发明的保护范围之内。 The apparatus may further include a number determining module and a number display module, and may further include a modifying interface, the functions of the three modules being the same as the corresponding modules in FIG. The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical scope of the present invention. All should be covered by the scope of the present invention.

Claims

权利要求书 Claim
1、 一种下载任务显示方法, 其特征在于, 包括:  A download task display method, comprising:
获取下载分类中各下载任务所处的下载状态;  Obtain the download status of each download task in the download category;
根据获取得到的各下载任务所处的下载状态,将处于不同下载状态的下 载任务用不同的显示形式区别显示。  The download tasks in different download states are displayed in different display forms according to the download status of the obtained download tasks.
2、 根据权利要求 1所述的方法, 其特征在于, 进一步包括:  2. The method according to claim 1, further comprising:
将处于同一种下载状态的下载任务用相同的显示形式进行显示。  Download tasks that are in the same download state are displayed in the same display format.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 进一步包括: 确定在下载分类中处于预设状态的下载任务数目;  The method according to claim 1 or 2, further comprising: determining a number of download tasks in a preset state in the download category;
显示所确定的处于预设状态的下载任务数目; 其中所述预设状态为所 述下载分类中所具有的下载状态中的任一种。  And displaying the determined number of download tasks in a preset state; wherein the preset state is any one of download states included in the download category.
4、 根据权利要求 1、 2或 3所述的方法, 其特征在于, 所述下载分类包 括 "正在下载" 分类和 "已下载" 分类中的一种或两种的组合;  4. The method according to claim 1, 2 or 3, wherein the download classification comprises one or a combination of "downloading" classification and "downloaded" classification;
其中所述"正在下载"分类中下载任务所处的状态包括:正在下载状态、 等待状态、 暂停状态以及错误状态中的任一种或多种的组合;  The state in which the download task is in the "Downloading" category includes: a combination of any one or more of a downloading state, a waiting state, a pause state, and an error state;
其中所述 "已下载" 分类中下载任务所处的状态包括: 已读状态和未读 状态中的任一种或两种的组合。  The status of the download task in the "Downloaded" category includes: a combination of either or both of the read status and the unread status.
5、 根据权利要求 4所述的方法, 其特征在于, 所述下载分类中进一步 包括 "已删除" 分类。  5. The method according to claim 4, wherein the download classification further includes a "deleted" classification.
6、 根据权利要求 4所述的方法, 其特征在于, 当所述下载分类为 "已 下载" 分类时, 获取一个下载任务所处的下载状态包括:  6. The method according to claim 4, wherein when the download is classified into a "downloaded" category, obtaining a download status of a download task includes:
判断所述下载任务从 "正在下载" 分类转移到 "已下载" 分类后是否已 被用户操作, 如果是则确定所述下载任务的状态为已读状态, 否则确定所述 下载任务的状态为未读状态。  Determining whether the download task has been operated by the user after moving from the "downloading" category to the "downloaded" category, and if so, determining that the status of the download task is the read status, otherwise determining that the status of the download task is not Read status.
7、 根据权利要求 4所述的方法, 其特征在于, 当所述下载分类为 "正 在下载" 分类时, 获取一个下载任务所处的下载状态包括: 判断所述下载任务在启动后的运行情况: 7. The method according to claim 4, wherein when the download is classified into a "downloading" category, obtaining a download status of a download task includes: Determining the operation of the download task after startup:
如果所述下载任务在下载过程中出错未能完成下载且到当前没有重新 启动, 则所述下载任务处于出错状态;  If the download task fails to complete the download during the download process and does not restart at present, the download task is in an error state;
如果所述下载任务在下载过程中收到用户执行的暂停操作且到当前没 有重新启动, 则所述下载任务处于暂停状态;  If the download task receives a pause operation performed by the user during the download process and does not restart at present, the download task is in a pause state;
如果当前正在下载的任务数达到上限而使该下载任务未能链接服务器, 则所述下载任务处于等待状态;  If the number of tasks currently being downloaded reaches an upper limit and the download task fails to link to the server, the download task is in a waiting state;
如果下载任务正常运行但还没有全部下载完毕则所述下载任务处于正 在下载状态。  The download task is in the download state if the download task is running normally but not all of the downloads have been completed.
8、 根据权利要求 1至 7任一所述的方法, 其特征在于, 进一步包括: 判断下载任务所处的下载状态是否变化;  The method according to any one of claims 1 to 7, further comprising: determining whether a download status of the download task is changed;
在下载任务的下载状态发生变化时,将所述下载任务的显示形式切换为 变化后的下载状态对应的显示形式。  When the download status of the download task changes, the display form of the download task is switched to the display form corresponding to the changed download status.
9、 一种下载任务显示装置, 其特征在于, 包括:  9. A download task display device, comprising:
第一单元, 用于获取下载分类中各下载任务所处的状态;  The first unit is configured to obtain a state in which each download task in the download category is located;
第二单元, 用于根据所述第一单元获取的各下载任务所处的状态, 将处 于不同状态的下载任务用不同的显示形式区别显示。  And a second unit, configured to display, according to the state of each download task acquired by the first unit, the download tasks in different states in different display forms.
10、 根据权利要求 9所述的装置, 其特征在于, 包括:  10. The device according to claim 9, comprising:
第三单元, 用于根据所述第一单元获取的各下载任务所处的状态, 确定 处于预设状态的下载任务数目,其中所述预设状态为所述下载分类中所具有 的下载状态中的任一种;  a third unit, configured to determine, according to a state of each download task acquired by the first unit, a number of download tasks in a preset state, where the preset state is a download state in the download category Any of them;
第四单元, 用于显示所述第三单元确定的处于预设状态的下载任务数 。  The fourth unit is configured to display the number of download tasks determined by the third unit in a preset state.
11、 根据权利要求 10所述的装置, 其特征在于, 包括:  The device according to claim 10, comprising:
第五单元, 用于设置所述第二单元中的预设状态。  a fifth unit, configured to set a preset state in the second unit.
12、 一种下载任务显示方法, 其特征在于, 包括:  12. A download task display method, comprising:
获取下载分类中各下载任务所处的下载状态; 确定在下载分类中处于预设状态的下载任务数目; Obtain the download status of each download task in the download category; Determining the number of download tasks that are in a preset state in the download category;
显示所确定的处于预设状态的下载任务数目; 其中所述预设状态为所 述下载分类中所具有的下载状态中的任一种。  And displaying the determined number of download tasks in a preset state; wherein the preset state is any one of download states included in the download category.
13、根据权利要求 12所述的方法, 其特征在于, 所述下载分类包括 "正 在下载" 分类和 "已下载" 分类中的一种或两种的组合;  13. The method according to claim 12, wherein the download classification comprises one or a combination of two of "downloading" classification and "downloaded" classification;
其中所述"正在下载"分类中下载任务所处的状态包括:正在下载状态、 等待状态、 暂停状态以及错误状态中的任一种或多种的组合;  The state in which the download task is in the "Downloading" category includes: a combination of any one or more of a downloading state, a waiting state, a pause state, and an error state;
其中所述 "已下载" 分类中下载任务所处的状态包括: 已读状态和未读 状态中的任一种或两种的组合。  The status of the download task in the "Downloaded" category includes: a combination of either or both of the read status and the unread status.
14、 根据权利要求 13所述的方法, 其特征在于, 所述下载分类中进一 步包括 "已删除" 分类。  14. The method of claim 13, wherein the download classification further comprises a "deleted" classification.
15、根据权利要求 13所述的方法, 其特征在于, 当所述下载分类为 "已 下载" 分类时, 获取一个下载任务所处的下载状态包括:  The method according to claim 13, wherein when the download is classified into a "downloaded" category, obtaining a download status of a download task includes:
判断所述下载任务从 "正在下载" 分类转移到 "已下载" 分类后是否被 用户操作, 如果是则确定所述下载任务的状态为已读状态, 否则确定所述下 载任务的状态为未读状态。  Determining whether the download task is operated by the user after moving from the "downloading" category to the "downloaded" category, and if so, determining that the status of the download task is the read status, otherwise determining that the status of the download task is unread. status.
16、根据权利要求 13所述的方法, 其特征在于, 当所述下载分类为 "正 在下载" 分类时, 获取一个下载任务所处的下载状态包括:  The method according to claim 13, wherein when the download is classified as "downloading", the download status of obtaining a download task includes:
判断所述下载任务在启动后的运行情况:  Determining the operation of the download task after startup:
如果所述下载任务在下载过程中出错未能完成下载且到当前没有重新 启动, 则所述下载任务处于出错状态;  If the download task fails to complete the download during the download process and does not restart at present, the download task is in an error state;
如果所述下载任务在下载过程中收到用户执行的暂停操作且到当前没 有重新启动, 则所述下载任务处于暂停状态;  If the download task receives a pause operation performed by the user during the download process and does not restart at present, the download task is in a pause state;
如果当前正在下载的任务数达到上限而使该下载任务未能链接服务器, 则所述下载任务处于等待状态;  If the number of tasks currently being downloaded reaches an upper limit and the download task fails to link to the server, the download task is in a waiting state;
如果下载任务正常运行但还没有全部下载完毕则所述下载任务处于正 在下载状态。 The download task is in the download state if the download task is running normally but not all of the downloads have been completed.
17、 一种下载任务显示装置, 其特征在于, 包括: 17. A download task display device, comprising:
第一单元, 用于获取下载分类中各下载任务所处的状态;  The first unit is configured to obtain a state in which each download task in the download category is located;
第二单元, 用于根据所述第一单元获取的各下载任务所处的状态, 确定 在下载分类中处于预设状态的下载任务数目,其中所述预设状态为所述下载 分类中所具有的下载状态中的任一种;  a second unit, configured to determine, according to a state of each download task acquired by the first unit, a number of download tasks in a preset state in the download category, where the preset state is in the download category Any of the download statuses;
第三单元, 用于显示所述第二单元确定的处于预设状态的下载任务数 。  The third unit is configured to display the number of download tasks determined by the second unit in a preset state.
18、 根据权利要求 17所述的装置, 其特征在于, 包括:  The device according to claim 17, comprising:
第四单元, 用于设置所述第二单元中的预设状态。  The fourth unit is configured to set a preset state in the second unit.
PCT/CN2008/072329 2007-09-25 2008-09-11 A method and device for displaying the download tasks WO2009046650A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710122425.X 2007-09-25
CNA200710122425XA CN101119282A (en) 2007-09-25 2007-09-25 Method and apparatus for managing display to download task in download instrument

Publications (1)

Publication Number Publication Date
WO2009046650A1 true WO2009046650A1 (en) 2009-04-16

Family

ID=39055227

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/072329 WO2009046650A1 (en) 2007-09-25 2008-09-11 A method and device for displaying the download tasks

Country Status (2)

Country Link
CN (1) CN101119282A (en)
WO (1) WO2009046650A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119282A (en) * 2007-09-25 2008-02-06 腾讯科技(深圳)有限公司 Method and apparatus for managing display to download task in download instrument
CN103543903B (en) * 2012-07-11 2018-07-17 腾讯科技(深圳)有限公司 shortcut operation method, device and mobile terminal
CN103577453B (en) * 2012-08-01 2018-09-07 腾讯科技(深圳)有限公司 Tracking based on Android system imports the method and device of file
CN103391326B (en) * 2013-08-01 2017-11-07 贝壳网际(北京)安全技术有限公司 File downloading method, system and client based on browser
CN104423998B (en) * 2013-09-04 2019-01-29 腾讯科技(深圳)有限公司 The loading method and device of window information
CN103873582B (en) * 2014-03-21 2018-03-06 天脉聚源(北京)传媒科技有限公司 A kind of method and device of resource management
CN105095050B (en) * 2014-04-22 2018-07-31 北大方正集团有限公司 Download the treating method and apparatus of display
CN105227589B (en) * 2014-05-29 2019-12-06 北京奇虎科技有限公司 File downloading method and device
CN107948403A (en) * 2017-11-08 2018-04-20 深圳天珑无线科技有限公司 Download method, mobile terminal and the device with store function of file
CN110445867A (en) * 2019-08-12 2019-11-12 深圳市网心科技有限公司 A kind of event distributing method, device, system and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066160A1 (en) * 2003-01-17 2004-08-05 Nhn Corporation Method for transmitting and downloading streaming data
US20060015815A1 (en) * 2004-07-16 2006-01-19 Yamaha Corporation Contents managing apparatus and program for the same
CN101119282A (en) * 2007-09-25 2008-02-06 腾讯科技(深圳)有限公司 Method and apparatus for managing display to download task in download instrument

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066160A1 (en) * 2003-01-17 2004-08-05 Nhn Corporation Method for transmitting and downloading streaming data
US20060015815A1 (en) * 2004-07-16 2006-01-19 Yamaha Corporation Contents managing apparatus and program for the same
CN101119282A (en) * 2007-09-25 2008-02-06 腾讯科技(深圳)有限公司 Method and apparatus for managing display to download task in download instrument

Also Published As

Publication number Publication date
CN101119282A (en) 2008-02-06

Similar Documents

Publication Publication Date Title
WO2009046650A1 (en) A method and device for displaying the download tasks
US20220083572A1 (en) Extraction rule generation using clustering
US20220121410A1 (en) Technology add-on interface
US20170286455A1 (en) Technology Add-On Packages Controlling a Data Input and Query System
JP5698429B2 (en) Computer system, method and computer program for managing components
JP5055410B2 (en) Device management system and device management instruction scheduling method in the system
US10984013B1 (en) Tokenized event collector
US6360255B1 (en) Automatically integrating an external network with a network management system
JP7167175B2 (en) Video content transmission method and device
WO2011079776A1 (en) Method and device for outputting web form data and form processing system
US11706080B2 (en) Providing dynamic serviceability for software-defined data centers
CN114564852B (en) Operation method of FMEA (failure mode and effects analysis) data node and electronic equipment
WO2014086123A1 (en) Search method and information search terminal
CN116107846A (en) Linux system event monitoring method and device based on EBPF
WO2014056145A1 (en) Method and system for making web application obtain database change
CN100470546C (en) Data center server, data service system and data query method
EP1972094A2 (en) Methods, systems and computer program products for evaluating suitability of a network for packetized communications
US8838790B2 (en) Configuration value management apparatus and management method
CN110908955B (en) Management system of IO device description file
JP5239072B2 (en) Computer system, method and computer program for managing components
WO2007022696A1 (en) A method and a network management apparatus for implementing information service hierarchy inherited relation in the network management interface
JP4064621B2 (en) Software support system and computer-readable recording medium recording support program
JP6743546B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP2595833B2 (en) Remote maintenance device
CN113515425A (en) Method and device for dynamically reporting data

Legal Events

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

Ref document number: 08800840

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 1672/CHENP/2010

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 290710

122 Ep: pct application non-entry in european phase

Ref document number: 08800840

Country of ref document: EP

Kind code of ref document: A1