CN106790679B - Method for downloading application resource package, server and terminal - Google Patents

Method for downloading application resource package, server and terminal Download PDF

Info

Publication number
CN106790679B
CN106790679B CN201710063226.XA CN201710063226A CN106790679B CN 106790679 B CN106790679 B CN 106790679B CN 201710063226 A CN201710063226 A CN 201710063226A CN 106790679 B CN106790679 B CN 106790679B
Authority
CN
China
Prior art keywords
download
server
terminals
target application
application resource
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.)
Active
Application number
CN201710063226.XA
Other languages
Chinese (zh)
Other versions
CN106790679A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710063226.XA priority Critical patent/CN106790679B/en
Publication of CN106790679A publication Critical patent/CN106790679A/en
Application granted granted Critical
Publication of CN106790679B publication Critical patent/CN106790679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The embodiment of the invention discloses a method and a server for downloading an application resource package, which are used for overcoming the defects of the conventional downloading application resource package. The method is applied to an application communication system, the application communication system comprises a first server, a second server and N terminals, and the method comprises the following steps: a first server receives N downloading requests of a target application resource packet, which are sent by N terminals in an idle state; if the N download requests are larger than the preset download request amount, the first server determines M terminals meeting preset conditions according to the user level information, and the first server sends a first download confirmation message to the second server so that the second server distributes and distributes network CDN download sources to the M terminals according to the first download confirmation message, wherein the CDN download sources comprise the target application resource packages so that the M terminals download the target application resource packages according to the CDN download sources.

Description

