CN115002216A - Downloading method, downloading device, terminal equipment and readable storage medium - Google Patents

Downloading method, downloading device, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN115002216A
CN115002216A CN202210453430.3A CN202210453430A CN115002216A CN 115002216 A CN115002216 A CN 115002216A CN 202210453430 A CN202210453430 A CN 202210453430A CN 115002216 A CN115002216 A CN 115002216A
Authority
CN
China
Prior art keywords
downloading
time
preset
probability
target 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.)
Granted
Application number
CN202210453430.3A
Other languages
Chinese (zh)
Other versions
CN115002216B (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202210453430.3A priority Critical patent/CN115002216B/en
Publication of CN115002216A publication Critical patent/CN115002216A/en
Application granted granted Critical
Publication of CN115002216B publication Critical patent/CN115002216B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a downloading method, a downloading device, terminal equipment and a readable storage medium. The method comprises the following steps: determining a preset time corresponding to a target resource to be downloaded, wherein the preset time is after a release time corresponding to the target resource, and the preset time is a downloading ending time of the target resource; obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration; and when the downloading probability is greater than a preset threshold value, downloading the target resource. The method controls the downloading of the target resource by calculating the downloading probability, can avoid great impact on the bandwidth of the resource server when the downloading is too concentrated, and can effectively reduce the pressure of the resource server.

Description

Downloading method, downloading device, terminal equipment and readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a downloading method, an apparatus, a terminal device, and a readable storage medium.
Background
In the field of resource request downloading, the current manner of downloading resources by a client is as follows: when a resource downloading request initiated by a user is detected, sending the resource downloading request to a server where the resource is located, and receiving the resource returned by the server in response to the resource downloading request. Generally, in the rest period of the non-working state of the user, such as the noon or the evening, resource downloading requests initiated by the user are concentrated, the data volume is large, the downloading peak phenomenon can cause great impact on the bandwidth of the server, and the operation pressure and the failure probability of the server are increased. Therefore, how to avoid the download peak and reduce the bandwidth pressure of the server becomes a problem to be solved urgently.
Disclosure of Invention
The application provides a downloading method, a downloading device, a terminal device and a readable storage medium, which can avoid great impact on the bandwidth of a resource server when downloading is too concentrated, and further reduce the pressure of the resource server. The specific technical scheme is as follows:
in a first aspect of an embodiment of the present application, a downloading method is first provided, where the method includes:
determining a preset time corresponding to a target resource to be downloaded, wherein the preset time is after a release time corresponding to the target resource, and the preset time is a downloading ending time of the target resource;
obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration;
and when the downloading probability is greater than a preset threshold value, downloading the target resource.
Optionally, obtaining a download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration, including:
when the duration between the preset time and the current time is longer than the first preset duration, obtaining the download probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time;
and when the time length between the preset time and the current time is not longer than the first preset time length, setting the downloading probability of the target resource to be a probability value which is larger than the preset threshold value.
Optionally, obtaining, according to a ratio of the duration between the current time and the release time to the duration between the preset time and the release time, a download probability corresponding to the target resource, including:
determining a preset time period to which the current moment belongs and a downloading coefficient corresponding to the preset time period, wherein the preset time period at least comprises a downloading peak time period and a downloading peak time period, and the downloading coefficient corresponding to the downloading peak time period is lower than the downloading coefficient corresponding to the downloading peak time period;
and acquiring the downloading probability corresponding to the target resource according to the downloading coefficient, the time length between the current time and the release time, and the ratio of the time length between the preset time and the release time.
Optionally, after obtaining the download probability corresponding to the target resource according to the time length between the current time and the release time, which is a ratio of the time length between the preset time and the release time, the method further includes:
determining the initial downloading probability corresponding to the currently logged user account;
taking the sum of the initial downloading probability and the obtained downloading probability of the target resource as a final downloading probability;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the final downloading probability is greater than the preset threshold value, downloading the target resource.
Optionally, determining an initial download probability corresponding to the currently logged-in account includes:
when the time length between the current login time and the last login time of the current login user account is not less than a second preset time length, obtaining an initial download probability according to a preset time length interval to which the time length between the current login time and the last login time belongs;
and the time length between the current login time and the last login time is in direct proportion to the initial downloading probability.
Optionally, when the download probability is greater than a preset threshold and before downloading the target resource, the method further includes:
obtaining the downloading grade of the target resource according to the relationship between the duration between the preset time and the current time and a first preset duration, and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the downloading probability is greater than a preset threshold value, downloading the target resource according to a downloading channel matched with the downloading grade.
Optionally, obtaining a download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration, including:
acquiring the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration every other preset time period;
when the downloading probability is greater than a preset threshold value, downloading the target resource, including:
and at the moment of obtaining the downloading probability of the target resource, if the downloading probability is greater than a preset threshold value, downloading the target resource.
Optionally, when the download probability is greater than a preset threshold, downloading the target resource includes:
and acquiring a new random number, taking the new random number as the preset threshold, and downloading the target resource when the downloading probability is greater than the new random number.
In a second aspect of the embodiments of the present application, there is also provided a downloading apparatus, including:
the first determining module is used for determining a preset time corresponding to a target resource to be downloaded, wherein the preset time is after a release time corresponding to the target resource, and the preset time is a downloading ending time of the target resource;
the first obtaining module is used for obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and the first preset duration;
and the downloading module is used for downloading the target resource when the downloading probability is greater than a preset threshold value.
Optionally, the downloading module includes:
the first obtaining submodule is used for obtaining the downloading probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time when the duration between the preset time and the current time is greater than the first preset duration;
and the setting submodule is used for setting the downloading probability of the target resource to be a probability value larger than the preset threshold value when the duration between the preset time and the current time is not larger than the first preset duration.
Optionally, the first obtaining sub-module includes:
the determining submodule is used for determining a preset time period to which the current moment belongs and a downloading coefficient corresponding to the preset time period, wherein the preset time period at least comprises a downloading peak time period and a downloading peak time period, and the downloading coefficient corresponding to the downloading peak time period is lower than the downloading coefficient corresponding to the downloading peak time period;
and the second obtaining submodule is used for obtaining the downloading probability corresponding to the target resource according to the downloading coefficient, the time length between the current time and the release time, and the ratio of the time length between the preset time and the release time.
Optionally, the apparatus further comprises:
the second determining module is used for determining the initial downloading probability corresponding to the currently logged user account;
a third determining module, configured to use a sum of the initial download probability and the obtained download probability of the target resource as a final download probability;
the download module comprises:
and the first downloading submodule is used for downloading the target resource when the final downloading probability is greater than the preset threshold value.
Optionally, the second determining module includes:
the third obtaining sub-module is used for obtaining the initial download probability according to a preset time interval to which the time between the current login time and the last login time belongs when the time between the current login time and the last login time of the current login user account is not less than a second preset time;
and the time length between the current login time and the last login time is in direct proportion to the initial downloading probability.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a download level of the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration, and a ratio of the duration between the preset time and the current time to the duration between the preset time and the release time;
the download module comprises:
and the second downloading submodule is used for downloading the target resource according to the downloading channel matched with the downloading grade when the downloading probability is greater than a preset threshold value.
Optionally, the first obtaining module includes:
a fifth obtaining submodule, configured to obtain, every preset time period, a download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration;
the download module comprises:
and the third downloading submodule is used for downloading the target resource when the downloading probability of the target resource is obtained and if the downloading probability is greater than a preset threshold value.
Optionally, the downloading module includes:
and the fourth downloading submodule is used for acquiring a new random number, taking the new random number as the preset threshold value, and downloading the target resource when the downloading probability is greater than the new random number. In a third aspect of the embodiments of the present application, there is also provided an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect of the embodiments of the present application.
In a fourth aspect of embodiments of the present application, there is also provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of the first aspect of embodiments of the present application.
In a fifth aspect of embodiments of the present application, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the method of the first aspect of embodiments of the present application.
By adopting the downloading method, the preset time corresponding to the target resource to be downloaded is determined at first, and the preset time is behind the release time corresponding to the target resource. And then, obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and the first preset duration. And finally, when the downloading probability is greater than a preset threshold value, downloading the target resource. By the method, whether the downloading is in the peak period of the high downloading or in the peak period of the low downloading, the downloading of the target resource is controlled by calculating the downloading probability (the resource with the downloading probability larger than the preset threshold value is downloaded), so that the influence caused by the peak period and the peak period is avoided, the large impact on the bandwidth of the resource server when the downloading is too concentrated is avoided, and the pressure of the resource server can be effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
FIG. 1 is a schematic diagram of an implementation environment shown in an embodiment of the present application;
FIG. 2 is a flow chart illustrating a downloading method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a download process according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a downloading apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Fig. 1 is a schematic diagram of an implementation environment according to an embodiment of the present application. In fig. 1, a downloading module is configured in the client for downloading various resources. The downloading module is configured with a pre-distribution configuration file. The downloading module supports pre-distribution of downloading tasks, wherein the pre-distribution of the downloading tasks refers to the following steps: downloading various pre-published resources from the resource server according to the pre-distribution configuration file, where the resources may be of various types, such as characters, pictures, audio, video, codes, and the like, and the type of the resource is not particularly limited in this embodiment.
The application provides a downloading method which is applied to a downloading module in figure 1. Fig. 2 is a flowchart illustrating a downloading method according to an embodiment of the present application. Referring to fig. 2, the downloading method of the present application may include the steps of:
step S21: determining a preset time corresponding to a target resource to be downloaded, wherein the preset time is after the release time corresponding to the target resource, and the preset time is the downloading ending time of the target resource.
In this embodiment, the publishing time refers to the time when the resource is published on the network. The user can download the resource through the download module of the client only if the resource is released to the network. The preset time is a time set arbitrarily by the publisher of the resource in advance. The preset time is an ideal downloading deadline which is set manually. The preset time is not equal to the expiration time of the resource (the expired resource cannot be downloaded), that is, the user can still download the resource exceeding the preset time.
In some implementation scenarios, a user is typically required to download a target resource before a preset time for proper execution of a task. For example, in some enterprises, a certain task is usually completed by multiple persons in a collaboration manner, and assuming that the certain task is executed at 10 o ' clock in 10 s, 20 s, then each member who completes the task in a collaboration manner needs to download various resources related to the task before 10 o ' clock in 10 s, 20 s, and start preparation, at this time, the time of 10 o ' clock in 10 s, 20 s is the preset time. If a certain type of resource is released at 10 o' clock in 9 months, 20 days and then is the releasing time of the type of resource.
The downloading method in the application is suitable for pre-distribution downloading, and the pre-distribution downloading is different from active downloading. The active downloading means: the downloading module is provided with a downloading inlet facing the user, and the client immediately starts downloading the resources after the user actively clicks a downloading button to trigger downloading operation. The pre-distribution downloading means that: the downloading module does not provide a downloading inlet for the user, and the client automatically downloads the pre-published resources after meeting the downloading condition (the moment when the downloading condition is met is the moment when the downloading method is started), and can also be understood as passive downloading. The downloading condition may be set at will, for example, when a target resource is released, when an application is opened, when a live broadcast is entered, and the like, the downloading method of the present application may be applicable to pre-distribution downloading in different application scenarios, what downloading condition is adopted in each application scenario may be set according to actual requirements, and the present embodiment does not specifically limit the downloading condition (the time at which the pre-distribution downloading is triggered) and the downloading condition used in each application scenario.
The application scene may be of various types, such as a live broadcast scene, a small video browsing scene, a dynamic page access scene, an online shopping mall shopping scene, and the like, and the type of the application scene is not particularly limited in this embodiment.
Taking the application downloading method in the live broadcast scene as an example, if the adopted downloading condition is that the user opens the live broadcast application APP, then after the target resource (the file resource that needs to be used in the live broadcast scene) is released and the user opens the live broadcast application APP, the client detects that the downloading of the target resource is a pre-distribution task for the user, and then the client starts to execute the downloading method of the application, namely, starts to execute step S21-step S23. If the adopted downloading condition is that the user enters the live broadcasting room, the client detects that the downloading of the target resource is a pre-distribution task for the user after the target resource is released and the user enters the live broadcasting room, and then the client starts to execute the downloading method. In some live scenarios, if a user wants to participate in a live event normally, the user may need to download some files, and at this time, the downloading of the files is a pre-distribution task for the user entering the live room. In the live broadcasting scene, the user can enter the live broadcasting room in advance, so the time for starting live broadcasting is the preset time.
Taking the application of the downloading method in the small video browsing scene as an example, if the adopted downloading condition is that the user opens the small video viewing APP, then after the target resource (the file resource that needs to be used when viewing the small video) is released and the user opens the small video viewing APP, the client detects that the downloading of the target resource is a pre-distribution task for the user, and then the client starts to execute the downloading method of the application. If the frequency of viewing APP by a user using a small video is high in a recent period of time, the downloading method of the application can also be started when the target resource is released.
In this embodiment, the target resource carries release information when being released, where the release information includes a release time and a preset time of the target resource. After the resources are released, the client side can automatically determine the releasing time and the preset time of the target resources according to the releasing information of the target resources when the downloading conditions are met.
For example, after the code file X is published, the client knows that the downloading task of the code file X is a pre-distribution downloading task for the user a, and then the client detects the publishing time and the preset time corresponding to the code file X in real time, and performs the following steps S22 to S23.
Step S22: and obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and the first preset duration.
In this embodiment, the current time refers to the time when the downloading method is executed. The downloading method may be executed in real time or at intervals of a specified duration, and may be specifically set according to actual requirements, which is not specifically limited in this embodiment.
In specific implementation, the time length between the preset time and the current time can be compared with the first preset time length, and then the downloading probability of the target resource is determined according to the comparison result. For example, a first download probability greater than a first preset time duration and a second download probability not greater than the first preset time duration may be preset, and then, when the time duration between the preset time and the current time is greater than the first preset time duration, the first download probability is taken as the download probability of the target resource, and when the time duration between the preset time and the current time is not greater than the first preset time duration, the second download probability is taken as the download probability of the target resource.
Step S23: and when the downloading probability is greater than a preset threshold value, downloading the target resource.
In this embodiment, if the download probability is greater than the preset threshold, the downloading operation for the target resource is started.
In this embodiment, the target resource is downloaded according to the download probability, the target resource is downloaded only when the download probability is greater than the preset threshold, and if the download probability is not greater than the preset threshold, whether the download probability is greater than the preset threshold is calculated again when the download method is executed next time. Compared with the method of immediately downloading after detecting the downloading request of the user in the related technology, the method can achieve the purpose of clipping the peak of the current-carrying capacity, reduce the impact on the bandwidth of the resource server and reduce the pressure of the resource server.
By adopting the downloading method, the preset time corresponding to the target resource to be downloaded is determined at first, and the preset time is behind the release time corresponding to the target resource. And then, obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and the first preset duration. And finally, when the downloading probability is greater than a preset threshold value, downloading the target resource. By the method, whether the downloading is in the peak period of the high downloading or in the peak period of the low downloading, the downloading of the target resource is controlled by calculating the downloading probability (the resource with the downloading probability larger than the preset threshold value is downloaded), so that the influence caused by the peak period and the peak period is avoided, the large impact on the bandwidth of the resource server when the downloading is too concentrated is avoided, and the pressure of the resource server can be effectively reduced. With reference to the foregoing embodiment, in an implementation manner, when the download probability is greater than a preset threshold, downloading the target resource may specifically include:
and acquiring a new random number, taking the new random number as the preset threshold, and downloading the target resource when the downloading probability is greater than the new random number.
In this embodiment, the preset threshold may be dynamically changed, and each time the download probability is obtained through calculation, a new random number is obtained again, and the new random number is used as the preset threshold, and then the download probability obtained through calculation is compared with the preset threshold. If the download probability is larger than the new random number, starting the download operation of the target resource, and if the download probability is not larger than the new random number, suspending the download operation of the target resource.
In an implementation environment, if the preset threshold is set to a fixed value, for example, 10%, when the calculated download probability of a certain target resource is greater than 10%, the target resource is downloaded all the time, and the purpose of controlling the downloading of the target resource for multiple times cannot be achieved.
Therefore, in order to realize multiple-time downloading control and overcome the defect of the downloading mode in which the preset threshold is set to be a fixed value, the present embodiment adopts a mode in which the preset threshold is set to be a dynamic random number, and when the downloading probability is obtained through each calculation, the downloading probability is compared with the new random number. For example, for a certain target resource, if the download probability obtained by the first calculation is 15% and the obtained random number is 10%, then starting the download of the target resource, if the download probability obtained by the second calculation is 20% and the obtained random number is 50%, then suspending the download of the target resource, if the download probability obtained by the third calculation is 21% and the obtained random number is 40%, then continuing to download the target resource, and so on, until the calculated download probability is 100%, continuously downloading the target resource until the download is completed.
Therefore, by the random number downloading control mode, the target resource can be controlled for multiple times in the downloading process, the phenomenon that the target resource cannot be controlled for multiple times when the downloading mode in which the preset threshold value is set to be the fixed value is adopted is prevented, and the flexibility of downloading control is further enhanced.
Secondly, compared with a downloading mode in which the preset threshold is set to be a fixed value, the random number is compared with the downloading probability, so that the phenomenon that all resources cannot be downloaded when the downloading probability is low (the downloading can only be performed after the downloading probability is greater than the preset threshold, and the downloading probability of all resources is low at the beginning stage, and the downloading is difficult to be triggered) and the downloading can be performed only after a long time is needed (the downloading probability is higher as the current time is closer to the preset time), is avoided, a normal downloading environment is simulated (the downloading is performed with a certain probability when the downloading is started, the downloading is suspended with a certain probability after the downloading is completed, and the downloading is similar to the random downloading phenomenon caused by network reasons in the normal environment), and the use experience of a user is prevented from being reduced when the resources cannot be downloaded for a long time.
In this embodiment, the preset threshold may be a dynamically changing random number, which may avoid the disadvantage that flexible control of the downloading process cannot be achieved when a fixed value is used.
In one embodiment, after obtaining the download probability corresponding to the target resource, the download method of the present application may further include:
and when the downloading probability is not greater than a preset threshold value, suspending downloading the target resource.
In this embodiment, if the preset threshold is a fixed value, the target resource is always in the downloading state after the downloading probability is greater than the fixed value, and there is no case that the downloading probability is not greater than the preset threshold (because the downloading probability is higher as the current time is closer to the preset time). However, when the preset threshold is the random number, there is a case that the download probability is not greater than the preset threshold, and for this case, the downloading of the target resource is suspended, and after the download probability greater than the random number is subsequently calculated, the target resource is continuously downloaded, as described above.
With reference to the foregoing embodiment, in an implementation manner, obtaining a download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration may specifically include the following steps:
when the duration between the preset time and the current time is longer than the first preset duration, obtaining the download probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time;
and when the time length between the preset time and the current time is not longer than the first preset time length, setting the downloading probability of the target resource to be a probability value which is larger than the preset threshold value.
In this embodiment, the calculation of the download probability can be divided into two cases:
firstly, the duration between the preset time and the current time is longer than a first preset duration.
In this case, the ratio of the duration between the current time and the release time to the duration between the preset time and the release time may be used as the download probability. Namely: the downloading probability is the duration between the current time and the release time/the duration between the preset time and the release time.
When the duration between the preset time and the current time is longer than the first preset duration, the longer distance between the current time and the preset time is represented, and the downloading probability can be obtained according to the ratio.
And secondly, the duration between the preset time and the current time is not more than the first preset duration.
Wherein, the duration between the preset time and the current time is not more than a first preset duration and comprises two conditions: when the current time does not exceed the preset time, the time length between the preset time and the current time is not more than the first preset time length, and the current time exceeds the preset time. In both cases, the download probability can be directly set to any probability value greater than a preset threshold.
And when the duration between the preset time and the current time is not greater than the first preset duration, indicating that the current time is closer to the preset time. It can be understood that, when the current time is closer to the preset time, the demand of the user for the target resource is more urgent, so that the download probability can be appropriately increased, and the download probability is set to any probability value larger than the preset threshold, for example, the download probability can be directly set to 1.
Illustratively, enterprise a publishes a file X to the resource server at 10 o ' clock, 20 o ' clock, 8 o ' clock, 30 o ' clock, 10 o ' clock, and notifies all employees to attend a conference, which needs to use the file X. At this time, the distribution time corresponding to the file X is 10 points at 20 months and 10 days, and the preset time is 10 points at 30 days and 8 months.
The sheetlet is an employee of enterprise A, and the client detects that the download of file X is a pre-distribution task for the sheetlet, then the client always executes the download method in steps S21-S23. Taking the downloading method executed by the client at 10 o 'clock in 8 th, 21 th, as an example, at this time, the client first obtains the time length 216 hours from the current time (i.e. 10 o' clock in 8 th, 21 th) to the preset time, since this time length is longer than the first preset time length by 24 hours, then obtains the time length 24 hours between the current time and the release time, and the ratio of the time length 240 hours between the preset time and the release time is 10%, and the ratio 10% is the downloading probability of the sheetlet to the file X. If the preset threshold value is 30%, the downloading probability is smaller than the preset threshold value, and the downloading module of the client does not download the file X. Taking the downloading method executed at 12 o 'clock in 8 th 29 th day as an example, the client first obtains the time length of the current time (i.e. 12 o' clock in 8 th 29 th day) from the preset time, which is 22 hours, and since the time length is not greater than the first preset time length, which is 24 hours, the downloading probability of the sheetlet to the file X is directly set to 100%. The downloading probability is greater than the preset threshold value by 30%, and the downloading module of the client immediately starts the downloading operation of the file X.
In the embodiment, the downloading probability is obtained through the distance between the current time and the preset time, and the distance between the current time and the preset time generally reflects the eager degree of the user on the target resource, so that the downloading probability of the embodiment also conforms to the eager degree of the user's requirement on the target resource, and the higher the eager degree is, the higher the downloading probability is, and the rationality of the downloading probability is enhanced.
With the above embodiments, in an implementation manner, the present application further introduces a download coefficient, where different preset time periods correspond to different download coefficients, the download probability of the target resource is adjusted by using the download coefficient, and the download probability is combined with the characteristics of different time periods, so as to achieve the purpose of uniformly distributing the download operation in each time period.
On this basis, the method for obtaining the download probability corresponding to the target resource according to the time length between the current time and the release time and the ratio of the time length between the preset time and the release time to the time length between the preset time and the release time may specifically include the following steps:
determining a preset time period to which the current moment belongs and a downloading coefficient corresponding to the preset time period, wherein the preset time period at least comprises a downloading peak time period and a downloading low peak time period, and the downloading coefficient corresponding to the downloading peak time period is lower than the downloading coefficient corresponding to the downloading low peak time period;
and acquiring the downloading probability corresponding to the target resource according to the downloading coefficient, the time length between the current time and the release time, and the ratio of the time length between the preset time and the release time.
In this embodiment, a plurality of time periods may be divided in advance, and a corresponding download coefficient may be set for each time period. For example, a day may be divided into 12 time periods, one time period every two hours, and a different download coefficient may be set for each time period.
Generally, during rest periods such as noon and evening, the downloading requests of the user are concentrated (also called downloading peak period), for this reason, the downloading coefficient of the downloading peak period can be set to be smaller, and for other periods (such as working period or late night period) other than the downloading peak period, the downloading coefficient can be set to be larger, so that the downloading operation is uniformly distributed in each period as much as possible, and the purpose of downloading flow peak clipping is achieved.
In a specific implementation, obtaining, according to the download coefficient and a ratio of a duration between the current time and the release time to a duration between the preset time and the release time, a download probability corresponding to the target resource may specifically include:
and taking the downloading coefficient and the product of the ratio of the duration between the current time and the release time to the duration between the preset time and the release time as the downloading probability corresponding to the target resource. Namely: the downloading probability is the duration between the current time and the release time and the downloading coefficient/the duration between the preset time and the release time.
For example, if the time length between the current time and the delivery time calculated at 24 o ' clock in 1/10 th day is 60% of the time length between the preset time and the delivery time, and the download coefficient corresponding to the time period to which 24 o ' clock in 1/10 th day belongs (23 o ' clock in 1/10 th day-1 o ' clock in 2/10 th day) is 1.5, the download probability calculated at 24 o ' clock in 1/10 th day is 90%. And if the time length between the current time and the release time, which is calculated at 20 o ' clock after 1 d of 10 months, accounts for 60% of the time length between the preset time and the release time, and the download coefficient corresponding to the time period (19 o ' clock after 1 d of 10 months to 21 o ' clock after 1 d of 10 months) to which the 20 o ' clock after 1 d of 10 months belongs is 0.5, the download probability calculated at 20 o ' clock after 1 d of 10 months is 30%. Therefore, the download probability between the download peak periods in the evening of 10 months and 1 day can be controlled to be lower than the download probability between the non-download peak periods in the evening through the download coefficient, so that the download operation is uniformly distributed in each period, and the pressure of the resource server is reduced.
In the embodiment, the download coefficient is introduced, and the download probability of the target resource is adjusted by using the download coefficients of different time periods, so that the download probability is combined with the characteristics of different time periods, for example, the download operation can be uniformly distributed in each time period as much as possible by reducing the download probability of a download peak period and improving the download probability of a download peak period, thereby avoiding the generation of large impact on the bandwidth of the resource server when the download is too concentrated, and reducing the pressure of the resource server.
With reference to the foregoing embodiments, in an implementation manner, the present application further introduces an initial download probability, where the initial download probabilities corresponding to different user accounts are different. On this basis, after obtaining the download probability corresponding to the target resource according to the time length between the current time and the release time and the ratio of the time length between the preset time and the release time, the download method of the present application may further include the following steps:
determining the initial downloading probability corresponding to the currently logged user account;
and taking the sum of the initial downloading probability and the obtained downloading probability of the target resource as the final downloading probability.
In this embodiment, different initial download probabilities may be set for different user accounts in advance according to credit levels, points, whether the user accounts are members, and the like of the different user accounts. For example, the initial download probability of a user account with a higher credit rating may be set to a higher value, or the initial download probability of a user account may be set to a higher value.
After the download probability is obtained according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time, the sum of the obtained download probability and the initial download probability can be directly used as the final download probability. Or, after the download probability is obtained according to the download coefficient and the ratio of the duration between the current time and the release time to the duration between the preset time and the release time, the sum of the obtained download probability and the initial download probability can be used as the final download probability.
Correspondingly, when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the final downloading probability is greater than the preset threshold value, downloading the target resource.
In this embodiment, after the final download probability is obtained, the final download probability may be compared with a preset threshold, and if the final download probability is greater than the preset threshold, the target resource is downloaded.
In the embodiment, different initial downloading probabilities are set for different user accounts, and the downloading probabilities are combined with the characteristics of the user accounts, so that the downloading probabilities of the target resources are flexibly adjusted according to the characteristics of the user accounts, and the downloading experience of the user is optimized.
With reference to the foregoing embodiment, in an implementation manner, determining an initial download probability corresponding to a currently logged-in account may specifically include the following steps:
when the login time of a currently logged-in user account is not less than a second preset time length, obtaining an initial downloading probability according to a preset time length interval to which the time length between the login time and the login time is belonged;
and the time length between the current login time and the last login time is in direct proportion to the initial downloading probability.
In this embodiment, the initial download probability may be obtained according to an interval duration between the current login time and the last login time of the user account and a preset duration interval, where the longer the interval duration is, the higher the initial download probability is (but does not exceed a specified upper limit).
In this embodiment, a plurality of time duration intervals may also be preset, for example, a plurality of different time duration intervals, such as 5-15 days, 15-30 days, 1-3 months, 3 months and more, and different initial download probabilities may be set for the different time duration intervals. For example, the initial download probability may be set to be 1% for a time period of 5 to 15 days, 2% for a time period of 15 to 30 days, 3% for a time period of 1 to 3 months, and 4% for a time period of 3 months or more, where the upper limit value of the initial download probability is 5% and the second preset time period is 5 days. Of course, the upper limit value of the initial download probability and the specific value of the second preset duration may be set according to actual requirements, which is not limited in this embodiment.
In this embodiment, the second preset duration is a duration between the preset time of the target resource and the release time of the target resource, which is an artificially set value, and is an initial probability configuration coefficient. And when the time length between the current login time and the last login time is greater than or equal to a second preset time length, determining to adopt the initial download probability, and otherwise, when the time length between the current login time and the last login time is less than the second preset time length, not adopting the initial download probability.
In this embodiment, initial download probabilities are set for different user accounts according to the interval duration between the current login time and the last login time of the user account, and the duration between the current login time and the last login time is in direct proportion to the initial download probability, so that for a low-frequency start-up user, the initial download probability can be set to be a higher value, and the use experience of the user is optimized.
With reference to the foregoing embodiment, in an implementation manner, when the download probability is greater than a preset threshold, before downloading the target resource, specifically, the downloading may include:
and obtaining the downloading grade of the target resource according to the relationship between the duration between the preset time and the current time and a first preset duration, and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time.
Correspondingly, when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the downloading probability is greater than a preset threshold value, downloading the target resource according to a downloading strategy matched with the downloading grade.
Wherein, the download policy may include: download channel, download speed, etc., and the download strategy can be configured according to actual requirements.
In an embodiment, obtaining the download level of the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration, and a ratio of the duration between the preset time and the current time to the duration between the preset time and the release time, may specifically include:
when the duration between the preset time and the current time is not longer than a first preset duration, the downloading grade is the highest grade;
when the time length between the preset time and the current time is greater than a first preset time length, and the ratio of the time length between the preset time and the current time to the time length between the preset time and the release time is not lower than the first ratio, the download grade is the lowest grade;
when the time length between the preset time and the current time is greater than a first preset time length, and the time length between the preset time and the current time is between a first ratio and a second ratio, the download grade is a common grade, and the first ratio is higher than the second ratio;
and when the time length between the preset time and the current time is greater than a first preset time length, and the ratio of the time length between the preset time and the current time to the time length between the preset time and the release time is lower than a second ratio, the download grade is the highest grade.
In this embodiment, the download level may include: lowest level, normal level, highest level. The downloading strategies corresponding to different downloading levels are different.
In this embodiment, the downloading policy may be to set different downloading channels for different downloading levels. For example, CDN downloads may be preferentially used for the highest level, P2P downloads may be preferentially used for the lowest level, and an appropriate downloading manner (e.g., CDN downloads, P2P downloads, etc.) may be selected according to actual requirements for the common level.
In this embodiment, the downloading policy may also be to set different downloading speeds for different downloading levels, for example, the downloading speed of the highest level may be set higher than the downloading speed of the normal level, and the downloading speed of the normal level may be set higher than the downloading speed of the lowest level.
For example, it is assumed that the first preset time period is 1 hour, the first ratio is 60%, and the second ratio is 40%. Then, when the duration between the preset time and the current time is not more than 1 hour, the download level is the highest level.
And when the duration between the preset time and the current time is more than 1 hour and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time is not less than 60% (more than or equal to 60%), the downloading grade is the lowest grade.
And when the duration between the preset time and the current time is more than 1 hour, and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time is not less than 40% (more than or equal to 40%) and less than 60%, the downloading grade is a common grade.
And when the duration between the preset time and the current time is more than 1 hour, and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time is less than 40%, the downloading grade is the highest grade.
The first ratio and the second ratio can be set arbitrarily according to actual requirements, and this embodiment is not particularly limited thereto.
In this embodiment, the downloading level of the target resource is obtained, and the target resource is downloaded according to the downloading policy matched with the downloading level, so that the flexibility of downloading the target resource can be improved.
With reference to the foregoing embodiment, in an implementation manner, obtaining, according to a size relationship between a duration between the preset time and the current time and a first preset duration, a download probability corresponding to the target resource may specifically include:
acquiring the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration every other preset time period;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and at the moment of obtaining the downloading probability of the target resource, if the downloading probability is greater than a preset threshold value, downloading the target resource.
The preset time period may be set according to actual requirements, for example, 1 minute, 2 minutes, 5 minutes, and the like, which is not specifically limited in this embodiment.
In this embodiment, the download probability of the target resource is calculated every preset time period, if the download probability is greater than a preset threshold, the target resource is immediately started to be downloaded, and if the download probability is not greater than the preset threshold, the target resource is not downloaded for the moment, and the next time the download probability of the target resource is calculated is waited and whether the target resource can be downloaded is determined.
In the embodiment, the state is updated at regular time, the downloading probability is recalculated every other preset time period, and the downloading of the target resource is started when the downloading probability is greater than the preset threshold value, so that the phenomenon that the bandwidth of the resource server is impacted greatly when the downloading is concentrated is avoided, and the pressure of the resource server is further reduced.
In the application, the initial probability of the user, the download coefficient of each preset time period and the execution frequency (preset time period) of the download method are configured according to the pre-distribution configuration file.
Fig. 3 is a schematic diagram illustrating a downloading process according to an embodiment of the present application. In fig. 3, a downloading module of a client loads a pre-distribution configuration file after being started, and executes a downloading method every 5 minutes according to the pre-distribution configuration file, calculates a downloading probability for a target resource, starts downloading the target resource if the downloading probability is hit (the downloading probability is greater than a preset threshold), does not download the target resource if the downloading probability is not hit (the downloading probability is not greater than the preset threshold), and calculates the downloading probability again after waiting for 5 minutes and determines whether to download the target resource.
The method controls the downloading of the target resource by calculating the downloading probability, can avoid great impact on the bandwidth of the resource server when the downloading is concentrated, and can effectively reduce the pressure of the resource server.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Based on the same inventive concept, an embodiment of the present application provides a downloading apparatus 400. Referring to fig. 4, fig. 4 is a block diagram illustrating a downloading apparatus according to an embodiment of the present application. As shown in fig. 4, the apparatus 400 includes:
a first determining module 401, configured to determine a preset time corresponding to a target resource to be downloaded, where the preset time is after a release time corresponding to the target resource, and the preset time is a downloading deadline of the target resource;
a first obtaining module 402, configured to obtain, according to a size relationship between a duration between the preset time and the current time and a first preset duration, a download probability corresponding to the target resource;
a downloading module 403, configured to download the target resource when the downloading probability is greater than a preset threshold.
Optionally, the downloading module 403 includes:
the first obtaining submodule is used for obtaining the downloading probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time when the duration between the preset time and the current time is greater than the first preset duration;
and the setting submodule is used for setting the downloading probability of the target resource to be a probability value which is greater than the preset threshold value when the time length between the preset time and the current time is not greater than the first preset time length.
Optionally, the first obtaining sub-module includes:
the determining submodule is used for determining a preset time period to which the current moment belongs and a downloading coefficient corresponding to the preset time period, wherein the preset time period at least comprises a downloading peak time period and a downloading peak time period, and the downloading coefficient corresponding to the downloading peak time period is lower than the downloading coefficient corresponding to the downloading peak time period;
and the second obtaining submodule is used for obtaining the downloading probability corresponding to the target resource according to the downloading coefficient, the time length between the current time and the release time, and the ratio of the time length between the preset time and the release time.
Optionally, the apparatus 400 further comprises:
the second determining module is used for determining the initial downloading probability corresponding to the currently logged user account;
a third determining module, configured to use a sum of the initial download probability and the obtained download probability of the target resource as a final download probability;
the download module 403 includes:
and the first downloading submodule is used for downloading the target resource when the final downloading probability is greater than the preset threshold value.
Optionally, the second determining module includes:
a third obtaining submodule, configured to obtain, when a time length between a current login time and a last login time of a currently logged-in user account is not less than a second preset time length, an initial download probability according to a preset time length interval to which the time length between the current login time and the last login time belongs;
and the time length between the current login time and the last login time is in direct proportion to the initial downloading probability.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain a download level of the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration, and a ratio of the duration between the preset time and the current time to the duration between the preset time and the release time;
the download module 403 includes:
and the second downloading submodule is used for downloading the target resource according to the downloading channel matched with the downloading grade when the downloading probability is greater than a preset threshold value.
Optionally, the first obtaining module 402 includes:
a fifth obtaining submodule, configured to obtain, every other preset time period, a download probability corresponding to the target resource according to a size relationship between a time between the preset time and the current time and a first preset time;
the download module 403 includes:
and the third downloading submodule is used for downloading the target resource when the downloading probability of the target resource is obtained and if the downloading probability is larger than a preset threshold value.
Optionally, the downloading module 403 includes:
and the fourth downloading submodule is used for acquiring a new random number and downloading the target resource when the downloading probability is greater than the new random number.
The present application further provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any of the above embodiments of the present application. The present application also provides a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of the above embodiments of the present application.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, performs the method of any of the above embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the scope of protection of the present application.

