CN104660712B - A kind of offline download method and device - Google Patents

A kind of offline download method and device Download PDF

Info

Publication number
CN104660712B
CN104660712B CN201510112096.5A CN201510112096A CN104660712B CN 104660712 B CN104660712 B CN 104660712B CN 201510112096 A CN201510112096 A CN 201510112096A CN 104660712 B CN104660712 B CN 104660712B
Authority
CN
China
Prior art keywords
information source
type
offline
hot value
value
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
CN201510112096.5A
Other languages
Chinese (zh)
Other versions
CN104660712A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510112096.5A priority Critical patent/CN104660712B/en
Publication of CN104660712A publication Critical patent/CN104660712A/en
Application granted granted Critical
Publication of CN104660712B publication Critical patent/CN104660712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/59Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable

Landscapes

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

Abstract

Embodiments of the present invention provide a kind of offline download method.This method includes:The hot value in the information source is calculated according to the usage amount in information source;The offline downloading order in information source is determined according to the hot value in the information source.By the hot value for calculating information source, offline downloading order is determined according to the hot value in information source, automatic offline download can be carried out to information source according to offline downloading order, the method of the present invention to download offline without manually carrying out information source again, so as to considerably improve the efficiency that information source is downloaded offline, more preferable experience is brought for user.In addition, another embodiment of the invention provides a kind of offline download apparatus.

Description

A kind of offline download method and device
Technical field
Embodiments of the present invention are related to Internet technical field, more specifically, embodiments of the present invention are related to one kind Offline download method and device.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description recognizes it is prior art not because not being included in this part.
With the development of development of Mobile Internet technology, applied to the information class in mobile client using more and more, and it is every The application of individual information class can typically provide multiple information sources for user's subscription, at the same also provide the user information source data it is offline under Carry function.
In the prior art, the offline download scenarios in information source are usually to need the information source downloaded simultaneously by user's artificial selection Initiate to download manually.
The content of the invention
But user may use multiple information class applications, and each information class application can subscribe to multiple information sources, If using information source download is carried out manually in the prior art, repeatedly downloading process, especially information are needed When source quantity is more, selects information source to be downloaded needs and take a significant amount of time, efficiency is low.
And for the automatic download in information source, prior art lacks corresponding triggering foundation, particularly each information source again Downloading order.
Therefore, a kind of auto-sequencing scheme to information source is highly desirable to, for as the foundation downloaded offline automatically.
In the present context, embodiments of the present invention it is expected to provide a kind of offline download method and device.
In the first aspect of embodiment of the present invention, there is provided a kind of offline download method, for example, this method can wrap Include:The hot value in the information source is calculated according to the usage amount in information source;Information source is determined according to the hot value in the information source Offline downloading order.
In the second aspect of embodiment of the present invention, there is provided a kind of offline download apparatus, for example, the device can wrap Include:Computing unit, for calculating the hot value in the information source according to the usage amount in information source;First determining unit, for root The offline downloading order in information source is determined according to the hot value in the information source.
According to the offline download method and device of embodiment of the present invention, it can be calculated and obtained according to the usage amount in information source The hot value in information source, the hot value in information source can reflect fancy grade of the user to information source, according to the temperature in information source Value determines the offline downloading order in information source, information source can be downloaded offline automatically according to the offline downloading order in information source, Help to realize that intelligently information source is downloaded offline, avoid manual mode from carrying out the trouble that information source is downloaded offline, so as to significantly Ground reduces the time that selection information source is downloaded, and improves efficiency, and more preferable experience is brought for user.
Brief description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to accompanying drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example, and not by way of limitation Dry embodiment, wherein:
Fig. 1 schematically shows the block schematic illustration of an exemplary application scene according to embodiment of the present invention;
Fig. 2 schematically shows the flow chart of the embodiment of offline download method one of embodiment of the present invention;
Fig. 3 schematically shows the flow of an embodiment of the hot value that information source is calculated in the embodiment of the present invention Figure;
Fig. 4 schematically shows the flow that the embodiment that information source is downloaded offline is carried out in the embodiment of the present invention Figure;
Fig. 5 schematically shows the structure chart of the embodiment of offline download apparatus one of embodiment of the present invention.
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
The principle and spirit of the present invention is described below with reference to some illustrative embodiments.It should be appreciated that provide this A little embodiments are not with any just for the sake of better understood when those skilled in the art and then realize the present invention Mode limits the scope of the present invention.On the contrary, these embodiments are provided so that the disclosure is more thorough and complete, and energy It is enough that the scope of the present disclosure is intactly communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the disclosure can be implemented as following form, i.e.,:Complete hardware, complete software (including firmware, resident software, microcode etc.), or the form that hardware and software combines.
According to the embodiment of the present invention, it is proposed that a kind of method and apparatus downloaded offline.
Herein, it is to be understood that any number of elements in accompanying drawing is used to example and unrestricted and any Name is only used for distinguishing, without any restrictions implication.
Below with reference to the principle and spirit of some representative embodiments of the present invention, in detail the explaination present invention.
Summary of the invention
The inventors discovered that the information class in mobile client is using more and more in the prior art, and each information class Multiple information sources would generally be subscribed to using user, and the offline download to information source data needs user voluntarily to select to which at present A little information sources are downloaded, and triggering is downloaded manually, so, when the information source that user subscribes to is a lot, carry out information source manually Download be undoubtedly a thing to waste time and energy, that is, realize information source download it is less efficient.
For problem above, inventor proposes to reflect fancy grade of the user to information source using a kind of modeling scheme, The usage amount in information source can be utilized to calculate the hot value in information source, determine that information source is offline further according to the hot value in information source Downloading order, automatic information source is downloaded offline according to the offline downloading order in information source, without again manually Carry out information source to download offline, so as to considerably improve the efficiency that information source is downloaded offline, more preferable body is brought for user Test;And information source is downloaded offline according to the offline downloading order in information source, it is ensured that the high information source of hot value obtains It is preferential to download, and reduce the download of data.
After the general principle of the present invention is described, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Application scenarios overview
With reference first to Fig. 1, Fig. 1 is the block schematic illustration of an exemplary application scene of embodiments of the present invention.Its In, user is interacted by the client 102 on user equipment with providing the server 101 of information class application service.Ability Field technique personnel are appreciated that the block schematic illustration shown in Fig. 1 is only that embodiments of the present invention can be achieved wherein An example.The scope of application of embodiment of the present invention is not limited by any aspect of the framework.
It should be noted that user equipment herein can be existing, researching and developing or research and development in the future, Neng Goutong Cross any type of wiredly and/or wirelessly connect (for example, Wi-Fi, LAN, honeycomb, coaxial cable etc.) and realize client thereon The 102 any user equipmenies interacted with server 101, include but is not limited to:Existing, researching and developing or research and development in the future intelligence Can mobile phone, non-smart mobile phone, tablet personal computer, laptop PC, desktop personal computer, minicom, medium-sized Computer, mainframe computer etc..
It is also to be noted that server 101 herein be only it is existing, researching and developing or in the future research and development, can Provide a user an example of the equipment of information class application service.Embodiments of the present invention are not in this regard by any limit System.
Based on the framework shown in Fig. 1, client 102 can calculate the temperature in the information source according to the usage amount in information source Value;Then, client 102 can determine the offline downloading order in information source according to the hot value in the information source.
It is understood that the present invention application scenarios in, although herein with below by the action of embodiment of the present invention It is described as being performed by client 102, but the present invention is unrestricted in terms of executive agent, as long as performing embodiment party of the present invention Action disclosed in formula.
Illustrative methods
With reference to Fig. 1 application scenarios, with reference to figure 2-4 come describe according to exemplary embodiment of the invention be used for from The method that line is downloaded.Understand spirit and principles of the present invention it should be noted that above-mentioned application scenarios are for only for ease of and show Go out, embodiments of the present invention are unrestricted in this regard.On the contrary, embodiments of the present invention can apply to it is applicable Any scene.
Referring to Fig. 2, the flow chart of the embodiment of offline download method one in the present invention is shown, such as can specifically be included such as Lower step:
Step 201, the hot value according to the usage amount in the information source calculating information source.
The hot value in information source can embody fancy grade of the user to information source, realize user and like journey to information source The quantization of degree, hot value is higher, and to represent fancy grade deeper.Information source temperature model can be established for the hot value in information source, it is main The hot value in information source is calculated according to information such as the usage amounts in information source.Each information class application can record its offer The usage amount situation that is used by a user of information source, the usage amount in information source can characterize the actual use degree in information source, example Such as, the access times in the unit interval or being measured using duration in the unit interval can be used.
For example, in some possible embodiments, the specific implementation of step 201 can include:If information source is divided into Dry type;According to the correction value in each information source in the usage amount and this type in each information source in each type, enter Row weighted calculation obtains the hot value in each information source.
Can there be a type attribute, such as news category, amusement class etc. in each information source, then according to the class in information source Type attribute information source is divided into several type.Consider the affiliated type in information source when calculating information source hot value, can Fancy grade with user in the case of the overall fancy grade of truer reflection user and different classifications to information source.
In some possible embodiments, according in the usage amount and this type in each information source in each type The correction value in each information source, being weighted to obtain the specific implementation of the hot value in each information source can include:According to In each type in the usage amount sum in each information source, the first weight coefficient and this type current information source usage amount Obtain the first computational item;According to the correction value sum in each information source, first weight coefficient and this kind in this type The correction value in current information source obtains the second computational item in type;According to first computational item, the second weight coefficient and institute State the second computational item and obtain the hot value in current information source in this type.
Specifically, assume that user possesses information source S1,…,Sn, there is a type attribute in each information source, for any class Type T information source ST1,…,STk, corresponding hot value is respectively RT1,…,RTk, the usage amount in each information source is UT1,…, UTk, the hot value summation in whole information sources under type T is RT, above-mentioned parameters meet following relation:
Wherein, RTiThe hot value in the information source for being T for i-th of type, for characterizing fancy grade of the user to information source, Its value is bigger, and to represent user higher to the fancy grade in the information source;α, β are weight coefficient, α span for α ∈ (0,1], β span be β ∈ [0,1) and alpha+beta=1;K is the sum in the information source that type is T, RTThe information source for being T for type Hot value summation;UTiThe usage amount in the information source for being T for i-th of type, the actual use degree in information source is characterized, can be used Access times in unit interval or being measured using duration in the unit interval;dTiThe information source for being T for i-th of type Correction value, characterizes droop that may be present between server background data and local model, and server background data can be from Server receives, and back-end data can represent the actual metered hot value in each information source by server metering, above-mentioned parameter In i be positive integer.
To prevent above parameters number of levels gap excessive, can select to return parameters in practical application One change is handled, for example, being normalized using modes such as linear transformation, Logarithm conversions, can be determined according to being actually needed Normalization mode.
Above-mentioned relation is converted into matrix form:
Displacement is carried out to matrix can be calculated:
Wherein,Full rank, its inverse matrix certainly exist.
So carrying out arrangement to above-mentioned matrix can obtain, and information source temperature model is:It can be calculated using the information source temperature model To the hot value in each information source.
NamelyThe first weight coefficient, α are can be understood as the usage amount sum in each information source, β in each type It can be understood as the second weight coefficient, UTiIt is then the usage amount in current information source in this type, can be according in each type The usage amount in current information source obtains the first meter in the usage amount sum in each information source, the first weight coefficient and this type Calculate itemSimilar,For the correction value sum in each information source in this type, dTiIt is then The correction value in current information source in this type, can be according to the correction value sum in each information source, described in this type The correction value in current information source obtains the second computational item in one weight coefficient and this typeThis Sample, the hot value R in current information source in this typeTiCan be according to first computational item, the second weight coefficient and described Second computational item obtains:
The information source temperature model can be understood as the local model of each information source hot value, the second weight coefficient α, One weight coefficient β initial value can be set based on experience value, dTiInitial value can be 0, i.e., original state without using backstage During data, information source temperature model can beIn addition, as β=0, information source heat Degree model can be reduced to RTi=UTi+dTiIf dTiAlso value is 0, then can be reduced to directly use the usage amount in information source Calculate the hot value in information source.
Present embodiment utilizes each information source in the usage amount and this type in each information source in each type Correction value, it is weighted to obtain the hot value in each information source, can contemplate when calculating the hot value in single information source The hot value of classification influences where the information source, more realistically reflects the overall preference information of user;Can be according to different classifications Mode calculates information source hot value respectively, reflects that user is to the fancy grade in information source in the case of different classifications;In addition, calculate heat During angle value can free weights assigned proportion, be easy to apply to user preferences degree entirety manage, pass through adjust weighting proportion It can also realize only smaller according to the hot value of usage amount calculating, information source hot value model simple, amount of calculation.
According to another embodiment of the present invention, the hot value that each information source is calculated can also be modified.
In some possible embodiments, the described pair of hot value that each information source is calculated is modified specific Realization can include:Calculate each in the first weight coefficient for making error function minimum, the second weight coefficient and this type The correction value in information source, utilize described the first weight coefficient, the second weight coefficient and this type for making error function minimum In each information source correction value, recalculate to obtain the hot value in each information source;The error function is in each type The model error sum in each information source, the model error are counted for the actual metered hot value in the information source with the information source The difference of obtained hot value.
Namely calculate information source in the second weight coefficient α for making error function minimum, the first weight coefficient β, this type Correction value dTiValue, by described α, β, dTiInitial value be modified to described α, β, d for making error function minimumTiValue;
The error function is the model error sum in each information source in each type, i.e.,Wherein, eTi The model error in the information source for being T for i-th of type, that is, the actual metered hot value in the information source and the information source The difference of hot value:R′Ti The actual metered hot value in the information source for being T for i-th of type, α, β are weight coefficient, and alpha+beta=1, k is the information that type is T The sum in source, UTiThe usage amount in the information source for being T for i-th of type, dTiThe correction value in the information source for being T for i-th of type.
I.e. if the reception server back-end data (the actual metered hot value R ' in information sourceTi) above-mentioned information source can be corrected Hot value model, that is to say, that utilize R 'TiDetermine parameter alpha, β, dTiValue.After the actual metered hot value for receiving information source, Make error function by calculating acquisitionMinimum α, β, dTi, solve α, β, the d for making error function minimumTiValue The intelligent algorithms such as machine learning, SVMs, neutral net can be used to be solved, to the side of solution in present embodiment Formula is not defined.
α, β, the d obtained will be solvedTiValue bring information source hot value model into again:Recalculate to obtain the hot value in each information source, The process being modified to the hot value that each information source is calculated is completed, calculating can be made more accurate.
According to another embodiment of the present invention, can also be determined according to the frequency of use in the information source to being calculated The time interval that the hot value in each information source is modified.
The time interval that the hot value in information source is modified can dynamically be adjusted, determined according to user's use habit: User is higher to the frequency of use of information source off-line data, and time interval can be shorter, i.e. information source off-line data frequency of use With the time interval that is modified into inverse correlation, further, user can using the information source off-line data frequency higher period To give shorter correction time interval, i.e., frequency of use and the correction time in each period information source are partitioned into inverse correlation, example As user is less using information source off-line data in night, can stop correcting in night.
Present embodiment can carry out the amendment of information source hot value using back-end data, information source hot value is more defined Really, in real time.
Step 202, the offline downloading order in information source determined according to the hot value in the information source.
After determining the offline downloading order in information source, the information source can be entered according to the offline downloading order in information source Row is offline to be downloaded.
For example, in some possible embodiments, the specific implementation of step 202 can include:According to the information source Hot value determine Heat range Lj, Lj=j, j span are 1 to n positive integer, and n is the sum of the Heat range; Each Heat range LjCorresponding download parameters Pj, PjSpan be 1 to j positive integer, PjInitial value be 1;
By the first more New r4 LMAnd meet PjHeat range corresponding to=j download parameters is defined as more New r4 and added Enter and update rate sequence, LMInitial value be 1, M span be 1 to n positive integer;
Determine the offline downloading order in information source according to the renewal rate sequence, same information source more in New r4 according to The hot value in the information source sorts from high to low determines the offline downloading order in information source;
Update the download parameters Pj=Pj+ 1, wherein, if Pj>J, then Pj=1;Update the described first more New r4 LM= LM+ 1, wherein, if LM>N, then LM=1.
Namely Heat range L is setj=j, j ∈ (1 ..., n), Heat range value is smaller to represent that Heat range is higher, will The hot value sequence in information source, according to the quantity of Heat range, information source is divided, it is determined that corresponding Heat range.Example Such as, there are 40 information sources, the sum of Heat range is 4, then can be true in preceding 10 information source by the hot value sequence in information source It is set to Heat range L1, by that analogy, determine Heat range L2、L3、L4.Each Heat range corresponds to a download respectively Parameter Pj, Pj∈ (1 ..., n), initial value 1, the first more New r4 for carrying out downloading offline in information source every time is LM, Ran Houjian Look into and remove LMEach outer Heat range, if download parameters P corresponding to Heat rangej=j, then the Heat range is also added Enter to update rate sequence.The information source more in New r4 can be downloaded offline according to renewal rate sequence order, it is same Downloaded offline from high to low according to the hot value in information source in information source more in New r4.Completed in once offline download Afterwards, download parameters P is updatedj=Pj+ 1, wherein, if Pj>J, then Pj=1;Update the first more New r4 LM=LM+ 1, wherein, such as Fruit LM>N, then LM=1.
Exemplified by information source is divided into 4 Heat ranges, pair determination offline downloading order in information source illustrates.Temperature Grade L1=1, L2=2, L3=3, L4Download parameters P corresponding to=4 difference1=1, P2=1, P3=1, P4=1, in Heat range In the first more New r4 LM=1, then the first more New r4 is L1, add renewal rate sequence;Once after the completion of offline download, LM =2, P1=1, P2=2, P3=2, P4=2, then it is L by the first more New r42, and P1Heat range L corresponding to=11Add Update rate sequence;By that analogy, it is determined that the offline downloading order in information source downloaded offline every time.
Referring to the situation of change for shown in following table, being renewal rate sequence:
Download parameters P1 P2 P3 P4 Update rate sequence
1 1 1 1 1 L1
2 1 2 2 2 L2, L1
3 1 1 3 3 L3, L1
4 1 2 1 4 L4, L1, L2
5 1 1 2 1 L1
6 1 2 3 2 L2, L1, L3
7 1 1 1 3 L3, L1
8 1 2 2 4 L4, L1, L2
9 1 1 3 1 L1, L3
10 1 2 1 2 L2, L1
11 1 1 2 3 L3, L1
12 1 2 3 4 L4, L1, L2, L3
According to another embodiment of the present invention, can also be determined according to the frequency of use in the information source according to information source Offline downloading order carries out the time interval that information source is downloaded offline.
The time interval that information source is downloaded offline can dynamically be adjusted, determined according to user's use habit:User is to money The frequency of use of news source off-line data is higher, and time interval can be shorter, i.e., information source off-line data frequency of use with it is offline under Time interval is carried into inverse correlation, further, user can give shorter using the information source off-line data frequency higher period Download time interval, i.e., the frequency of use in each period information source is partitioned into inverse correlation, such as user with offline download time It is less using information source off-line data in night, information source can be stopped in night and downloaded offline.
Present embodiment can ensure the preferential offline download in the high information source of hot value, while avoid partial information source It is excessive to download, so as to reduce download.
Referring to Fig. 3, in conjunction with practical situations, the hot value to calculating the information source according to the usage amount in information source Illustrate, may include steps of:
Step 301, use α, β and dTiInitial value utilize information source temperature modelCalculate the hot value in information source.Wherein, α, β Initial value can be set based on experience value, dTiInitial value can be 0.
Step 302, judge whether user allows to use server actual metered hot value, if it is, into step 303, If not, into step 306.
Step 303, the time interval being modified to the hot value that each information source is calculated is set.
Step 304, start timer, wait the time to be achieved being modified to the hot value that each information source is calculated Interval.
Step 305, timer timing are arrived, Off Timer, and the actual metered temperature in information source is asked to server Value, calculate α, β and the d for making error function minimumTi, re-use information source temperature modelCalculate the hot value in information source, return to step 304。
Step 306, end operation.
Referring to Fig. 4, in conjunction with practical situations, information source is downloaded offline and illustrated, may include steps of:
Step 401, judge whether that user's mandate is downloaded offline, if it is, into step 402, if not, entering step Rapid 406.
The time interval that step 402, setting are downloaded offline to information source.
Step 403, start timer, wait the time interval to be achieved downloaded offline to information source.
Step 404, timer timing arrive, Off Timer, detect network condition, judge whether in wifi Under (WirelessFidelity, Wireless Fidelity) network, if it is, into step 405, if not, return to step 403.
Step 405, the offline downloading order in information source is determined according to the hot value in information source, downloaded offline according to information source suitable Information source is downloaded offline described in ordered pair, return to step 403.
According to the hot value in information source determines that the offline downloading order in information source may refer to above-described embodiment, herein not Repeat again.
Step 406, end operation.
Present embodiment can be that user downloads information offline automatically according to network condition in the case where user permits Source, without expending charging flow.
So, according to the offline download method of embodiment of the present invention, it can be calculated and obtained according to the usage amount in information source The hot value in information source, the hot value in information source can reflect fancy grade of the user to information source, according to the temperature in information source Value determines the offline downloading order in information source, information source can be downloaded offline automatically according to the offline downloading order in information source, Help to realize that intelligently information source is downloaded offline, avoid manual mode from carrying out the trouble that information source is downloaded offline, so as to significantly Ground reduces the time that selection information source is downloaded, and improves efficiency, and more preferable experience is brought for user.
Example devices
After the method for exemplary embodiment of the invention is described, next, with reference to figure 5 to the exemplary reality of the present invention Apply mode, the device for downloading offline is introduced.
Referring to Fig. 5, the structure chart that the offline embodiment of download apparatus one is determined in the present invention is shown, such as can specifically wrap Include:
Computing unit 501, for calculating the hot value in the information source according to the usage amount in information source.
For example, in some possible embodiments, the computing unit 501 can include:
Classification subelement 5011, for information source to be divided into several type.
Computation subunit 5012, according to each information in the usage amount and this type in each information source in each type The correction value in source, it is weighted to obtain the hot value in each information source.
In some possible embodiments, the computation subunit 5012 can be specifically used for:
According to currently being provided in the usage amount sum in each information source, the first weight coefficient and this type in each type The usage amount in news source obtains the first computational item;
According in the correction value sum in each information source, first weight coefficient and this type in this type when The correction value in preceding information source obtains the second computational item;
Obtain currently providing in this type according to first computational item, the second weight coefficient and second computational item The hot value in news source.
According to another embodiment of the present invention, can also include:Amending unit, for each information source is calculated Hot value be modified.
In some possible embodiments, the amending unit can be specifically used for:
Calculate each information source in the first weight coefficient for making error function minimum, the second weight coefficient and this type Correction value, using it is described make it is each in the first minimum weight coefficient of error function, the second weight coefficient and this type The correction value in information source, recalculate to obtain the hot value in each information source;The error function is each money in each type The model error sum in news source, the model error are calculated for the actual metered hot value in the information source with the information source Hot value difference.
According to another embodiment of the present invention, can also include:Second determining unit, for according to the information source Frequency of use determines the time interval being modified to the hot value that each information source is calculated.
First determining unit 502, for determining the offline downloading order in information source according to the hot value in the information source.
In some possible embodiments, first determining unit 502 can include:
First determination subelement 5021, for determining Heat range L according to the hot value in the information sourcej, Lj=j, j's Span is 1 to n positive integer, and n is the sum of the Heat range;Each Heat range LjCorresponding download parameters Pj, PjSpan be 1 to j positive integer, PjInitial value be 1.
Second determination subelement 5022, for by the first more New r4 LMAnd meet PjIt is hot corresponding to=j download parameters Degree grade is defined as more New r4 and adds renewal rate sequence, LMInitial value be 1, M span be 1 to n it is just whole Number.
3rd determination subelement 5023, for determining the offline downloading order in information source according to the renewal rate sequence, together Sorted from high to low according to the hot value in the information source and determine the offline downloading order in information source in the one information source more in New r4.
Subelement 5024 is updated, for updating the download parameters Pj=Pj+ 1, wherein, if Pj>J, then Pj=1;Renewal Described first more New r4 LM=LM+ 1, wherein, if LM>N, then LM=1.
According to another embodiment of the present invention, can also include:3rd determining unit, for according to the information source Frequency of use determines the time interval downloaded offline according to the offline downloading order progress information source in information source.
So, according to the offline download apparatus of embodiment of the present invention, it can be calculated and obtained according to the usage amount in information source The hot value in information source, the hot value in information source can reflect fancy grade of the user to information source, according to the temperature in information source Value determines the offline downloading order in information source, information source can be downloaded offline automatically according to the offline downloading order in information source, Help to realize that intelligently information source is downloaded offline, avoid manual mode from carrying out the trouble that information source is downloaded offline, so as to significantly Ground reduces the time that selection information source is downloaded, and improves efficiency, and more preferable experience is brought for user.
It should be noted that although be referred to some units or subelement of offline download apparatus in above-detailed, but It is that this division is only not enforceable.In fact, according to the embodiment of the present invention, two or more above-described dresses The feature and function put can embody in one apparatus.Conversely, the feature and function of an above-described device can be with It is further divided into being embodied by multiple devices.
In addition, although the operation of the inventive method is described with particular order in the accompanying drawings, still, this do not require that or Hint must perform these operations according to the particular order, or the operation having to carry out shown in whole could realize it is desired As a result.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into a step and performed, and/or by one Step is decomposed into execution of multiple steps.
Although describe spirit and principles of the present invention by reference to some embodiments, it should be appreciated that, this Invention is not limited to disclosed embodiment, and the division to each side does not mean that the feature in these aspects can not yet Combination is to be benefited, and this division is merely to the convenience of statement.It is contemplated that cover appended claims spirit and In the range of included various modifications and equivalent arrangements.

Claims (8)

1. a kind of offline download method, including:
Information source is divided into several type;According to each in the usage amount and this type in each information source in each type The correction value in information source, it is weighted to obtain the hot value in each information source;
The offline downloading order in information source is determined according to the hot value in the information source.
2. according to the method for claim 1, wherein, it is described according to the usage amount in each information source in each type and should The correction value in each information source in type, it is weighted to obtain the hot value in each information source, including:
According to current information source in the usage amount sum in each information source, the first weight coefficient and this type in each type Usage amount obtain the first computational item;
According to currently being provided in the correction value sum in each information source, first weight coefficient and this type in this type The correction value in news source obtains the second computational item;
Current information source in this type is obtained according to first computational item, the second weight coefficient and second computational item Hot value.
3. the method according to claim 11, in addition to:
The hot value that each information source is calculated is modified.
4. according to the method for claim 3, wherein, the described pair of hot value that each information source is calculated is modified, Including:
Calculate repairing for each information source in the first weight coefficient for making error function minimum, the second weight coefficient and this type On the occasion of making each information in the first minimum weight coefficient of error function, the second weight coefficient and this type using described The correction value in source, recalculate to obtain the hot value in each information source;The error function is each information source in each type Model error sum, the heat that the model error is calculated for actual metered hot value and the information source in the information source The difference of angle value.
5. the method according to claim 11, in addition to:
The time being modified according to the determination of the frequency of use in the information source the hot value that each information source is calculated Every.
6. according to the method for claim 1, wherein, it is suitable to determine that information source is downloaded offline according to the hot value in the information source Sequence, including:
Heat range L is determined according to the hot value in the information sourcej, Lj=j, j span are 1 to n positive integer, and n is institute State the sum of Heat range;Each Heat range LjCorresponding download parameters Pj, PjSpan be 1 to j positive integer, PjInitial value be 1;
By the first more New r4 LMAnd meet PjHeat range corresponding to=j download parameters is defined as more New r4 and added more New r4 sequence, LMInitial value be 1, M span be 1 to n positive integer;
The offline downloading order in information source is determined according to the renewal rate sequence, same information source more in New r4 is according to described The hot value in information source sorts from high to low determines the offline downloading order in information source;
Update the download parameters Pj=Pj+ 1, wherein, if Pj> j, then Pj=1;Update the described first more New r4 LM=LM+ 1, wherein, if LM> n, then LM=1.
7. the method according to claim 11, in addition to:
According to the frequency of use in the information source determine according to the offline downloading order in information source carry out that information source downloads offline when Between be spaced.
8. a kind of offline download apparatus, including:
Computing unit, for calculating the hot value in the information source according to the usage amount in information source;The computing unit includes:Point Class subelement, for information source to be divided into several type;Computation subunit, according to the use in each information source in each type The correction value in each information source, is weighted to obtain the hot value in each information source in amount and this type;
First determining unit, for determining the offline downloading order in information source according to the hot value in the information source.
CN201510112096.5A 2015-03-13 2015-03-13 A kind of offline download method and device Active CN104660712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510112096.5A CN104660712B (en) 2015-03-13 2015-03-13 A kind of offline download method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510112096.5A CN104660712B (en) 2015-03-13 2015-03-13 A kind of offline download method and device

Publications (2)

Publication Number Publication Date
CN104660712A CN104660712A (en) 2015-05-27
CN104660712B true CN104660712B (en) 2017-12-15

Family

ID=53251399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510112096.5A Active CN104660712B (en) 2015-03-13 2015-03-13 A kind of offline download method and device

Country Status (1)

Country Link
CN (1) CN104660712B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN103024044A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and device for downloading web pages
CN103049452A (en) * 2011-10-14 2013-04-17 百度在线网络技术(北京)有限公司 Method and device for performing application sequencing based on estimated download rate
CN103795740A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Downloading method of plug-in installation packages and downloading terminal
CN104284214A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Downloading system of film and television resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN103049452A (en) * 2011-10-14 2013-04-17 百度在线网络技术(北京)有限公司 Method and device for performing application sequencing based on estimated download rate
CN103795740A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Downloading method of plug-in installation packages and downloading terminal
CN103024044A (en) * 2012-12-14 2013-04-03 北京奇虎科技有限公司 Method and device for downloading web pages
CN104284214A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Downloading system of film and television resources

Also Published As

Publication number Publication date
CN104660712A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
Zhou et al. A truthful online mechanism for location-aware tasks in mobile crowd sensing
US11138516B2 (en) GPU enhanced graph model build and scoring engine
CN104462593B (en) A kind of method and apparatus that the push of user individual message related to resources is provided
CN105897616B (en) Resource allocation method and server
CN108574706B (en) Media file pushing method and device
JP7287397B2 (en) Information processing method, information processing apparatus, and information processing program
CN107704485A (en) A kind of position recommends method and computing device
Chan et al. Modelling customer satisfaction for product development using genetic programming
CN106776925B (en) Method, server and system for predicting gender of mobile terminal user
WO2019084560A1 (en) Neural architecture search
CN109961142A (en) A kind of Neural network optimization and device based on meta learning
CN108021673A (en) A kind of user interest model generation method, position recommend method and computing device
CN107643983A (en) A kind of test data processing method and system
US20230206132A1 (en) Method and Apparatus for Training AI Model, Computing Device, and Storage Medium
Ranjbar A path-relinking metaheuristic for the resource levelling problem
CN107608893A (en) A kind of pressure test dispatching method, device, dispatch server and computing device
CN109389424A (en) Flow allocation method, device, electronic equipment and storage medium
CN114943284A (en) Data processing system and method of behavior prediction model
CN105681089B (en) Networks congestion control clustering method, device and terminal
CN113256100B (en) Teaching method and system for indoor design based on virtual reality technology
CN109075987A (en) Optimize digital assembly analysis system
CN109993562B (en) Satisfaction degree simulation method and device and terminal equipment
CN104660712B (en) A kind of offline download method and device
CN109086995A (en) Evaluation method, device, equipment and the storage medium of application program download path
CN106372151B (en) A kind of information push method and device based on the identification of user's gender

Legal Events

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