[go: up one dir, main page]

CN106227566A - Application program download control method, device and terminal unit in application shop - Google Patents

Application program download control method, device and terminal unit in application shop Download PDF

Info

Publication number
CN106227566A
CN106227566A CN201610602328.XA CN201610602328A CN106227566A CN 106227566 A CN106227566 A CN 106227566A CN 201610602328 A CN201610602328 A CN 201610602328A CN 106227566 A CN106227566 A CN 106227566A
Authority
CN
China
Prior art keywords
download
application program
application
seed information
seed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610602328.XA
Other languages
Chinese (zh)
Inventor
吴立佳
任魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610602328.XA priority Critical patent/CN106227566A/en
Publication of CN106227566A publication Critical patent/CN106227566A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开了一种应用商店中应用程序下载控制方法、装置以及终端设备。该方法包括:响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络;若是,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;若否,继续下载该应用程序;在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。通过该方法,减少了人为对下载应用程序的操作,同时有利于节约数据流量。

The invention discloses an application program download control method, device and terminal equipment in an application store. The method includes: responding to the download instruction of the application store to download the application program, detecting whether the currently used network type is a data network provided by the operator; if so, saving the corresponding seed information of the application program according to the permission permission of the user and Notify the system desktop to create a shortcut icon pointing to the seed information, stop downloading the application program, or continue to download the application program according to the user's forbidden permission; if not, continue to download the application program; when the network type of the local device is switched to access to After the WIFI network, automatically restart the download of the stopped application program according to the seed information, and display the download progress on the shortcut icon of the seed information. Through this method, human operations for downloading application programs are reduced, and at the same time, it is beneficial to save data traffic.

Description

应用商店中应用程序下载控制方法、装置及终端设备App download control method, device and terminal device in app store

技术领域technical field

本发明涉及数据下载领域,更具体地,涉及一种应用商店中应用程序下载控制方法、装置及终端设备。The present invention relates to the field of data download, and more specifically, to a method, device and terminal equipment for controlling downloading of application programs in an application store.

背景技术Background technique

人类社会实现了2G通信到4G通信的进程,5G通信也进入了研发阶段。移动通信技术的快速发展,带动了网络信息的快速传播。同时,由于信息的交互越来越快,资讯对人们来说越来越重要。Human society has realized the process from 2G communication to 4G communication, and 5G communication has also entered the research and development stage. The rapid development of mobile communication technology has driven the rapid dissemination of network information. At the same time, information is becoming more and more important to people due to the faster and faster exchange of information.

信息时代的到来,人们几乎每天都通过智能终端与外界进行着信息交流,获取感兴趣的信息,维系着自己的社交圈子,游戏以及娱乐等。应当注意到,网络上的所有内容都是数据,打开一个网页看到的图片、文字、以及视频等都是网络上数据传送到终端接收后反馈出来的,这个数据量就是流量。通常情况下,不在WIFI网络中的移动终端设备,没有数据流量的情况下,是没法在网上进行信息交互、数据通信的。现有的数据通信都是由运营商提供并进行收费的,数据流量的价值及其重要性不言而喻。现有技术中,智能设备的功能越来越多,下载功能是智能设备经常使用的功能之一。而应用程序,是人们下载最多的东西之一。更多地,随着现在智能终端设备的更新换代,现在的应用程序本身所占据的存储空间越来越大,从以前的几兆到现在的几十兆、上百兆不等。下载一个喜欢的软件或游戏应用程序,对于每个月有限的数据流量来说,会是一笔不少的花费。另外,对于没有数据流量又想迫切下载某个应用程序的人来说,需要及时下载又怕事后忘了,急需一个解决方案。With the advent of the information age, people exchange information with the outside world through smart terminals almost every day, obtain interesting information, maintain their social circles, games and entertainment, etc. It should be noted that all the content on the network is data. The pictures, texts, and videos seen when opening a web page are all fed back after the data on the network is transmitted to the terminal and received. This amount of data is the traffic. Under normal circumstances, mobile terminal devices that are not in the WIFI network cannot perform information interaction and data communication on the Internet without data traffic. Existing data communications are provided and charged by operators, and the value and importance of data traffic is self-evident. In the prior art, smart devices have more and more functions, and the download function is one of the frequently used functions of smart devices. Apps, on the other hand, are one of the things that people download the most. What's more, with the upgrading of smart terminal devices, the storage space occupied by the current application programs is getting larger and larger, ranging from a few megabytes in the past to tens of megabytes and hundreds of megabytes now. Downloading a favorite software or gaming application can cost a fortune for the limited monthly data usage. In addition, for those who do not have data traffic and want to download an application urgently, they need to download it in time and are afraid of forgetting it afterwards, so a solution is urgently needed.

发明内容Contents of the invention

为解决上述的至少一个问题,本发明提供了一种应用商店中应用程序下载控制方法、装置及终端设备。In order to solve at least one of the above problems, the present invention provides a method, device and terminal equipment for controlling downloading of application programs in an application store.

本发明提供的技术方案如下:The technical scheme provided by the invention is as follows:

第一方面,提供了一种应用商店中应用程序下载控制方法,其包括如下步骤:In a first aspect, a method for controlling downloading of application programs in an application store is provided, which includes the following steps:

响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络;In response to the download instruction of the application store to download the application program, detect whether the currently used network type is a data network provided by the operator;

若是,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;If so, save the seed information corresponding to the application according to the user's permission permission and notify the system desktop to create a shortcut icon pointing to the seed information, stop downloading the application program, or continue to download the application program according to the user's prohibition permission;

若否,继续下载该应用程序;If not, proceed to download the application;

在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。After the network type of the local device is switched and connected to the WIFI network, the download of the stopped application program is automatically restarted according to the seed information, and the download progress is displayed on the shortcut icon of the seed information.

具体地,在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度的步骤,还包括如下具体步骤:Specifically, after the network type of the local device is switched and connected to the WIFI network, the downloading of the stopped application program is automatically restarted according to the seed information, and the download progress is displayed on the shortcut icon of the seed information, It also includes the following specific steps:

在本机设备的网络类型切换接入到WIFI网络后,将本机设备切换接入到WIFI网络的信息发送到所述应用商店;After the network type of the local device is switched to access the WIFI network, the information that the local device is switched to the WIFI network is sent to the application store;

所述应用商店接收到该信息,根据所述种子信息自动重启下载所述被停止下载的应用程序;The application store receives this information, and automatically restarts and downloads the application program whose download has been stopped according to the seed information;

通过文件下载接口获取下载进度信息,并将该下载进度信息同步显示到种子信息的快捷图标上。The download progress information is obtained through the file download interface, and the download progress information is synchronously displayed on the shortcut icon of the seed information.

具体地,还包括如下步骤:Specifically, the following steps are also included:

当所述应用程序下载完成后,自动进行安装并删除所述应用程序对应的种子信息,并在桌面显示所述应用程序的快捷方式。After the application program is downloaded, it is automatically installed and the seed information corresponding to the application program is deleted, and a shortcut of the application program is displayed on the desktop.

优选地,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。Preferably, the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download progress of the application program.

优选地,所述快捷图标具有遮罩,所述遮罩的覆盖范围用于表示应用程序的下载进度。Preferably, the shortcut icon has a mask, and the coverage of the mask is used to represent the downloading progress of the application program.

具体地,根据所述种子信息自动重启下载所述被停止下载的应用程序的过程中,包括如下步骤:Specifically, in the process of automatically restarting the downloading of the stopped application program according to the seed information, the following steps are included:

根据所述种子信息自动重启下载所述被停止下载的应用程序,当网络类型切换到运营商提供的数据网络时,暂停正在下载的所述应用程序,直到本机设备再次切换接入到WIFI网络。Automatically restart and download the stopped application program according to the seed information, and when the network type switches to the data network provided by the operator, suspend the application program being downloaded until the local device is switched to the WIFI network again .

具体地,本机设备上设置有种子下载开关,用于表示用户权限,所述种子下载开关被配置为:Specifically, a torrent switch is set on the local device to indicate user permissions, and the torrent switch is configured as:

若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作。If the torrent download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed.

若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program.

优选地,所述快捷图标包括应用程序的下载进度、应用程序的名字以及应用程序的图标。Preferably, the shortcut icon includes the download progress of the application program, the name of the application program and the icon of the application program.