Claims (12)

1. A method of downloading, comprising:
determining a preset time corresponding to a target resource to be downloaded, wherein the preset time is after a release time corresponding to the target resource, and the preset time is a downloading ending time of the target resource;
obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and the first preset duration;
and when the downloading probability is greater than a preset threshold value, downloading the target resource.
2. The method according to claim 1, wherein obtaining the download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration comprises:
when the duration between the preset time and the current time is longer than the first preset duration, acquiring the download probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time;
and when the time length between the preset time and the current time is not longer than the first preset time length, setting the downloading probability of the target resource to be a probability value which is larger than the preset threshold value.
3. The method of claim 2, wherein obtaining the download probability corresponding to the target resource according to a ratio of a duration between the current time and the release time to a duration between the preset time and the release time comprises:
determining a preset time period to which the current moment belongs and a downloading coefficient corresponding to the preset time period, wherein the preset time period at least comprises a downloading peak time period and a downloading peak time period, and the downloading coefficient corresponding to the downloading peak time period is lower than the downloading coefficient corresponding to the downloading peak time period;
and acquiring the downloading probability corresponding to the target resource according to the downloading coefficient, the time length between the current time and the release time, and the ratio of the time length between the preset time and the release time.
4. The method according to claim 2 or 3, wherein after obtaining the download probability corresponding to the target resource according to the ratio of the duration between the current time and the release time to the duration between the preset time and the release time, the method further comprises:
determining the initial downloading probability corresponding to the currently logged user account;
taking the sum of the initial downloading probability and the obtained downloading probability of the target resource as a final downloading probability;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the final downloading probability is greater than the preset threshold value, downloading the target resource.
5. The method of claim 4, wherein determining an initial download probability for the currently logged-in account comprises:
when the time length between the current login time and the last login time of the current login user account is not less than a second preset time length, obtaining an initial download probability according to a preset time length interval to which the time length between the current login time and the last login time belongs;
and the time length between the current login time and the last login time is in direct proportion to the initial downloading probability.
6. The method of claim 1,
when the download probability is greater than a preset threshold value and before downloading the target resource, the method further comprises: obtaining the downloading grade of the target resource according to the relationship between the duration between the preset time and the current time and a first preset duration, and the ratio of the duration between the preset time and the current time to the duration between the preset time and the release time;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and when the downloading probability is greater than a preset threshold value, downloading the target resource according to a downloading strategy matched with the downloading grade.
7. The method according to claim 1, wherein obtaining the download probability corresponding to the target resource according to a size relationship between a duration between the preset time and the current time and a first preset duration comprises:
acquiring the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration every other preset time period;
when the download probability is greater than a preset threshold, downloading the target resource, including:
and at the moment of obtaining the downloading probability of the target resource, if the downloading probability is greater than a preset threshold value, downloading the target resource.
8. The method of claim 1, wherein downloading the target resource when the download probability is greater than a preset threshold comprises:
and acquiring a new random number, taking the new random number as the preset threshold, and downloading the target resource when the downloading probability is greater than the new random number.
9. A downloading apparatus, comprising:
the device comprises a first determining module, a second determining module and a third determining module, wherein the first determining module is used for determining a preset moment corresponding to a target resource to be downloaded, and the preset moment is behind a release moment corresponding to the target resource;
the obtaining module is used for obtaining the downloading probability corresponding to the target resource according to the size relation between the duration between the preset time and the current time and a first preset duration;
and the downloading module is used for downloading the target resource when the downloading probability is greater than a preset threshold value.
10. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
11. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
12. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-8.
CN202210453430.3A 2022-04-27 2022-04-27 Downloading method, downloading device, terminal equipment and readable storage medium Active CN115002216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210453430.3A CN115002216B (en) 2022-04-27 2022-04-27 Downloading method, downloading device, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210453430.3A CN115002216B (en) 2022-04-27 2022-04-27 Downloading method, downloading device, terminal equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN115002216A true CN115002216A (en) 2022-09-02
CN115002216B CN115002216B (en) 2024-02-23

Family

ID=83025024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210453430.3A Active CN115002216B (en) 2022-04-27 2022-04-27 Downloading method, downloading device, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115002216B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742033B1 (en) * 2000-06-12 2004-05-25 Gateway, Inc. System, method and computer program product that pre-caches content to provide timely information to a user
CN106210007A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Resource downloading method and device
CN106603702A (en) * 2016-12-29 2017-04-26 北京奇艺世纪科技有限公司 Method and device for downloading resource data
WO2017193544A1 (en) * 2016-05-09 2017-11-16 乐视控股(北京)有限公司 Method, device, and electronic apparatus for downloading resource
WO2019104911A1 (en) * 2017-11-30 2019-06-06 掌阅科技股份有限公司 High concurrency preventive information packet downloading method, electronic device, and storage medium
WO2019223510A1 (en) * 2018-05-21 2019-11-28 Oppo广东移动通信有限公司 Application program preloading method and apparatus, storage medium, and mobile terminal
US20200210165A1 (en) * 2018-12-31 2020-07-02 Didi Research America, Llc Method and system for downloading information
CN111629075A (en) * 2020-08-03 2020-09-04 腾讯科技(深圳)有限公司 Data downloading method and related device
CN111741112A (en) * 2020-06-22 2020-10-02 中国平安财产保险股份有限公司 File downloading method, device, equipment and storage medium based on artificial intelligence
CN113766022A (en) * 2021-09-03 2021-12-07 统信软件技术有限公司 Task downloading method and device, computing equipment and storage medium
WO2022016896A1 (en) * 2020-07-21 2022-01-27 广州华多网络科技有限公司 Data download method and apparatus, computer device and computer-readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742033B1 (en) * 2000-06-12 2004-05-25 Gateway, Inc. System, method and computer program product that pre-caches content to provide timely information to a user
WO2017193544A1 (en) * 2016-05-09 2017-11-16 乐视控股(北京)有限公司 Method, device, and electronic apparatus for downloading resource
CN106210007A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 Resource downloading method and device
CN106603702A (en) * 2016-12-29 2017-04-26 北京奇艺世纪科技有限公司 Method and device for downloading resource data
WO2019104911A1 (en) * 2017-11-30 2019-06-06 掌阅科技股份有限公司 High concurrency preventive information packet downloading method, electronic device, and storage medium
WO2019223510A1 (en) * 2018-05-21 2019-11-28 Oppo广东移动通信有限公司 Application program preloading method and apparatus, storage medium, and mobile terminal
US20200210165A1 (en) * 2018-12-31 2020-07-02 Didi Research America, Llc Method and system for downloading information
CN111741112A (en) * 2020-06-22 2020-10-02 中国平安财产保险股份有限公司 File downloading method, device, equipment and storage medium based on artificial intelligence
WO2022016896A1 (en) * 2020-07-21 2022-01-27 广州华多网络科技有限公司 Data download method and apparatus, computer device and computer-readable storage medium
CN111629075A (en) * 2020-08-03 2020-09-04 腾讯科技(深圳)有限公司 Data downloading method and related device
CN113766022A (en) * 2021-09-03 2021-12-07 统信软件技术有限公司 Task downloading method and device, computing equipment and storage medium

Also Published As

Publication number Publication date
CN115002216B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
US10783267B2 (en) Centralized throttling service
US8463627B1 (en) Systems and methods for queuing requests and providing queue status
CN107241380B (en) Method and apparatus for time-based adjusted load balancing
CN111614736A (en) Network content resource scheduling method, domain name scheduling server and electronic equipment
WO2018164714A1 (en) Notification permission management
CN108390933B (en) Message distribution method, device, server and storage medium
EP2515504A1 (en) Content delivery method, system and schedule server
CN110620681B (en) Network connection timeout time setting method, device, equipment and medium
CN110659121A (en) Task data acquisition method and device, task configuration method and device and server
CN110012068B (en) Download control method, device and storage medium
CN109428926B (en) Method and device for scheduling task nodes
US8458725B2 (en) Computer implemented method for removing an event registration within an event notification infrastructure
CN110008187B (en) File transmission scheduling method, device, equipment and computer readable storage medium
CN111061689A (en) File expiration processing method and device for object storage system and electronic equipment
JP6132021B2 (en) Delivery control apparatus and method, push delivery system, and computer program
CN115002216A (en) Downloading method, downloading device, terminal equipment and readable storage medium
CN116961918A (en) Token acquisition method and device
US8874646B2 (en) Message managing system, message managing method and recording medium storing program for that method execution
CN112966005B (en) Timing message sending method, device, computer equipment and storage medium
WO2012032969A1 (en) Content delivery system, method of delivering content, server, content reproduction device, program, and recording medium
CN113709214A (en) Message processing method and device, electronic equipment and storage medium
CN113988559A (en) Disturbance-free method and device for questionnaire delivery
CN112506896A (en) Data deleting method and device and electronic equipment
CN114490066A (en) Method and device for dynamically adjusting large data cluster resources
CN117061503B (en) Image file management method, device, computer readable medium and electronic equipment

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