CN106790388A - A kind of method and mobile terminal for carrying out data renewal - Google Patents

A kind of method and mobile terminal for carrying out data renewal Download PDF

Info

Publication number
CN106790388A
CN106790388A CN201611052957.6A CN201611052957A CN106790388A CN 106790388 A CN106790388 A CN 106790388A CN 201611052957 A CN201611052957 A CN 201611052957A CN 106790388 A CN106790388 A CN 106790388A
Authority
CN
China
Prior art keywords
data
download
updates
updating
network connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611052957.6A
Other languages
Chinese (zh)
Inventor
杨东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611052957.6A priority Critical patent/CN106790388A/en
Publication of CN106790388A publication Critical patent/CN106790388A/en
Pending legal-status Critical Current

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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Landscapes

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

Abstract

The invention discloses a kind of method for carrying out data renewal, including:Reception updates the data download policy from what data distributing server was issued;The first time point that startup updates the data download is calculated according to the download policy that updates the data;Start the download for updating the data in first time point, run updating the data for the download.The download time of the clearly each terminal of data-updating method provided by the present invention so that parallel downloading task planned can be completed, reduces the quantitative requirement for server.Additionally, present invention also offers a kind of mobile terminal of the use above method.

Description

A kind of method and mobile terminal for carrying out data renewal
Technical field
The invention belongs to communication technical field, more particularly to a kind of method and mobile terminal for carrying out data renewal.
Background technology
With the popularization of mobile terminal, the request of data of high concurrent in internet can cause server to need in a short time Substantial amounts of request is processed, if running into such as software version update, resource downloading business, the communication of whole network can be caused to gather around It is stifled, the phenomenon such as server operating lag, it is contemplated that by a kind of hashing algorithm, solving this technical problem.
The content of the invention
In view of this, this application provides a kind of method and mobile terminal for carrying out data renewal, to solve prior art In under high concurrent request of data state, cause network service congestion, the technical problem of server operating lag.
The method for carrying out data renewal that the application is provided, including:The renewal number that reception is issued from data distributing server According to download policy;The first time point that startup updates the data download is calculated according to the download policy that updates the data;In first Time point starts the download for updating the data, and runs updating the data for the download.
Preferably, the download policy that updates the data includes:Download hashed value, download come into force initial time and download come into force Time period.
Preferably, the download policy that updates the data is further included:It is updated the network connection type of data download; Then
In first time point, the network connection type is determined whether, preset network connection type condition is met at it When, start described in the download that updates the data.
Preferably, it is described to update the data the quantity that download policy is updated the terminal of data distribution as needed, it is determined that At least one of the download hashed value, download entry-into-force time section.
Preferably, the basis updates the data download policy and calculates the first time point bag for starting and updating the data download Include:
Mobile terminal is calculated according to formula $ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p Startup updates the data the first time point of download, and wherein $ t are first time point, $ start_time for download come into force starting when Between, to download entry-into-force time section, $ p are hash coefficient to N, and the hashed value is the random number generated according to the hash coefficient.
Preferably, further include:If the network type information does not meet preset network connection type, stop to institute The download for updating the data is stated, and after network connection type meets preset network connection type, from the data distributing server Direct access can be updated the second time point of data download, and the download for updating the data is started at the second time point.
Preferably, the download policy that updates the data is further included:Hardware unique identifier with current device is relative That answers updates the data version information, and this updates the data hardware of the version information by data distributing server foundation current device Unique identifier carries out correspondence production.
Preferably, the download policy that updates the data is further included:The application of the use user feedback of current device is asked Topic whether the status information being solved in current down loading updating data.
Preferably, the download policy that updates the data is further included:Current down loading updating data are in miscellaneous equipment In be updated the evaluation information of quantity and/or miscellaneous equipment with regard to current down loading updating data of operation.
Preferably, during the data distributing server is the distributed server cluster for realizing load balancing At least one server;
Then the data distributing server be each assigned at its be updated the download hashed value of data downloading task, under Load comes into force initial time and download entry-into-force time section.
Preferably, further include:Return to whether current device has completed the data to the data distributing server The status information of renewal.
Preferably, further include:
When the network connection type is that non-WIFI is connected, suspend the download for updating the data, and will be current The halted state information of downloading task, the hardware unique identifier of current device return to the data distributing server;
When the network connection type reverts to WIFI and connects, the hardware unique identifier of current device is sent to institute Data distributing server is stated, is existed according to the hardware unique identifier of current device, the halted state information of current downloading task Being got in the data distributing server can be updated the link of data download, to start the download for updating the data.
Present invention also offers a kind of mobile terminal, including:Receiving unit, issues for receiving from data distributing server Update the data download policy;First timing unit, startup renewal number is calculated for updating the data download policy according to According to the first time point downloaded;Running unit, for starting the download for updating the data in first time point, runs the download Update the data.
Preferably, the download policy that updates the data includes:Download hashed value, download come into force initial time and download come into force Time period.
Preferably, data distributing server, is additionally operable to update the data the network connection type of download;The mobile terminal is also Including:
Network connection type judging unit, in first time point, determining whether the network connection type, at it When meeting preset network connection type condition, the download updated the data described in startup.
Preferably, also include:Policy determining unit, the quantity of the terminal for being updated data distribution as needed, Determine the download hashed value, download at least one of entry-into-force time section.
Preferably, also including the second timing unit, for judging network connection type in network connection type judging unit After meeting preset network connection type, when can be updated the second of data download from the data distributing server direct access Between point, start the download that updates the data at the second time point.
Preferably, also include:Problem judgment unit, the application problem of use user feedback for judging current device is The no status information being solved in current down loading updating data.
Preferably, also include:Historical information acquiring unit, for obtaining current down loading updating data in miscellaneous equipment In be updated the evaluation information of quantity and/or miscellaneous equipment with regard to current down loading updating data of operation.
Preferably, also include:First information feedback unit, be for returning to current device to the data distributing server It is no to have completed the status information that the data update.
Preferably, also include:Second information feedback unit, for judging described when the network connection type judging unit It is when network connection type is that non-WIFI is connected, the hardware of the halted state information of current downloading task, current device is unique Identifier returns to the data distributing server;It is additionally operable to judge the network connection when the network connection type judging unit Type recovery for WIFI connect when, the hardware unique identifier of current device is sent to the data distributing server, foundation The hardware unique identifier of current device, the halted state information of current downloading task are obtained in the data distributing server The link that can be updated data download is got, to start the download for updating the data.
Relative to prior art, the scheme that the present invention is provided, on the one hand by download time of clearly each terminal so that Parallel downloading task planned can be completed, and reduce the quantitative requirement for server.On the other hand, evaluation work is transferred Completed to end side, the powerful computing function of existing mobile terminal is taken full advantage of, while reducing the performance for server It is required that.
The aspects of the invention or other aspects can more straightforwards in the following description.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings Figure.
Fig. 1 shows the flow chart of the data download method of the embodiment provided according to the present invention;
Fig. 2 shows the system architecture diagram of the mobile terminal provided according to the present invention.
Reference:
Receiving unit 10;First timing unit 201;Second timing unit 202;Running unit 30;Network connection type is sentenced Disconnected unit 40;Policy determining unit 50;Problem judgment unit 60;Historical information acquiring unit 70;First information feedback unit 801;Second information feedback unit 802.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention.
In some flows of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to Multiple operations of particular order appearance, but it should be clearly understood that these operations can not be according to the suitable of its appearance herein Sequence is performed or executed in parallel.In addition, these flows can include more or less operation, and these operations can be by suitable Sequence is performed or executed in parallel.It should be noted that " first ", " second " herein etc. describes, it is for distinguishing different disappearing Breath, equipment, module etc., do not represent sequencing, and it is different types also not limit " first " and " second ".
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Fig. 1 is the data download flow chart invention shows first embodiment of the invention, as shown in figure 1, the present invention is carried The method for carrying out data renewal for supplying, including, step S10:Reception updates the data download plan from what data distributing server was issued Slightly;Step S20:The first time point that startup updates the data download is calculated according to the download policy that updates the data;And step Rapid S30:Start the download for updating the data in first time point, run updating the data for the download.The data that the present invention is provided Method for down loading can reduce pin by the download time of clearly each terminal so that parallel downloading task planned can be completed To the quantitative requirement of server.Wherein, the download policy that updates the data includes:Download hashed value, download the initial time that comes into force And download entry-into-force time section, the method receives the download hashed value that issues from data distributing server, download and comes into force initial time And entry-into-force time section is downloaded, calculate startup more according to downloading hashed value, downloading to come into force initial time and download entry-into-force time section The first time point that new data is downloaded, after first time point is obtained, the download for updating the data, operation is started in first time point The download is updated the data.Wherein, download hashed value, download come into force initial time and in the download entry-into-force time section at least one Individual is that the quantity of the terminal for being updated data distribution as needed determines, than if desired for the terminal for being updated data distribution Quantity it is different, then it is different to download the initial time that comes into force.Additionally, the download policy that updates the data can also be wrapped further Include:The quantity and/or miscellaneous equipment that current down loading updating data are updated operation in miscellaneous equipment are just currently downloaded more The evaluation information of new data.Further, it is also possible to set in the method be to data distributing server return current device No to have completed the status information that the data update, whether the data renewal can have thus been completed to current device to be carried out Monitoring and management.
For starting the first time point for updating the data download according to updating the data download policy and calculate mobile terminal Method, the present invention is obtained by following formula, and specific formula is:
$ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p.
Wherein $ t are first time point, and $ start_time come into force initial time for download, and N is to download entry-into-force time section, $ p It is hash coefficient, the hashed value is the random number generated according to the hash coefficient.By above-mentioned formula, can be calculated At one time point, after first time point is obtained, the download for updating the data is started in first time point, run the renewal of the download Data.
Download policy is updated the data in order to further improve, further includes to be updated the network connection class of data download The judgement of type, that is to say, that except initial time and downloading entry-into-force time section and calculating and open according to downloading hashed value, download and come into force The dynamic first time point for updating the data download, in addition it is also necessary to determine whether the network connection type, preset network is met at it During connection type condition, the download updated the data described in startup is that WIFI links mould such as when preset network connection type is judged Formula, but current network connection type is 4G networks, then will not start the download for updating the data.Further, if institute State network type information and do not meet preset network connection type, stop to the download for updating the data, and in network connection class After type meets preset network connection type, the second of data download can be updated from the data distributing server direct access At time point, the download for updating the data is started at the second time point.Can also directly be set as in the network connection type right and wrong When WIFI is connected, suspend the download for updating the data, and by the halted state information of current downloading task, currently set Standby hardware unique identifier returns to the data distributing server;When the network connection type reverts to WIFI and connects, The hardware unique identifier of current device is sent to the data distributing server, according to the hardware unique mark of current device Symbol, the halted state information of current downloading task get in the data distributing server can be updated data download Link, to start the download that updates the data.
In order to accurately carry out data download, update the data download policy and further include:With the hardware of current device only One identifier it is corresponding update the data version information, this update the data version information by the data distributing server according to work as The hardware unique identifier of preceding equipment carries out correspondence production.
In order that every time update the data download premise ensure that problem before it is settled basis on, it is described more New data download policy is further included:Whether the application problem of the use user feedback of current device is in current down loading updating The status information being solved in data.
In order to further reduce the pressure of Distributor, data distributing server is set to distribution, data point Hair server is set to distributed realize at least one of server cluster of load balancing server, such institute State data distributing server be each assigned at its be updated data downloading task download hashed value, download come into force starting when Between and download the entry-into-force time section, it is possible to achieve the concurrent working of data distributing server.
The method for carrying out data renewal provided by the present invention, is received from updating the data that data distributing server is issued Download policy, such as, it is to be updated data to 100 mobile terminals to download to update the data download policy, according to 100 shiftings The task computation that dynamic terminal is updated data download goes out to start the first time point that every mobile terminal to update data are downloaded, than Such as calculate the 1st mobile terminal start update the data the first time point of download for 0 point 0 second 0 minute, then the 1st mobile terminal Start within 0 second 0 minute the download for updating the data at 0 point, run updating the data for the download.The method of first time point, the present invention Obtained by following formula, specific formula is:
$ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p.
Wherein $ t are first time point, and $ start_time come into force initial time for download, and N is to download entry-into-force time section, $ p It is hash coefficient, the hashed value is the random number generated according to the hash coefficient.By above-mentioned formula, can be calculated At one time point, after first time point is obtained, the download for updating the data is started in first time point, run the renewal of the download Data.
Wherein, the download policy that updates the data includes:Download hashed value, download and come into force initial time and download when coming into force Between section, download hashed value, download come into force initial time and download entry-into-force time section at least one of be to carry out as needed more What the quantity of the terminal of new data distribution determined, than the quantity difference if desired for the terminal for being updated data distribution, then download The initial time that comes into force is different.Except according to download hashed value, downloading come into force initial time and the section calculating of download entry-into-force time Go out to start the first time point for updating the data download, in addition it is also necessary to determine whether the network connection type, in mobile terminal symbol When closing preset network connection type condition, start described in the download that updates the data, such as when judging that preset network connection type is WIFI linking schemes, but current network connection type is 4G networks, then will not start the download for updating the data.
If 50 mobile terminals are updated data download to current down loading updating data, then can will be updated fortune Capable quantity and the evaluation information of current down loading updating data feed back to Distributor end.For the application that mobile terminal feeds back Whether the status information being solved in current down loading updating data needs to be returned to the data distributing server problem.It is right Whether complete to update the data download in this 100 mobile terminals, it is also desirable to whether complete returned to the data distributing server Into the data update status information, whether this 100 mobile terminals can thus have been completed the data update into Row monitoring and management.
As shown in Fig. 2 present invention also offers a kind of mobile terminal, including:Receiving unit 10, for receiving from data point What hair server was issued updates the data download policy, the first timing unit 201, based on updating the data download policy according to The first time point for starting and updating the data download, and running unit 30 are calculated, is updated the data for starting in first time point Download, run the download and update the data.The present invention provide mobile terminal can by the download of clearly each terminal when Between so that parallel downloading task planned can be completed, reduce the quantitative requirement for server.Wherein, the renewal number Include according to download policy:Download hashed value, download to come into force initial time and download entry-into-force time section, the mobile terminal is by receiving Unit 10 receives the download hashed value that issues from data distributing server, download and comes into force initial time and downloads entry-into-force time section, By the first timing unit 201 according to download hashed value, download come into force initial time and download the entry-into-force time section calculate startup The first time point of download is updated the data, after first time point is obtained, is started more in first time point by running unit 30 The download of new data, runs updating the data for the download.Wherein, the mobile terminal also includes policy determining unit 50, plan Slightly determining unit 50 can as needed be updated the quantity determination download hashed value of the terminal of data distribution, download and come into force At least one of time beginning and download entry-into-force time section, than the quantity difference if desired for the terminal for being updated data distribution, It is different then to download the initial time that comes into force.Additionally, mobile terminal also includes historical information acquiring unit 70, it is current for obtaining Down loading updating data are updated the quantity and/or miscellaneous equipment of operation with regard to current down loading updating data in miscellaneous equipment Evaluation information.Additionally, changing mobile terminal also includes first information feedback unit 801, can be with by first information feedback unit 801 Return to whether current device has completed the status information that the data update to the data distributing server, thus can be right Whether current device has completed the data renewal is monitored and management.
For the method that the first timing unit 201 obtains first time point, the present invention is obtained by following formula, specifically Formula is:
$ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p.
Wherein $ t are first time point, and $ start_time come into force initial time for download, and N is to download entry-into-force time section, $ p It is hash coefficient, the hashed value is the random number generated according to the hash coefficient.By above-mentioned formula, can be calculated At one time point, after first time point is obtained by the first timing unit 201, started in first time point by running unit 30 The download for updating the data, runs updating the data for the download.
In order to further improve the download policy that updates the data of mobile terminal of the present invention, the mobile terminal that the present invention is provided enters One step includes network connection type judging unit 40, and the net that data are downloaded is updated by network connection type judging unit 40 The judgement of network connection type, that is to say, that except according to download hashed value, downloading come into force initial time and download entry-into-force time section Calculate the first time point for starting and updating the data download, in addition it is also necessary to determine whether the network connection type, meet at it During preset network connection type condition, the download updated the data described in startup, such as when network connection type judging unit 40 is sentenced The preset network connection type that breaks is WIFI linking schemes, but current network connection type is 4G networks, then will not be by operation Unit 30 starts the download for updating the data.Further, if network connection type judging unit 40 judges network type Information does not meet preset network connection type, stops to the download for updating the data, additionally, the mobile terminal that the present invention is provided Also include the second timing unit 202, after network connection type meets preset network connection type, by the second timing unit It is 202 the second time points that data download can be updated from the data distributing server direct access, logical at the second time point Cross running unit 30 and start the download for updating the data.Directly preset network connection type setting WIFI is being connected, in the net When network connection type is that non-WIFI is connected, suspend the download for updating the data, and by the second information feedback unit 802 The hardware unique identifier of the halted state information of current downloading task, current device is returned into the Data distributing Device;When the network connection type reverts to WIFI and connects, by the second information feedback unit 802 by the hardware of current device Unique identifier is sent to the data distributing server, appoints according to the hardware unique identifier of current device, current download The halted state information of business gets in the data distributing server can be updated the link of data download, to start more The download of new data.
In order that the premise for updating the data download every time ensure that on the settled basis of problem before, the movement Terminal also includes Problem judgment unit 60, judges that the application of the use user feedback of current device is asked by Problem judgment unit 60 Topic whether the status information being solved in current down loading updating data.
Relative to prior art, the scheme that the present invention is provided, on the one hand by download time of clearly each terminal so that Parallel downloading task planned can be completed, and reduce the quantitative requirement for server;On the other hand, evaluation work is transferred Completed to end side, the powerful computing function of existing mobile terminal is taken full advantage of, while reducing the performance for server It is required that.
In several embodiments provided herein, it should be understood that disclosed mobile terminal and method, Ke Yitong Other modes are crossed to realize.For example, mobile terminal embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or group Part can be combined or be desirably integrated into another system, or some features can be ignored, or not performed.It is another, it is shown Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of unit or Communication connection, can be electrical, mechanical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of step in realizing above-described embodiment method can be The hardware of correlation is instructed to complete by program, described program can be stored in a kind of computer-readable recording medium, on It can be read-only storage, disk or CD etc. to state the storage medium mentioned.
A kind of user equipment provided by the present invention is described in detail above, for the general technology people of this area Member, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, in sum, This specification content should not be construed as limiting the invention.
The embodiment of the present invention is further disclosed:A1, a kind of method for carrying out data renewal, it is characterised in that including:
Reception updates the data download policy from what data distributing server was issued;
The first time point that startup updates the data download is calculated according to the download policy that updates the data;
Start the download for updating the data in first time point, run updating the data for the download.
A2, the method according to A1, it is characterised in that the download policy that updates the data includes:Download hashed value, under Load comes into force initial time and download entry-into-force time section.
A3, the method according to A2, it is characterised in that the download policy that updates the data is further included:Carry out more The judgement of the network connection type that new data is downloaded;Then
In first time point, the network connection type is determined whether, preset network connection type condition is met at it When, start described in the download that updates the data.
A4, the method according to A2, it is characterised in that the download policy that updates the data is updated number as needed According to the quantity of the terminal of distribution, determine the download hashed value, download at least one of entry-into-force time section.
A5, the method according to A2, it is characterised in that the basis updates the data download policy and calculates startup renewal The first time point that data are downloaded includes:
Mobile terminal is calculated according to formula $ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p Startup updates the data the first time point of download, and wherein $ t are first time point, $ start_time for download come into force starting when Between, to download entry-into-force time section, $ p are hash coefficient to N, and the hashed value is the random number generated according to the hash coefficient.
A6, the method according to A3, it is characterised in that further include:If the network type information does not meet Preset network connection type, stops to the download for updating the data, and meet preset network connection class in network connection type After type, the second time point of data download can be updated from the data distributing server direct access, at the second time point The download that startup is updated the data.
A7, the method according to A2, it is characterised in that the download policy that updates the data is further included:With it is current The hardware unique identifier of equipment it is corresponding update the data version information, this updates the data version information by the data distribution Server carries out correspondence production according to the hardware unique identifier of current device.
A8, the method according to A7, it is characterised in that the download policy that updates the data is further included:Currently set The application problem of standby use user feedback whether the status information being solved in current down loading updating data.
A9, the method according to A1, it is characterised in that the download policy that updates the data is further included:When front lower Load updates the data quantity and/or miscellaneous equipment the commenting with regard to current down loading updating data that operation is updated in miscellaneous equipment Valency information.
A10, the method according to A2, it is characterised in that the data distributing server for it is distributed realize it is negative Carry at least one of the server cluster of balance policy server;
Then the data distributing server be each assigned at its be updated the download hashed value of data downloading task, under Load comes into force initial time and download entry-into-force time section.
A11, the method according to A1, it is characterised in that further include:Returned to the data distributing server and worked as Whether preceding equipment has completed the status information that the data update.
A12, the method according to A3, it is characterised in that further include:
When the network connection type is that non-WIFI is connected, suspend the download for updating the data, and will be current The halted state information of downloading task, the hardware unique identifier of current device return to the data distributing server;
When the network connection type reverts to WIFI and connects, the hardware unique identifier of current device is sent to institute Data distributing server is stated, is existed according to the hardware unique identifier of current device, the halted state information of current downloading task Being got in the data distributing server can be updated the link of data download, to start the download for updating the data.
The embodiment of the present invention further discloses B13, a kind of mobile terminal, it is characterised in that including:
Receiving unit, update the data download policy from what data distributing server was issued for receiving;
First timing unit, for according to it is described update the data download policy and calculate to start update the data the first of download Time point;
Running unit, for starting the download for updating the data in first time point, runs updating the data for the download.
B14, the mobile terminal according to B13, it is characterised in that the download policy that updates the data includes:Download and dissipate Train value, download come into force initial time and download entry-into-force time section.
B15, the mobile terminal according to B14, it is characterised in that data distributing server, are additionally operable to update the data down The network connection type of load;
The mobile terminal also includes:
Network connection type judging unit, in first time point, determining whether the network connection type, at it When meeting preset network connection type condition, the download updated the data described in startup.
B16, the mobile terminal according to B14, it is characterised in that also include:
Policy determining unit, the quantity of the terminal for being updated data distribution as needed determines that described download dissipates At least one of train value, download entry-into-force time section.
B17, the mobile terminal according to B15, it is characterised in that also include:
Second timing unit, for judging that network connection type meets preset network and connects in network connection type judging unit After connecing type, the second time point of data download can be updated from the data distributing server direct access, at second Between put and start the download that updates the data.
B18, the mobile terminal according to B13, it is characterised in that also include:
Problem judgment unit, for judging whether the application problem of use user feedback of current device is downloaded currently The status information being solved in updating the data.
B19, the mobile terminal according to B13, it is characterised in that also include:
Historical information acquiring unit, operation is updated for obtaining current down loading updating data in miscellaneous equipment The evaluation information of quantity and/or miscellaneous equipment with regard to current down loading updating data.
B20, the mobile terminal according to B13, it is characterised in that also include:
First information feedback unit, for returning to whether current device has completed the number to the data distributing server According to the status information for updating.
B21, the mobile terminal according to B15, it is characterised in that also include:
Second information feedback unit, for judging that the network connection type is when the network connection type judging unit When non-WIFI is connected, the hardware unique identifier of the halted state information of current downloading task, current device is returned described Data distributing server;
It is additionally operable to when the network connection type judging unit judges that the network connection type reverts to WIFI connections, The hardware unique identifier of current device is sent to the data distributing server, according to the hardware unique mark of current device Symbol, the halted state information of current downloading task get in the data distributing server can be updated data download Link, to start the download that updates the data.

Claims (10)

1. a kind of method for carrying out data renewal, it is characterised in that including:
Reception updates the data download policy from what data distributing server was issued;
The first time point that startup updates the data download is calculated according to the download policy that updates the data;
Start the download for updating the data in first time point, run updating the data for the download.
2. method according to claim 1, it is characterised in that the download policy that updates the data includes:Download hashed value, Download comes into force initial time and download entry-into-force time section.
3. method according to claim 2, it is characterised in that the download policy that updates the data is further included:Carry out Update the data the judgement of the network connection type of download;Then
In first time point, the network connection type is determined whether, when it meets preset network connection type condition, opened The dynamic download for updating the data.
4. method according to claim 2, it is characterised in that the download policy that updates the data is updated as needed The quantity of the terminal of data distribution, determines the download hashed value, downloads at least one of entry-into-force time section.
5. method according to claim 2, it is characterised in that the basis updates the data download policy and calculates startup more The first time point that new data is downloaded includes:
Mobile terminal is calculated according to formula $ t=$ start_time+ (number of seconds * hashed values in N* unit intervals)/$ p to start Update the data the first time point of download, wherein $ t are first time point, $ start_time come into force initial time for download, N is Entry-into-force time section is downloaded, $ p are hash coefficient, and the hashed value is the random number generated according to the hash coefficient.
6. method according to claim 2, it is characterised in that the download policy that updates the data is further included:With work as The hardware unique identifier of preceding equipment it is corresponding update the data version information, this updates the data version information by the data point Hair server carries out correspondence production according to the hardware unique identifier of current device.
7. method according to claim 2, it is characterised in that the data distributing server for it is distributed realize it is negative Carry at least one of the server cluster of balance policy server;
Then the data distributing server is each assigned at its and is updated the download hashed value of data downloading task, downloads life Effect initial time and download entry-into-force time section.
8. a kind of mobile terminal, it is characterised in that including:
Receiving unit, update the data download policy from what data distributing server was issued for receiving;
First timing unit, the very first time for updating the data download is started for updating the data download policy according to and calculating Point;
Running unit, for starting the download for updating the data in first time point, runs updating the data for the download.
9. mobile terminal according to claim 8, it is characterised in that the download policy that updates the data includes:Download and dissipate Train value, download come into force initial time and download entry-into-force time section.
10. mobile terminal according to claim 9, it is characterised in that data distributing server, is additionally operable to update the data down The network connection type of load;
The mobile terminal also includes:
Network connection type judging unit, in first time point, determining whether the network connection type, meets at it During preset network connection type condition, the download updated the data described in startup.
CN201611052957.6A 2016-11-24 2016-11-24 A kind of method and mobile terminal for carrying out data renewal Pending CN106790388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611052957.6A CN106790388A (en) 2016-11-24 2016-11-24 A kind of method and mobile terminal for carrying out data renewal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611052957.6A CN106790388A (en) 2016-11-24 2016-11-24 A kind of method and mobile terminal for carrying out data renewal

Publications (1)

Publication Number Publication Date
CN106790388A true CN106790388A (en) 2017-05-31

Family

ID=58911235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611052957.6A Pending CN106790388A (en) 2016-11-24 2016-11-24 A kind of method and mobile terminal for carrying out data renewal

Country Status (1)

Country Link
CN (1) CN106790388A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436735A (en) * 2017-07-28 2017-12-05 郑州云海信息技术有限公司 State of memory cells update method in a kind of distributed file system
CN107888654A (en) * 2017-09-30 2018-04-06 北京诺君安信息技术股份有限公司 A kind of method updated the data by time zone and server
CN110609696A (en) * 2019-09-17 2019-12-24 广东小天才科技有限公司 Software upgrading method and system, terminal equipment and server
CN111091678A (en) * 2019-12-27 2020-05-01 甬港现代工程有限公司 Light indicating device
CN111246229A (en) * 2020-01-07 2020-06-05 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for updating gift resources of live broadcast room
WO2021139383A1 (en) * 2020-01-07 2021-07-15 北京字节跳动网络技术有限公司 Live broadcast room gift resource updating method and apparatus, and medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428290A (en) * 2013-08-19 2013-12-04 北京网秦天下科技有限公司 Method and device for pushing data
CN104052769A (en) * 2013-03-13 2014-09-17 金蝶软件(中国)有限公司 Method, apparatus and system for updating resources contained by mobile terminal application
CN105610939A (en) * 2015-12-28 2016-05-25 北京致远协创软件有限公司 Client and server file downloading control method, device and system
CN105933370A (en) * 2015-12-30 2016-09-07 中国银联股份有限公司 Data download management method and device
CN105978962A (en) * 2016-05-09 2016-09-28 珠海市魅族科技有限公司 Download task control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052769A (en) * 2013-03-13 2014-09-17 金蝶软件(中国)有限公司 Method, apparatus and system for updating resources contained by mobile terminal application
CN103428290A (en) * 2013-08-19 2013-12-04 北京网秦天下科技有限公司 Method and device for pushing data
CN105610939A (en) * 2015-12-28 2016-05-25 北京致远协创软件有限公司 Client and server file downloading control method, device and system
CN105933370A (en) * 2015-12-30 2016-09-07 中国银联股份有限公司 Data download management method and device
CN105978962A (en) * 2016-05-09 2016-09-28 珠海市魅族科技有限公司 Download task control method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436735A (en) * 2017-07-28 2017-12-05 郑州云海信息技术有限公司 State of memory cells update method in a kind of distributed file system
CN107888654A (en) * 2017-09-30 2018-04-06 北京诺君安信息技术股份有限公司 A kind of method updated the data by time zone and server
CN107888654B (en) * 2017-09-30 2020-10-16 北京诺君安信息技术股份有限公司 Method and server for updating data according to time zones
CN110609696A (en) * 2019-09-17 2019-12-24 广东小天才科技有限公司 Software upgrading method and system, terminal equipment and server
CN111091678A (en) * 2019-12-27 2020-05-01 甬港现代工程有限公司 Light indicating device
CN111246229A (en) * 2020-01-07 2020-06-05 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for updating gift resources of live broadcast room
WO2021139383A1 (en) * 2020-01-07 2021-07-15 北京字节跳动网络技术有限公司 Live broadcast room gift resource updating method and apparatus, and medium and electronic device
CN111246229B (en) * 2020-01-07 2022-01-25 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for updating gift resources of live broadcast room

Similar Documents

Publication Publication Date Title
CN106790388A (en) A kind of method and mobile terminal for carrying out data renewal
CN104158755B (en) The methods, devices and systems of transmitting message
CN104063574B (en) Troop's battle matching process and server
CN107222426A (en) The method of flow control, apparatus and system
CN105242956B (en) Virtual functions service chaining deployment system and its dispositions method
CN103248521B (en) Method, device and the communication system of a kind of business game rule configuration
CN110392052A (en) A kind of block chain intelligence contract processing system and method
CN108768877A (en) A kind of distribution method of burst flow, device and proxy server
CN109660376A (en) A kind of mapping method of virtual network, equipment and storage medium
CN108173894A (en) The method, apparatus and server apparatus of server load balancing
CN110032393A (en) A kind of micro services dissemination method, device, equipment and medium
CN108259238A (en) The method that network function service chaining maps in data center
CN109248440B (en) A kind of method and system for realizing the real-time dynamically load configuration of game
CN110795217B (en) Task allocation method and system based on resource management platform
CN108738082A (en) Conversation processing method, apparatus and system
CN107229397A (en) A kind of method, system, terminal and storage device for improving terminal fluency
CN107105049B (en) Data migration method and device
CN110430590A (en) Network is sliced matching process and device
CN108289246A (en) Data processing method, device, storage medium and electronic device
CN110213345A (en) A kind of AI algorithm management system
CN105376151B (en) The shunt method and system of ABtest platform
CN108055701A (en) A kind of resource regulating method and base station
CN104683252B (en) A kind of gateway applied to gaming network is connected into method and system
CN110147277A (en) A kind of resource dynamic deployment method, device, server and storage medium
CN110083504A (en) The running state monitoring method and device of distributed task scheduling

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170801

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

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

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

Applicant before: Beijing Qihu Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531