具体地,所述快捷图标可以实现暂停下载、继续下载以及删除下载应用程序的操作。Specifically, the shortcut icon can implement the operations of pausing the download, continuing the download, and deleting the downloaded application program.

具体地,对所述快捷图标暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述应用商店。Specifically, when the download of the shortcut icon is paused, resumed and deleted, the communication interface is called to synchronize the operation to the application store.

具体地,在所述应用商店对所述应用程序进行暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述快捷图标。Specifically, when the application store suspends downloading, resumes downloading, and deletes downloading of the application program, the communication interface is called to synchronize the operation to the shortcut icon.

优选地,下载所述应用程序采用的是断点续传技术。Preferably, the downloading of the application program adopts the technique of continuous downloading from broken points.

第二方面,提供了一种应用商店中应用程序下载控制装置,其包括:In a second aspect, an application program download control device in an application store is provided, which includes:

检测模块,用于响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络;A detection module, configured to detect whether the currently used network type is a data network provided by an operator in response to a download instruction for downloading an application program from the application store;

保存模块,用于若当前所实用的网络类型是运营商提供的数据网络,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;The saving module is used to save the seed information corresponding to the application program and notify the system desktop to create a shortcut icon pointing to the seed information according to the user's permission permission if the currently used network type is the data network provided by the operator, and stop downloading the application, or continue to download the application in accordance with the user's prohibited permission;

若否,继续下载该应用程序;If not, proceed to download the application;

下载模块,用于在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。The download module is used for automatically restarting and downloading the stopped application program according to the seed information after the network type of the local device is switched to the WIFI network, and displays the download progress in the shortcut icon of the seed information.

具体地,所述下载模块被配置为:Specifically, the download module is configured to:

在本机设备的网络类型切换接入到WIFI网络后,将本机设备切换接入到WIFI网络的信息发送到所述应用商店;After the network type of the local device is switched to access the WIFI network, the information that the local device is switched to the WIFI network is sent to the application store;

所述应用商店接收到该信息,根据所述种子信息自动重启下载所述被停止下载的应用程序;The application store receives this information, and automatically restarts and downloads the application program whose download has been stopped according to the seed information;

通过文件下载接口获取下载进度信息,并将该下载进度信息同步显示到种子信息的快捷图标上。The download progress information is obtained through the file download interface, and the download progress information is synchronously displayed on the shortcut icon of the seed information.

具体地,还包括:Specifically, it also includes:

安装模块,用于当所述应用程序下载完成后,自动进行安装并删除所述应用程序对应的种子信息,并在桌面显示所述应用程序的快捷方式。The installation module is used for automatically installing and deleting the seed information corresponding to the application program after the download of the application program is completed, and displaying the shortcut of the application program on the desktop.

优选地,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。Preferably, the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download progress of the application program.

优选地,所述快捷图标具有遮罩,所述遮罩的覆盖范围用于表示应用程序的下载进度。Preferably, the shortcut icon has a mask, and the coverage of the mask is used to represent the downloading progress of the application program.

具体地,根据所述种子信息自动重启下载所述被停止下载的应用程序的过程中,包括:Specifically, automatically restarting the process of downloading the stopped application program according to the seed information includes:

根据所述种子信息自动重启下载所述被停止下载的应用程序,当网络类型切换到运营商提供的数据网络时,暂停正在下载的所述应用程序,直到本机设备再次切换接入到WIFI网络。Automatically restart and download the stopped application program according to the seed information, and when the network type switches to the data network provided by the operator, suspend the application program being downloaded until the local device is switched to the WIFI network again .

具体地,本机设备上设置有种子下载开关,用于表示用户权限,所述种子下载开关被配置为:Specifically, a torrent switch is set on the local device to indicate user permissions, and the torrent switch is configured as:

若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作。If the torrent download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed.

若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program.

优选地,所述快捷图标包括应用程序的下载进度、应用程序的名字以及应用程序的图标。Preferably, the shortcut icon includes the download progress of the application program, the name of the application program and the icon of the application program.

具体地,所述快捷图标可以实现暂停下载、继续下载以及删除下载应用程序的操作。Specifically, the shortcut icon can implement the operations of pausing the download, continuing the download, and deleting the downloaded application program.

优选地,对所述快捷图标暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述应用商店。Preferably, when the download of the shortcut icon is paused, resumed and deleted, the communication interface is called to synchronize the operation to the application store.

优选地,在所述应用商店对所述应用程序进行暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述快捷图标。Preferably, when the application store pauses the download, resumes the download and deletes the download of the application, the communication interface is called to synchronize the operation to the shortcut icon.

优选地,下载所述应用程序采用的是断点续传技术。Preferably, the downloading of the application program adopts the technique of continuous downloading from broken points.

第三方面,提供了一种终端设备,包括处理器,用于执行上述第一方面所述的应用商店中应用程序下载控制方法。A third aspect provides a terminal device, including a processor, configured to execute the method for controlling downloading of application programs in an application store as described in the first aspect.

区别于现有技术,本发明具有以下优点:Different from the prior art, the present invention has the following advantages:

1.本发明通过设置一个用户权限,根据用户是否允许这个权限,对应用程序的下载进行不同的操作,一方面,使得下载应用程序更加自动智能化,简化了用户在应用程序下载中需要动手进行操作的过程,提高了用户的体验;另一方面,通过保存应用程序的种子信息,在WIFI网络下根据该种子信息自动下载所述应用程序,可以节省数据流量。1. By setting a user authority, the present invention performs different operations on the downloading of the application program according to whether the user allows this authority. On the one hand, it makes the downloading of the application program more automatic and intelligent, and simplifies the need for the user to manually download the application program. The operation process improves the user experience; on the other hand, by saving the seed information of the application program and automatically downloading the application program according to the seed information under the WIFI network, data traffic can be saved.

2.本发明通过文件下载接口获取应用程序下载的进度并同步到应用商店和图标上面,并可以直接拖过桌面的把图标进行下载,暂停下载,删除下载等操作,直观简易,提高了用户的体验。2. The present invention obtains the download progress of the application through the file download interface and synchronizes it to the application store and the icon, and can directly drag the icon on the desktop to download, pause the download, delete the download and other operations, which is intuitive and simple, and improves the user's convenience. experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1示出了本发明应用商店中应用程序下载控制方法的一个实施例的流程图。Fig. 1 shows a flow chart of an embodiment of the application program download control method in the application store of the present invention.

图2示出了本发明应用商店中应用程序下载控制装置的一个实施例的原理框图。Fig. 2 shows a functional block diagram of an embodiment of an application program download control device in an application store according to the present invention.

图3示出了本发明终端设备的一个实施例的结构图。Fig. 3 shows a structural diagram of an embodiment of the terminal device of the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

在本发明的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc. are different types.

本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件10被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the description of the present invention refers to the presence of said features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element 10 is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Additionally, "connected" or "coupled" as used herein may include wireless connection or wireless coupling. The expression "and/or" used herein includes all or any elements and all combinations of one or more associated listed items.

本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

本技术领域技术人员可以理解,本发明涉及的名词的含义至少包括:Those skilled in the art will understand that the meanings of the nouns involved in the present invention at least include:

应用程序(Application):应用程序运行在用户模式,可以和用户进行交互,具有可视的用户界面。每一个应用程序运行于独立的进程、他们拥有自己独立的地址空间。不同应用程序的分界线称为进程边界。Application (Application): The application runs in user mode, can interact with the user, and has a visual user interface. Each application runs in an independent process, and they have their own independent address space. The dividing line between different applications is called a process boundary.

图标(Icon):显示在管理数据的应用程序中的数据,或者显示应用程序本身。数据管理程序,即在文件夹中用户数据的管理、进行特定数据管理的程序的情况下,数据通过图标显示出来。通常情况下显示的是数据的内容或者与数据相关联的应用程序的图案。另外,点击数据的图标,一般可以之间完成启动相关应用程序以后再显示数据本身这两个步骤的工作应用程序的图标只能用于启动应用程序。Icon: Displays the data in the application that manages the data, or displays the application itself. Data management programs, that is, in the case of management of user data in folders, programs that perform specific data management, data are displayed by icons. Typically what is displayed is the content of the data or the graphics of the application associated with the data. In addition, clicking the icon of the data can generally complete the two steps of starting the relevant application and then displaying the data itself. The icon of the application can only be used to start the application.

