[go: up one dir, main page]

CN103634386A - Method and device for downloading application by client end application program - Google Patents

Method and device for downloading application by client end application program Download PDF

Info

Publication number
CN103634386A
CN103634386A CN201310597991.1A CN201310597991A CN103634386A CN 103634386 A CN103634386 A CN 103634386A CN 201310597991 A CN201310597991 A CN 201310597991A CN 103634386 A CN103634386 A CN 103634386A
Authority
CN
China
Prior art keywords
application
mobile device
downloading
client application
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310597991.1A
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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310597991.1A priority Critical patent/CN103634386A/en
Publication of CN103634386A publication Critical patent/CN103634386A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种客户端应用程序下载应用的方法及装置,其包括:获取移动设备上的客户端应用程序下载应用的下载请求消息,下载请求消息包括:应用的描述信息;判断客户端应用程序下载应用是否会耗费移动设备的上网流量;如果客户端应用程序下载应用不会耗费移动设备的上网流量,则控制客户端应用程序根据应用的描述信息从网络侧服务器中下载该应用;如果移动设备下载应用会耗费移动设备的上网流量,则控制客户端应用程序暂停下载应用,通过本发明的实施例可以有效节省用户的上网流量。

Figure 201310597991

The invention discloses a method and device for downloading an application by a client application, which comprises: acquiring a download request message of a download application of a client application on a mobile device, the download request message including: description information of the application; judging the client application Whether the program downloading application will consume the Internet traffic of the mobile device; if the client application downloading the application will not consume the mobile device Internet traffic, then control the client application to download the application from the network side server according to the description information of the application; if the mobile The device downloading the application will consume the Internet traffic of the mobile device, and then the client application program is controlled to suspend the downloading of the application. Through the embodiment of the present invention, the user's Internet traffic can be effectively saved.

Figure 201310597991

Description

一种客户端应用程序下载应用的方法及装置A method and device for downloading an application by a client application program

技术领域technical field

本发明属于计算机技术领域,尤其涉及一种客户端应用程序下载应用的方法及装置。The invention belongs to the technical field of computers, and in particular relates to a method and a device for downloading applications of client application programs.

背景技术Background technique

随着智能手机的发展,越来越多的用户开始使用手机上网。然而,用户使用手机下载应用时,如果手机是通过移动网络上网,则会耗费用户的上网流量,尤其是用户不知道下载应用的大小时,可能会因为一次下载操作耗费光用户所有的上网流量。而当手机通过无线局域网上网时,手机又无法自动触发下载应用,而需要用户手动触发,因此,现有的手机下载应用的方式操作起来比较繁琐,无法满足用户的使用需求。With the development of smart phones, more and more users start to use mobile phones to surf the Internet. However, when a user uses a mobile phone to download an application, if the mobile phone accesses the Internet through a mobile network, it will consume the user's Internet traffic, especially when the user does not know the size of the downloaded application, and it may consume all the user's Internet traffic because of one download operation. And when the mobile phone accesses the Internet through the wireless local area network, the mobile phone cannot automatically trigger the download of the application, but needs to be manually triggered by the user.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的客户端应用程序下载应用的方法及装置。In view of the above problems, the present invention is proposed in order to provide a method and device for downloading applications of client applications that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种客户端应用程序下载应用的方法,其包括:获取移动设备上的客户端应用程序下载应用的下载请求消息,下载请求消息包括:应用的描述信息;判断客户端应用程序下载应用是否会耗费移动设备的上网流量;如果客户端应用程序下载应用不会耗费移动设备的上网流量,则控制客户端应用程序根据应用的描述信息从网络侧服务器中下载应用;如果移动设备下载应用会耗费移动设备的上网流量,则控制客户端应用程序暂停下载应用。According to one aspect of the present invention, a method for downloading an application by a client application program is provided, which includes: obtaining a download request message of a client application program download application on a mobile device, where the download request message includes: description information of the application; judging Whether the downloading of the application by the client application will consume the Internet traffic of the mobile device; if the download of the application by the client application will not consume the Internet traffic of the mobile device, then control the client application to download the application from the server on the network side according to the description information of the application; If the downloading of the application by the mobile device consumes the Internet traffic of the mobile device, the client application program is controlled to suspend the download of the application.

可选地,在控制客户端应用程序暂停下载应用的步骤之后,该方法还包括:判断客户端应用程序下载应用是否会耗费移动设备的上网流量;如果客户端应用程序下载应用不会耗费移动设备的上网流量,则控制客户端应用程序恢复下载应用。Optionally, after the step of controlling the client application to suspend downloading the application, the method further includes: judging whether the client application downloading the application will consume the Internet traffic of the mobile device; if the client application downloading the application will not consume the mobile device Internet traffic, control the client application to resume downloading applications.

可选地,判断客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:判断移动设备是否通过无线局域网与网络侧服务器连接;如果移动设备通过无线局域网与网络侧服务器连接,则判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;如果移动设备通过移动通信网络与网络侧服务器连接,则判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。Optionally, the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device includes: judging whether the mobile device is connected to the network side server through a wireless local area network; if the mobile device is connected to the network side server through a wireless local area network, then judging The result is that the client application downloading the application will not consume the Internet traffic of the mobile device; if the mobile device is connected to the network side server through the mobile communication network, the judgment result is that the client application downloading the application will consume the mobile device Internet traffic.

可选地,判断客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:判断移动设备是否通过计算设备与网络侧服务器连接;如果移动设备通过计算设备与网络侧服务器连接,则判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;如果移动设备通过移动通信网络与网络侧服务器连接,则判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。Optionally, the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device includes: judging whether the mobile device is connected to the server on the network side through a computing device; if the mobile device is connected to the server on the network side through a computing device, then judging The result is that the client application downloading the application will not consume the Internet traffic of the mobile device; if the mobile device is connected to the network side server through the mobile communication network, the judgment result is that the client application downloading the application will consume the mobile device Internet traffic.

可选地,在控制客户端应用程序暂停下载应用的步骤之前,该方法还包括:获取客户端应用程序下载应用的应用数据量;将应用的应用数据量与预先设定的阈值进行比较;如果应用的应用数据量小于预先设定的阈值时,则控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用;如果应用的应用数据量大于或等于预先设定的阈值时,则执行控制客户端应用程序暂停下载应用的步骤。Optionally, before the step of controlling the client application to suspend downloading the application, the method further includes: acquiring the application data volume of the application downloaded by the client application program; comparing the application data volume of the application with a preset threshold; if When the application data volume of the application is less than the preset threshold, the control client application program downloads the application from the network side server according to the application description information; if the application data volume of the application is greater than or equal to the preset threshold, the control The step where the client application pauses the download of the application.

可选地,暂停下载应用的步骤包括:向移动设备发送断开与网络侧服务器的连接的通知消息,以控制客户端应用程序暂停下载应用。Optionally, the step of suspending the download of the application includes: sending a notification message of disconnecting from the network server to the mobile device, so as to control the client application program to suspend the download of the application.

依据本发明的另一个方面,提供了一种客户端应用程序下载应用的装置,其包括:下载请求获取模块,用于获取移动设备上的客户端应用程序下载应用的下载请求消息,下载请求消息包括:应用的描述信息;判断模块,用于判断客户端应用程序下载应用是否会耗费移动设备的上网流量;下载模块,用于在客户端应用程序下载应用不会耗费移动设备的上网流量的情况下,控制客户端应用程序根据应用的描述信息从网络侧服务器中下载应用;暂停下载模块,用于在客户端应用程序下载应用会耗费移动设备的上网流量的情况下,控制客户端应用程序暂停下载。According to another aspect of the present invention, a device for downloading a client application program is provided, which includes: a download request acquisition module, configured to acquire a download request message of a client application program download application on a mobile device, the download request message Including: the description information of the application; the judging module, used to judge whether the client application downloading the application will consume the Internet traffic of the mobile device; the download module, used for the situation that the client application downloading the application will not consume the mobile device's Internet traffic Next, control the client application program to download the application from the network side server according to the application description information; the pause download module is used to control the client application program to suspend when the client application program downloads the application and consumes the Internet traffic of the mobile device download.

可选地,装置还包括:恢复下载模块,与暂停下载模块连接,用于在客户端应用程序下载应用不会耗费移动设备的上网流量的情况下,控制客户端应用程序恢复下载应用。Optionally, the device further includes: a resume download module, connected to the pause download module, for controlling the client application to resume downloading the application when the client application downloading the application will not consume the Internet traffic of the mobile device.

可选地,判断模块包括:无线连接判断单元,用于判断移动设备是否通过无线局域网与网络侧服务器连接,在移动设备通过无线局域网与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;在移动设备通过移动通信网络与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。Optionally, the judging module includes: a wireless connection judging unit, configured to judge whether the mobile device is connected to the network-side server through the wireless local area network, and if the mobile device is connected to the network-side server through the wireless local area network, the judgment result is a client application program Downloading the application will not consume the Internet traffic of the mobile device; when the mobile device is connected to the server on the network side through the mobile communication network, it is judged that the downloading of the application by the client application will consume the Internet traffic of the mobile device.

可选地,判断模块还包括:有线连接判断单元,用于判断移动设备是否通过计算设备与网络侧服务器连接,在移动设备通过计算设备与所述网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;在移动设备通过移动通信网络与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。Optionally, the judging module further includes: a wired connection judging unit, configured to judge whether the mobile device is connected to the network-side server through a computing device, and if the mobile device is connected to the network-side server through a computing device, the judging result is the client Downloading applications by the client application program will not consume the Internet traffic of the mobile device; when the mobile device is connected to the server on the network side through the mobile communication network, the judgment result is that the downloading application by the client application program will consume the Internet traffic of the mobile device.

可选地,装置还包括:应用数据量获取模块,与判断模块连接,用于在客户端应用程序下载应用会耗费移动设备的上网流量的情况下,获取客户端应用程序下载应用的应用数据量;应用数据量比较模块,分别与应用数据量获取模块、下载模块和暂停下载模块连接,用于将应用的应用数据量与预先设定的阈值进行比较,在应用的应用数据量小于预先设定的阈值的情况下,触发下载模块;在应用的应用数据量大于或等于预先设定的阈值的情况下,触发暂停下载模块。Optionally, the device further includes: an application data volume acquisition module connected to the judging module for acquiring the application data volume of the client application program download application when the client application program download application consumes the Internet traffic of the mobile device ; The application data volume comparison module is respectively connected with the application data volume acquisition module, the download module and the pause download module, and is used to compare the application data volume of the application with a preset threshold, and when the application data volume of the application is less than the preset threshold In the case of the threshold value, the download module is triggered; in the case that the application data volume of the application is greater than or equal to the preset threshold value, the download module is triggered to be paused.

由上述技术方案可知,本发明的实施例具有如下有益效果:如果客户端应用程序下载应用不会耗费移动设备的上网流量,则控制客户端应用程序接收网络侧服务器发送的应用;如果移动设备下载应用会耗费移动设备的上网流量,则控制客户端应用程序暂停下载网络侧服务器发送的应用,而且一旦检测到客户端应用程序下载应用不会耗费移动设备的上网流量,则可以恢复客户端应用程序下载应用;进一步可以根据应用数据量来控制客户端应用程序下载应用,一方面能够控制用户耗费的上网流量,另一方面也能满足用户的正常使用。It can be seen from the above technical solution that the embodiments of the present invention have the following beneficial effects: if the client application program downloads the application without consuming the Internet traffic of the mobile device, then the client application program is controlled to receive the application sent by the server on the network side; If the application consumes the Internet traffic of the mobile device, the client application is controlled to suspend the download of the application sent by the server on the network side, and once it is detected that the download of the application by the client application will not consume the Internet traffic of the mobile device, the client application can be resumed Download the application; further, the downloading of the client application can be controlled according to the amount of application data. On the one hand, it can control the Internet traffic consumed by the user, and on the other hand, it can also meet the normal use of the user.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same components. In the attached picture:

图1示出了根据本发明的一个实施例的客户端应用程序下载应用的方法的流程图;以及Fig. 1 shows a flowchart of a method for downloading an application by a client application program according to an embodiment of the present invention; and

图2示出了根据本发明的另一个实施例的客户端应用程序下载应用的装置的框图。Fig. 2 shows a block diagram of a device for downloading an application by a client application program according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

本发明实施例中,数据进行传输时主要是由移动设备、计算设备和服务器三端完成的,其中,在服务器处建立了移动设备和计算设备之间的关联关系,从而通过服务器可以实现具备关联关系的移动设备和计算设备间的数据传输。In the embodiment of the present invention, the data transmission is mainly completed by three terminals: the mobile device, the computing device and the server, wherein the association relationship between the mobile device and the computing device is established at the server, so that the server can realize the association Relational data transfer between mobile devices and computing devices.

如图1所示,为本发明的实施例中客户端应用程序下载应用的方法,该方法的执行主体可以是移动设备,方法包括:As shown in Figure 1, it is a method for downloading an application by a client application program in an embodiment of the present invention, the execution subject of the method may be a mobile device, and the method includes:

步骤S101、获取移动设备上的客户端应用程序下载应用的下载请求消息,下载请求消息包括:应用的描述信息。Step S101. Obtain a download request message of an application downloaded by a client application program on a mobile device. The download request message includes: description information of the application.

检测到选定的待下载的应用后,就可以自动触发或手动触发客户端应用程序发送下载应用的下载请求消息。After the selected application to be downloaded is detected, the client application can be automatically or manually triggered to send a download request message for downloading the application.

可选地,移动设备中安装有重力感应装置,可以通过摇动移动设备来触发重力感应装置,进而实现自动触发客户端应用程序发送下载应用的下载请求消息。本发明实施例中,所述摇动可以理解为能够触发重力感应装置的任意操作,如上下或左右晃动所述移动设备等,本发明实施例对具体的操作不做限定。Optionally, a gravity sensing device is installed in the mobile device, and the gravity sensing device can be triggered by shaking the mobile device, thereby automatically triggering the client application program to send a download request message for downloading the application. In the embodiment of the present invention, the shaking can be understood as being able to trigger any operation of the gravity sensing device, such as shaking the mobile device up and down or left and right, and the embodiment of the present invention does not limit the specific operation.

所述应用的描述信息可以包括以下至少一项:应用的名称、应用的存储地址、应用的数据大小和应用的缩略图。所述名称是选定的应用的名称,如游戏名称、网页标题等。所述存储地址是选定的应用的相关数据的存储地址,如选定的应用是游戏,所述存储地址可以是单机游戏的下载地址,或网络游戏的访问地址等。所述数据大小是选定的应用的相关数据的数据量,如选定的应用是单机游戏,则所述数据大小可以是该单机游戏的安装程序的数据量,如2兆;又如选定的应用是壁纸,则所述数据大小就是该壁纸的大小。所述缩略图是可以展示出选定的应用的内容的图片,如选定的应用是网页时,所述缩略图可以是该网页所在网站的Logo,又如,选定的应用是游戏,则所述缩略图可以是该游戏的海报图片等。The description information of the application may include at least one of the following: a name of the application, a storage address of the application, a data size of the application, and a thumbnail of the application. The name is the name of the selected application, such as game name, web page title and so on. The storage address is the storage address of the relevant data of the selected application. If the selected application is a game, the storage address may be a download address of a stand-alone game, or an access address of an online game. The data size is the data volume of the relevant data of the selected application. If the selected application is a stand-alone game, the data size may be the data volume of the installation program of the stand-alone game, such as 2 megabytes; If the application is a wallpaper, the data size is the size of the wallpaper. The thumbnail is a picture that can show the content of the selected application. If the selected application is a webpage, the thumbnail can be the logo of the website where the webpage is located. For another example, if the selected application is a game, then The thumbnail image may be a poster image of the game or the like.

本发明实施例中,移动设备(Mobile device)可以是移动电话、平板电脑等。客户端应用程序是指为了完成某项或某几项特定任务而被开发运行于移动设备的操作系统之上的计算机程序,该客户端应用程序可以是视频播放器(例如优酷客户端、腾讯视频客户端等)、手机助手(例如360手机助手、百度手机助手等)、社交应用(例如新浪微博客户端、腾讯微博客户端等)、游戏等。In the embodiment of the present invention, the mobile device (Mobile device) may be a mobile phone, a tablet computer, or the like. The client application program refers to a computer program developed to run on the operating system of a mobile device in order to complete one or several specific tasks. The client application program can be a video player (such as Youku client, Tencent Video client, etc.), mobile assistants (such as 360 mobile assistant, Baidu mobile assistant, etc.), social applications (such as Sina Weibo client, Tencent Weibo client, etc.), games, etc.

本发明实施例中,计算设备可以是具有操作系统的智能设备,如台式电脑,笔记本电脑等。计算设备可以有线方式连接网络,也可以无线方式连接网络,所连接的网络可以是因特网,也可以是局域网。可设置为无线热点的网卡具体可以是计算设备内置的无线网卡或者是可设置为无线热点的USB无线网卡。将所述无线网卡设置成为共享所述计算设备所连接的网络的无线热点后,接入该无线热点的手机、PAD等移动设备就可以通过该无线网卡访问该计算设备所连接的网络。In the embodiment of the present invention, the computing device may be a smart device with an operating system, such as a desktop computer, a notebook computer, and the like. The computing device may be connected to the network in a wired manner or in a wireless manner, and the connected network may be the Internet or a local area network. Specifically, the network card that can be set as a wireless hotspot can be a built-in wireless network card of a computing device or a USB wireless network card that can be set as a wireless hotspot. After the wireless network card is set as a wireless hotspot sharing the network connected to the computing device, mobile devices such as mobile phones and PADs connected to the wireless hotspot can access the network connected to the computing device through the wireless network card.

通常情况下,客户端应用程序下载应用时,可以直接将下载应用的请求发送至网络侧服务器,然后从网络侧服务器下载应用,而在本发明的实施例中,当触发客户端应用程序下载应用时,例如通过点击视频播放器的播放按钮播放网络视频、通过点击手机助手的下载按钮下载应用,通过点击社交应用的下载按钮下载图片,通过点击游戏升级的按钮下载游戏的升级包等,可以通过移动设备的操作系统中的监控程序获取移动设备上的客户端应用程序下载应用的下载请求消息,该下载请求消息中包括应用的描述信息,例如应用的名称。进一步地,该下载请求消息中还可以包括应用的存储地址。Usually, when the client application program downloads the application, it can directly send the request for downloading the application to the network side server, and then download the application from the network side server, and in the embodiment of the present invention, when the client application program is triggered to download the application For example, by clicking the play button of the video player to play online videos, by clicking the download button of the mobile phone assistant to download applications, by clicking the download button of social applications to download pictures, by clicking the game upgrade button to download game upgrade packages, etc. The monitoring program in the operating system of the mobile device obtains a download request message from the client application program on the mobile device to download the application, and the download request message includes the description information of the application, such as the name of the application. Further, the download request message may also include the storage address of the application.

步骤S103、判断客户端应用程序下载应用是否会耗费移动设备的上网流量。Step S103 , judging whether the downloading of the application by the client application will consume the Internet traffic of the mobile device.

可选地,在本发明的实施例中可以采用根据移动设备与网络侧服务器建立连接的方式来判断客户端应用程序下载应用是否会耗费移动设备的上网流量,在具体实现中,移动设备可以通过数据线或者无线(如无线网路通信技术WiFi)等形式连接到计算设备中,在移动设备连接至计算设备后,可以通过监控程序(如360tray.exe)监控移动设备和计算设备的连通情况:Optionally, in the embodiment of the present invention, it is possible to determine whether the downloading of the client application program will consume the Internet traffic of the mobile device by establishing a connection between the mobile device and the server on the network side. In a specific implementation, the mobile device can pass The data line or wireless (such as wireless network communication technology WiFi) is connected to the computing device. After the mobile device is connected to the computing device, the connection between the mobile device and the computing device can be monitored through a monitoring program (such as 360tray.exe):

在本发明的一个实施例中,判断移动设备是否通过无线局域网(例如WiFi网络)与网络侧服务器连接;如果移动设备通过无线局域网与网络侧服务器连接,则判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;如果移动设备通过移动通信网络(例如2G/3G网络)与网络侧服务器连接,则判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。In one embodiment of the present invention, it is judged whether the mobile device is connected to the server on the network side through a wireless local area network (such as a WiFi network); It will consume the Internet traffic of the mobile device; if the mobile device is connected to the server on the network side through a mobile communication network (such as 2G/3G network), the judgment result is that the downloading of the application by the client application will consume the Internet traffic of the mobile device.

在本发明的另一个实施例中,判断移动设备是否通过计算设备与网络侧服务器连接;如果移动设备通过计算设备与所述网络侧服务器连接,则判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;如果移动设备通过移动通信网络与网络侧服务器连接,则判断结果为客户端应用程序下载应用会耗费所述移动设备的上网流量。In another embodiment of the present invention, it is judged whether the mobile device is connected to the network side server through a computing device; The Internet traffic of the mobile device; if the mobile device is connected to the server on the network side through the mobile communication network, it is judged that downloading the application by the client application will consume the Internet traffic of the mobile device.

在具体实现时,所述移动设备可以通过有线方式接入所述计算设备,例如移动设备通过USB数据线接入所述计算设备,移动设备侧的移动设备管理程序也可以通过该数据通道将移动设备上的数据传到该计算设备上。In a specific implementation, the mobile device can be connected to the computing device through a wired method, for example, the mobile device is connected to the computing device through a USB data cable, and the mobile device management program on the mobile device side can also connect the mobile device through the data channel. Data on the device is transferred to the computing device.

具体地,服务器可以获取计算设备的设备标识和移动设备的终端数据。而后确定移动设备认证通过后,服务器可以构建所述设备标识和所述终端数据的映射关系,从而建立所述计算设备和所述移动设备的关联关系。Specifically, the server can acquire the device identifier of the computing device and the terminal data of the mobile device. Then, after determining that the mobile device is authenticated, the server may construct a mapping relationship between the device identifier and the terminal data, thereby establishing an association relationship between the computing device and the mobile device.

其中,所述设备标识用于标识一个计算设备,如,计算设备的IP地址,网卡地址和MID值等。其中,MID(Mobile Internet Device,移动互联网设备)值是通过移动设备的硬件的编号计算出的唯一的特征值。Wherein, the device identifier is used to identify a computing device, such as the computing device's IP address, network card address, and MID value. Among them, the MID (Mobile Internet Device, mobile Internet device) value is the only characteristic value calculated by the number of the hardware of the mobile device.

所述终端数据是移动设备的相关数据,如移动设备的名称,移动设备的国际移动设备身份码(International Mobile Equipment Identity,IMEI),移动设备的型号等,此外,若移动设备是手机,则对应的终端数据还可以包括该手机的手机号码。其中,所述IMEI可以唯一标识一个移动设备。The terminal data is relevant data of the mobile device, such as the name of the mobile device, the International Mobile Equipment Identity (IMEI) of the mobile device, the model of the mobile device, etc. In addition, if the mobile device is a mobile phone, the corresponding The terminal data can also include the mobile phone number of the mobile phone. Wherein, the IMEI can uniquely identify a mobile device.

本发明实施例中,可以将所述映射关系保存于关联信息表中,所述关联信息表包括:设备标识、国际移动设备身份码、手机号码和连接创建时间等。In the embodiment of the present invention, the mapping relationship may be stored in an association information table, and the association information table includes: device identifier, international mobile device identity code, mobile phone number, connection creation time, and the like.

其中,关联信息表的一种示例结构可以是:Among them, an example structure of the association information table may be:

CREATE TABLE`client`(CREATE TABLE `client`(

`id`INT(10)UNSIGNED NOT NULL AUTO_INCREMENT,`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,

`clientid`VARCHAR(64)NOT NULL DEFAULT''COMMENT'客户端ID',`clientid` VARCHAR(64) NOT NULL DEFAULT''COMMENT'Client ID',

`mid`VARCHAR(32)NOT NULL DEFAULT''COMMENT'机器ID',`mid` VARCHAR(32) NOT NULL DEFAULT''COMMENT'Machine ID',

`toid`INT(10)NOT NULL DEFAULT'0'COMMENT'设备ID',`toid`INT(10) NOT NULL DEFAULT'0'COMMENT'device ID',

`appid`INT(10)NOT NULL DEFAULT'0'COMMENT'设备类型',`appid`INT(10)NOT NULL DEFAULT'0'COMMENT'Device type',

`createtime`DATETIME NOT NULL COMMENT'创建时间',`createtime`DATETIME NOT NULL COMMENT'create time',

`updatetime`DATETIME NOT NULL COMMENT'最后更新时间',`updatetime`DATETIME NOT NULL COMMENT'last update time',

PRIMARY KEY(`id`),PRIMARY KEY(`id`),

UNIQUE INDEX`clientid`(`clientid`),UNIQUE INDEX `clientid`(`clientid`),

INDEX`toid`(`toid`)INDEX `toid`(`toid`)

))

COMMENT='客户端设备关联表'COMMENT='Client device association table'

COLLATE='utf8_general_ci'COLLATE='utf8_general_ci'

ENGINE=InnoDB。ENGINE=InnoDB.

其中,“客户端ID”指代计算设备,“设备ID”指代移动设备。Wherein, "client ID" refers to a computing device, and "device ID" refers to a mobile device.

计算设备和移动设备在连接建立前后,传送请求、响应等消息时,消息的相关数据也可以存储在服务器的数据库中,对应的数据库表可以是:When the computing device and the mobile device transmit messages such as requests and responses before and after the connection is established, the relevant data of the messages can also be stored in the database of the server, and the corresponding database table can be:

CREATE TABLE`msg`(CREATE TABLE `msg`(

`msgid`INT(10)UNSIGNED NOT NULL AUTO_INCREMENT,`msgid` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,

`toid`INT(10)UNSIGNED NOT NULL DEFAULT'0'COMMENT'初始速递号【分表KEY】',`toid`INT(10)UNSIGNED NOT NULL DEFAULT'0'COMMENT'initial courier number [sub-table KEY]',

`title`CHAR(255)NOT NULL DEFAULT''COMMENT'消息标题',`title`CHAR(255) NOT NULL DEFAULT''COMMENT'message title',

`content`TEXT NOT NULL,`content` TEXT NOT NULL,

`isupload`TINYINT(4)UNSIGNED NOT NULL COMMENT'是否本地上传',`isupload`TINYINT(4)UNSIGNED NOT NULL COMMENT'whether to upload locally',

`signature`CHAR(255)NOT NULL DEFAULT''COMMENT'发送者签名',`signature`CHAR(255) NOT NULL DEFAULT''COMMENT'Sender's signature',

`fileurl`VARCHAR(2800)NOT NULL DEFAULT''COMMENT'文件下载url',`fileurl`VARCHAR(2800) NOT NULL DEFAULT''COMMENT'file download url',

`filename`VARCHAR(1200)NOT NULL DEFAULT''COMMENT'文件名',`filename` VARCHAR(1200) NOT NULL DEFAULT''COMMENT'filename',

`filetype`TINYINT(3)UNSIGNED NOT NULL DEFAULT'0'COMMENT'文件类型号',`filetype`TINYINT(3)UNSIGNED NOT NULL DEFAULT'0'COMMENT'File type number',

`filehash`CHAR(32)NOT NULL DEFAULT''COMMENT'文件md5',`filehash`CHAR(32) NOT NULL DEFAULT''COMMENT'file md5',

`filethumb`CHAR(255)NOT NULL DEFAULT''COMMENT'缩略图url',`filethumb`CHAR(255) NOT NULL DEFAULT''COMMENT'thumbnail url',

`fileshorturl`CHAR(64)NOT NULL DEFAULT'0'COMMENT'短链接',`fileshorturl`CHAR(64) NOT NULL DEFAULT'0'COMMENT'short link',

`filesize`INT(10)UNSIGNED NOT NULL DEFAULT'0'COMMENT'文件大小',`filesize`INT(10) UNSIGNED NOT NULL DEFAULT'0'COMMENT'File size',

`status`TINYINT(4)NOT NULL DEFAULT'0',`status`TINYINT(4) NOT NULL DEFAULT'0',

`createtime`DATETIME NOT NULL COMMENT'创建时间',`createtime`DATETIME NOT NULL COMMENT'create time',

`updatetime`DATETIME NOT NULL COMMENT'更新时间',`updatetime`DATETIME NOT NULL COMMENT'update time',

`flag`TINYINT(3)UNSIGNED NOT NULL DEFAULT'0',`flag`TINYINT(3) UNSIGNED NOT NULL DEFAULT'0',

`fromid`INT(10)UNSIGNED NOT NULL DEFAULT'0',`fromid`INT(10) UNSIGNED NOT NULL DEFAULT'0',

`appid`SMALLINT(5)UNSIGNED NOT NULL DEFAULT'0'COMMENT'应用ID',`appid`SMALLINT(5) UNSIGNED NOT NULL DEFAULT'0'COMMENT'App ID',

`batchid`INT(10)UNSIGNED NULL DEFAULT'0',`batchid` INT(10) UNSIGNED NULL DEFAULT'0',

`_batchid`VARCHAR(200)NULL DEFAULT'',`_batchid` VARCHAR(200) NULL DEFAULT'',

PRIMARY KEY(`msgid`),PRIMARY KEY(`msgid`),

INDEX`idx_toid_flag_status_msgid`(`toid`,`flag`,`status`,`msgid`)INDEX `idx_toid_flag_status_msgid`(`toid`, `flag`, `status`, `msgid`)

))

COMMENT='消息表'COMMENT='Message table'

COLLATE='utf8_general_ci'COLLATE='utf8_general_ci'

ENGINE=InnoDB;ENGINE=InnoDB;

在具体实现中,所述移动设备侧可以通过无线的方式接入所述计算设备,可以包括如下情况:In a specific implementation, the mobile device side may access the computing device in a wireless manner, which may include the following situations:

1.有无线路由1. With wireless router

这种方式是移动设备通过WIFI连到路由,计算设备通过WIFI或网线连到路由,在移动设备上用websharing、虚拟数据线、应用大师等软件开通ftp服务,在计算设备上用浏览器打开ftp后,进行应用传输。In this way, the mobile device is connected to the router through WIFI, the computing device is connected to the router through WIFI or a network cable, the ftp service is opened on the mobile device with software such as websharing, virtual data cable, and application master, and the ftp service is opened on the computing device with a browser After that, transfer the application.

2.没有无线路由,计算设备有无线网卡2. There is no wireless router, and the computing device has a wireless network card

2.1无线网卡支持mywifi技术2.1 wireless network card supports mywifi technology

把计算设备设为wifi热点(xp下手工设置,win7下手工设置或用connectify软件),移动设备通过wifi连到计算设备;在移动设备上用websharing、虚拟数据线、应用大师等软件开通ftp服务,计算设备上用浏览器打开ftp后进行应用传输。Set the computing device as a wifi hotspot (manual setting under xp, manual setting under win7 or use connectify software), connect the mobile device to the computing device through wifi; use websharing, virtual data line, application master and other software to open ftp service on the mobile device , use the browser on the computing device to open ftp and then transfer the application.

2.2无线网卡不支持mywifi技术2.2 The wireless network card does not support mywifi technology

把移动设备的wifi热点打开,计算设备通过wifi连到移动设备,在移动设备上用websharing、虚拟数据线、应用大师等软件开通ftp服务,计算设备上用浏览器打开ftp后进行应用传输。Turn on the wifi hotspot of the mobile device, connect the computing device to the mobile device through wifi, open ftp service on the mobile device with software such as websharing, virtual data cable, and application master, and open ftp on the computing device with a browser to transfer the application.

在本发明的一个实施例中,移动设备和计算设备之间的无线直连连接可以是Wifi直连连接,例如移动设备侧的移动设备管理程序可以创建一个Wifi直连Server。所发送的无线直连信息为Wifi直连信息,具体为Json格式的字符串,包括:移动设备的IP地址、mac地址、wifi直连的验证码和移动设备的型号。例如:{"ip":"192.168.0.12","mac":"14:d1:d2:a4:a2:45","key"="1235b","brand"="htc",model="G7"}。In an embodiment of the present invention, the wireless direct connection between the mobile device and the computing device may be a Wifi direct connection, for example, a mobile device management program on the mobile device side may create a Wifi direct server. The wireless direct connection information sent is Wifi direct connection information, specifically a character string in Json format, including: the IP address of the mobile device, the mac address, the verification code of the wifi direct connection, and the model of the mobile device. For example: {"ip":"192.168.0.12","mac":"14:d1:d2:a4:a2:45","key"="1235b","brand"="htc",model=" G7"}.

所述移动设备侧可以通过上述任一种无线连接方式或其他无线连接方式连接至计算设备,本发明实施例对移动设备无线连接有线设备的具体连接方式无需加以限制。The mobile device side can be connected to the computing device through any of the above wireless connection methods or other wireless connection methods, and the embodiment of the present invention does not need to limit the specific connection method of the mobile device to the wired device.

继续参见图1,如果客户端应用程序下载应用不会耗费移动设备的上网流量,则进入步骤S105,在步骤S105中,控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用。Continuing to refer to FIG. 1 , if the downloading of the application by the client application does not consume the Internet traffic of the mobile device, then proceed to step S105. In step S105, the client application is controlled to download the application from the network side server according to the description information of the application.

具体地,对于客户端应用程序为视频播放器时,该视频播放器可以接收并播放网络侧服务器发送的视频应用;对于客户端应用程序为手机助手时,该手机助手从网络侧服务器下载与应用的描述信息对应的应用。Specifically, when the client application program is a video player, the video player can receive and play the video application sent by the server on the network side; The application corresponding to the description information.

在本发明的一个实施例中,在控制客户端应用程序根据应用的描述信息从网络侧服务器下载与该应用的描述信息对应的应用之前,客户端应用程序可以检测待下载的应用的大小,将待下载的应用的大小与预先设定的阈值进行比较,如果待下载的应用的大小大于或等于预先设定的阈值时,客户端应用程序可以根据待下载的应用的描述信息生成一个压缩请求,然后向网络侧服务器发送该压缩请求,由所述网络侧服务器根据所述压缩请求对与所述应用的描述信息对应的应用进行压缩处理。如果待下载的应用的大小小于预先设定的阈值,控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用。In one embodiment of the present invention, before controlling the client application program to download the application corresponding to the application description information from the network side server according to the application description information, the client application program can detect the size of the application to be downloaded, and the The size of the application to be downloaded is compared with the preset threshold. If the size of the application to be downloaded is greater than or equal to the preset threshold, the client application can generate a compression request according to the description information of the application to be downloaded. Then, the compression request is sent to the network side server, and the network side server performs compression processing on the application corresponding to the description information of the application according to the compression request. If the size of the application to be downloaded is smaller than a preset threshold, the client application program is controlled to download the application corresponding to the description information of the application from the network side server.

上述预先设定的阈值可以根据需要设置,待下载的应用可以是应用的升级包、应用的安装包、视频文件等;上述压缩请求的格式可以为Gzip格式,Gzip格式是GNUzip的缩写,发送Gzip格式的压缩请求可以缩减请求大小,加快传输速度。The above preset threshold can be set as required, and the application to be downloaded can be an application upgrade package, an application installation package, a video file, etc.; the format of the above compression request can be Gzip format, Gzip format is the abbreviation of GNUzip, send Gzip Compressing requests in the format reduces request size and speeds up transfers.

在预处理阶段对接收到的压缩请求进行解析,获得非压缩数据;In the preprocessing stage, the received compressed request is parsed to obtain uncompressed data;

上述网络侧服务器可以为Nginx服务器,而Nginx服务器本身有一个阶段(Phases)机制,具体地,一个压缩请求可以分成好多个阶段,比如预处理(access)阶段和内容处理(content)阶段,其中,access阶段用来对请求做一些预处理;content阶段用来处理最终的响应数据;The above-mentioned network side server can be an Nginx server, and the Nginx server itself has a Phases mechanism. Specifically, a compressed request can be divided into several phases, such as a preprocessing (access) phase and a content processing (content) phase. Among them, The access phase is used to pre-process the request; the content phase is used to process the final response data;

在预处理阶段可以使用脚本语言对接收到的压缩请求进行解析,例如,可以使用脚本语言例如Lua调用数据压缩库(zlib)或者使用Lua调用外部函数接口(FFI)对接收到的压缩请求进行解析;当然也可以使用其他类型的脚本语言例如perl替代Lua;In the preprocessing stage, scripting language can be used to analyze the received compression request, for example, a scripting language such as Lua can be used to call the data compression library (zlib) or Lua can be used to call the external function interface (FFI) to analyze the received compression request ; Of course, other types of scripting languages such as perl can be used instead of Lua;

网络侧服务器接收客户端应用程序发送的Gzip格式的压缩请求,该压缩请求包括待下载的应用的描述信息;The network side server receives the compression request in Gzip format sent by the client application program, and the compression request includes the description information of the application to be downloaded;

通常情况下,用户每个手机都会安装很多应用,包括自己安装的和系统内置的,加起来大概有一百到两百个左右,手机助手有一个功能是查询该移动设备有哪些应用需要升级,当手机助手检测到需要升级的业务应用较多时,需要把本机安装的应用包名和版本号以Gzip压缩请求的形式发送到网络侧服务器,由于Gzip压缩请求可以将请求大小缩减至1/10左右的大小,从而可以提升响应速度;Under normal circumstances, users install many applications on each mobile phone, including self-installed ones and system built-in ones, which add up to about one hundred to two hundred. One function of the mobile assistant is to query which applications of the mobile device need to be upgraded. When the mobile assistant detects that there are many business applications that need to be upgraded, it needs to send the application package name and version number installed on the machine to the network side server in the form of a Gzip compression request, because the Gzip compression request can reduce the request size to about 1/10 size, which can improve the response speed;

手机助手可以位于移动设备上,也可以位于计算设备上,因此,在本实施例中,移动设备可以为手机,即位于手机上的手机助手在检测到手机上需要升级的业务应用较多时,把该手机上安装的应用包名和版本号以Gzip压缩请求的形式发送到网络侧服务器。The mobile assistant can be located on the mobile device or on the computing device. Therefore, in this embodiment, the mobile device can be a mobile phone, that is, when the mobile assistant located on the mobile phone detects that there are many business applications that need to be upgraded on the mobile phone, the The application package name and version number installed on the mobile phone are sent to the network side server in the form of a Gzip compressed request.

在本发明的另一个实施例中,在控制客户端应用程序根据应用的描述信息从网络侧服务器下载与该应用的描述信息对应的应用之前,客户端应用程序可以检测移动设备电池的当前电量,例如通过移动设备的电池管理工具(BatteryManager)来获取移动设备电池的当前电量;然后将移动设备电池的当前电量与预设的电量阈值进行比较;如果移动设备电池的当前电量大于或等于预设的电量阈值时,执行控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤;如果所述移动设备电池的当前电量小于所述预设的电量阈值时,则执行控制所述客户端应用程序暂停下载与所述应用的描述信息对应的应用的步骤。In another embodiment of the present invention, before controlling the client application program to download the application corresponding to the application description information from the network side server according to the application description information, the client application program can detect the current power level of the battery of the mobile device, For example, use the battery management tool (BatteryManager) of the mobile device to obtain the current power of the battery of the mobile device; then compare the current power of the battery of the mobile device with the preset power threshold; if the current power of the battery of the mobile device is greater than or equal to the preset When the power threshold is reached, perform the step of controlling the client application program to download the application corresponding to the application description information from the network side server; if the current power of the battery of the mobile device is less than the preset power threshold , the step of controlling the client application program to suspend downloading the application corresponding to the description information of the application is performed.

可选地,预设的电量阈值可以设置为电池电量×30%,也就是,如果移动设备电池的当前电量小于电池电量×30%,则不允许移动设备的客户端应用程序下载应用,以避免移动设备因下载应用过快地耗费电池的电量,延长移动设备的待机时间,当然可以理解的是,在本发明的实施例中并不限定预设的电量阈值。Optionally, the preset power threshold can be set as battery power × 30%, that is, if the current power of the battery of the mobile device is less than the battery power × 30%, the client application of the mobile device is not allowed to download the application, to avoid The mobile device consumes battery power due to downloading applications too quickly, prolonging the standby time of the mobile device. Of course, it can be understood that the preset power threshold is not limited in the embodiments of the present invention.

在本发明的另一个实施例中,当移动设备通过无线局域网与网络侧服务器连接,控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用时,方法还包括:判断移动设备是否处于待机锁屏状态,如果移动设备处于待机锁屏状态,继续保持移动设备与无线局域网的连接,从而可以避免WiFi连接因移动设备处于待机锁屏状态而断开。In another embodiment of the present invention, when the mobile device is connected to the network side server through the wireless local area network, and the control client application program downloads the application from the network side server according to the description information of the application, the method further includes: judging whether the mobile device is in standby In the lock screen state, if the mobile device is in the standby lock screen state, continue to maintain the connection between the mobile device and the wireless LAN, so as to avoid the disconnection of the WiFi connection because the mobile device is in the standby lock screen state.

进一步地,当客户端应用程序下载应用完成后,可以向移动设备发送通知消息,通知移动设备断开与无线局域网的连接。Further, after the client application program finishes downloading the application, it can send a notification message to the mobile device, instructing the mobile device to disconnect from the wireless local area network.

如果移动设备下载应用会耗费移动设备的上网流量,则进入步骤S107,在步骤S107中,控制客户端应用程序暂停下载应用。If the downloading of the application by the mobile device will consume the Internet traffic of the mobile device, then enter step S107, and in step S107, control the client application program to suspend downloading the application.

在本发明的实施例中,可以通过断开网络连接的方式控制客户端应用程序暂停下载网络侧服务器发送的应用。例如,可以通过stopdownload命令暂停客户端应用程序下载应用的进程。In the embodiment of the present invention, the client application program can be controlled to suspend downloading the application sent by the server on the network side by disconnecting the network connection. For example, you can use the stopdownload command to suspend the process of downloading the application by the client application.

在本发明的一个实施例中,控制移动设备断开与网络侧服务器的连接,实现控制客户端应用程序暂停下载网络侧服务器发送的应用。例如:向移动设备发送断开与网络侧服务器的连接的通知消息,以控制客户端应用程序暂停下载网络侧服务器发送的应用。In an embodiment of the present invention, the mobile device is controlled to disconnect from the network side server, so as to control the client application program to suspend downloading the application sent by the network side server. For example: sending a notification message of disconnecting from the network side server to the mobile device, so as to control the client application program to suspend downloading the application sent by the network side server.

具体地,通过移动设备中的监控程序获取移动设备的网络访问权限,关闭该移动设备的网络访问权限。Specifically, the network access right of the mobile device is obtained through a monitoring program in the mobile device, and the network access right of the mobile device is closed.

在本发明的另一个实施例中,断开移动设备中客户端应用程序与网络侧服务器的连接,控制客户端应用程序无法将下载请求发送至网络侧服务器,或者无法接收网络侧服务器发送的应用。具体地,通过移动设备中的监控程序控制客户端应用程序的网络访问权限,关闭客户端应用程序的网络访问权限。In another embodiment of the present invention, the connection between the client application program and the network side server in the mobile device is disconnected, and the control client application program cannot send the download request to the network side server, or cannot receive the application program sent by the network side server. . Specifically, the network access authority of the client application program is controlled through the monitoring program in the mobile device, and the network access authority of the client application program is closed.

在本发明的实施例中,在暂停客户端应用程序从网络侧下载与应用的描述信息对应的应用之后,当检测移动设备上的客户端应用程序下载应用不会耗费移动设备的上网流量时,可以恢复客户端应用程序下载应用In an embodiment of the present invention, after the client application program is suspended from downloading the application corresponding to the application description information from the network side, when it is detected that the client application program downloading the application on the mobile device will not consume the Internet traffic of the mobile device, Can resume client application download application

可选地,在步骤S107之后,方法还包括:步骤S109和步骤S111,在步骤S109中,判断客户端应用程序下载应用是否会耗费移动设备的上网流量。Optionally, after step S107, the method further includes: step S109 and step S111. In step S109, it is judged whether downloading the application by the client application will consume the Internet traffic of the mobile device.

在本发明的一个实施例中,可以周期性地判断客户端应用程序下载应用是否会耗费移动设备的上网流量,从而一旦客户端应用程序下载应用不耗费移动设备的上网流量,例如移动设备连接到无线局域网中,则可以恢复下载应用。例如:移动设备的客户端应用程序可以缓存还未下载完成的应用,并在移动设备连接到WiFi网络时,触发客户端应用程序继续进行之前未完成的下载任务,可选地,缓存的位置可以是移动设备的SD卡中。In one embodiment of the present invention, it may be periodically determined whether the client application program downloads the application will consume the Internet traffic of the mobile device, so that once the client application program downloads the application, the mobile device's Internet traffic will not be consumed, for example, the mobile device connects to In the wireless local area network, you can resume downloading applications. For example: the client application program of the mobile device can cache the application that has not been downloaded yet, and when the mobile device is connected to the WiFi network, trigger the client application program to continue the previous unfinished download task. Optionally, the location of the cache can be is in the SD card of the mobile device.

在本发明的另一个实施例中,可以在移动设备连接的网络发生了改变时,判断客户端应用程序下载应用是否会耗费移动设备的上网流量,例如:移动设备连接的网络发生了改变的情况可以是:移动设备连接到WiFi网络,或者移动设备断开与WiFi网络的连接,当然并不限于此。可选地,在本实施例中,可以通过移动设备的网络管理工具(NetworkManager)来判断移动设备所连接的网络状况是否发生改变。In another embodiment of the present invention, when the network connected to the mobile device changes, it can be determined whether the downloading of the client application program will consume the Internet traffic of the mobile device, for example: the network connected to the mobile device has changed It may be: the mobile device is connected to the WiFi network, or the mobile device is disconnected from the WiFi network, but of course it is not limited thereto. Optionally, in this embodiment, a network management tool (NetworkManager) of the mobile device may be used to determine whether the status of the network to which the mobile device is connected changes.

在本发明的一个实施例中,可以通过检测移动设备的WiFi网卡的工作状态来判断移动设备连接的网络是否发生了改变,例如检测移动设备的WiFi网卡连接到WiFi网络时,第一种情况是WiFi网卡开启后,移动设备进行了网络连接操作,则认定移动设备与WiFi网络建立了连接,即移动设备连接的网络发生了改变;第二种情况是WiFi网卡处于开启状态,且中断正在进行WiFi网络连接,则认定移动设备的网络状态2G/3G网络正在向WiFi网络切换;第三种情况是WiFi网卡虽然开启,但移动设备没有进行网络连接操作,此时移动设备所处的状态可能处于WiFi网络无法连接或者WiFi网络向2G/3G网络切换过程中,那么此时移动设备所处的网络状态为2G/3G网络,即移动设备连接的网络还未发生改变。In one embodiment of the present invention, it is possible to determine whether the network connected to the mobile device has changed by detecting the working status of the WiFi network card of the mobile device. For example, when the WiFi network card of the mobile device is connected to the WiFi network, the first case is After the WiFi network card is turned on, and the mobile device performs a network connection operation, it is determined that the mobile device has established a connection with the WiFi network, that is, the network connected to the mobile device has changed; the second situation is that the WiFi network card is turned on, and the interruption is in progress. network connection, it is determined that the network status of the mobile device is switching from 2G/3G network to WiFi network; the third situation is that although the WiFi network card is turned on, but the mobile device is not connected to the network, the state of the mobile device may be in WiFi at this time. If the network cannot be connected or the WiFi network is switching to the 2G/3G network, then the network status of the mobile device is 2G/3G network at this time, that is, the network connected to the mobile device has not changed.

如果客户端应用程序下载应用会耗费移动设备的上网流量,则进入步骤S107中。If downloading the application by the client application program will consume the Internet traffic of the mobile device, proceed to step S107.

如果客户端应用程序下载应用不会耗费移动设备的上网流量,则进入步骤S111,在步骤S111中,控制客户端应用程序恢复下载应用。具体地,可以恢复移动设备或移动设备中客户端应用程序访问网络的权限,使得客户端应用程序可以继续下载应用。If the downloading of the application by the client application program does not consume the Internet traffic of the mobile device, then enter step S111, and in step S111, control the client application program to resume downloading the application. Specifically, the network access authority of the mobile device or the client application program in the mobile device can be restored, so that the client application program can continue to download applications.

在上述步骤中,当客户端应用程序下载应用会耗费移动设备的上网流量时,则暂停客户端应用程序的下载。如果用户的上网流量足够多,例如用户购买了几百兆的上网流量包,则也可以先判断客户端应用程序下载的应用数据量是否满足预定条件,如果满足,则在耗费移动设备的上网流量的情况下,也可以下载应用,如果不满足预定条件,则暂停客户端应用程序的下载。In the above steps, when the downloading of the application by the client application will consume the Internet traffic of the mobile device, the download of the client application is suspended. If the user's Internet traffic is sufficient, for example, the user has purchased a few hundred megabytes of Internet traffic package, it is also possible to first determine whether the amount of application data downloaded by the client application meets the predetermined conditions, and if so, the mobile device's Internet traffic is consumed In the case of , the application can also be downloaded, and if the predetermined condition is not met, the download of the client application is suspended.

可选地,在步骤S103之后,步骤S107之前,方法还包括:步骤S113、步骤S115、步骤S117和步骤S119,其中,在步骤S113中,获取客户端应用程序下载应用的应用数据量。例如,在网络侧服务器中会存储有大量的可供下载的应用,以及记录该应用的相关信息,例如应用的大小,移动设备上的客户端应用程序可以将下载请求消息发送至网络侧服务器,网络侧服务器根据下载请求消息中的应用的标识可以匹配得到应用的大小,然后将应用的应用数据量发送至客户端应用程序。Optionally, after step S103 and before step S107, the method further includes: step S113, step S115, step S117, and step S119, wherein, in step S113, the application data volume of the client application download application is obtained. For example, there will be a large number of downloadable applications stored in the server on the network side, and relevant information of the application, such as the size of the application, will be stored. The client application program on the mobile device can send a download request message to the server on the network side. The server on the network side can obtain the size of the application according to the identification of the application in the download request message, and then send the application data volume of the application to the client application program.

步骤S115、将应用的应用数据量与预先设定的阈值进行比较。可选地,预先设定的阈值可以由用户自己设定,例如根据用户购买的上网流量包进行设置,如果上网流量包有几百兆(例如500M),则预先设定的阈值也可以设置的很大(例如10M)。当然可以理解的是,在本发明的实施例中并不限定预先设定的阈值的具体值。Step S115, comparing the application data volume of the application with a preset threshold. Optionally, the preset threshold can be set by the user, for example, according to the Internet traffic package purchased by the user. If the Internet traffic package has hundreds of megabytes (for example, 500M), the preset threshold can also be set Large (eg 10M). Of course, it can be understood that the specific value of the preset threshold is not limited in the embodiment of the present invention.

步骤S117、如果应用的应用数据量小于预先设定的阈值时,则控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用。虽然下载应用会耗费移动设备的上网流量,但由于移动设备的上网流量足够多,此次耗费的上网流量不会影响用户后续的使用,因此可以允许客户端应用程序下载应用。Step S117, if the amount of application data of the application is less than the preset threshold, control the client application program to download the application from the network side server according to the description information of the application. Although downloading the application will consume the Internet traffic of the mobile device, since the Internet traffic of the mobile device is sufficient, the Internet traffic consumed this time will not affect the user's subsequent use, so the client application can be allowed to download the application.

步骤S119、如果应用的应用数据量大于或等于预先设定的阈值时,则执行控制客户端应用程序暂停下载应用的步骤,即执行步骤S107。Step S119 , if the amount of application data of the application is greater than or equal to the preset threshold, execute the step of controlling the client application program to suspend downloading the application, that is, execute step S107 .

通过上述步骤S113~步骤S119,虽然下载应用会耗费移动设备的上网流量,但由于可以根据应用数据量来控制客户端应用程序下载应用,一方面能够控制用户耗费的上网流量,另一方面也能满足用户的正常使用,例如当用户希望下载图片,该图片的大小仅几百字节,如果控制客户端应用程序暂停下载网络侧服务器发送的应用,则可能会影响用户的正常使用;如果预先设定的阈值为1兆,由于图片的大小小于预先设定的阈值,客户端应用程序可以正常下载该图片。Through the above steps S113 to S119, although the downloading of the application will consume the Internet traffic of the mobile device, since the downloading of the application by the client application can be controlled according to the amount of application data, on the one hand, the Internet traffic consumed by the user can be controlled; Satisfies the normal use of the user. For example, when the user wants to download a picture, the size of the picture is only a few hundred bytes. If the control client application program suspends downloading the application sent by the server on the network side, it may affect the normal use of the user; if the preset The predetermined threshold is 1 megabyte. Since the size of the picture is smaller than the preset threshold, the client application can download the picture normally.

根据本发明的实施例,所述客户端应用程序下载应用的方法还可以包括一个或者多个可选步骤,以实现额外或者附加的功能,然而这些可选步骤对于实现本发明的目的而言并非是不可或缺的,根据本发明的实施例的客户端应用程序下载应用的方法完全可以在没有这些可选步骤的情况下,实现本发明的目的。这些可选步骤未在图1中示出,但它们与上述各步骤之间的先后执行可以由本领域技术人员根据下述教导而容易地得出。需要指出的是,只要没有特别说明,这些可选步骤连同上述步骤的执行顺序可以根据实际需要进行选择。According to an embodiment of the present invention, the method for downloading an application by a client application program may also include one or more optional steps to achieve extra or additional functions, but these optional steps are not necessary for realizing the purpose of the present invention. It is indispensable, and the method for downloading an application by a client application program according to an embodiment of the present invention can completely achieve the purpose of the present invention without these optional steps. These optional steps are not shown in FIG. 1 , but the sequential execution between them and the above-mentioned steps can be easily obtained by those skilled in the art according to the following teachings. It should be noted that, as long as there is no special description, these optional steps and the execution order of the above steps can be selected according to actual needs.

根据本发明的第二方面,与如上所述的根据本发明的实施例的客户端应用程序下载应用的方法相对应,本发明还提供了一种客户端应用程序下载应用的装置200。According to the second aspect of the present invention, corresponding to the above-mentioned method for downloading an application by a client application according to the embodiment of the present invention, the present invention further provides an apparatus 200 for downloading an application by a client application.

如图2所示,本发明的实施例中客户端应用程序下载应用的装置200包括:As shown in FIG. 2 , the device 200 for downloading an application by a client application program in an embodiment of the present invention includes:

下载请求获取模块201,用于获取移动设备上的客户端应用程序下载应用的下载请求消息,下载请求消息包括:应用的描述信息;The download request obtaining module 201 is used to obtain the download request message of the client application program download application on the mobile device, and the download request message includes: description information of the application;

判断模块203,用于判断客户端应用程序下载应用是否会耗费移动设备的上网流量;Judging module 203, for judging whether the client application downloading application will consume the Internet traffic of the mobile device;

下载模块205,用于在客户端应用程序下载应用不会耗费移动设备的上网流量的情况下,控制客户端应用程序根据应用的描述信息下载应用;The download module 205 is used to control the client application to download the application according to the description information of the application under the condition that the download of the application by the client application will not consume the Internet traffic of the mobile device;

暂停下载模块207,用于在客户端应用程序下载应用会耗费移动设备的上网流量的情况下,控制客户端应用程序暂停下载应用。The download pause module 207 is configured to control the client application to suspend the download of the application when the download of the application by the client application consumes the Internet traffic of the mobile device.

可选地,在本发明的实施例中,装置200还包括:Optionally, in the embodiment of the present invention, the device 200 further includes:

恢复下载模块209,与暂停下载模块连接,用于在客户端应用程序下载应用不会耗费移动设备的上网流量的情况下,控制客户端应用程序恢复下载应用。The resume download module 209 is connected with the pause download module, and is used for controlling the client application to resume downloading the application under the condition that the client application downloading the application will not consume the Internet traffic of the mobile device.

可选地,在本发明的实施例中,判断模块203包括:Optionally, in the embodiment of the present invention, the judging module 203 includes:

无线连接判断单元,用于判断移动设备是否通过无线局域网与网络侧服务器连接,在移动设备通过无线局域网与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;在移动设备通过移动通信网络与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。The wireless connection judging unit is used to judge whether the mobile device is connected to the server on the network side through the wireless local area network. Internet traffic; when the mobile device is connected to the server on the network side through the mobile communication network, it is judged that downloading the application by the client application will consume the Internet traffic of the mobile device.

可选地,在本发明的实施例中,判断模块203还包括:Optionally, in the embodiment of the present invention, the judging module 203 also includes:

有线连接判断单元,用于判断移动设备是否通过计算设备与网络侧服务器连接,在移动设备通过计算设备与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用不会耗费移动设备的上网流量;在移动设备通过移动通信网络与网络侧服务器连接的情况下,判断结果为客户端应用程序下载应用会耗费移动设备的上网流量。The wired connection judging unit is used to judge whether the mobile device is connected to the server on the network side through the computing device. In the case that the mobile device is connected to the server on the network side through the computing device, the judgment result is that downloading the application by the client application program will not consume the time of the mobile device. Internet traffic; when the mobile device is connected to the server on the network side through the mobile communication network, it is judged that downloading the application by the client application will consume the Internet traffic of the mobile device.

可选地,在本发明的实施例中,装置200还包括:Optionally, in the embodiment of the present invention, the device 200 further includes:

应用数据量获取模块,与判断模块203连接,用于在客户端应用程序下载应用会耗费移动设备的上网流量的情况下,获取客户端应用程序下载应用的应用数据量;The application data amount acquisition module is connected with the judging module 203, and is used to obtain the application data amount of the client application download application when the client application download application consumes the Internet traffic of the mobile device;

应用数据量比较模块,分别与应用数据量获取模块、下载模块205和暂停下载模块207连接,用于将应用的应用数据量与预先设定的阈值进行比较,在应用的应用数据量小于预先设定的阈值的情况下,触发下载模块;在应用的应用数据量大于或等于预先设定的阈值的情况下,触发暂停下载模块207。The application data volume comparison module is respectively connected with the application data volume acquisition module, the download module 205 and the pause download module 207, and is used to compare the application data volume of the application with a preset threshold, and when the application data volume of the application is less than the preset threshold In the case of a predetermined threshold, trigger the download module; in the case of the application data volume of the application is greater than or equal to the preset threshold, trigger the pause download module 207.

可选地,在本发明的实施例中,装置200还包括:Optionally, in the embodiment of the present invention, the device 200 further includes:

电量获取模块,用于获取移动设备电池的当前电量;The power acquisition module is used to obtain the current power of the battery of the mobile device;

电量比较模块,用于将移动设备电池的当前电量与预设的电量阈值进行比较;The power comparison module is used to compare the current power of the battery of the mobile device with a preset power threshold;

下载模块205还用于如果移动设备电池的当前电量大于或等于预设的电量阈值时,控制客户端应用程序从网络侧服务器下载与应用的描述信息对应的应用;The download module 205 is also used to control the client application program to download the application corresponding to the description information of the application from the network side server if the current power of the battery of the mobile device is greater than or equal to the preset power threshold;

暂停下载模块207还用于如果移动设备电池的当前电量小于预设的电量阈值时,控制客户端应用程序暂停下载与应用的描述信息对应的应用。The download pause module 207 is also configured to control the client application program to suspend downloading the application corresponding to the application description information if the current battery power of the mobile device is less than a preset power threshold.

可选地,在本发明的实施例中,装置200还包括:Optionally, in the embodiment of the present invention, the device 200 further includes:

锁屏判断模块,用于判断移动设备是否处于待机锁屏状态;A lock screen judging module, used to judge whether the mobile device is in a standby lock screen state;

无线连接保持模块,用于在移动设备处于待机锁屏状态的情况下,继续保持所述移动设备与无线局域网的连接,以避免所述移动设备与网络侧服务器之间的无线连接因移动设备处于待机锁屏状态而断开。The wireless connection maintaining module is used to continue to maintain the connection between the mobile device and the wireless local area network when the mobile device is in the standby lock screen state, so as to avoid the wireless connection between the mobile device and the network side server due to the mobile device being in It is disconnected from the standby lock screen state.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the device according to the embodiment of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干设备的单元权利要求中,这些设备中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

本发明还公开了A1、一种客户端应用程序下载应用的方法,其包括:获取移动设备上的客户端应用程序下载应用的下载请求消息,所述下载请求消息包括:应用的描述信息;判断所述客户端应用程序下载应用是否会耗费所述移动设备的上网流量;如果所述客户端应用程序下载应用不会耗费所述移动设备的上网流量,则控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用;如果所述移动设备下载应用会耗费所述移动设备的上网流量,则控制所述客户端应用程序暂停下载所述应用。A2、根据A1所述的方法,其中,在控制所述客户端应用程序暂停下载所述网络侧服务器发送的应用的步骤之后,所述方法还包括:判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量;如果所述客户端应用程序下载应用不会耗费所述移动设备的上网流量,则控制所述客户端应用程序恢复下载所述应用。A3、根据A1或A2所述的方法,其中,判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:判断所述移动设备是否通过无线局域网与所述网络侧服务器连接;如果所述移动设备通过无线局域网与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;如果所述移动设备通过移动通信网络与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。A4、根据A1或A2所述的方法,其中,判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:判断所述移动设备是否通过计算设备与所述网络侧服务器连接;如果所述移动设备通过计算设备与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;如果所述移动设备通过移动通信网络与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。A5、根据A1所述的方法,其中,在控制所述客户端应用程序暂停下载应用的步骤之前,所述方法还包括:获取所述客户端应用程序下载应用的应用数据量;将所述应用的应用数据量与预先设定的阈值进行比较;如果所述应用的应用数据量小于预先设定的阈值时,则控制所述客户端应用程序根据所述应用的描述信息从所述网络侧服务器下载所述应用;如果所述应用的应用数据量大于或等于预先设定的阈值时,则执行控制所述客户端应用程序暂停下载所述应用的步骤。A6、根据A1所述的方法,其中,所述暂停下载应用的步骤包括:向所述移动设备发送断开与所述网络侧服务器的连接的通知消息,以控制所述客户端应用程序暂停下载应用。A7、根据A1~A6任一项所述的方法,在控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤之前,所述方法还包括:获取所述移动设备电池的当前电量;将所述移动设备电池的当前电量与预设的电量阈值进行比较;如果所述移动设备电池的当前电量大于或等于所述预设的电量阈值时,执行控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤;如果所述移动设备电池的当前电量小于所述预设的电量阈值时,则执行控制所述客户端应用程序暂停下载与所述应用的描述信息对应的应用的步骤。A8、根据A1~A6任一项所述的方法,在控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤之前,所述方法还包括:获取所述客户端应用程序待下载应用的大小;将待下载的应用的大小与预先设定的阈值进行比较;如果待下载的应用的大小大于或等于预先设定的阈值时,根据所述客户端应用程序待下载的应用的描述信息生成一个压缩请求,然后向网络侧服务器发送所述压缩请求,由所述网络侧服务器根据所述压缩请求对与所述应用的描述信息对应的应用进行压缩处理;如果待下载的应用的大小小于预先设定的阈值,则执行控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤。A9、根据A1~A6任一项所述的方法,当移动设备通过无线局域网与网络侧服务器连接,控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用时,所述方法还包括:判断所述移动设备是否处于待机锁屏状态;如果移动设备处于待机锁屏状态,则继续保持所述移动设备与无线局域网的连接,以避免所述移动设备与网络侧服务器之间的无线连接因移动设备处于待机锁屏状态而断开。B10.一种客户端应用程序下载应用的装置,其包括:下载请求获取模块,用于获取移动设备上的客户端应用程序下载应用的下载请求消息,所述下载请求消息包括:应用的描述信息;判断模块,用于判断所述客户端应用程序下载应用是否会耗费所述移动设备的上网流量;下载模块,用于在所述客户端应用程序下载应用不会耗费所述移动设备的上网流量的情况下,控制所述客户端应用程序根据所述应用的描述信息从网络侧服务器下载所述应用;暂停下载模块,用于在所述客户端应用程序下载应用会耗费所述移动设备的上网流量的情况下,控制所述客户端应用程序暂停下载所述应用。B11、根据B10所述的装置,其中,所述装置还包括:恢复下载模块,与所述暂停下载模块连接,用于在所述客户端应用程序下载应用不会耗费所述移动设备的上网流量的情况下,控制所述客户端应用程序恢复下载所述应用。B12、根据B10或B11所述的装置,其中,所述判断模块包括:无线连接判断单元,用于判断所述移动设备是否通过无线局域网与所述网络侧服务器连接,在所述移动设备通过无线局域网与所述网络侧服务器连接的情况下,判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;在所述移动设备通过移动通信网络与所述网络侧服务器连接的情况下,判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。B13、根据B10或B11所述的装置,其中,所述判断模块还包括:有线连接判断单元,用于判断所述移动设备是否通过计算设备与所述网络侧服务器连接,在所述移动设备通过计算设备与所述网络侧服务器连接的情况下,判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;在所述移动设备通过移动通信网络与所述网络侧服务器连接的情况下,判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。B14、根据B10所述的装置,其中,所述装置还包括:应用数据量获取模块,与所述判断模块连接,用于在所述客户端应用程序下载应用会耗费所述移动设备的上网流量的情况下,获取所述客户端应用程序下载应用的应用数据量;应用数据量比较模块,分别与所述应用数据量获取模块、所述下载模块和所述暂停下载模块连接,用于将所述应用的应用数据量与预先设定的阈值进行比较,在所述应用的应用数据量小于预先设定的阈值的情况下,触发所述下载模块;在所述应用的应用数据量大于或等于预先设定的阈值的情况下,触发所述暂停下载模块。B15、根据B10~B14任一项所述的装置,所述装置还包括:电量获取模块,用于获取所述移动设备电池的当前电量;电量比较模块,用于将所述移动设备电池的当前电量与预设的电量阈值进行比较;所述下载模块还用于如果所述移动设备电池的当前电量大于或等于所述预设的电量阈值时,控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用;所述暂停下载模块还用于如果所述移动设备电池的当前电量小于所述预设的电量阈值时,控制所述客户端应用程序暂停下载与所述应用的描述信息对应的应用。B16、根据B10~B14任一项所述的装置,所述装置方法还包括:锁屏判断模块,用于判断所述移动设备是否处于待机锁屏状态;无线连接保持模块,用于在移动设备处于待机锁屏状态的情况下,继续保持所述移动设备与无线局域网的连接,以避免所述移动设备与网络侧服务器之间的无线连接因移动设备处于待机锁屏状态而断开。The present invention also discloses A1, a method for downloading an application by a client application, which includes: obtaining a download request message of the download application of the client application on the mobile device, and the download request message includes: description information of the application; judging Whether the client application downloading application will consume the Internet traffic of the mobile device; if the client application downloading application will not consume the mobile device Internet traffic, then control the client application from the The network side server downloads the application corresponding to the description information of the application; if the downloading of the application by the mobile device will consume the Internet traffic of the mobile device, control the client application program to suspend downloading the application. A2. The method according to A1, wherein, after the step of controlling the client application program to suspend downloading the application sent by the network side server, the method further includes: judging whether the client application program download application will Consuming the Internet traffic of the mobile device; if the downloading of the application by the client application does not consume the Internet traffic of the mobile device, then controlling the client application to resume downloading the application. A3. The method according to A1 or A2, wherein the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device includes: judging whether the mobile device is connected to the network side server through a wireless local area network ; If the mobile device is connected to the network side server through a wireless local area network, then the judgment result is that the downloading of the application by the client application program will not consume the Internet traffic of the mobile device; If the network is connected to the network-side server, the judgment result is that downloading the application by the client application will consume the Internet traffic of the mobile device. A4. The method according to A1 or A2, wherein the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device includes: judging whether the mobile device is connected to the network side server through a computing device ; If the mobile device is connected to the network side server through a computing device, the judgment result is that downloading the application by the client application program will not consume the Internet traffic of the mobile device; If the network is connected to the network-side server, the judgment result is that downloading the application by the client application will consume the Internet traffic of the mobile device. A5. The method according to A1, wherein, before the step of controlling the client application program to suspend downloading applications, the method further includes: acquiring the application data volume of the client application program downloading application; The amount of application data of the application is compared with a preset threshold; if the amount of application data of the application is less than the preset threshold, the client application is controlled to download from the network side server according to the description information of the application Downloading the application; if the application data volume of the application is greater than or equal to a preset threshold, then execute the step of controlling the client application program to suspend downloading the application. A6. The method according to A1, wherein the step of suspending the download of the application includes: sending a notification message to the mobile device to disconnect from the network side server, so as to control the client application to suspend the download application. A7. According to the method described in any one of A1-A6, before the step of controlling the client application program to download the application corresponding to the description information of the application from the network side server, the method further includes: obtaining The current power of the mobile device battery; comparing the current power of the mobile device battery with a preset power threshold; if the current power of the mobile device battery is greater than or equal to the preset power threshold, execute control The step of the client application program downloading the application corresponding to the description information of the application from the network side server; The client application program suspends the step of downloading the application corresponding to the application description information. A8. According to the method described in any one of A1-A6, before the step of controlling the client application program to download the application corresponding to the application description information from the network side server, the method further includes: obtaining The size of the application to be downloaded by the client application; compare the size of the application to be downloaded with a preset threshold; if the size of the application to be downloaded is greater than or equal to the preset threshold, according to the client The description information of the application to be downloaded by the application program generates a compression request, and then sends the compression request to the network side server, and the network side server performs compression processing on the application corresponding to the description information of the application according to the compression request ; If the size of the application to be downloaded is smaller than the preset threshold, then execute the step of controlling the client application program to download the application corresponding to the description information of the application from the network side server. A9. According to the method described in any one of A1 to A6, when the mobile device is connected to the network side server through the wireless local area network, and the control client application program downloads the application from the network side server according to the description information of the application, the method also includes: Judging whether the mobile device is in the standby lock screen state; if the mobile device is in the standby lock screen state, then continue to maintain the connection between the mobile device and the wireless local area network, so as to avoid the wireless connection between the mobile device and the network side server due to The mobile device is disconnected from the standby lock screen. B10. A device for downloading an application by a client application, comprising: a download request acquisition module for obtaining a download request message of a download application by a client application on a mobile device, the download request message including: application description information The judging module is used to judge whether the client application downloading application will consume the Internet traffic of the mobile device; the download module is used to download the application on the client application and will not consume the mobile device Internet traffic In the case of the above, control the client application program to download the application from the network side server according to the description information of the application; suspend the download module, used to download the application on the client application program, which will consume the Internet access of the mobile device In the case of traffic, control the client application program to suspend downloading the application program. B11. The device according to B10, wherein the device further includes: a resume download module, connected to the pause download module, for downloading applications on the client application program without consuming the Internet traffic of the mobile device In the case of , control the client application program to resume downloading the application. B12. The device according to B10 or B11, wherein the judging module includes: a wireless connection judging unit for judging whether the mobile device is connected to the network side server through a wireless local area network, When the local area network is connected to the server on the network side, the judgment result is that downloading the application by the client application program will not consume the Internet traffic of the mobile device; When the server is connected, the judgment result is that downloading the application by the client application will consume the Internet traffic of the mobile device. B13. The device according to B10 or B11, wherein the judging module further includes: a wired connection judging unit, configured to judge whether the mobile device is connected to the network side server through a computing device, and when the mobile device passes When the computing device is connected to the network side server, the judgment result is that downloading the application by the client application program will not consume the Internet traffic of the mobile device; In the case of connecting to the side server, the judgment result is that the downloading of the application by the client application will consume the Internet traffic of the mobile device. B14. The device according to B10, wherein the device further includes: an application data volume acquisition module, connected to the judgment module, for downloading an application on the client application program to consume the Internet traffic of the mobile device In the case where the client application program downloads the application data volume; the application data volume comparison module is connected to the application data volume acquisition module, the download module and the pause download module respectively, and is used to The application data volume of the application is compared with a preset threshold, and when the application data volume of the application is less than the preset threshold, the download module is triggered; when the application data volume of the application is greater than or equal to In the case of a preset threshold, trigger the pause download module. B15. The device according to any one of B10 to B14, the device further includes: a power acquisition module, used to obtain the current power of the battery of the mobile device; a power comparison module, used to compare the current power of the battery of the mobile device The power is compared with a preset power threshold; the download module is also used to control the client application from the network side if the current power of the battery of the mobile device is greater than or equal to the preset power threshold. The server downloads the application corresponding to the description information of the application; the pause download module is also used to control the client application program to suspend the download and if the current power of the battery of the mobile device is less than the preset power threshold The application corresponding to the description information of the application. B16, according to the device described in any one of B10~B14, the device method also includes: a lock screen judging module, used to judge whether the mobile device is in a standby lock screen state; a wireless connection maintenance module, used in the mobile device When the mobile device is in the standby lock screen state, continue to maintain the connection between the mobile device and the wireless local area network, so as to avoid disconnection of the wireless connection between the mobile device and the network side server due to the mobile device being in the standby lock screen state.

Claims (10)

1.一种客户端应用程序下载应用的方法,其包括:1. A method for downloading an application by a client application, comprising: 获取移动设备上的客户端应用程序下载应用的下载请求消息,所述下载请求消息包括:应用的描述信息;Obtaining a download request message for downloading an application by the client application program on the mobile device, where the download request message includes: description information of the application; 判断所述客户端应用程序下载应用是否会耗费所述移动设备的上网流量;Judging whether the downloading of the application by the client application will consume the Internet traffic of the mobile device; 如果所述客户端应用程序下载应用不会耗费所述移动设备的上网流量,则控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用;If the downloading of the application by the client application program does not consume the Internet traffic of the mobile device, then controlling the client application program to download the application corresponding to the description information of the application from the network side server; 如果所述移动设备下载应用会耗费所述移动设备的上网流量,则控制所述客户端应用程序暂停下载所述应用。If downloading the application by the mobile device will consume the Internet traffic of the mobile device, the client application program is controlled to suspend downloading the application. 2.根据权利要求1所述的方法,其中,在控制所述客户端应用程序暂停下载所述网络侧服务器发送的应用的步骤之后,所述方法还包括:2. The method according to claim 1, wherein, after the step of controlling the client application program to suspend downloading the application sent by the network side server, the method further comprises: 判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量;Judging whether the downloading of the application by the client application will consume the Internet traffic of the mobile device; 如果所述客户端应用程序下载应用不会耗费所述移动设备的上网流量,则控制所述客户端应用程序恢复下载所述应用。If the downloading of the application by the client application program does not consume the Internet traffic of the mobile device, then control the client application program to resume downloading the application. 3.根据权利要求1或2所述的方法,其中,判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:3. The method according to claim 1 or 2, wherein the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device comprises: 判断所述移动设备是否通过无线局域网与所述网络侧服务器连接;judging whether the mobile device is connected to the network side server through a wireless local area network; 如果所述移动设备通过无线局域网与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;If the mobile device is connected to the network-side server through a wireless local area network, the judgment result is that downloading the application by the client application program will not consume the Internet traffic of the mobile device; 如果所述移动设备通过移动通信网络与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。If the mobile device is connected to the network-side server through a mobile communication network, the judgment result is that downloading the application by the client application will consume the Internet traffic of the mobile device. 4.根据权利要求1或2所述的方法,其中,判断所述客户端应用程序下载应用是否会耗费移动设备的上网流量的步骤包括:4. The method according to claim 1 or 2, wherein the step of judging whether the downloading of the client application program will consume the Internet traffic of the mobile device comprises: 判断所述移动设备是否通过计算设备与所述网络侧服务器连接;judging whether the mobile device is connected to the network side server through a computing device; 如果所述移动设备通过计算设备与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用不会耗费所述移动设备的上网流量;If the mobile device is connected to the network-side server through a computing device, the judgment result is that downloading the application by the client application program will not consume the Internet traffic of the mobile device; 如果所述移动设备通过移动通信网络与所述网络侧服务器连接,则判断结果为所述客户端应用程序下载所述应用会耗费所述移动设备的上网流量。If the mobile device is connected to the network-side server through a mobile communication network, the judgment result is that downloading the application by the client application will consume the Internet traffic of the mobile device. 5.根据权利要求1所述的方法,其中,在控制所述客户端应用程序暂停下载应用的步骤之前,所述方法还包括:5. The method according to claim 1, wherein, before the step of controlling the client application program to suspend downloading applications, the method further comprises: 获取所述客户端应用程序下载应用的应用数据量;Obtaining the application data volume of the application downloaded by the client application program; 将所述应用的应用数据量与预先设定的阈值进行比较;comparing the amount of application data of the application with a preset threshold; 如果所述应用的应用数据量小于预先设定的阈值时,则控制所述客户端应用程序根据所述应用的描述信息从所述网络侧服务器下载所述应用;If the amount of application data of the application is less than a preset threshold, control the client application program to download the application from the network side server according to the description information of the application; 如果所述应用的应用数据量大于或等于预先设定的阈值时,则执行控制所述客户端应用程序暂停下载所述应用的步骤。If the amount of application data of the application is greater than or equal to a preset threshold, the step of controlling the client application program to suspend downloading the application is performed. 6.根据权利要求1所述的方法,其中,所述暂停下载应用的步骤包括:6. The method according to claim 1, wherein the step of pausing downloading the application comprises: 向所述移动设备发送断开与所述网络侧服务器的连接的通知消息,以控制所述客户端应用程序暂停下载应用。Sending a notification message of disconnecting from the network side server to the mobile device, so as to control the client application program to suspend downloading applications. 7.根据权利要求1~6任一项所述的方法,在控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤之前,所述方法还包括:7. The method according to any one of claims 1-6, before the step of controlling the client application program to download the application corresponding to the description information of the application from the network side server, the method further comprises : 获取所述移动设备电池的当前电量;Obtain the current power level of the battery of the mobile device; 将所述移动设备电池的当前电量与预设的电量阈值进行比较;Comparing the current power level of the battery of the mobile device with a preset power threshold; 如果所述移动设备电池的当前电量大于或等于所述预设的电量阈值时,执行控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤;If the current power of the battery of the mobile device is greater than or equal to the preset power threshold, execute the step of controlling the client application to download the application corresponding to the description information of the application from the network side server; 如果所述移动设备电池的当前电量小于所述预设的电量阈值时,则执行控制所述客户端应用程序暂停下载与所述应用的描述信息对应的应用的步骤。If the current power level of the battery of the mobile device is less than the preset power level threshold, the step of controlling the client application program to suspend downloading the application corresponding to the application description information is executed. 8.根据权利要求1~6任一项所述的方法,在控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤之前,所述方法还包括:8. The method according to any one of claims 1-6, before the step of controlling the client application program to download the application corresponding to the description information of the application from the network side server, the method further comprises : 获取所述客户端应用程序待下载应用的大小;Obtain the size of the application to be downloaded by the client application; 将待下载的应用的大小与预先设定的阈值进行比较;Comparing the size of the application to be downloaded with a preset threshold; 如果待下载的应用的大小大于或等于预先设定的阈值时,根据所述客户端应用程序待下载的应用的描述信息生成一个压缩请求,然后向网络侧服务器发送所述压缩请求,由所述网络侧服务器根据所述压缩请求对与所述应用的描述信息对应的应用进行压缩处理;If the size of the application to be downloaded is greater than or equal to the preset threshold, a compression request is generated according to the description information of the application to be downloaded by the client application program, and then the compression request is sent to the network side server, and the The network side server compresses the application corresponding to the description information of the application according to the compression request; 如果待下载的应用的大小小于预先设定的阈值,则执行控制所述客户端应用程序从所述网络侧服务器下载与所述应用的描述信息对应的应用的步骤。If the size of the application to be downloaded is smaller than the preset threshold, the step of controlling the client application program to download the application corresponding to the application description information from the network side server is performed. 9.根据权利要求1~6任一项所述的方法,当移动设备通过无线局域网与网络侧服务器连接,控制客户端应用程序根据应用的描述信息从网络侧服务器下载应用时,所述方法还包括:9. The method according to any one of claims 1 to 6, when the mobile device is connected to the network-side server through a wireless local area network, and the client application is controlled to download the application from the network-side server according to the description information of the application, the method further includes: include: 判断所述移动设备是否处于待机锁屏状态;Judging whether the mobile device is in a standby lock screen state; 如果移动设备处于待机锁屏状态,则继续保持所述移动设备与无线局域网的连接,以避免所述移动设备与网络侧服务器之间的无线连接因移动设备处于待机锁屏状态而断开。If the mobile device is in the standby lock screen state, then continue to maintain the connection between the mobile device and the wireless local area network, so as to avoid disconnection of the wireless connection between the mobile device and the network side server due to the mobile device being in the standby lock screen state. 10.一种客户端应用程序下载应用的装置,其包括:10. A device for downloading an application by a client application program, comprising: 下载请求获取模块,用于获取移动设备上的客户端应用程序下载应用的下载请求消息,所述下载请求消息包括:应用的描述信息;A download request acquisition module, configured to acquire a download request message for downloading an application by a client application program on a mobile device, the download request message including: description information of the application; 判断模块,用于判断所述客户端应用程序下载应用是否会耗费所述移动设备的上网流量;A judging module, configured to judge whether the downloading of the client application will consume the Internet traffic of the mobile device; 下载模块,用于在所述客户端应用程序下载应用不会耗费所述移动设备的上网流量的情况下,控制所述客户端应用程序根据所述应用的描述信息从网络侧服务器下载所述应用;A download module, configured to control the client application to download the application from the network side server according to the description information of the application under the condition that the client application downloads the application without consuming the Internet traffic of the mobile device ; 暂停下载模块,用于在所述客户端应用程序下载应用会耗费所述移动设备的上网流量的情况下,控制所述客户端应用程序暂停下载所述应用。The download pause module is configured to control the client application to suspend downloading the application when the download of the application by the client application consumes the Internet traffic of the mobile device.
CN201310597991.1A 2013-11-22 2013-11-22 Method and device for downloading application by client end application program Pending CN103634386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310597991.1A CN103634386A (en) 2013-11-22 2013-11-22 Method and device for downloading application by client end application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310597991.1A CN103634386A (en) 2013-11-22 2013-11-22 Method and device for downloading application by client end application program

Publications (1)

Publication Number Publication Date
CN103634386A true CN103634386A (en) 2014-03-12

Family

ID=50215002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310597991.1A Pending CN103634386A (en) 2013-11-22 2013-11-22 Method and device for downloading application by client end application program

Country Status (1)

Country Link
CN (1) CN103634386A (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN104811399A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Method and device for controlling network data flow
CN104954397A (en) * 2014-03-26 2015-09-30 腾讯科技(深圳)有限公司 Method and device for executing network transmission task
CN104967624A (en) * 2015-06-30 2015-10-07 北京奇虎科技有限公司 Method, mobile terminal and system for accessing network based on traffic-free platform
CN104980909A (en) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 Method for network resource access, resource compression server, and network access system
CN105426532A (en) * 2015-12-17 2016-03-23 百度在线网络技术(北京)有限公司 File operation method and device
CN105635221A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Download control method, server system for executing the method, and method for restricting downloads
CN105635994A (en) * 2015-12-30 2016-06-01 广东欧珀移动通信有限公司 Method and terminal for receiving pushed information
CN105872658A (en) * 2016-03-31 2016-08-17 维沃移动通信有限公司 Method for controlling network connection of video player and mobile terminal
CN106203155A (en) * 2016-06-24 2016-12-07 广州若羽臣科技股份有限公司 A kind of data processing method, data processing terminal, data processing platform (DPP) and system
CN106227566A (en) * 2016-07-27 2016-12-14 北京奇虎科技有限公司 Application program download control method, device and terminal unit in application shop
CN106506480A (en) * 2016-10-25 2017-03-15 北京小米移动软件有限公司 Application program download process method and device
CN106687901A (en) * 2016-08-05 2017-05-17 厦门中控生物识别信息技术有限公司 Method for downloading data, mobile terminal and communication system
CN107257361A (en) * 2017-05-27 2017-10-17 广东艾檬电子科技有限公司 A kind of method and mobile terminal for downloading application program
US20170365013A1 (en) * 2016-06-21 2017-12-21 Samsung Electronics Co., Ltd. Device and method of providing social network service with click
CN107734033A (en) * 2017-10-16 2018-02-23 深圳市金立通信设备有限公司 A kind of method, terminal, system and computer-readable recording medium exempted from flow and download application program
CN107995597A (en) * 2017-11-29 2018-05-04 北京小米移动软件有限公司 Data download method, device and storage medium
CN109218357A (en) * 2017-07-01 2019-01-15 武汉斗鱼网络科技有限公司 Method, storage medium, electronic equipment and the system of web advertisement load
CN109240739A (en) * 2018-09-27 2019-01-18 郑州云海信息技术有限公司 A kind of method, apparatus and controlled terminal of rapid configuration BIOS option
CN107689979B (en) * 2017-04-26 2019-12-13 平安科技(深圳)有限公司 method and equipment for processing download request
CN111866854A (en) * 2019-04-28 2020-10-30 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN112306505A (en) * 2020-06-28 2021-02-02 北京沃东天骏信息技术有限公司 Method and apparatus for installing a program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631124A (en) * 2009-06-16 2010-01-20 中兴通讯股份有限公司 Method and device for downloading data
CN102090044A (en) * 2008-07-10 2011-06-08 苹果公司 System and method of regulating the download of data files from a server to a client device
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and mobile terminal
CN103246540A (en) * 2013-05-23 2013-08-14 福建伊时代信息科技股份有限公司 Update method and update device of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102090044A (en) * 2008-07-10 2011-06-08 苹果公司 System and method of regulating the download of data files from a server to a client device
CN101631124A (en) * 2009-06-16 2010-01-20 中兴通讯股份有限公司 Method and device for downloading data
CN103209407A (en) * 2013-04-15 2013-07-17 百度在线网络技术(北京)有限公司 Download management method and system for application program in mobile terminal and mobile terminal
CN103246540A (en) * 2013-05-23 2013-08-14 福建伊时代信息科技股份有限公司 Update method and update device of application program

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103841204B (en) * 2014-03-14 2017-10-10 北京奇虎科技有限公司 Flow method for down loading, apparatus and system are exempted from based on mobile terminal
CN103841204A (en) * 2014-03-14 2014-06-04 北京奇虎科技有限公司 Traffic-free downloading method, device and system based on mobile terminal
CN104954397A (en) * 2014-03-26 2015-09-30 腾讯科技(深圳)有限公司 Method and device for executing network transmission task
CN105635221A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Download control method, server system for executing the method, and method for restricting downloads
CN104636236A (en) * 2014-12-30 2015-05-20 深圳天珑无线科技有限公司 Terminal high-temperature abnormity detecting method and mobile terminal
CN104636236B (en) * 2014-12-30 2017-12-01 深圳天珑无线科技有限公司 The detection method and mobile terminal of the high temperature abnormality of terminal
CN104811399A (en) * 2015-04-30 2015-07-29 努比亚技术有限公司 Method and device for controlling network data flow
CN104967624A (en) * 2015-06-30 2015-10-07 北京奇虎科技有限公司 Method, mobile terminal and system for accessing network based on traffic-free platform
CN104980909B (en) * 2015-06-30 2019-05-21 北京奇虎科技有限公司 A method for accessing network resources, a resource compression server and a network access system
CN104967624B (en) * 2015-06-30 2019-02-12 北京奇虎科技有限公司 A method, mobile terminal and system for accessing a network based on a traffic-free platform
CN104980909A (en) * 2015-06-30 2015-10-14 北京奇虎科技有限公司 Method for network resource access, resource compression server, and network access system
CN105426532A (en) * 2015-12-17 2016-03-23 百度在线网络技术(北京)有限公司 File operation method and device
CN105635994A (en) * 2015-12-30 2016-06-01 广东欧珀移动通信有限公司 Method and terminal for receiving pushed information
CN105635994B (en) * 2015-12-30 2019-08-20 Oppo广东移动通信有限公司 A method and terminal for receiving push information
CN105872658A (en) * 2016-03-31 2016-08-17 维沃移动通信有限公司 Method for controlling network connection of video player and mobile terminal
CN105872658B (en) * 2016-03-31 2017-11-10 维沃移动通信有限公司 Control the method and mobile terminal of video player network connection
US20170365013A1 (en) * 2016-06-21 2017-12-21 Samsung Electronics Co., Ltd. Device and method of providing social network service with click
CN106203155A (en) * 2016-06-24 2016-12-07 广州若羽臣科技股份有限公司 A kind of data processing method, data processing terminal, data processing platform (DPP) and system
CN106227566A (en) * 2016-07-27 2016-12-14 北京奇虎科技有限公司 Application program download control method, device and terminal unit in application shop
CN106687901A (en) * 2016-08-05 2017-05-17 厦门中控生物识别信息技术有限公司 Method for downloading data, mobile terminal and communication system
WO2018023724A1 (en) * 2016-08-05 2018-02-08 厦门中控生物识别信息技术有限公司 Data download method, mobile terminal, and communication system
CN106506480A (en) * 2016-10-25 2017-03-15 北京小米移动软件有限公司 Application program download process method and device
CN107689979B (en) * 2017-04-26 2019-12-13 平安科技(深圳)有限公司 method and equipment for processing download request
CN107257361A (en) * 2017-05-27 2017-10-17 广东艾檬电子科技有限公司 A kind of method and mobile terminal for downloading application program
CN109218357A (en) * 2017-07-01 2019-01-15 武汉斗鱼网络科技有限公司 Method, storage medium, electronic equipment and the system of web advertisement load
CN107734033A (en) * 2017-10-16 2018-02-23 深圳市金立通信设备有限公司 A kind of method, terminal, system and computer-readable recording medium exempted from flow and download application program
CN107995597A (en) * 2017-11-29 2018-05-04 北京小米移动软件有限公司 Data download method, device and storage medium
CN109240739A (en) * 2018-09-27 2019-01-18 郑州云海信息技术有限公司 A kind of method, apparatus and controlled terminal of rapid configuration BIOS option
CN111866854A (en) * 2019-04-28 2020-10-30 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN111866854B (en) * 2019-04-28 2023-04-18 北京数安鑫云信息技术有限公司 Automatic application updating method, device and system and computer equipment
CN112306505A (en) * 2020-06-28 2021-02-02 北京沃东天骏信息技术有限公司 Method and apparatus for installing a program

Similar Documents

Publication Publication Date Title
CN103634386A (en) Method and device for downloading application by client end application program
CN113568884B (en) A file management method, device, electronic device and storage medium
CN102129378B (en) A kind of software menu updating method and device
CN103298147B (en) Realize the methods, devices and systems at computing equipment side radio management mobile terminal
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
US9792623B2 (en) Advertisement processing method and apparatus
WO2017107830A1 (en) Application installation method, apparatus and electronic device
CN106254553A (en) A kind of document transmission processing method and apparatus
WO2011088714A1 (en) Method, device and system for running application
WO2015007245A1 (en) Cross-terminal downloading method, system, cloud server and terminal
CN105426761B (en) A kind of recognition methods of illegal application and mobile terminal
CN103595774A (en) System application uninstalling method and device with terminal based on server side
CN103501331B (en) Data transmission method, data transmission equipment and data transmission system
CN102917074A (en) Server-side browser realization method and server
CN104391729B (en) Programme upgrade method and device based on Root authority
CN103618626A (en) Method and system for generating safety analysis report on basis of logs
CN103677956B (en) A kind of method and apparatus of the application operation of simulation mobile device on the computing device
CN103618710A (en) Individual processing method and device of file between mobile device and computing device
CN104834534A (en) Application program function extension method, device and system
WO2012058880A1 (en) Method and system for upgrading terminal through wireless fidelity (wifi)
CN104618444A (en) Reverse agent server processing request based method and device
CN103701876A (en) Method and device based on shared network resources
WO2013010394A1 (en) Internet virus detection method, apparatus thereof and system thereof
CN103838799A (en) Method, terminal device, cloud server and system for recommending installing software
CN105992188B (en) Application update method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140312