Method for downloading application resource package, server and terminal
Technical Field
The invention relates to the technical field of communication, in particular to a method for downloading an application resource package, a server and a terminal.
Background
The rapid development of communication technology brings great improvement to the life of users, and users can install various applications on the terminal for use.
When a user wants to experience a certain application, the application resource package of the application needs to be downloaded to the terminal, and then the application is verified after the application resource package is installed. Therefore, downloading becomes an entrance for experiencing the application, and the quality of the service in the downloading process directly influences the introduction rate of a new user or the loss rate of an old user. Because the application resource package contains numerous application resources and the like, the size of the application resource package is up to hundreds of megabytes, the bandwidth of the application resource package is directly promoted due to the huge downloading amount of the application resource package, particularly the characteristic of concentrated upgrading of application updating, the bandwidth of the application resource package is high, the downloading time of a user is up to hours, and therefore great challenges are brought to a downloading server. For example: when a terminal downloads or updates Game application through an Tencent Game Platform (TGP), the TGP can periodically access a download server, the TGP sends a Content Delivery Network (CDN) download source returned by the download server to the terminal, and the terminal downloads a specified Game application resource package according to the CDN download source.
As can be seen, the download server only provides the function of allocating the download source to the terminal, and when the download request amount of the current application resource package is greater than the preset download request amount, if CDN download sources are allocated to all terminals sending download requests at the same time, a download paralysis phenomenon may occur.
Disclosure of Invention
The embodiment of the invention provides a method for downloading an application resource package, a server and a terminal, which are used for solving the defects of the existing downloading application resource package, and a CDN downloading source is preferentially allocated to the terminal meeting the preset conditions according to user level information, so that the downloading paralysis phenomenon is avoided, and differentiated services for different terminal users are realized.
A first aspect of the present invention provides a method for downloading an application resource package, where the method is applied to an application communication system, where the application communication system includes a first server, a second server, and N terminals, where N is an integer greater than 0, and the method includes:
the first server receives N downloading requests of a target application resource packet, which are sent by N terminals in an idle state;
if the N download requests are larger than a preset download request amount, the first server determines M terminals meeting preset conditions according to user level information, wherein M is an integer larger than 0 and smaller than N;
the first server sends a first download confirmation message to the second server, wherein the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server distributes a CDN download source to the M terminals according to the first download confirmation message, wherein the CDN download source comprises the target application resource package, and the M terminals download the target application resource package according to the CDN download source.
A second aspect of the present invention provides a method for downloading an application resource package, where the method is applied to an application communication system, where the application communication system includes a first server, a second server, and N terminals, where N is an integer greater than 0, and the method includes:
the first server acquires user level information of target applications corresponding to the N terminals;
the first server determines first downloading speeds corresponding to the N terminals respectively according to the user level information;
the first server sends a first download confirmation message to a second server, wherein the first download confirmation message carries the first download speed, so that the second server distributes a Content Delivery Network (CDN) download source to the N terminals according to the first download confirmation message, wherein the CDN download source comprises the target application resource package, and the N terminals download the target application resource package according to the first download speed according to the CDN download source.
A third aspect of the present invention provides a method for downloading an application resource package, where the method is applied to a communication system, and the application communication system includes a first server, a second server, a third server, and N terminals, where N is an integer greater than 0, and the method includes:
the N terminals send N downloading requests for a target application resource package to the first server in an idle state, so that if the N downloading requests are larger than a preset downloading request amount, the first server determines M terminals meeting preset conditions according to user level information, and sends a first downloading confirmation message to a second server, wherein M is an integer larger than 0 and smaller than N, the first downloading confirmation message is a downloading confirmation message corresponding to the M terminals, so that the second server distributes a CDN downloading source to the M terminals according to the first downloading confirmation message, and the CDN downloading source comprises the target application resource package;
the M terminals acquire the CDN download sources distributed by the second server;
and the M terminals download the target application resource package according to the CDN download source.
A fourth aspect of the present invention provides a server, where the server is a first server in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server includes:
the receiving module is used for receiving N downloading requests of the target application resource package, which are sent by N terminals in an idle state;
the determining module is used for determining M terminals meeting preset conditions according to the user level information if the N downloading requests are larger than a preset downloading request amount, wherein M is an integer larger than 0 and smaller than N;
a sending module, configured to send a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source.
A fifth aspect of the present invention provides a server, where the server is a first server in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server includes:
the acquisition module is used for acquiring the user level information of the target application corresponding to the N terminals;
a determining module, configured to determine, according to the user level information, first download speeds corresponding to the N terminals, respectively;
a sending module, configured to send a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates content delivery network CDN download sources to the N terminals according to the first download confirmation message, where the CDN download sources include the target application resource package, so that the N terminals download the target application resource package according to the CDN download sources at the first download speed.
A sixth aspect of the present invention provides a terminal, where the terminal is a terminal applied to a communication system, where N of the terminals are N, where N is an integer greater than 0, the application communication system further includes a first server, a second server, and a third server, and the terminal includes:
a sending module, configured to send, to a first server in an idle state, N download requests for a target application resource package, so that if the N download requests are greater than a preset download request amount, the first server determines, according to user level information, M terminals that meet a preset condition, and sends a first download confirmation message to a second server, where M is an integer greater than 0 and less than N, and the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a distribution network CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package;
an obtaining module, configured to obtain the CDN download source allocated by the second server;
and the downloading module is used for downloading the target application resource package according to the CDN downloading source.
A seventh aspect of the present invention provides an application communication system comprising a server as described in the fourth aspect and a server as described in the fifth aspect and a terminal as described in the sixth aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
it can be seen that, a first server receives N download requests for a target application resource package sent by N terminals in an idle state, which is equivalent to that the N terminals prepare to obtain a CDN download source according to their own idle state in advance, and if the N download requests are greater than a preset download request amount, the difference from the prior art is that the first server determines M terminals meeting preset conditions according to user level information corresponding to the obtained N terminals, and instructs the second server to allocate the CDN download sources to the M terminals, so that the M terminals download the target application resource package according to the CDN download source. Therefore, the phenomenon of downloading paralysis is avoided, and differentiated services for different terminal users are realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication system applied in the embodiment of the present invention;
fig. 2 is a schematic structural diagram of a first server according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an embodiment of a method for downloading an application resource package according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating another embodiment of a method for downloading an application resource package according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating another embodiment of a method for downloading an application resource package according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating another embodiment of a method for downloading an application resource package according to an embodiment of the present invention;
FIG. 7 is a diagram of another embodiment of a method for downloading an application resource package according to an embodiment of the present invention
Fig. 8 is another schematic structural diagram of the first server according to the embodiment of the present invention;
fig. 9 is another schematic structural diagram of the first server according to the embodiment of the present invention;
fig. 10 is another schematic structural diagram of the terminal in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method for downloading an application resource package, a server and a terminal, which are used for solving the defects of the existing downloading application resource package, and a CDN downloading source is preferentially allocated to the terminal meeting the preset conditions according to user level information, so that the downloading paralysis phenomenon is avoided, and differentiated services for different terminal users are realized.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Before the embodiment of the present invention is introduced, an application communication system related to the embodiment of the present invention is introduced, where the application communication system includes a plurality of servers and a plurality of terminals, where the plurality of servers may respectively execute corresponding functions, or the plurality of servers may be integrated into one server to execute all functions, where this is not specifically limited, and in an actual application, as shown in fig. 1, the plurality of servers includes a pre-download server, a download speed control server, and a download server, where the servers are communicatively connected to each other, the pre-download server is mainly responsible for sending a download confirmation message to the download server in advance according to available download resources, so that the download server allocates a CDN download source to the terminal, and sending the download source by using the CDN mainly utilizes the characteristics of fast transmission rate and stable transmission content of the CDN, the terminal can quickly and stably receive the downloading source and download the corresponding target application resource package according to the downloading source. The download speed control server is mainly responsible for matching corresponding download speeds for different terminal users according to the current download bandwidth, the download user amount and the user level information, so that a differentiated server of the terminal is realized. The download server is mainly responsible for distributing CDN download sources for the terminals. In addition, the terminal includes, but is not limited to, a mobile phone, a mobile computer, a tablet computer, a Personal Digital Assistant (abbreviated as PDA), a media player, a smart tv, a wearable device (e.g., a smart watch or smart glasses), a combination of two or more of the foregoing, and the like.
Referring to fig. 2, a specific structure of a first server 100 according to the present invention is described, where the first server is one of servers in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server 100 includes: transceiver 110, memory 120, processor 130, etc. Those skilled in the art will appreciate that the configuration of the first server 100 shown in fig. 2 does not constitute a limitation of the first server and may include more or fewer components than fig. 2, or some components in combination, or a different arrangement of components.
Transceiver 110 may be used to transmit and receive information, such as: and receiving and transmitting signals. The transceiver 110 communicates with other devices such as a terminal through wireless communication, which may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (Long Term Evolution, LTE), e-mail, Short Message Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 130 executes various functional applications and data processing of the first server 100 by operating the software programs and modules stored in the memory 120.
The transceiver 110 is configured to receive N download requests for a target application resource package, where the N download requests are sent by N terminals in an idle state;
the processor 130 is configured to determine, if the N download requests are greater than a preset download request amount, M terminals that meet a preset condition according to user level information, where M is an integer greater than 0 and less than N;
the transceiver 110 is further configured to send a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates and distributes a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source.
In some possible implementation manners, the transceiver 110 is further configured to send a second download confirmation message to the second server if the N download requests are not greater than the preset download request amount, where the second download confirmation message is a download confirmation message corresponding to the N terminals, so that the second server allocates the CDN download sources to the N terminals according to the second download confirmation message, so that the N terminals download the target application resource package according to the CDN download sources.
In some possible implementation manners, the processor 130 is further configured to, before the transceiver 110 receives N download requests for a target application resource package, obtain a total bandwidth of the target application resource package, and determine a preset download request amount of the target application resource package according to the total bandwidth of the target application resource package.
With reference to fig. 2, another first server is described, wherein the first server is one of servers in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server includes the transceiver 110, the memory 120, the processor 130, and other components shown in fig. 2, and may specifically refer to the structure shown in fig. 2.
The processor 130 is configured to obtain user level information of a target application corresponding to the N terminals, and determine first download speeds corresponding to the N terminals respectively according to the user level information;
the transceiver 110 is further configured to send a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates content delivery network CDN download sources to the N terminals according to the first download confirmation message, where the CDN download sources include the target application resource package, so that the N terminals download the target application resource package according to the CDN download sources at the first download speed.
In some possible implementations, the transceiver 110 is further configured to receive download status information of the target application resource packages corresponding to the N terminals after sending the first download confirmation message to the second server;
the processor 130 is configured to determine a bandwidth up-down ratio of the target application resource packet; and determining second downloading speeds respectively corresponding to the N terminals according to the downloading state information and the bandwidth lifting proportion.
In some possible implementations, the processor 130 is specifically configured to obtain a historical bandwidth of the target application resource packet and a total bandwidth of the target application resource packet; determining the available bandwidth of the target application resource packet according to the historical bandwidth and the total bandwidth; and determining the bandwidth ascending and descending proportion of the target application resource packet according to the available bandwidth and the total bandwidth.
With continuing reference to fig. 2, a terminal is introduced, wherein the terminal is a terminal in an application communication system, the application communication system further includes a first server, a second server, a third server and N terminals, where N is an integer greater than 0, and the terminal includes the transceiver 110, the memory 120, the processor 130 and other components shown in fig. 2, and may specifically refer to the structure shown in fig. 2.
The transceiver 110 is configured to send N download requests for a target application resource package to the first server in an idle state, so that if the N download requests are greater than a preset download request amount, the first server determines, according to user level information, M terminals that meet a preset condition, and sends a first download confirmation message to a second server, where M is an integer greater than 0 and less than N, and the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package;
the processor 130 is configured to obtain the CDN download source allocated by the second server; and downloading the target application resource package according to the CDN download source.
In some possible implementation manners, if the N download requests are not greater than the preset download request amount, the processor 130 is configured to obtain the CDN download source allocated by the second server; and downloading the target application resource package according to the CDN download source.
In some possible implementation manners, the transceiver 110 is configured to send, in an idle state, user level information of target applications corresponding to the N terminals to the third server, so that the third server determines, according to the user level information, first download speeds corresponding to the N terminals, respectively, and sends a first download confirmation message to the second server, where the first download confirmation message carries the first download speed, so that the second server allocates the CDN download source to the N terminals according to the first download confirmation message;
the processor 130 is configured to obtain the CDN download source allocated by the second server; and downloading the target application resource package according to the CDN download source and the first download speed.
Referring to fig. 3, a schematic diagram of an embodiment of a method for downloading an application resource package according to an embodiment of the present invention is applied to an application communication system, where the application communication system includes a first server, a second server, and N terminals, where N is an integer greater than 0, and a specific process of the embodiment is as follows:
step 301, the first server receives N download requests for the target application resource package sent by N terminals in an idle state.
In this embodiment of the present invention, the first server is a pre-download server, configured to determine an available download resource in advance, and determine whether to permit the terminal to download the target application resource package, where the target application is an arbitrary application program corresponding to the download resource package determined by the terminal, and the target application may be various game applications, learning applications, and the like, for example: the game application may be hero, happy landlord, hero alliance, etc., and is not specifically limited herein.
Step 302, if the N download requests are greater than a preset download request amount, the first server determines M terminals meeting a preset condition according to the user level information.
In the embodiment of the present invention, M is an integer greater than 0 and less than N, in order to avoid a download paralysis phenomenon, a preset download request amount is set in advance in a first server, and if the N download requests are greater than the preset download request amount, the first server obtains user level information of the target application corresponding to the N terminals, where the user level information reflects an activity level of a user, generally speaking, the higher the activity level of the user is, the higher the user level is, the first server determines a terminal meeting a preset condition according to the user level information, generally speaking, the higher the user level corresponding to the terminal is, the better the preset condition is met, so that differentiated services of different terminals are embodied according to the user level information.
It should be noted that the preset download request amount is generally determined according to factors such as the download resource of the target application and the download bandwidth corresponding to the download resource, and may be determined specifically according to an actual situation, and is not limited specifically here.
Step 303, the first server sends a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates and distributes a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source.
In practical application, the second server is a download server, and when the N terminals are in an idle state, the N download requests are sent to the pre-download server in advance. In actual application, of course, when the pre-download server determines that there is available download resource, it may also actively send a prompt message indicating that there is idle resource to the terminal, so that when the pre-download server receives a download request sent by the terminal, the pre-download server directly sends the first download confirmation message to the download server.
In the embodiment of the present invention, after the first terminal determines, according to the user level information, M terminals that satisfy the preset condition, a first download confirmation message is sent to the second server, and thus, the first download confirmation message only allows the second server to send a CDN download source to the M terminals. The second server is used for allocating downloading sources to the terminals meeting the preset conditions in advance, so that the downloading paralysis phenomenon is avoided.
The first server sends a download confirmation message to the download server in advance according to available download resources, so that the download server allocates a CDN download source to the terminal, and the terminal can quickly and stably receive the download source by using the characteristics that the CDN sends the download source mainly by using the characteristics of high transmission rate and stable transmission content of the CDN, and downloads a corresponding target application resource package according to the download source.
In practical applications, for example: the game application of the running game is very hot at present, many users want to download the game for experience, when the number of downloaded users is too large, the phenomenon that supply is not adequate and the phenomenon that a downloading system is paralyzed can be caused, the game can be downloaded only by a terminal for hours or longer, and the downloading speed is slow. Therefore, in the embodiment of the present invention, in order to avoid the above problems, the pre-download server receives the download requests of the multiple terminals in advance, and if the current download request amount is greater than the preset download request amount, obtains the user level information corresponding to each terminal, determines the terminal meeting the preset condition according to the user level information, and sends a download confirmation message to the download server, so that the terminal meeting the preset condition obtains the download source of the target application resource package from the download server, thereby implementing the download of the target application resource package through the download source.
On the basis of the embodiment shown in fig. 3, please refer to fig. 4, which is a diagram illustrating another embodiment of a method for downloading an application resource package according to an embodiment of the present invention, the method is applied to an application communication system, the application communication system includes a first server, a second server and N terminals, where N is an integer greater than 0, and a specific flow of the embodiment is as follows:
step 401, the first server obtains the total bandwidth of the target application resource packet.
Step 402, the first server determines a preset downloading request quantity of the target application resource packet according to the total bandwidth of the target application resource packet.
Different from the embodiment shown in fig. 3, before receiving the N download requests, the first server obtains the total bandwidth of the target application resource package, so as to determine the preset download request amount of the target application resource package according to the total bandwidth, thereby avoiding that after receiving the N download requests, a download source cannot be allocated to the N terminals in advance, and reducing unnecessary consumption of network communication, where the total bandwidth of the target application resource package may be provided by an operator, and is not specifically limited herein.
Step 403, the first server receives N download requests for the target application resource package sent by N terminals in an idle state.
And step 404, if the N download requests are greater than a preset download request amount, the first server determines M terminals meeting a preset condition according to the user level information.
Step 405, the first server sends a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server distributes a distribution network CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source.
It should be noted that steps 403 to 405 are the same as or similar to steps 301 to 303 shown in fig. 3, and the description of steps 301 to 303 may be referred to specifically, and are not repeated herein.
Step 406, if the N download requests are not greater than the preset download request amount, the first server sends a second download confirmation message to the second server, where the second download confirmation message is a download confirmation message corresponding to the N terminals, so that the second server allocates the CDN download sources to the N terminals according to the second download confirmation message, so that the N terminals download the target application resource package according to the CDN download sources.
Different from the embodiment shown in fig. 3, if the N download requests are not greater than the preset download request amount, which indicates that the available download resources of the target application are sufficient to meet the download requirements of the N terminals, the first server sends a second download confirmation message to the second server, so that the N terminals receive the CDN download source from the second server, thereby implementing downloading of the target application resource package without causing download paralysis.
Fig. 3 and fig. 4 are diagrams illustrating an embodiment of a method for downloading an application resource package corresponding to a first server side according to an embodiment of the present invention, referring to fig. 5, the method is applied to an application communication system including the first server, a second server and N terminals, where N is an integer greater than 0, and the specific flow of the embodiment is as follows:
step 501, a first server obtains user level information of target applications corresponding to N terminals.
In the embodiment of the invention, the first server is a download speed control server and is used for controlling the speed when the terminal downloads the target application resource packet, so that the download paralysis phenomenon is avoided. The target application is any application program determined by the terminal and used for downloading the resource package, and the target application may be various game applications, learning applications, and the like, for example: the game application may be hero, happy landlord, hero alliance, etc., and is not specifically limited herein.
In the embodiment of the present invention, the user level information may be determined according to the activity of using the target application, generally speaking, the higher the activity, the higher the user level, which is for using the target application, and the user level information may be determined according to the usage of the target application when the resource package of the target application is updated. Of course, for a user who has not used the target application, the user level information may be determined according to the usage of the application platform corresponding to the target application.
There are many ways to determine the user level, such as: assume that the target application is a game of johance landowner, wherein the user level using the johance landowner is higher than the level without using the johance landowner, and of course, the higher the liveness of use, the higher the corresponding user level. Since the happy bucket landowner is a game under Tencent flag, assuming that the happy bucket landowner is a game under Tencent QQ game platform, when the happy bucket landowner is not used, the user level can be determined according to the level of the QQ game, wherein the higher the level of the QQ game is, the higher the corresponding user level is. Of course, in practical applications, the user level information may also be determined in other ways, and is not limited in detail here.
Step 502, the first server determines the first download speeds corresponding to the N terminals respectively according to the user level information.
Different from the prior art, the first server determines the first download speed corresponding to each terminal according to the user level information corresponding to each terminal, and generally speaking, the higher the user level is, the higher the corresponding first download speed is, so as to implement differentiated services of different terminals.
When the N terminals are in an idle state, periodically sending information such as the downloading bandwidth of the terminal user to the downloading speed control server in advance, and then dynamically adjusting the downloading speed of each terminal user by the downloading speed control server according to the current bandwidth resource.
Step 503, the first server sends a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates content delivery network CDN download sources to the N terminals according to the first download confirmation message, where the CDN download sources include the target application resource package, so that the N terminals download the target application resource package according to the CDN download sources at the first download speed.
In the embodiment of the invention, after determining the first download speed corresponding to each terminal, the first server sends a first download confirmation message to the second server, wherein the second server is a download server, because the first server sends the first download confirmation message to the download server in advance according to available download resources, so that the download server allocates a CDN download source to the terminal, the CDN download source is used for sending the download source mainly by using the characteristics of high transmission rate and stable transmission content of the CDN, so that the terminal can quickly and stably receive the download source and download a corresponding target application resource packet according to the download source at the corresponding first download speed, thereby realizing differentiated services of different terminals, in addition, the corresponding first download speed is allocated to each terminal, so that the download speed of the terminal is increased under the condition that the bandwidth of the target application is sufficient, under the condition that the bandwidth exceeds the preset bandwidth, the downloading speed of the terminal is properly reduced, so that the phenomenon of downloading paralysis is avoided.
On the basis of the embodiment shown in fig. 5, please refer to fig. 6, which is a schematic diagram illustrating another embodiment of a method for downloading an application resource package according to an embodiment of the present invention, where the method is applied to an application communication system, the application communication system includes a first server, a second server and N terminals, where N is an integer greater than 0, and a specific flow of the embodiment is as follows:
step 601, the first server obtains the user level information of the target application corresponding to the N terminals.
Step 602, the first server determines the first download speeds corresponding to the N terminals respectively according to the user level information.
Step 603, the first server sends a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates Content Delivery Network (CDN) download sources to the N terminals according to the first download confirmation message, where the CDN download sources include the target application resource package, so that the N terminals download the target application resource package according to the CDN download sources at the first download speed.
It should be noted that steps 601 to 603 are the same as or similar to steps 501 to 503 shown in fig. 5, and the description of steps 501 to 503 may be referred to specifically, and are not repeated here.
Step 604, the first server receives the download status information of the target application resource packages corresponding to the N terminals.
Step 605, the first server determines the bandwidth increase and decrease ratio of the target application resource packet.
And step 606, the first server determines second downloading speeds corresponding to the N terminals respectively according to the downloading state information and the bandwidth increasing and decreasing proportion.
Different from the embodiment shown in fig. 5, after the first server sends the first download confirmation message to the second server, the first server receives the download status information of the target application resource package corresponding to the N terminals and determines the bandwidth increase/decrease ratio of the target application resource package, and determines the second download speeds corresponding to the N terminals respectively according to the download status information and the bandwidth increase/decrease ratio, where the download status information includes the available bandwidth, available download resources, and the like currently downloading the target application resource package.
In some possible implementations, the determining, by the first server, the bandwidth increase and decrease ratio of the target application resource packet includes: the first server acquires the historical bandwidth of the target application resource packet and the total bandwidth of the target application resource packet; the first server determines the available bandwidth of the target application resource packet according to the historical bandwidth and the total bandwidth; and the first server determines the bandwidth ascending and descending proportion of the target application resource packet according to the available bandwidth and the total bandwidth.
In the embodiment of the invention, the first server determines the second downloading speeds corresponding to the N terminals respectively by using the received downloading state information and the bandwidth ascending and descending proportion of the target application resource packet, and because some emergency situations may occur in the process of downloading the target application resource packet by the N terminals, so that the downloading is stopped and the like, the first server determines the second downloading speeds of the N terminals in real time, so that the N terminals download the target application resource packet according to the corresponding second downloading speeds, and the downloading efficiency is effectively improved.
Referring to fig. 7, another embodiment of a method for downloading an application resource package according to an embodiment of the present invention is shown, where the method is applied to an application communication system, the application communication system includes a first server, a second server, a third server and N terminals, where N is an integer greater than 0, and a specific process of the embodiment is as follows:
step 701, N terminals send N download requests for a target application resource package to a first server in an idle state, so that if the N download requests are greater than a preset download request amount, the first server determines M terminals meeting preset conditions according to user level information, and sends a first download confirmation message to a second server, where M is an integer greater than 0 and less than N, and the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a distribution network CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package.
And step 702, obtaining, by the M terminals, the CDN download source allocated by the second server.
And 703, downloading the target application resource package by the M terminals according to the CDN download source.
In some possible implementation manners, if the N download requests are not greater than the preset download request amount, the N terminals obtain the CDN download source allocated by the second server;
and the N terminals download the target application resource package according to the CDN download source.
In some possible implementation manners, the N terminals send, to the third server, user level information of a target application corresponding to the N terminals in an idle state, so that the third server determines, according to the user level information, first download speeds corresponding to the N terminals, respectively, and sends a first download confirmation message to the second server, where the first download confirmation message carries the first download speed, so that the second server allocates the CDN download source to the N terminals according to the first download confirmation message; the N terminals acquire the CDN download sources distributed by the second server; and the N terminals download the target application resource package according to the CDN download source and the first download speed.
In the embodiment of the invention, the first server is a pre-download server, the second server is a download server, and the third server is a download speed control server.
In order to avoid the phenomenon of download paralysis, a preset download request amount is set in advance by a first server, and if the N download requests are greater than the preset download request amount, the first server acquires user level information of the target application corresponding to the N terminals, wherein the user level information reflects the activity of a user, generally speaking, the higher the activity of the user is, the higher the user level is, the first server determines a terminal meeting a preset condition according to the user level information, generally speaking, the higher the user level corresponding to the terminal is, the higher the user level is, the better the preset condition is. If the N download requests are not greater than the preset download request amount, it is indicated that the available download resources of the target application are enough to meet the download requirements of the N terminals, and the N terminals receive the CDN download source from the second server, so that the download of the target application resource package is realized, the download paralysis phenomenon cannot be caused, and the differentiated services of different terminals are embodied according to the user level information.
To facilitate a better implementation of the above-described related methods of embodiments of the present invention, the following also provides related servers for cooperating with the above-described methods.
Referring to fig. 8, a schematic structural diagram of a server in an embodiment of the present invention is a first server 800 in an application communication system, where the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server 800 includes: a receiving module 801, a determining module 802 and a sending module 803.
A receiving module 801, configured to receive N download requests for a target application resource package, where the N download requests are sent by N terminals in an idle state;
a determining module 802, configured to determine, if the N download requests are greater than a preset download request amount, M terminals that meet a preset condition according to user level information, where M is an integer greater than 0 and less than N;
a sending module 803, configured to send a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates and distributes a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source.
In some of the possible implementations of the present invention,
the sending module 803 is further configured to send a second download confirmation message to the second server if the N download requests are not greater than the preset download request amount, where the second download confirmation message is a download confirmation message corresponding to the N terminals, so that the second server allocates the CDN download source to the N terminals according to the second download confirmation message, and the N terminals download the target application resource package according to the CDN download source.
In some possible implementations, the first server further includes:
an obtaining module 804, configured to obtain a total bandwidth of a target application resource package before the receiving module receives N download requests for the target application resource package;
the determining module 802 is further configured to determine a preset downloading request amount of the target application resource package according to the total bandwidth of the target application resource package.
Referring to fig. 9, another schematic structural diagram of a server according to an embodiment of the present invention is described, where the server is a first server in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server 900 includes: an acquisition module 901, a determination module 902 and a sending module 903.
An obtaining module 901, configured to obtain user level information of target applications corresponding to the N terminals;
a determining module 902, configured to determine, according to the user level information, first download speeds corresponding to the N terminals, respectively;
a sending module 903, configured to send a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates content delivery network CDN download sources to the N terminals according to the first download confirmation message, where the CDN download sources include the target application resource package, so that the N terminals download the target application resource package according to the CDN download sources at the first download speed.
In some possible implementations, the first server further includes:
a receiving module 904, further configured to receive the download status information of the target application resource packages corresponding to the N terminals after the sending module sends the first download confirmation message to the second server;
the determining module 902 is further configured to determine a bandwidth increase/decrease ratio of the target application resource packet, and determine second download speeds corresponding to the N terminals according to the download state information and the bandwidth increase/decrease ratio.
In some of the possible implementations of the present invention,
the determining module 902 is specifically configured to obtain a historical bandwidth of the target application resource packet and a total bandwidth of the target application resource packet, determine an available bandwidth of the target application resource packet according to the historical bandwidth and the total bandwidth, and determine a bandwidth increasing/decreasing ratio of the target application resource packet according to the available bandwidth and the total bandwidth.
Referring to fig. 10, a schematic structural diagram of a terminal in an embodiment of the present invention is shown, where the terminal is a terminal in an application communication system, where N of the terminals is an integer greater than 0, the application communication system further includes a first server, a second server, and a third server, and the terminal 1000 includes: a sending module 1001, an obtaining module 1002 and a downloading module 1003.
A sending module 1001, configured to send N download requests for a target application resource package to a first server in an idle state, so that if the N download requests are greater than a preset download request amount, the first server determines, according to user level information, M terminals that meet a preset condition, and sends a first download confirmation message to a second server, where M is an integer greater than 0 and less than N, and the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a distribution network CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package;
an obtaining module 1002, configured to obtain the CDN download source allocated by the second server;
a downloading module 1003, configured to download the target application resource package according to the CDN download source.
In some of the possible implementations of the present invention,
the obtaining module 1002 is further configured to obtain the CDN download source allocated by the second server if the N download requests are not greater than the preset download request amount;
the downloading module 1003 is configured to download the target application resource package according to the CDN download source.
In some possible implementation manners, the sending module 1001 is further configured to send, in an idle state, user level information of a target application corresponding to the N terminals to the third server, so that the third server determines, according to the user level information, first download speeds corresponding to the N terminals, respectively, and sends a first download confirmation message to the second server, where the first download confirmation message carries the first download speed, so that the second server allocates the CDN download source to the N terminals according to the first download confirmation message;
the obtaining module 1002 is configured to obtain the CDN download source allocated by the second server;
the downloading module 1003 is further configured to download the target application resource package according to the CDN download source at the first download speed.
It can be seen that, the receiving module receives N download requests for a target application resource package sent by N terminals in an idle state, which is equivalent to that the N terminals prepare to obtain a CDN download source according to their own idle state in advance, and if the N download requests are greater than a preset download request amount, unlike the prior art, the determining module determines M terminals meeting a preset condition according to user level information corresponding to the obtained N terminals, and the sending module sends a first download confirmation message to a second server to instruct the second server to allocate the CDN download source to the M terminals, so that the M terminals download the target application resource package according to the CDN download source. Therefore, the phenomenon of downloading paralysis is avoided, and differentiated services for different terminal users are realized.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (19)