断点续传(Breakpoint Resume):换种说法,也就是文件传输协议(File TransferProtocol,简称FTP)。客户端软件断点续传,其所指的是在下载或上传时,将下载或上传的任务(一个文件或一个压缩包)人为的划分为几个部分,每一个部分采用一个线程进行上传或下载,如果碰到网络故障,可以从已经上传或下载的部分开始继续上传下载未完成的部分,而没有必要从头开始上传下载。用户可以节省时间,提高速度。Breakpoint Resume (Breakpoint Resume): In other words, it is the File Transfer Protocol (File Transfer Protocol, referred to as FTP). Resumable uploading of client software means that when downloading or uploading, the task of downloading or uploading (a file or a compressed package) is artificially divided into several parts, and each part uses a thread for uploading or uploading. Download, if you encounter a network failure, you can continue to upload and download the unfinished part from the part that has been uploaded or downloaded, and there is no need to upload and download from the beginning. Users can save time and increase speed.

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

如图1,本发明提供了一种应用商店中应用程序下载控制控制方法。其包括步骤S11-S13:As shown in FIG. 1 , the present invention provides a method for controlling downloading of application programs in an application store. It includes steps S11-S13:

S11.响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络。S11. In response to the download instruction of the application store to download the application program, detect whether the currently used network type is a data network provided by the operator.

在智能设备上,通常都会下载安装有各种各样的应用程序,以满足用户在各种场景下的不同需求。所述应用程序包括热门的娱乐游戏、音乐播放器、社交应用程序。在现今数以万计的应用程序当中,找到一款称心如意的应用程序,并不容易。这往往需要花费不少的心血通过各种途径来了解。On smart devices, various applications are usually downloaded and installed to meet different needs of users in various scenarios. The applications include popular entertainment games, music players, and social applications. Among the tens of thousands of applications available today, it is not easy to find a satisfactory application. This often requires a lot of effort to understand through various channels.

在应用商店中,选择下载一个被选择好的应用程序。本机设备会先检查当前的网络状态是否处于数据网络下,毕竟不在数据网络下的话,是无法进行数据传输的,更不用说下载一个占据存储空间较大的应用程序。在确定了当前的网络状态是处于数据网络时,还需要对其进行判断。该数据网络是WIFI网络还是运营商提供的数据网络。现在很多场所都提供免费的WIFI网络,例如麦当劳、肯德基提供的免费WIFI网络,当用户使用的智能设备正连接到WIFI网络的时候,在WIFI网络下对用户来说,这并不会产生数据流量的花费,在其点击下载的时候,显然用户想在当前的网络类型下进行直接的下载。In the app store, choose to download a selected app. The local device will first check whether the current network status is under the data network. After all, if it is not under the data network, data transmission cannot be performed, let alone downloading an application that occupies a large storage space. When it is determined that the current network state is in the data network, it also needs to be judged. Whether the data network is a WIFI network or a data network provided by an operator. Many places now provide free WIFI networks, such as McDonald’s and KFC’s free WIFI networks. When the user’s smart device is connected to the WIFI network, it will not generate data traffic for the user under the WIFI network. When the user clicks to download, it is obvious that the user wants to download directly under the current network type.

但用户置身与野外或者露天公园休息时,使用着运营商提供的数据网络浏览着好看好玩有用的各种各样的应用程序时,在这时候下载应用程序,是会产生大量数据流量花费的,在这样的情形之下,是否需要进行下载,需要用户预先设置了权限,或者用户在当前的网络类型下进行相应的手动操作。However, when the user is resting in the wild or in an open-air park, when using the data network provided by the operator to browse various interesting, fun and useful applications, downloading the application at this time will generate a large amount of data traffic costs. In such a situation, whether downloading is required requires the user to pre-set permissions, or the user performs a corresponding manual operation under the current network type.

S12.若是,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;若否,继续下载该应用程序。S12. If so, according to the user's permission, save the corresponding seed information of the application and notify the system desktop to create a shortcut icon pointing to the seed information, stop downloading the application, or continue to download the application according to the user's forbidden permission; if No, proceed to download the application.

在本发明的一种实施例中,用户设置好了权限的情况下,用户使用的本机设备的当前连接的网络类型是运营商提供的数据网络时,根据用户所设置的权限,进行相应的下载操作。在用户允许权限的情况下,在用户进入应用商店点击下载某一应用程序,如微信、QQ、酷狗、网易公开课、360杀毒,本机设备则会根据用户允许的权限,保存所述应用程序相对应的种子信息并通过调用相关接口发送信息通知系统桌面创建指向该种子信息的快捷图标,并停止下载该应用程序。所述应用程序的停止下载操作一方面是对用户的点击下载操作的回应,另一方面,只有停止该应用程序的下载操作,才能够节省数据流量。应该注意到,用户如果禁止该相应权限,说明用户在当前的网络类型下,相比起下载应用程序而言,并不在意所产生的数据流量的花费。本机设备会继续下载该应用程序的操作。In one embodiment of the present invention, when the user has set the authority, when the current connected network type of the local device used by the user is the data network provided by the operator, the corresponding authority is set according to the authority set by the user. Download operation. When the user allows permission, when the user enters the app store and clicks to download an application, such as WeChat, QQ, Kugou, NetEase Open Course, 360 Antivirus, the local device will save the application according to the permission allowed by the user The program corresponds to the seed information and sends information by calling the relevant interface to notify the system desktop to create a shortcut icon pointing to the seed information, and stop downloading the application program. The stop downloading operation of the application program is on the one hand a response to the user's click download operation, and on the other hand, only by stopping the download operation of the application program can data traffic be saved. It should be noted that if the user prohibits the corresponding permission, it means that the user does not care about the cost of data traffic generated by downloading the application program under the current network type. The native device will continue to download the application.

在本发明里,所说的种子信息并不等同于BT原理上的种子,BT原理上的种子只不过是所述的种子信息的一个类型。所述种子信息的内容和形式多种多样,并且根据该种子信息下载对应的应用程序,其并不依赖于BT种子机制,BT种子机制不过是其的实现方式之一,同时,也可以做到断点续传。在本发明的一种实施例中,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。所以,该种子信息并不是用户最终要下载的东西,但通过该种子信息,则可以下载其对应的应用程序。种子信息更多地起到的是一个索引指向的作用,因此,该种子信息的数据所占据的存储空间相比于其对应的应用程序而言是小巫见大巫的。In the present invention, the said seed information is not equal to the seed in principle of BT, and the seed in principle of BT is only one type of said seed information. The content and form of the seed information are various, and the corresponding application program is downloaded according to the seed information, which does not depend on the BT seed mechanism, which is just one of its implementation methods, and at the same time, it can also be done http. In an embodiment of the present invention, the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download progress of the application program. Therefore, the seed information is not what the user will eventually download, but the corresponding application program can be downloaded through the seed information. Seed information plays more of an index pointing role, therefore, the storage space occupied by the data of the seed information is insignificant compared with its corresponding application program.

图标是具有明确指代含义的计算机图形。其中桌面图标是软件标识,界面中的图标是功能标识。图标是人为设计的,用以指代某一类型的产品,是计算机应用图形化的重要组成部分。An icon is a computer graphic with a clear designation. The icons on the desktop are software identifiers, and the icons on the interface are function identifiers. Icons are artificially designed to refer to a certain type of product and are an important part of computer application graphics.

在本发明的另一种实施例中,所述快捷图标是一个小的图片或对象,代表一个应用程序,图标有助于用户快速执行命令和打开程序文件,单击或双击图标以执行一个命令。所述快捷图标有一套标准的大小和属性格式,能适应不用的智能设备的系统版本。所述快捷图标包括应用程序的下载进度、应用程序的名字以及应用程序的图标。同时所述快捷图标具有遮罩,所述遮罩的覆盖范围用于表示应用程序的下载进度。所述遮罩同时也可以在其上用数据标示其覆盖的范围。所述快捷图标可以实现暂停下载、继续下载以及删除下载应用程序的操作。In another embodiment of the present invention, the shortcut icon is a small picture or object, representing an application program, the icon helps the user to quickly execute commands and open program files, click or double-click the icon to execute a command . The shortcut icon has a standard size and attribute format, which can adapt to different system versions of smart devices. The shortcut icon includes the download progress of the application program, the name of the application program and the icon of the application program. At the same time, the shortcut icon has a mask, and the coverage of the mask is used to indicate the download progress of the application program. At the same time, the mask can also be marked with data on its covered range. The shortcut icon can implement the operations of pausing download, continuing download and deleting the downloaded application program.

同时,本实施例在本机设备上提供了一种种子下载开关,该种子下载开关用来表示用户的权限,所述种子下载开关被配置为:At the same time, this embodiment provides a torrent download switch on the local device, the torrent download switch is used to represent the user's authority, and the torrent download switch is configured as:

若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作。If the torrent download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed.

若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program.

应当注意到,所述种子下载开关可以设置在本机设备的操作界面的任何一个位置。优选地,在本发明的一种实施例中,所述种子下载开关是由系统设置页面提供的。It should be noted that the torrent download switch can be set at any position on the operation interface of the local device. Preferably, in an embodiment of the present invention, the torrent download switch is provided by a system setting page.

S13.在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。S13. After the network type of the local device is switched and connected to the WIFI network, automatically restart the download of the stopped application program according to the seed information, and display the download progress on the shortcut icon of the seed information.

在本发明的一种实施例中,步骤S13包括如下具体步骤:In one embodiment of the present invention, step S13 includes the following specific steps:

在本机设备的网络类型切换接入到WIFI网络后,将本机设备切换接入到WIFI网络的信息发送到所述应用商店;After the network type of the local device is switched to access the WIFI network, the information that the local device is switched to the WIFI network is sent to the application store;

所述应用商店接收到该信息,根据所述种子信息自动重启下载所述被停止下载的应用程序;The application store receives this information, and automatically restarts and downloads the application program whose download has been stopped according to the seed information;

通过文件下载接口获取下载进度信息,并将该下载进度信息同步显示到种子信息的快捷图标上。The download progress information is obtained through the file download interface, and the download progress information is synchronously displayed on the shortcut icon of the seed information.

在本发明的一种实施例中,还包括:当所述应用程序下载完成后,自动进行安装并删除所述应用程序对应的种子信息,并在桌面显示所述应用程序的快捷方式。In an embodiment of the present invention, it further includes: after the download of the application program is completed, automatically install and delete the seed information corresponding to the application program, and display the shortcut of the application program on the desktop.

同时,根据所述种子信息自动重启下载所述被停止下载的应用程序的过程中,包括如下步骤:At the same time, the process of automatically restarting and downloading the stopped application program according to the seed information includes the following steps:

根据所述种子信息自动重启下载所述被停止下载的应用程序,当网络类型切换到运营商提供的数据网络时,暂停正在下载的所述应用程序,直到本机设备再次切换接入到WIFI网络。Automatically restart and download the stopped application program according to the seed information, and when the network type switches to the data network provided by the operator, suspend the application program being downloaded until the local device is switched to the WIFI network again .

在利用保存种子信息进行应用程序下载的过程中,用户是可以随时设置相应的权限的,其可以在用户允许权限下,利用WIFI网络根据保存好的种子信息下载了50%的应用程序,然后禁止该权限,利用运营商提供的数据网络,如移动、联通、电信等提供的2G、3G、4G网络下载完成的剩下的50%。In the process of using stored seed information to download applications, the user can set the corresponding permissions at any time. Under the permission of the user, he can use the WIFI network to download 50% of the applications according to the saved seed information, and then prohibit This authority uses the data network provided by the operator, such as the remaining 50% of the 2G, 3G, and 4G network downloads provided by China Mobile, China Unicom, and China Telecom.

在本发明的另一种实施例中,用户保存了种子信息,在网络类型切换接入到WIFI网络时,下载了2%的应用程序。在本机设备离开当前的WIFI网络,切换接入到运营商提供的数据网络的时候,暂停下载所述的应用程序,等待本机设备再次切换接入到WIFI网络,自动继续下载未完成的98%。In another embodiment of the present invention, the user saves the seed information, and downloads 2% of the application programs when the network type is switched and connected to the WIFI network. When the local device leaves the current WIFI network and switches to the data network provided by the operator, the download of the application program described above will be suspended, and the download of the unfinished 98 will continue automatically when the local device is switched to the WIFI network again. %.

在本发明的另一种实施例中,用户保存了多个种子信息,其可以对不同的种子信息执行不同的操作。例如,用户保存了微信、QQ、酷狗这些应用程序所对应的种子信息,本机设备的网络类型切换接入到WIFI网络时,在WIFI网络的状态下,根据各自的种子信息,微信的下载进度达到了99%,QQ的下载进度达到了50%,酷狗的下载进度达到了15%。就在此时,本机设备当前的网络类型切换接入到了运营商提供的数据网络,用户可以选择对微信单独禁止权限,让微信在当前运营商提供的数据网络下继续下载完成安装。同时,不影响QQ、酷狗的下载操作,QQ、酷狗还是等到本机设备切换接入到WIFI网络下,才自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。In another embodiment of the present invention, the user saves multiple seed information, and can perform different operations on different seed information. For example, the user saved the seed information corresponding to WeChat, QQ, and Kugou. When the network type of the local device is switched to connect to the WIFI network, in the state of the WIFI network, according to the respective seed information, the download of WeChat The progress reached 99%, the download progress of QQ reached 50%, and the download progress of Kugou reached 15%. At this time, the current network type of the local device is switched to the data network provided by the operator. The user can choose to prohibit the authorization of WeChat separately, and let WeChat continue to download and complete the installation under the data network provided by the current operator. At the same time, it does not affect the download operation of QQ and Kugou. QQ and Kugou will wait until the local device is switched to the WIFI network before automatically restarting the download of the application program that has been stopped, and it will be displayed on the shortcut icon of the seed information. its download progress.

应当注意到,下载所述应用程序采用的是断点续传技术。根据种子信息下载对应的应用程序,把整个应用程序的数据分成若干个部分,每一个部分采用一个线程进行下载,如果碰到网络故障,可以从已经下载的部分开始继续下载未完成的部分,而没有必要从头开始下载。用户可以节省时间,提高速度。It should be noted that the downloading of the application program adopts the technique of resumed downloading. Download the corresponding application program according to the seed information, divide the data of the entire application program into several parts, each part uses a thread to download, if you encounter a network failure, you can continue to download the unfinished part from the downloaded part, and There is no need to download from scratch. Users can save time and increase speed.

在本发明的一种实施例中,对所述快捷图标暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述应用商店。同时,在所述应用商店对所述应用程序进行暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述快捷图标。In an embodiment of the present invention, when the download of the shortcut icon is paused, resumed and deleted, the communication interface is called to synchronize the operation to the application store. At the same time, when the application store suspends downloading, resumes downloading and deletes downloading of the application program, the communication interface is called to synchronize the operation to the shortcut icon.

如图2,本发明还提供了一种应用商店中应用程序下载控制装置。其包括检测模块S101、保存模块S102以及下载模块S103。As shown in FIG. 2 , the present invention also provides a device for controlling downloading of application programs in an application store. It includes a detection module S101, a saving module S102 and a downloading module S103.

检测模块S101,用于响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络。The detection module S101 is configured to detect whether the currently used network type is a data network provided by an operator in response to a download instruction of the application store for downloading an application program.

在智能设备上,通常都会下载安装有各种各样的应用程序,以满足用户在各种场景下的不同需求。所述的应用程序包括热门的娱乐游戏、音乐播放器、社交应用程序。在现今数以万计的应用程序当中,找到一款称心如意的应用程序,并不容易,这往往需要花费不少的心血通过各种途径来了解。On smart devices, various applications are usually downloaded and installed to meet different needs of users in various scenarios. Said application programs include popular entertainment games, music players, and social application programs. Among the tens of thousands of applications today, it is not easy to find a satisfactory application, which often requires a lot of effort to understand through various channels.

在应用商店中,选择下载一个被选择好的应用程序。本机设备会先检查当前的网络状态是否处于数据网络下,毕竟不在数据网络下的话,是无法进行数据传输的,更不用说下载一个占据存储空间较大的应用程序。在确定了当前的网络状态是处于数据网络时,还需要对其进行判断。该数据网络是WIFI网络还是运营商提供的数据网络。现在很多场所都提供免费的WIFI网络,例如麦当劳、肯德基提供的免费WIFI网络,当用户使用的智能设备正连接到WIFI网络的时候,在WIFI网络下对用户来说,这并不会产生数据流量的花费,在其点击下载的时候,显然用户想在当前的网络类型下进行直接的下载。In the app store, choose to download a selected app. The local device will first check whether the current network status is under the data network. After all, if it is not under the data network, data transmission cannot be performed, let alone downloading an application that occupies a large storage space. When it is determined that the current network state is in the data network, it also needs to be judged. Whether the data network is a WIFI network or a data network provided by an operator. Many places now provide free WIFI networks, such as McDonald’s and KFC’s free WIFI networks. When the user’s smart device is connected to the WIFI network, it will not generate data traffic for the user under the WIFI network. When the user clicks to download, it is obvious that the user wants to download directly under the current network type.

但用户置身与野外或者露天公园休息时,使用着运营商提供的数据网络浏览着好看好玩有用的各种各样的应用程序时,在这时候下载应用程序,是会产生大量数据流量花费的,在这样的情形之下,是否需要进行下载,需要用户预先设置了权限,或者用户在当前的网络类型下进行相应的手动操作。However, when the user is resting in the wild or in an open-air park, when using the data network provided by the operator to browse various interesting, fun and useful applications, downloading the application at this time will generate a large amount of data traffic costs. In such a situation, whether downloading is required requires the user to pre-set permissions, or the user performs a corresponding manual operation under the current network type.

保存模块S102,用于若当前所实用的网络类型是运营商提供的数据网络,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;若否,继续下载该应用程序。Preservation module S102, is used for if the current practical network type is the data network provided by the operator, then according to the user's permission permission, save the seed information corresponding to the application program and notify the system desktop to create a shortcut icon pointing to the seed information, stop Download the application program, or continue to download the application program according to the user's forbidden permission; if not, continue to download the application program.

在本发明的一种实施例中,用户设置好了权限的情况下,用户使用的本机设备的当前连接的网络类型是运营商提供的数据网络时,根据用户所设置的权限,进行相应的下载操作。在用户允许权限的情况下,在用户进入应用商店点击下载某一应用程序,如微信、QQ、酷狗、网易公开课、360杀毒,本机设备则会根据用户允许的权限,保存所述应用程序相对应的种子信息并通过调用相关接口发送信息通知系统桌面创建指向该种子信息的快捷图标,并停止下载该应用程序。所述应用程序的停止下载操作一方面是对用户的点击下载操作的回应,另一方面,只有停止该应用程序的下载操作,才能够节省数据流量。应该注意到,用户如果禁止该相应权限,说明用户在当前的网络类型下,相比起下载应用程序而言,并不在意所产生的数据流量的花费。本机设备会继续下载该应用程序的操作。In one embodiment of the present invention, when the user has set the authority, when the current connected network type of the local device used by the user is the data network provided by the operator, the corresponding authority is set according to the authority set by the user. Download operation. When the user allows permission, when the user enters the app store and clicks to download an application, such as WeChat, QQ, Kugou, NetEase Open Course, 360 Antivirus, the local device will save the application according to the permission allowed by the user The program corresponds to the seed information and sends information by calling the relevant interface to notify the system desktop to create a shortcut icon pointing to the seed information, and stop downloading the application program. The stop downloading operation of the application program is on the one hand a response to the user's click download operation, and on the other hand, only by stopping the download operation of the application program can data traffic be saved. It should be noted that if the user prohibits the corresponding permission, it means that the user does not care about the cost of data traffic generated by downloading the application program under the current network type. The native device will continue to download the application.

在本发明里,所说的种子信息并不等同于BT原理上的种子,BT原理上的种子只不过是所述的种子信息的一个类型。所述种子信息的内容和形式多种多样,并且根据该种子信息下载对应的应用程序,其并不依赖于BT种子机制,BT种子机制不过是其的实现方式之一,同时,也可以做到断点续传。在本发明的一种实施例中,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。所以,该种子信息并不是用户最终要下载的东西,但通过该种子信息,则可以下载其对应的应用程序。种子信息更多地起到的是一个索引指向的作用,因此,该种子信息的数据所占据的存储空间相比于其对应的应用程序而言是小巫见大巫的。In the present invention, the said seed information is not equal to the seed in principle of BT, and the seed in principle of BT is only one type of said seed information. The content and form of the seed information are various, and the corresponding application program is downloaded according to the seed information, which does not depend on the BT seed mechanism, which is just one of its implementation methods, and at the same time, it can also be done http. In an embodiment of the present invention, the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download progress of the application program. Therefore, the seed information is not what the user will eventually download, but the corresponding application program can be downloaded through the seed information. Seed information plays more of an index pointing role, therefore, the storage space occupied by the data of the seed information is insignificant compared with its corresponding application program.

图标是具有明确指代含义的计算机图形。其中桌面图标是软件标识,界面中的图标是功能标识。图标是人为设计的,用以指代某一类型的产品,是计算机应用图形化的重要组成部分。An icon is a computer graphic with a clear designation. The icons on the desktop are software identifiers, and the icons on the interface are function identifiers. Icons are artificially designed to refer to a certain type of product and are an important part of computer application graphics.

在本发明的另一种实施例中,所述快捷图标是一个小的图片或对象,代表一个应用程序,图标有助于用户快速执行命令和打开程序文件,单击或双击图标以执行一个命令。所述快捷图标有一套标准的大小和属性格式,能适应不用的智能设备的系统版本。所述快捷图标包括应用程序的下载进度、应用程序的名字以及应用程序的图标。同时所述快捷图标具有遮罩,所述遮罩的覆盖范围用于表示应用程序的下载进度。所述遮罩同时也可以在其上用数据标示其覆盖的范围。所述快捷图标可以实现暂停下载、继续下载以及删除下载应用程序的操作。In another embodiment of the present invention, the shortcut icon is a small picture or object, representing an application program, the icon helps the user to quickly execute commands and open program files, click or double-click the icon to execute a command . The shortcut icon has a standard size and attribute format, which can adapt to different system versions of smart devices. The shortcut icon includes the download progress of the application program, the name of the application program and the icon of the application program. At the same time, the shortcut icon has a mask, and the coverage of the mask is used to indicate the download progress of the application program. At the same time, the mask can also be marked with data on its covered range. The shortcut icon can implement the operations of pausing download, continuing download and deleting the downloaded application program.

同时,本实施例在本机设备上提供了一种种子下载开关,该种子下载开关用来表示用户的权限,所述种子下载开关被配置为:At the same time, this embodiment provides a torrent download switch on the local device, the torrent download switch is used to represent the user's authority, and the torrent download switch is configured as:

若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作。If the torrent download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed.

若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program.

应当注意到,所述种子下载开关可以设置在本机设备的操作界面的任何一个位置。优选地,在本发明的一种实施例中,所述种子下载开关是由系统设置页面提供的。It should be noted that the torrent download switch can be set at any position on the operation interface of the local device. Preferably, in an embodiment of the present invention, the torrent download switch is provided by a system setting page.

下载模块S103,用于在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。The download module S103 is used for automatically restarting and downloading the stopped application program according to the seed information after the network type of the local device is switched to the WIFI network, and displaying the download progress on the shortcut icon of the seed information .

在本发明的一种实施例中,下载模块S103被配置为:In one embodiment of the present invention, the download module S103 is configured as:

在本机设备的网络类型切换接入到WIFI网络后,将本机设备切换接入到WIFI网络的信息发送到所述应用商店;After the network type of the local device is switched to access the WIFI network, the information that the local device is switched to the WIFI network is sent to the application store;

所述应用商店接收到该信息,根据所述种子信息自动重启下载所述被停止下载的应用程序;The application store receives this information, and automatically restarts and downloads the application program whose download has been stopped according to the seed information;

通过文件下载接口获取下载进度信息,并将该下载进度信息同步显示到种子信息的快捷图标上。The download progress information is obtained through the file download interface, and the download progress information is synchronously displayed on the shortcut icon of the seed information.

在本发明的一种实施例中,还包括:In one embodiment of the invention, it also includes:

安装模块,用于当所述应用程序下载完成后,自动进行安装并删除所述应用程序对应的种子信息,并在桌面显示所述应用程序的快捷方式。The installation module is used for automatically installing and deleting the seed information corresponding to the application program after the download of the application program is completed, and displaying the shortcut of the application program on the desktop.

同时,根据所述种子信息自动重启下载所述被停止下载的应用程序的过程中,包括如下步骤:At the same time, the process of automatically restarting and downloading the stopped application program according to the seed information includes the following steps:

根据所述种子信息自动重启下载所述被停止下载的应用程序,当网络类型切换到运营商提供的数据网络时,暂停正在下载的所述应用程序,直到本机设备再次切换接入到WIFI网络。Automatically restart and download the stopped application program according to the seed information, and when the network type switches to the data network provided by the operator, suspend the application program being downloaded until the local device is switched to the WIFI network again .

在利用保存种子信息进行应用程序下载的过程中,用户是可以随时设置相应的权限的,其可以在用户允许权限下,利用WIFI网络根据保存好的种子信息下载了50%的应用程序,然后禁止该权限,利用运营商提供的数据网络,如移动、联通、电信等提供的2G、3G、4G网络下载完成的剩下的50%。In the process of using stored seed information to download applications, the user can set the corresponding permissions at any time. Under the permission of the user, he can use the WIFI network to download 50% of the applications according to the saved seed information, and then prohibit This authority uses the data network provided by the operator, such as the remaining 50% of the 2G, 3G, and 4G network downloads provided by China Mobile, China Unicom, and China Telecom.

在本发明的另一种实施例中,用户保存了种子信息,在网络类型切换接入到WIFI网络时,下载了2%的应用程序。在本机设备离开当前的WIFI网络,切换接入到运营商提供的数据网络的时候,暂停下载所述的应用程序,等待本机设备再次切换接入到WIFI网络,自动继续下载未完成的98%。In another embodiment of the present invention, the user saves the seed information, and downloads 2% of the application programs when the network type is switched and connected to the WIFI network. When the local device leaves the current WIFI network and switches to the data network provided by the operator, the download of the application program described above will be suspended, and the download of the unfinished 98 will continue automatically when the local device is switched to the WIFI network again. %.

在本发明的另一种实施例中,用户保存了多个种子信息,其可以对不同的种子信息执行不同的操作。例如,用户保存了微信、QQ、酷狗这些应用程序所对应的种子信息,本机设备的网络类型切换接入到WIFI网络时,在WIFI网络的状态下,根据各自的种子信息,微信的下载进度达到了99%,QQ的下载进度达到了50%,酷狗的下载进度达到了15%。就在此时,本机设备当前的网络类型切换接入到了运营商提供的数据网络,用户可以选择对微信单独禁止权限,让微信在当前运营商提供的数据网络下继续下载完成安装。同时,不影响QQ、酷狗的下载操作,QQ、酷狗还是等到本机设备切换接入到WIFI网络下,才自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。In another embodiment of the present invention, the user saves multiple seed information, and can perform different operations on different seed information. For example, the user saved the seed information corresponding to WeChat, QQ, and Kugou. When the network type of the local device is switched to connect to the WIFI network, in the state of the WIFI network, according to the respective seed information, the download of WeChat The progress reached 99%, the download progress of QQ reached 50%, and the download progress of Kugou reached 15%. At this time, the current network type of the local device is switched to the data network provided by the operator. The user can choose to prohibit the authorization of WeChat separately, and let WeChat continue to download and complete the installation under the data network provided by the current operator. At the same time, it does not affect the download operation of QQ and Kugou. QQ and Kugou will wait until the local device is switched to the WIFI network before automatically restarting the download of the application program that has been stopped, and it will be displayed on the shortcut icon of the seed information. its download progress.

应当注意到,下载所述应用程序采用的是断点续传技术。根据种子信息下载对应的应用程序,把整个应用程序的数据分成若干个部分,每一个部分采用一个线程进行下载,如果碰到网络故障,可以从已经下载的部分开始继续下载未完成的部分,而没有必要从头开始下载。用户可以节省时间,提高速度。It should be noted that the downloading of the application program adopts the technique of resumed downloading. Download the corresponding application program according to the seed information, divide the data of the entire application program into several parts, each part uses a thread to download, if you encounter a network failure, you can continue to download the unfinished part from the downloaded part, and There is no need to download from scratch. Users can save time and increase speed.

在本发明的一种实施例中,对所述快捷图标暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述应用商店。同时,在所述应用商店对所述应用程序进行暂停下载、继续下载以及删除下载时,调用通信接口将所述操作同步到所述快捷图标。In an embodiment of the present invention, when the download of the shortcut icon is paused, resumed and deleted, the communication interface is called to synchronize the operation to the application store. At the same time, when the application store suspends downloading, resumes downloading and deletes downloading of the application program, the communication interface is called to synchronize the operation to the shortcut icon.

本发明还提供了一种终端设备的实施例,如图3所示。The present invention also provides an embodiment of a terminal device, as shown in FIG. 3 .

一种终端设备,其包括处理器,用于执行上面所述的应用商店中应用程序下载控制方法的步骤S11-S13。A terminal device, which includes a processor, configured to execute steps S11-S13 of the above-mentioned method for controlling downloading of application programs in an application store.

为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端为手机为例:For ease of description, only parts related to the embodiments of the present invention are shown, and for specific technical details that are not disclosed, please refer to the method part of the embodiments of the present invention. The terminal can be any terminal device including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, sales terminal), vehicle-mounted computer, etc. Taking the terminal as a mobile phone as an example:

图3示出的是与本发明实施例提供的终端相关的手机的部分结构的框图。参考图3,手机包括:射频(Radio Frequency,RF)电路1510、存储器1520、输入单元1530、显示单元1540、传感器1550、音频电路1560、无线保真(wireless fidelity,WiFi)模块1570、处理器1580、以及电源1590等部件。本领域技术人员可以理解,图3中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Fig. 3 shows a block diagram of a partial structure of a mobile phone related to a terminal provided by an embodiment of the present invention. Referring to FIG. 3 , the mobile phone includes: a radio frequency (Radio Frequency, RF) circuit 1510, a memory 1520, an input unit 1530, a display unit 1540, a sensor 1550, an audio circuit 1560, a wireless fidelity (wireless fidelity, WiFi) module 1570, and a processor 1580 , and power supply 1590 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 3 does not constitute a limitation to the mobile phone, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

下面结合图3对手机的各个构成部件进行具体的介绍:The following is a specific introduction to each component of the mobile phone in conjunction with Figure 3:

RF电路1510可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1580处理;另外,将设计上行的数据发送给基站。通常,RF电路1510包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路1510还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1510 can be used for sending and receiving information or receiving and sending signals during a call. In particular, after receiving the downlink information from the base station, it is processed by the processor 1580; in addition, the designed uplink data is sent to the base station. Generally, the RF circuit 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA), a duplexer, and the like. In addition, RF circuitry 1510 may also communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (Global System of Mobile communication, GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS), etc.

存储器1520可用于存储软件程序以及模块,处理器1580通过运行存储在存储器1520的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1520可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1520可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1520 can be used to store software programs and modules, and the processor 1580 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1520 . Memory 1520 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) and the like; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 1520 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

输入单元1530可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1530可包括触控面板1531以及其他输入设备1532。触控面板1531,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1531上或在触控面板1531附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1580,并能接收处理器1580发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1531。除了触控面板1531,输入单元1530还可以包括其他输入设备1532。具体地,其他输入设备1532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 1530 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile phone. Specifically, the input unit 1530 may include a touch panel 1531 and other input devices 1532 . The touch panel 1531, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1531 or near the touch panel 1531). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 1531 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1580, and can receive and execute commands sent by the processor 1580. In addition, the touch panel 1531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1531 , the input unit 1530 may also include other input devices 1532 . Specifically, other input devices 1532 may include but not limited to one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, and the like.

显示单元1540可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1540可包括显示面板1541,可选的,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1541。进一步的,触控面板1531可覆盖显示面板1541,当触控面板1531检测到在其上或附近的触摸操作后,传送给处理器1580以确定触摸事件的类型,随后处理器1580根据触摸事件的类型在显示面板1541上提供相应的视觉输出。虽然在图3中,触控面板1531与显示面板1541是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1531与显示面板1541集成而实现手机的输入和输出功能。The display unit 1540 may be used to display information input by or provided to the user and various menus of the mobile phone. The display unit 1540 may include a display panel 1541. Optionally, the display panel 1541 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Furthermore, the touch panel 1531 may cover the display panel 1541, and when the touch panel 1531 detects a touch operation on or near it, it transmits to the processor 1580 to determine the type of the touch event, and then the processor 1580 determines the type of the touch event according to the The type provides a corresponding visual output on the display panel 1541 . Although in FIG. 3 , the touch panel 1531 and the display panel 1541 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1531 and the display panel 1541 can be integrated to form a mobile phone. Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器1550,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1541的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1541和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The handset may also include at least one sensor 1550, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1541 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1541 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. repeat.

音频电路1560、扬声器1561,传声器1562可提供用户与手机之间的音频接口。音频电路1560可将接收到的音频数据转换后的电信号,传输到扬声器1561,由扬声器1561转换为声音信号输出;另一方面,传声器1562将收集的声音信号转换为电信号,由音频电路1560接收后转换为音频数据,再将音频数据输出处理器1580处理后,经RF电路1510以发送给比如另一手机,或者将音频数据输出至存储器1520以便进一步处理。The audio circuit 1560, the speaker 1561, and the microphone 1562 can provide an audio interface between the user and the mobile phone. The audio circuit 1560 can transmit the electrical signal converted from the received audio data to the speaker 1561, and the speaker 1561 converts it into an audio signal for output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 1580, and then sent to another mobile phone through the RF circuit 1510, or the audio data is output to the memory 1520 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块1570可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图3示出了WiFi模块1570,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1570. It provides users with wireless broadband Internet access. Although Fig. 3 shows the WiFi module 1570, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required without changing the essence of the invention.

处理器1580是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1520内的软件程序和/或模块,以及调用存储在存储器1520内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1580可包括一个或多个处理单元;优选的,处理器1580可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1580中。The processor 1580 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 1520, and calling data stored in the memory 1520, execution Various functions and processing data of the mobile phone, so as to monitor the mobile phone as a whole. Optionally, the processor 1580 may include one or more processing units; preferably, the processor 1580 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1580 .

手机还包括给各个部件供电的电源1590(比如电池),优选的,电源可以通过电源管理系统与处理器1580逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 1590 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1580 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, etc., which will not be repeated here.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

在一个实施例的应用场景中,用户打开本机设备,进入应用商店的界面,浏览或搜索应用商店中的应用程序,选定应用程序,进行下载操作。检测当前的网络类型是不是WIFI网络,如果当前是WIFI网络则直接进行下载操作。如果当前不是WIFI网络,而是由运营商提供的数据网络,则还需要判断,用户允许权限还是拒绝权限。该权限可以通过在系统设置页面提供一个种子下载开关进行设置。在用户拒绝权限时,默认用户想使用当前的运营商提供的数据网络进行所述应用程序的下载并完成安装。在用户允许权限时,表明用户当前并不想使用当前的数据网络,他想在WIFI网络下面进行应用程序的下载,以节省数据流量。In the application scenario of one embodiment, the user turns on the local device, enters the interface of the application store, browses or searches the application programs in the application store, selects the application program, and performs the download operation. Detect whether the current network type is a WIFI network, and if it is a WIFI network, directly perform the download operation. If the current network is not a WIFI network but a data network provided by an operator, it is also necessary to judge whether the user allows permission or denies permission. This permission can be set by providing a torrent switch on the system settings page. When the user refuses the permission, the default user wants to use the data network provided by the current operator to download the application program and complete the installation. When the user allows permission, it indicates that the user does not want to use the current data network at present, and he wants to download the application program under the WIFI network to save data traffic.

在用户允许权限下,用户在应用商店中点击下载应用程序时,会保存该应用程序所对应的种子信息,并暂停下载应用程序。同时,会在桌面创建所述种子信息的图标,可以对该图标进行暂停下载、继续下载、删除下载等操作。该图标具有遮罩,可以显示下载的进度。在保存种子信息、创建图标后,当本机设备的网络类型切换接入到WIFI网络时,则根据所述的种子信息,利用断点续传,下载所述种子信息对应的应用程序。Under the permission permission of the user, when the user clicks to download an application in the application store, the seed information corresponding to the application will be saved, and the download of the application will be suspended. At the same time, an icon of the seed information will be created on the desktop, and operations such as pausing the download, continuing the download, and deleting the download can be performed on the icon. The icon has a mask to show the progress of the download. After the seed information is saved and the icon is created, when the network type of the local device is switched to access the WIFI network, the application program corresponding to the seed information is downloaded according to the seed information by resuming upload.

在下载应用程序的过程中,本机设备的网络类型切换接入到运营商提供的数据网络时,会自动暂停应用程序,防止了数据流量的浪费。也可以在数据网络的状态下,拒绝权限,点击种子信息的图标进行下载操作。In the process of downloading the application program, when the network type of the local device is switched to the data network provided by the operator, the application program will be automatically suspended to prevent the waste of data traffic. You can also deny permission in the state of the data network, and click the icon of the seed information to download.

直到应用程序下载安装完成,删除种子信息,显示该应用程序的图标在桌面上。至此,完成了整个下载的操作。Until the application download and installation is complete, delete the seed information, and display the application icon on the desktop. At this point, the entire download operation is completed.

通过这种方法,很好地节约了数据流量,实现了应用程序的自动下载,减少了人为的操作,提高了用户的体验。Through this method, data traffic is well saved, automatic downloading of application programs is realized, human operations are reduced, and user experience is improved.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage The medium can be read-only memory, magnetic or optical disk, etc.

以上对本发明所提供的一种终端设备进行了详细介绍,对于本领域的一般技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A terminal device provided by the present invention has been introduced in detail above. For those of ordinary skill in the art, according to the idea of the embodiment of the present invention, there will be changes in the specific implementation and application range. In summary, , the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1.一种应用商店中应用程序下载控制方法,其特征在于,包括如下步骤:1. an application program download control method in an application store, is characterized in that, comprises the steps: 响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络;In response to the download instruction of the application store to download the application program, detect whether the currently used network type is a data network provided by the operator; 若是,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;If so, save the seed information corresponding to the application according to the user's permission permission and notify the system desktop to create a shortcut icon pointing to the seed information, stop downloading the application program, or continue to download the application program according to the user's prohibition permission; 若否,继续下载该应用程序;If not, proceed to download the application; 在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。After the network type of the local device is switched and connected to the WIFI network, the download of the stopped application program is automatically restarted according to the seed information, and the download progress is displayed on the shortcut icon of the seed information. 2.根据权利要求1所述的方法,其特征在于,在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度的步骤,还包括如下具体步骤:2. The method according to claim 1, characterized in that, after the network type of the local device is switched to access the WIFI network, the download of the stopped application program is automatically restarted according to the seed information, and the The shortcut icon of the torrent information shows the steps of its download progress, and also includes the following specific steps: 在本机设备的网络类型切换接入到WIFI网络后,将本机设备切换接入到WIFI网络的信息发送到所述应用商店;After the network type of the local device is switched to access the WIFI network, the information that the local device is switched to the WIFI network is sent to the application store; 所述应用商店接收到该信息,根据所述种子信息自动重启下载所述被停止下载的应用程序;The application store receives this information, and automatically restarts and downloads the application program whose download has been stopped according to the seed information; 通过文件下载接口获取下载进度信息,并将该下载进度信息同步显示到种子信息的快捷图标上。The download progress information is obtained through the file download interface, and the download progress information is synchronously displayed on the shortcut icon of the seed information. 3.根据权利要求1所述的方法,其特征在于,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。3. The method according to claim 1, wherein the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download status of the application program. schedule. 4.根据权利要求1所述的方法,其特征在于,根据所述种子信息自动重启下载所述被停止下载的应用程序的过程中,包括如下步骤:4. The method according to claim 1, wherein the process of automatically restarting and downloading the stopped application program according to the seed information comprises the following steps: 根据所述种子信息自动重启下载所述被停止下载的应用程序,当网络类型切换到运营商提供的数据网络时,暂停正在下载的所述应用程序,直到本机设备再次切换接入到WIFI网络。Automatically restart and download the stopped application program according to the seed information, and when the network type switches to the data network provided by the operator, suspend the application program being downloaded until the local device is switched to the WIFI network again . 5.根据权利要求1所述的方法,其特征在于,本机设备上设置有种子下载开关,用于表示用户权限,所述种子下载开关被配置为:5. The method according to claim 1, characterized in that a seed download switch is set on the local device to indicate user authority, and the seed download switch is configured as: 若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作;If the seed download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed; 若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program. 6.根据权利要求1所述的方法,其特征在于,下载所述应用程序采用的是断点续传技术。6. The method according to claim 1, characterized in that the downloading of the application program adopts the technique of continuous downloading from broken points. 7.一种应用商店中应用程序下载控制装置,其特征在于,包括:7. An application program download control device in an application store, characterized in that it comprises: 检测模块,用于响应于该应用商店下载应用程序的下载指令,检测当前所使用的网络类型是否为运营商提供的数据网络;A detection module, configured to detect whether the currently used network type is a data network provided by an operator in response to a download instruction for downloading an application program from the application store; 保存模块,用于若当前所实用的网络类型是运营商提供的数据网络,则依据用户允许权限,保存该应用程序相对应的种子信息并通知系统桌面创建指向该种子信息的快捷图标,停止下载该应用程序,或依据用户禁止权限继续下载该应用程序;The saving module is used to save the seed information corresponding to the application program and notify the system desktop to create a shortcut icon pointing to the seed information according to the user's permission permission if the currently used network type is the data network provided by the operator, and stop downloading the application, or continue to download the application in accordance with the user's prohibited permission; 若否,继续下载该应用程序;If not, proceed to download the application; 下载模块,用于在本机设备的网络类型被切换接入到WIFI网络后,根据所述种子信息自动重启下载所述被停止下载的应用程序,并在种子信息的快捷图标显示其下载进度。The download module is used for automatically restarting and downloading the stopped application program according to the seed information after the network type of the local device is switched to the WIFI network, and displays the download progress in the shortcut icon of the seed information. 8.根据权利要求7所述的装置,其特征在于,所述种子信息包括下载文件的存放地址、下载文件的大小、下载服务器的地址、种子信息所对应的应用程序的图标以及应用程序的下载进度。8. The device according to claim 7, wherein the seed information includes the storage address of the downloaded file, the size of the downloaded file, the address of the download server, the icon of the application program corresponding to the seed information, and the download status of the application program. schedule. 9.根据权利要求7所述的装置,其特征在于,本机设备上设置有种子下载开关,用于表示用户权限,所述种子下载开关被配置为:9. The device according to claim 7, wherein a seed download switch is set on the local device to indicate user authority, and the seed download switch is configured as: 若所述种子下载开关处于关闭状态,表示用户禁止权限,则在连接到数据网络时,执行正常的下载操作;If the seed download switch is in the off state, it means that the user prohibits permission, and then when connected to the data network, a normal download operation is performed; 若所述种子下载开关处于开启状态,表示用户允许权限,则在运营商提供的数据网络时保存所述种子信息,当本机设备连接到WIFI网络时,依据所述种子信息自动下载所述应用程序。If the seed download switch is on, it means that the user allows permission, then save the seed information in the data network provided by the operator, and when the local device is connected to the WIFI network, automatically download the application according to the seed information program. 10.一种终端设备,其特征在于,包括处理器,用于执行如权利要求1-6中任意一项所述的应用商店中应用程序下载控制方法的步骤。10. A terminal device, characterized by comprising a processor, configured to execute the steps of the method for controlling downloading of application programs in an application store according to any one of claims 1-6.
CN201610602328.XA 2016-07-27 2016-07-27 Application program download control method, device and terminal unit in application shop Pending CN106227566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610602328.XA CN106227566A (en) 2016-07-27 2016-07-27 Application program download control method, device and terminal unit in application shop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610602328.XA CN106227566A (en) 2016-07-27 2016-07-27 Application program download control method, device and terminal unit in application shop

Publications (1)

Publication Number Publication Date
CN106227566A true CN106227566A (en) 2016-12-14

Family

ID=57533618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610602328.XA Pending CN106227566A (en) 2016-07-27 2016-07-27 Application program download control method, device and terminal unit in application shop

Country Status (1)

Country Link
CN (1) CN106227566A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391210A (en) * 2017-08-15 2017-11-24 北京奇虎科技有限公司 The operating method and device of application program, terminal device
CN109669590A (en) * 2018-10-26 2019-04-23 惠州Tcl移动通信有限公司 Method that progress is shown, intelligent terminal, storage device
CN110022336A (en) * 2018-01-09 2019-07-16 武汉斗鱼网络科技有限公司 Improve method, storage medium, equipment and the system of Internet resources speed of download
CN111142900A (en) * 2019-12-17 2020-05-12 深圳市优必选科技股份有限公司 Program update method, device and terminal device
CN114079890A (en) * 2020-08-18 2022-02-22 深圳市万普拉斯科技有限公司 Application program access network method, apparatus, computer equipment and storage medium
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identification display method, electronic device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951404A (en) * 2010-09-20 2011-01-19 优视科技有限公司 Downloading method and device for mobile communication equipment terminal
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and mobile terminal
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN103699405A (en) * 2013-12-05 2014-04-02 广东欧珀移动通信有限公司 Method and device for quickly upgrading application program of intelligent terminal
CN104539644A (en) * 2014-12-01 2015-04-22 苏州乐米信息科技有限公司 Push method applied to mobile phone
CN104714716A (en) * 2013-12-12 2015-06-17 乐视网信息技术(北京)股份有限公司 Display method and device for downloading information

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951404A (en) * 2010-09-20 2011-01-19 优视科技有限公司 Downloading method and device for mobile communication equipment terminal
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and mobile terminal
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program
CN103699405A (en) * 2013-12-05 2014-04-02 广东欧珀移动通信有限公司 Method and device for quickly upgrading application program of intelligent terminal
CN104714716A (en) * 2013-12-12 2015-06-17 乐视网信息技术(北京)股份有限公司 Display method and device for downloading information
CN104539644A (en) * 2014-12-01 2015-04-22 苏州乐米信息科技有限公司 Push method applied to mobile phone

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391210A (en) * 2017-08-15 2017-11-24 北京奇虎科技有限公司 The operating method and device of application program, terminal device
CN110022336A (en) * 2018-01-09 2019-07-16 武汉斗鱼网络科技有限公司 Improve method, storage medium, equipment and the system of Internet resources speed of download
CN109669590A (en) * 2018-10-26 2019-04-23 惠州Tcl移动通信有限公司 Method that progress is shown, intelligent terminal, storage device
CN111142900A (en) * 2019-12-17 2020-05-12 深圳市优必选科技股份有限公司 Program update method, device and terminal device
CN114079890A (en) * 2020-08-18 2022-02-22 深圳市万普拉斯科技有限公司 Application program access network method, apparatus, computer equipment and storage medium
CN114079890B (en) * 2020-08-18 2024-06-28 深圳市万普拉斯科技有限公司 Method, device, computer equipment and storage medium for application program accessing network
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identification display method, electronic device and readable storage medium
CN116048710B (en) * 2023-04-03 2023-09-29 荣耀终端有限公司 Display method, electronic device and readable storage medium of application identification

Similar Documents

Publication Publication Date Title
US10635449B2 (en) Method and apparatus for running game client
EP3647926B1 (en) Mobile terminal and split screen control method thereof, and computer readable storage medium
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN106970868A (en) Information display method, device and terminal
US10474507B2 (en) Terminal application process management method and apparatus
CN106055408B (en) A kind of application control method and mobile terminal
CN106227566A (en) Application program download control method, device and terminal unit in application shop
WO2015035796A1 (en) Tabletop display method, apparatus, and terminal
CN107562539B (en) Application processing method and apparatus, computer equipment, storage medium
CN110618806B (en) Application program control method and device, electronic equipment and storage medium
CN104778055B (en) Method and device for displaying progress bar
WO2019237877A1 (en) Application icon sorting method, device, readable storage medium and smart terminal
CN107066268B (en) Display position switching method and device for widget application
CN106227588A (en) The creation method of a kind of multi-instance object, device and mobile terminal
CN106507269B (en) Data migration method and terminal equipment
CN107168609A (en) Status bar display method, device and terminal
CN107589901A (en) Page display method, device, terminal and computer-readable storage medium
WO2019128190A1 (en) Method for use in controlling application program, mobile terminal and readable storage medium
CN106201547A (en) Method, device and the mobile terminal that a kind of message based on mobile terminal shows
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN106201748A (en) Method, device and the mobile terminal of a kind of Message Processing based on mobile terminal
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN106227563A (en) The data processing method of a kind of application program and relevant device
CN111371705A (en) Download task execution method and electronic equipment
CN107908527A (en) A kind of application icon display methods and device

Legal Events

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

Effective date of registration: 20170726

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

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

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

Applicant before: Beijing Qihu Technology Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214

RJ01 Rejection of invention patent application after publication