1. A method for downloading an application resource package is applied to an application communication system, wherein the application communication system comprises a first server, a second server and N terminals, wherein N is an integer greater than 0, and the method comprises the following steps:
when the first server determines that available downloading resources exist, a prompt message of the existence of idle resources is sent to the terminal;
the first server receives N downloading requests of the target application resource package, which are sent by N terminals in an idle state based on the prompt message;
judging that the N terminals are permitted to download the target application resource package based on a first server, and if the N download requests are larger than a preset download request amount, determining M terminals meeting a preset condition by the first server according to user level information, wherein M is an integer larger than 0 and smaller than N;
the first server sends a first download confirmation message to the second server, wherein the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server distributes a CDN download source to the M terminals according to the first download confirmation message, wherein the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source;
and when receiving a downloading request sent by the M terminals based on the prompt message, the first server sends a first downloading confirmation message to the second server.
2. The method of claim 1, further comprising:
if the N download requests are not greater than the preset download request amount, the first server sends a second download confirmation message to the second server, wherein the second download confirmation message is a download confirmation message corresponding to the N terminals, so that the second server allocates the CDN download source to the N terminals according to the second download confirmation message, and the N terminals download the target application resource package according to the CDN download source.
3. The method according to claim 1 or 2, wherein before the first server receives N download requests for a target application resource package, the method further comprises:
the first server acquires the total bandwidth of the target application resource packet;
and the first server determines the preset downloading request quantity of the target application resource packet according to the total bandwidth of the target application resource packet.
4. A method for downloading an application resource package is applied to an application communication system, wherein the application communication system comprises a first server, a second server, a pre-download server and N terminals, wherein N is an integer greater than 0, and the method comprises the following steps:
when the pre-download server determines that available download resources exist, a prompt message of the existence of idle resources is sent to the terminal;
the pre-download server receives N download requests of N terminals for a target application resource package sent by the N terminals in an idle state based on the prompt message, judges and permits the N terminals to download the target application resource package based on the pre-download server, and sends download confirmation messages corresponding to M terminals to the second server when receiving the download requests sent by the M terminals based on the prompt message; m is an integer greater than 0 and less than N;
the first server acquires user level information of target applications corresponding to the N terminals;
the first server determines first downloading speeds corresponding to the N terminals respectively according to the user level information;
the first server sends a first download confirmation message to a second server, wherein the first download confirmation message carries the first download speed, so that the second server distributes a Content Delivery Network (CDN) download source to the N terminals according to the first download confirmation message, wherein the CDN download source comprises the target application resource package, and the N terminals download the target application resource package according to the first download speed according to the CDN download source.
5. The method of claim 4, wherein after the first server sends the first download confirmation message to the second server, the method further comprises:
the first server receives the downloading state information of the target application resource packages corresponding to the N terminals;
the first server determines the bandwidth ascending and descending proportion of the target application resource packet;
and the first server determines second downloading speeds corresponding to the N terminals respectively according to the downloading state information and the bandwidth lifting proportion.
6. The method of claim 5, wherein the first server determining the bandwidth scaling of the target application resource packet comprises:
the first server acquires the historical bandwidth of the target application resource packet and the total bandwidth of the target application resource packet;
the first server determines the available bandwidth of the target application resource packet according to the historical bandwidth and the total bandwidth;
and the first server determines the bandwidth ascending and descending proportion of the target application resource packet according to the available bandwidth and the total bandwidth.
7. A method for downloading an application resource package is applied to an application communication system, wherein the application communication system comprises a first server, a second server, a third server and N terminals, wherein N is an integer greater than 0, and the method comprises the following steps:
the N terminals send N downloading requests for a target application resource package to the first server in an idle state based on a prompt message of idle resources, so that if the N downloading requests are larger than a preset downloading request amount, the first server judges that the N terminals are permitted to download the target application resource package, determines M terminals meeting preset conditions according to user level information, and sends a first downloading confirmation message to a second server, wherein M is an integer larger than 0 and smaller than N, the first downloading confirmation message is a downloading confirmation message corresponding to the M terminals, so that the second server distributes a CDN downloading source to the M terminals according to the first downloading confirmation message, and the CDN downloading source comprises the target application resource package; the prompting message based on the existence of the idle resources is sent to a terminal when the first server determines that available downloading resources exist;
the M terminals acquire the CDN download sources distributed by the second server;
the M terminals download the target application resource package according to the CDN download source;
and when receiving a downloading request sent by the M terminals based on the prompt message, the first server sends a first downloading confirmation message to the second server.
8. The method of claim 7,
if the N download requests are not larger than the preset download request amount, the N terminals acquire the CDN download sources distributed by the second server;
and the N terminals download the target application resource package according to the CDN download source.
9. The method of claim 7, wherein the method comprises:
the N terminals send user level information of target applications corresponding to the N terminals to the third server in an idle state, so that the third server determines first downloading speeds corresponding to the N terminals respectively according to the user level information, and sends a first downloading confirmation message to the second server, wherein the first downloading speed is carried in the first downloading confirmation message, so that the second server allocates the CDN downloading sources to the N terminals according to the first downloading confirmation message;
the N terminals acquire the CDN download sources distributed by the second server;
and the N terminals download the target application resource package according to the CDN download source and the first download speed.
10. A server, wherein the server is a first server in an application communication system, the application communication system further includes a second server and N terminals, where N is an integer greater than 0, and the first server includes:
the sending module is used for sending a prompt message of the existence of the idle resources to the terminal when the existence of the available downloading resources is determined;
a receiving module, configured to receive N download requests for a target application resource package sent by N terminals in an idle state based on the prompt message, or receive download requests sent by M terminals based on the prompt message;
a determining module, configured to determine, based on a first server, that the N terminals are permitted to download the target application resource package, and if the N download requests are greater than a preset download request amount, determine, according to user level information, M terminals that meet a preset condition, where M is an integer greater than 0 and less than N;
a sending module, configured to send a first download confirmation message to the second server, where the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package, so that the M terminals download the target application resource package according to the CDN download source;
the sending module is further configured to send a first download confirmation message to the second server when receiving a download request sent by the M terminals based on the prompt message.
11. The server according to claim 10,
the sending module is further configured to send a second download confirmation message to the second server if the N download requests are not greater than the preset download request amount, where the second download confirmation message is a download confirmation message corresponding to the N terminals, so that the second server allocates the CDN download sources to the N terminals according to the second download confirmation message, and the N terminals download the target application resource package according to the CDN download sources.
12. The server according to claim 10 or 11, wherein the first server further comprises:
an obtaining module, configured to obtain a total bandwidth of a target application resource package before the receiving module receives N download requests for the target application resource package;
the determining module is further configured to determine a preset downloading request amount of the target application resource package according to the total bandwidth of the target application resource package.
13. A server, characterized in that the server is a first server in an application communication system, the application communication system further comprises a second server, a pre-download server and N terminals, wherein N is an integer greater than 0,
when the pre-download server determines that available download resources exist, a prompt message of the existence of idle resources is sent to the terminal; the pre-download server receives N download requests of N terminals for a target application resource package sent by the N terminals in an idle state based on the prompt message, judges and permits the N terminals to download the target application resource package based on the pre-download server, and sends download confirmation messages corresponding to M terminals to the second server when receiving the download requests sent by the M terminals based on the prompt message; m is an integer greater than 0 and less than N;
the first server includes:
the acquisition module is used for acquiring the user level information of the target application corresponding to the N terminals;
a determining module, configured to determine, according to the user level information, first download speeds corresponding to the N terminals, respectively;
a sending module, configured to send a first download confirmation message to a second server, where the first download confirmation message carries the first download speed, so that the second server allocates content delivery network CDN download sources to the N terminals according to the first download confirmation message, where the CDN download sources include target application resource packages, so that the N terminals download the target application resource packages according to the CDN download sources at the first download speed.
14. The server of claim 13, wherein the first server further comprises:
a receiving module, configured to receive the download state information of the target application resource package corresponding to the N terminals after the sending module sends the first download confirmation message to the second server;
the determining module is further configured to determine a bandwidth increase/decrease ratio of the target application resource packet, and determine second download speeds corresponding to the N terminals respectively according to the download state information and the bandwidth increase/decrease ratio.
15. The server according to claim 14, wherein the determining module is specifically configured to obtain a historical bandwidth of the target application resource packet and a total bandwidth of the target application resource packet, determine an available bandwidth of the target application resource packet according to the historical bandwidth and the total bandwidth, and determine a bandwidth scaling of the target application resource packet according to the available bandwidth and the total bandwidth.
16. A terminal is characterized in that the terminal is a terminal applied to an application communication system, wherein N terminals are provided, N is an integer greater than 0, the application communication system further comprises a first server, a second server and a third server, and the terminal comprises:
a sending module, configured to send, based on a prompt message that there is an idle resource, N download requests for a target application resource package to a first server in an idle state, so that if the N download requests are greater than a preset download request amount, the first server determines that the N terminals are permitted to download the target application resource package, determines, according to user level information, M terminals that meet preset conditions, and sends a first download confirmation message to a second server, where M is an integer greater than 0 and less than N, and the first download confirmation message is a download confirmation message corresponding to the M terminals, so that the second server allocates a CDN download source to the M terminals according to the first download confirmation message, where the CDN download source includes the target application resource package; the prompting message based on the existence of the idle resources is sent to a terminal when the first server determines that available downloading resources exist;
an obtaining module, configured to obtain the CDN download source allocated by the second server;
the downloading module is used for downloading the target application resource package according to the CDN downloading source;
and when receiving a downloading request sent by the M terminals based on the prompt message, the first server sends a first downloading confirmation message to the second server.
17. The terminal of claim 16,
the obtaining module is further configured to obtain the CDN download source allocated by the second server if the N download requests are not greater than the preset download request amount;
and the downloading module is used for downloading the target application resource package according to the CDN downloading source.
18. The terminal of claim 16,
the sending module is further configured to send, to the third server in an idle state, user level information of a target application corresponding to the N terminals, so that the third server determines, according to the user level information, first download speeds corresponding to the N terminals, respectively, and sends a first download confirmation message to the second server, where the first download confirmation message carries the first download speed, so that the second server allocates the CDN download sources to the N terminals according to the first download confirmation message;
the obtaining module is configured to obtain the CDN download source allocated by the second server;
the downloading module is further configured to download the target application resource package according to the CDN downloading source at the first downloading speed.
19. A computer-readable storage medium having stored thereon instructions for causing a computer device to execute the method of downloading an application resource package according to any one of claims 1 to 9.
CN201710063226.XA 2017-01-23 2017-01-23 Method for downloading application resource package, server and terminal Active CN106790679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710063226.XA CN106790679B (en) 2017-01-23 2017-01-23 Method for downloading application resource package, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710063226.XA CN106790679B (en) 2017-01-23 2017-01-23 Method for downloading application resource package, server and terminal

Publications (2)

Publication Number Publication Date
CN106790679A CN106790679A (en) 2017-05-31
CN106790679B true CN106790679B (en) 2020-11-17

Family

ID=58956531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710063226.XA Active CN106790679B (en) 2017-01-23 2017-01-23 Method for downloading application resource package, server and terminal

Country Status (1)

Country Link
CN (1) CN106790679B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019041289A1 (en) * 2017-08-31 2019-03-07 深圳市云中飞网络科技有限公司 Application resource downloading method and related product
CN109889451B (en) * 2017-12-06 2020-07-17 贵州白山云科技股份有限公司 Network speed limiting system and method and server
CN109413186B (en) * 2018-10-31 2021-07-30 Oppo广东移动通信有限公司 Application program updating method, terminal, server and system
CN111182529B (en) * 2019-11-26 2022-11-29 腾讯云计算(北京)有限责任公司 Police application processing method and device, electronic equipment and storage medium
CN111510491B (en) * 2020-04-15 2023-10-13 花瓣云科技有限公司 Resource access method, cache server, storage medium and electronic device
CN112217736A (en) * 2020-10-12 2021-01-12 广州欢网科技有限责任公司 Shunting method and device for intelligent terminal to acquire server resources
CN112685061A (en) * 2020-12-28 2021-04-20 北京达佳互联信息技术有限公司 Access method and device
CN113055451B (en) * 2021-03-08 2023-01-06 Oppo广东移动通信有限公司 Resource downloading method and device, electronic equipment and storage medium
CN115361292B (en) * 2022-10-20 2023-02-03 腾讯科技(深圳)有限公司 Resource packet transmitting method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002202927A (en) * 2000-11-02 2002-07-19 Sony Computer Entertainment Inc Entertainment system, server device, delivery method of contents, contents delivery program, and storage medium with contents delivery program stored therein
US9152411B2 (en) * 2010-05-12 2015-10-06 Microsoft Technology Licensing, Llc Edge computing platform for delivery of rich internet applications
CN102833339B (en) * 2012-08-31 2017-02-08 中兴通讯股份有限公司 CDN (Content Delivery Network) and network fused service control method and service control equipment
CN102833626B (en) * 2012-09-04 2016-09-21 深圳Tcl新技术有限公司 The method and apparatus of intelligent television upgrading
KR20140125255A (en) * 2013-04-18 2014-10-28 주식회사 지어소프트 System and Method for Updating of Application Using Set Top Box
CN104378391A (en) * 2013-08-12 2015-02-25 无锡知谷网络科技有限公司 Software updating method, system and device
CN107786463B (en) * 2015-03-16 2021-09-14 Oppo广东移动通信有限公司 Network data downloading method and device and medium product

Also Published As

Publication number Publication date
CN106790679A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106790679B (en) Method for downloading application resource package, server and terminal
CN109246229B (en) Method and device for distributing resource acquisition request
CN106358245B (en) Method and controller for sharing load of mobile edge computing application
US9477459B2 (en) Method and device arrangement for managing the use profile of a terminal device
EP3783936A1 (en) Cloud sim card management server, binding apparatus, management method, binding method and system
EP2296092A1 (en) Application catalog on an application server for wireless devices
CN101867617A (en) File uploading method base on mobile terminal and system and uploading server thereof
CN104683452B (en) A kind of data download method, server and multisystem mobile terminal
CN103841167A (en) User data synchronizing method and device
CN106027370A (en) Data sharing method and system, and intelligent terminal
US20140310701A1 (en) Cancelling device over the air software update
CN104363580A (en) Data downloading method and communication system
CN105530630B (en) A kind of OTA upgrade method and equipment
CN111078241A (en) OTA (over the air) upgrading method and device
CN108540400A (en) A kind of data transfer control method, control device, terminal and readable storage medium storing program for executing
EP2827621A1 (en) Application program distribution method, terminal and server
CN102256211B (en) Group-based method and system for application realization of M2M terminal
CN102916907B (en) Download method and system based on home gateway, and home gateway
CN107734475B (en) Short message sending method based on short message link and service platform
CN112866985B (en) Flow control method, resource downloading method, device, equipment and storage medium
CN107908408A (en) A kind of long-distance cloud mobile phone application installation method
KR102639977B1 (en) Resource allocation method, resource allocation device, base station and terminal
CN102088696B (en) Method and system for downloading large file from target server by mobile terminal
CN106973389B (en) Dynamic spectrum sharing method and device
EP3015990A1 (en) Information processing device, and destination information updating method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant