CN105868068A - Downloading optimization method and device of terminal equipment startup video - Google Patents
Downloading optimization method and device of terminal equipment startup video Download PDFInfo
- Publication number
- CN105868068A CN105868068A CN201510882651.2A CN201510882651A CN105868068A CN 105868068 A CN105868068 A CN 105868068A CN 201510882651 A CN201510882651 A CN 201510882651A CN 105868068 A CN105868068 A CN 105868068A
- Authority
- CN
- China
- Prior art keywords
- terminal unit
- network environment
- scene
- intelligent evaluation
- evaluation result
- 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
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a downloading optimization method and device of a terminal equipment startup video. The method comprises the following steps: a reception step: receiving a push message, sent by a server, of the terminal equipment startup video; an evaluation step: carrying out intelligent evaluation on the status of terminal equipment according to state information of the terminal equipment so as to obtain an intelligent evaluation result; a judging step: judging whether a triggering scene is satisfied according to the intelligent evaluation result, if the judging result is positive, executing a downloading task of the terminal equipment startup video according to the triggering scene, otherwise, starting a timing task; after the timing task is finished, re-executing the evaluation step and the judging step until the downloading task of the terminal equipment startup video is ended. Through above method, the influences on the using of the terminal equipment during the task downloading are decreased, and the conditions of unsmooth terminal equipment operation, slow internet speed, high power consumption and shutdown are reduced.
Description
Technical field
The present invention relates to terminal device software development field, be specifically related to a kind of terminal unit start video
Download optimization method and device.
Background technology
Smart mobile phone has independent operating system, independent running space, can be installed voluntarily by user
Software, play, program that the third party service provider such as navigation provides, it is possible to come by mobile communication network
Realize wireless network to access, because of the function that it is powerful, gradually used by more and more people.Smart mobile phone exists
Load operating system due to needs during start, initialize, generally require the longer available machine time.Especially
It is when the application program installed in mobile phone gets more and more, and initializes the most time-consuming.Therefore intelligence
Mobile phone would generally show the picture such as mobile phone brand logo and poster when start by playing start video,
To reduce the Anxiety that user's blank screen waits.Personalized epoch, increasing user is pursued at mobile phone
Wish that start video also is able to the most novel changeable.Some smart mobile phones have begun to realize from service at present
End obtains video, it is achieved start shooting the varied of video content.
Being obtained from definition start video method existing, smart mobile phone gets video from service end and pushes away
After sending, in the case of smart mobile phone connects WiFi, just start AutoBackground download.The method is not examined
Consider the situations such as the current CPU usage of mobile phone, current electric quantity, charge condition, network environment, if used
Family is the most being played game, is being seen video, may affect network speed and cause mobile phone operation the most smooth, simultaneously
Owing to power consumption is downloaded greatly in backstage, if the existing electricity of smart mobile phone is not enough, it is easy to cause mobile phone electricity
Measure too low and shut down.
Summary of the invention
The goal of the invention of the present invention is the defect for prior art, it is provided that a kind of terminal unit start regards
The download optimization method and device of frequency, downloads the impact caused eventually for solving terminal unit start video
The problem of end equipment performance.
According to an aspect of the invention, it is provided the download optimization method of a kind of terminal unit start video,
Including: receiving step, receive the PUSH message of the terminal unit start video that server sends;Assessment step
Suddenly, according to the status information of terminal unit, the situation of terminal unit is carried out intelligent evaluation, obtain intelligence and comment
Estimate result;Judge step, judge whether to meet triggering scene according to described intelligent evaluation result, if so,
Then according to the downloading task triggering scene execution terminal unit start video;Otherwise, timed task is started;
After described timed task completes, re-execute appraisal procedure and judge step, until performing terminal unit
The downloading task of start video terminates.
Further, appraisal procedure according to the CPU usage of terminal unit, dump energy, charge condition,
And/or network environment carries out intelligent evaluation to the situation of terminal unit, obtain intelligent evaluation result.
Further, appraisal procedure includes: with CPU usage, the CPU usage of terminal unit is set threshold
Value compares, and obtains the condition grading of CPU usage;The dump energy of terminal unit is set with electricity
Determine threshold value to compare, obtain the condition grading of dump energy;According to the charge condition of terminal unit,
Condition grading to charge condition;According to the network environment of terminal unit, the state obtaining network environment is commented
Point;The calculating condition grading of CPU usage, the condition grading of dump energy, the state of charge condition are commented
Point and the summation of condition grading of network environment, obtain intelligent evaluation result.
Further, described CPU usage setting threshold value includes 5%, 10% and 20%;Described electricity sets
Determine threshold value and include 90%, 50% and 30%;Described charge condition is that power source charges, computer charging or nothing are filled
Electricity condition;Described network environment is WiFi network environment, mobile network environment or without network environment.
Further, described triggering scene includes that the first triggering scene and second triggers scene;Described judgement step
Suddenly farther include: judge whether that meeting the first triggering scene or second touches according to described intelligent evaluation result
Send out scene;If meeting the first triggering scene, then perform downloading task amount more than setting under task amount threshold value
Load task;If meeting the second triggering scene, then perform downloading task amount less than or equal to setting task amount threshold
The downloading task of value;If the first triggering scene and second triggers scene and do not complys with, then start timed task.
According to another aspect of the present invention, it is provided that the download optimization dress of a kind of terminal unit start video
Put, including: receiver module, for receiving the PUSH message of the terminal unit start video that server sends;
Evaluation module, carries out intelligent evaluation for the status information according to terminal unit to the situation of terminal unit,
Obtain intelligent evaluation result;Judge module, tactile for judging whether to meet according to described intelligent evaluation result
Send out scene;Download module, if judging that described intelligent evaluation result meets triggering scene for judge module,
According to the downloading task triggering scene execution terminal unit start video;Time block, if for judging mould
Block judges that described intelligent evaluation result does not meets triggering scene, starts timed task;Appoint in described timing
After being engaged in, trigger evaluation module and judge module action.
Further, evaluation module is used for: according to the CPU usage of terminal unit, dump energy, charging
Situation and/or network environment carry out intelligent evaluation to the situation of terminal unit, obtain intelligent evaluation result.
Further, evaluation module includes: CPU usage assessment unit, for by the CPU of terminal unit
Occupancy and CPU usage set threshold value and compare, and obtain the condition grading of CPU usage;Residue
Electricity assessment unit, compares for the dump energy of terminal unit and electricity are set threshold value, obtains
The condition grading of dump energy;Charge condition assessment unit, for the charge condition according to terminal unit,
Obtain the condition grading of charge condition;Network environment assessment unit, for the network rings according to terminal unit
Border, obtains the condition grading of network environment;Computing unit, for calculate CPU usage condition grading,
The summation of the condition grading of the condition grading of dump energy, the condition grading of charge condition and network environment,
Obtain intelligent evaluation result.
Further, described CPU usage setting threshold value includes 5%, 10% and 20%;Described electricity sets
Determine threshold value and include 90%, 50% and 30%;Described charge condition is that power source charges, computer charging or nothing are filled
Electricity condition;Described network environment is WiFi network environment, mobile network environment or without network environment.
Further, trigger scene and include that the first triggering scene and second triggers scene;Described judge module enters
One step is used for: judge whether that meeting the first triggering scene or second triggers field according to described intelligent evaluation result
Scape;Described download module is further used for: if described judge module is judged to meet the first triggering scene,
Then perform downloading task amount more than the downloading task setting task amount threshold value;If described judge module is judged
Meet the second triggering scene, then perform downloading task amount and appoint less than or equal to the download setting task amount threshold value
Business;Described time block is further used for: if described judge module judges the first triggering scene and second
Triggering scene does not complys with, then start timed task;After described timed task arrives, trigger assessment mould
Block and judge module action.
The download optimization method of the terminal unit start video according to the present invention and device, determining that start regards
Frequently after pushed information task download, the status information of intelligent evaluation present terminal equipment, comment according to intelligence
Estimate result and the task amount comprehensive consideration of start video download, realize in optimal manner under start video
Carry.According to the method, reduce the impact on terminal unit performance when downloading start video, reduce
CPU usage, decreases battery power consumption, improves the efficiency of download.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow the above and other of the present invention
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
The flow chart downloading optimization method embodiment of the terminal unit start video that Fig. 1 provides for the present invention;
The functional block downloading optimization device embodiment of the terminal unit start video that Fig. 2 provides for the present invention
Figure.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows the stream downloading optimization method embodiment of the terminal unit start video that the present invention provides
Cheng Tu.As it is shown in figure 1, the method for the present embodiment specifically includes following steps:
Step S101, receiving step, receive the PUSH message of the terminal unit start video that server sends.
So-called pushed information, it is simply that " web broadcast ", by certain technical standard or agreement, in the Internet
On the information that needs by periodically transmitting user reduce a technology of information overload.Push technology passes through
The information that automatically delivers, to user, reduces the time of search on network.It comes according to the interest of user
Search, filtration information, and it is periodically pushed to user, help user to excavate valuable letter expeditiously
Breath.Terminal unit, after connecting network, can periodically receive the PUSH message sent by server.Push
Message includes big file download and also includes general network renewal etc..The start video pushed is according to it
Network traffics and the duration of downloading the size consumption of content are different.
Step S102, appraisal procedure, according to the status information of terminal unit, the situation of terminal unit is carried out
Intelligent evaluation, obtains intelligent evaluation result.
The terminal unit status information of appraisal procedure foundation includes but are not limited to CPU usage, residue electricity
Amount, charge condition and/or four aspects of network environment.CPU usage refers to the CPU that the program run takies
Resource, CPU usage is the highest, and the speed of service of terminal unit is the slowest.Dump energy refer in battery can
Power consumption accounts for the ratio of battery total capacity, and dump energy is the lowest, and the terminal unit spendable time is the shortest.
Charge condition refers to the charging modes selected by terminal unit, and charging modes is different, and the time that charging needs is also
Different.When using power source charges, the terminal unit charging interval is the shortest.Network environment refers to what terminal unit was connected into
Network mode, WiFi network signal source is continuous, and network speed is fast, and mobile network environment network speed is relatively slow.
Appraisal procedure includes: the CPU usage of terminal unit and CPU usage are set threshold value and compares
Relatively, the condition grading of CPU usage is obtained;The dump energy of terminal unit and electricity are set threshold value enter
Row compares, and obtains the condition grading of dump energy;According to the charge condition of terminal unit, obtain the shape that charges
The condition grading of condition;According to the network environment of terminal unit, obtain the condition grading of network environment;Calculate
The condition grading of CPU usage, the condition grading of dump energy, the condition grading of charge condition and net
The summation of the condition grading of network environment, obtains intelligent evaluation result.
The present embodiment sets CPU usage setting threshold value and includes 5%, 10% and 20%;Electricity sets threshold
Value includes 90%, 50% and 30%;Charge condition is divided into the charging of power source charges, computer or without charged state;
Network environment is divided into WiFi network environment, mobile network environment or without network environment.
As shown in Table 1, according to setting threshold value, to CPU usage, the current electric quantity of terminal unit, fill
Electricity situation, four aspects of network environment are estimated, and are divided into Three Estate according to assessment result.CPU accounts for
It is less than 5% by the first estate standard that rate is corresponding;Second classification standard is less than 10%;Tertiary gradient mark
Standard is less than 20%.The first estate standard that dump energy is corresponding is more than 90%;Second classification standard is
More than 50%;Tertiary gradient standard is more than 30%.The first estate standard that charge condition is corresponding is power supply
Charging;Second classification standard is computer charging;Tertiary gradient standard is without charge condition.Network environment pair
The first estate standard answered is WiFi environment;Second classification standard is mobile network environment;Tertiary gradient mark
Standard is without network environment.
Table one
The first estate | Second grade | The tertiary gradient | |
CPU usage | Less than 5% | Less than 10% | Less than 20% |
Dump energy | More than 90% | More than 50% | More than 30% |
Charge condition | Power source charges | Computer charges | Without charge condition |
Network environment | WiFi environment | Mobile network environment | Without network environment |
Different according to grade, can be with the different score value of relative set, as shown in Table 2, can be by the first estate
Score value is set to 3 points, and the second grade score value is set to 2 points, and tertiary gradient score value is set to 1 point.This score value is only
It is to illustrate, each grade can be all when being embodied as different score values is set, it is possible to
With according to the importance in terms of certain, as network environment is more important to the download of start video, can be by net
The grade score value of network environment arranges different from the grade score value of other three aspects.
Table two
The first estate | Second grade | The tertiary gradient | |
CPU usage | 3 points | 2 points | 1 point |
Dump energy | 3 points | 2 points | 1 point |
Charge condition | 3 points | 2 points | 1 point |
Network environment | 3 points | 2 points | 1 point |
Intelligent evaluation result is CPU usage, current electric quantity, charge condition, four aspects of network environment
The summation of score value.If the CPU occupation rate of present terminal equipment is 8%, current electric quantity is 92%, does not has
Charging, has connected WiFi.Shown in table one, the CPU occupation rate of terminal unit is less than 10%, is the
Two grades;Current electric quantity is more than 90%, for the first estate;Charge condition is without charge condition, is the 3rd
Grade;Network environment is WiFi environment, for the first estate.Shown in table two, CPU occupation rate is
Two grades, score value is 2;Current electric quantity is the first estate, and score value is 3;Charge condition is the tertiary gradient,
Score value is 1;Network environment is the first estate, and score value is 3.Intelligent evaluation result is the score value of above four
Summation, 2+3+1+3=9.
Step S103, it is judged that step, judges whether to meet triggering scene according to intelligent evaluation result.
Triggering scene and can be divided into several scenes, the present embodiment is divided into the first triggering scene and second to trigger field
Scape, first triggers scene performs downloading task amount more than the downloading task setting task amount threshold value, and second touches
Send out scene and perform downloading task amount less than or equal to the downloading task setting task amount threshold value.
As set task amount threshold value as 10M.As shown in Table 3, the downloading task of the first triggering scene settings
Amount is more than 10M, and second triggers the downloading task amount of scene settings less than or equal to 10M.Comment according to intelligence
Estimate result score value different, in conjunction with the size of downloading task amount, trigger different triggering scenes.Such as table four institute
Show, touch when intelligent evaluation result score value does not all meet the first triggering scene and second less than or equal to 6 timesharing
Send out the intelligent evaluation result score value requirement of scene, it is impossible to perform downloading task.When downloading task amount more than 10M
And intelligent evaluation result score value meets the first triggering scene requirement more than 10 points, the first triggering field can be triggered
Scape, performs downloading task;It is less than 10 points then more than 10M but intelligent evaluation result score value when downloading task amount
Do not meet the first triggering scene, it is impossible to perform downloading task.When download task amount less than or equal to 10M and
Intelligent evaluation result score value meets the second triggering scene requirement more than 6 points, can trigger the second triggering scene,
Perform downloading task;When downloading task amount, less than or equal to 10M but intelligent evaluation result score value is less than 6 points
Then do not meet the second triggering scene, it is impossible to perform downloading task.
The start video push message received in step S101, if its download is 12M, appoints according to setting
Business amount threshold value, this downloading task amount belongs to the first triggering scene.Such as step S102 intelligent evaluation result score value
9 points, do not meet the intelligent evaluation result score value of the first triggering scene requirement, then perform step S105.If
The start video push message received in step S101, its download is 9M, according to setting task amount threshold
Value, this downloading task amount belongs to the second triggering scene.Such as step S102 intelligent evaluation result score value 9 points,
Meet the intelligent evaluation result score value of the second triggering scene requirement, perform step S104.
Table three
Downloading task amount | |
First triggers scene | More than 10M |
Second triggers scene | Less than or equal to 10M |
Table four
Intelligent evaluation result score value requirement | |
First triggers scene | More than 10 points |
Second triggers scene | More than 6 points |
Step S104, intelligent evaluation result meets triggering scene, opens according to triggering scene execution terminal unit
The downloading task of machine video.
Intelligent evaluation result meets the triggering scene that step S103 is mentioned, terminal unit starts to perform download
Task.
Step S105, intelligent evaluation result does not meets triggering scene, starts timed task;Timed task is complete
Cheng Hou, re-executes appraisal procedure and judges step, until the download performing terminal unit start video is appointed
Business terminates.
Timed task can create the extension of a set time and remind, and such as creates 1 little time delay period.1
After hour, timed task completes, and the present embodiment can re-execute step S102 appraisal procedure, foundation again
The status information of terminal unit carries out intelligent evaluation to the situation of terminal unit, obtains intelligent evaluation result;
Then perform step S103 and judge step, judge whether to meet triggering scene according to intelligent evaluation result.If
Intelligent evaluation result meets triggering scene, performs step S104 according to triggering scene and performs terminal unit start
The downloading task of video.If intelligent evaluation result does not meets triggering scene, perform step S105 and start timing
Task.
If intelligent evaluation result does not meets triggering scene, and after timed task completes, re-execute assessment step
Rapid and judge that step, intelligent evaluation result still do not meet triggering scene, then step S102, step S103
The most again can perform after step S105 timed task completes, until performing terminal unit start video
Downloading task terminate till.
The method provided according to the above embodiment of the present invention, after receiving the start video messaging of server push,
According to the status information of present terminal equipment, the present embodiment is from CPU usage, dump energy, charging shape
Condition, four aspects of network environment carry out intelligent evaluation, are provided with three evaluation grades, and to different brackets
It is provided with corresponding score value.In the specific implementation, different evaluation grades can be set according to different situations,
For different types of terminal unit, the optional aspect related to for download needs is estimated, in like manner
The setting of score value is not limited only to the set-up mode of the present embodiment, can arrange different score values according to being embodied as.
Combine the size of task download according to intelligent evaluation result, select download optimal opportunity, reduce
Download the impact on terminal unit performance when starting shooting video, reduce CPU usage, decrease battery consumption
Electricity, improves the efficiency of download.
What Fig. 2 showed the terminal unit start video that the present invention provides downloads the merit optimizing device embodiment
Can block diagram.As in figure 2 it is shown, the download of terminal unit start video optimizes device 200 and includes receiver module
201, evaluation module 202, judge module 203, download module 204, time block 205.
Receiver module 201, for receiving the PUSH message of the terminal unit start video that server sends;
So-called pushed information, it is simply that " web broadcast ", by certain technical standard or agreement, in the Internet
On the information that needs by periodically transmitting user reduce a technology of information overload.Push technology passes through
The information that automatically delivers, to user, reduces the time of search on network.It comes according to the interest of user
Search, filtration information, and it is periodically pushed to user, help user to excavate valuable letter expeditiously
Breath.Terminal unit, after connecting network, can periodically receive the PUSH message sent by server.Push
Message includes big file download and also includes general network renewal etc..The start video pushed is according to it
Network traffics and the duration of downloading the size consumption of content are different.
Evaluation module 202, carries out intelligence for the status information according to terminal unit to the situation of terminal unit
Assessment, obtains intelligent evaluation result;
The terminal unit status information of evaluation module 202 foundation includes but are not limited to CPU usage, remains
Remaining electricity, charge condition and/or four aspects of network environment.CPU usage refers to that the program run takies
Cpu resource, CPU usage is the highest, and the speed of service of terminal unit is the slowest.Dump energy refers to battery
Interior available power accounts for the ratio of battery total capacity, and dump energy is the lowest, the terminal unit spendable time
The shortest.Charge condition refers to the charging modes selected by terminal unit, and charging modes is different, and charging needs
Time is the most different.When using power source charges, the terminal unit charging interval is the shortest.Network environment refers to terminal unit
The network mode being connected into, WiFi network signal source is continuous, and network speed is fast, and mobile network environment network speed is relatively
Slowly.
Intelligent evaluation includes: CPU usage assessment unit, for by the CPU usage of terminal unit with
CPU usage sets threshold value and compares, and obtains the condition grading of CPU usage;Dump energy is assessed
Unit, compares for the dump energy of terminal unit and electricity are set threshold value, obtains dump energy
Condition grading;Charge condition assessment unit, for the charge condition according to terminal unit, is charged
The condition grading of situation;Network environment assessment unit, for computing unit, for according to terminal unit
Network environment, obtains the condition grading of network environment;Calculate the condition grading of CPU usage, residue electricity
The summation of the condition grading of condition grading, the condition grading of charge condition and the network environment of amount, obtains
Intelligent evaluation result.
The present embodiment sets CPU usage setting threshold value and includes 5%, 10% and 20%;Electricity sets threshold
Value includes 90%, 50% and 30%;Charge condition is divided into the charging of power source charges, computer or without charged state;
Network environment is divided into WiFi network environment, mobile network environment or without network environment.
As shown in Table 1, according to setting threshold value, to CPU usage, the current electric quantity of terminal unit, fill
Electricity situation, four aspects of network environment are estimated, and are divided into Three Estate according to assessment result.CPU accounts for
It is less than 5% by the first estate standard that rate is corresponding;Second classification standard is less than 10%;Tertiary gradient mark
Standard is less than 20%.The first estate standard that dump energy is corresponding is more than 90%;Second classification standard is
More than 50%;Tertiary gradient standard is more than 30%.The first estate standard that charge condition is corresponding is power supply
Charging;Second classification standard is computer charging;Tertiary gradient standard is without charge condition.Network environment pair
The first estate standard answered is WiFi environment;Second classification standard is mobile network environment;Tertiary gradient mark
Standard is without network environment.
Different according to grade, can be with the different score value of relative set, as shown in Table 2, can be by the first estate
Score value is set to 3 points, and the second grade score value is set to 2 points, and tertiary gradient score value is set to 1 point.This score value is only
It is to illustrate, each grade can be all when being embodied as different score values is set, it is possible to
With according to the importance in terms of certain, as network environment is more important to the download of start video, can be by net
The grade score value of network environment arranges different from the grade score value of other three aspects.
Intelligent evaluation result is CPU usage, current electric quantity, charge condition, four aspects of network environment
The summation of score value.As in embodiment one illustrate the score value summation that intelligent evaluation result is above four,
2+3+1+3=9.
Judge module 203, for judging whether to meet triggering scene according to intelligent evaluation result;
Triggering scene and can be divided into several scenes, the present embodiment is divided into the first triggering scene and second to trigger field
Scape, first triggers scene performs downloading task amount more than the downloading task setting task amount threshold value, and second touches
Send out scene and perform downloading task amount less than or equal to the downloading task setting task amount threshold value.
As set task amount threshold value as 10M.As shown in Table 3, the downloading task of the first triggering scene settings
Amount is more than 10M, and second triggers the downloading task amount of scene settings less than or equal to 10M.Comment according to intelligence
Estimate result score value different, in conjunction with the size of downloading task amount, trigger different triggering scenes.Such as table four institute
Show, touch when intelligent evaluation result score value does not all meet the first triggering scene and second less than or equal to 6 timesharing
Send out the intelligent evaluation result score value requirement of scene, it is impossible to perform downloading task.When downloading task amount more than 10M
And intelligent evaluation result score value meets the first triggering scene requirement more than 10 points, the first triggering field can be triggered
Scape, performs downloading task;It is less than 10 points then more than 10M but intelligent evaluation result score value when downloading task amount
Do not meet the first triggering scene, it is impossible to perform downloading task.When download task amount less than or equal to 10M and
Intelligent evaluation result score value meets the second triggering scene requirement more than 6 points, can trigger the second triggering scene,
Perform downloading task;When downloading task amount, less than or equal to 10M but intelligent evaluation result score value is less than 6 points
Then do not meet the second triggering scene, it is impossible to perform downloading task.
The start video push message received in receiver module 201, if its download is 12M, according to setting
Determining task amount threshold value, this downloading task amount belongs to the first triggering scene.Such as evaluation module 202 intelligent evaluation
Result score value 9 points, does not meets the intelligent evaluation result score value of the first triggering scene requirement, it is impossible under execution
Load task.If the start video push message received in receiver module 201, its download is 9M, according to
Setting task amount threshold value, this downloading task amount belongs to the second triggering scene.As evaluation module 202 intelligence is commented
Estimate result score value 9 points, meet the intelligent evaluation result score value of the second triggering scene requirement, can transfer to down
Carry module 204 and perform downloading task.
Download module 204, if judging that intelligent evaluation result meets triggering scene for judge module, according to
Trigger scene and perform the downloading task of terminal unit start video;
Intelligent evaluation result meets the triggering scene that judge module 203 is mentioned, under terminal unit starts to perform
Load task.
Time block 205, if judging that intelligent evaluation result does not meets triggering scene for judge module, opens
Dynamic timed task;After timed task completes, trigger evaluation module 202 and judge module 203 action.
Timed task can create the extension of a set time and remind, and such as creates 1 little time delay period.1
After hour, timed task completes, and the present embodiment can re-execute again to evaluation module 202, according to terminal
The status information of equipment carries out intelligent evaluation to the situation of terminal unit, obtains intelligent evaluation result;Then
Perform judge module 203, judge whether to meet triggering scene according to intelligent evaluation result.If intelligent evaluation is tied
Fruit meets triggering scene, performs download module 204 according to triggering scene and performs terminal unit start video
Downloading task.If intelligent evaluation result does not meets triggering scene, perform time block 205 and start timing times
Business.
If intelligent evaluation result does not meets triggering scene, and after timed task completes, re-execute assessment mould
Block 202 and judge module 203, intelligent evaluation result does not still meet triggering scene, then evaluation module 202,
Judge module 203 can perform after time block 205 timed task completes the most again, until performing
Till the downloading task of terminal unit start video terminates.
The device provided according to the above embodiment of the present invention, receives the start video messaging of server push
After, according to the status information of present terminal equipment, the present embodiment from CPU usage, dump energy, fill
Electricity situation, four aspects of network environment carry out intelligent evaluation, are provided with three evaluation grades, and to difference
Grade is provided with corresponding score value.In the specific implementation, different assessments etc. can be set according to different situations
Level, for different types of terminal unit, the optional aspect related to for download needs is estimated,
The in like manner setting of score value is not limited only to the set-up mode of the present embodiment, can be different according to being embodied as arranging
Score value.Combine the size of task download according to intelligent evaluation result, select download optimal opportunity, fall
Low impact when downloading start video on terminal unit performance, reduces CPU usage, decreases
Battery power consumption, improves the efficiency of download.
Described above illustrate and describes some preferred embodiments of the application, but as previously mentioned, it should reason
Solve the application and be not limited to form disclosed herein, be not to be taken as the eliminating to other embodiments,
And can be used for other combinations various, amendment and environment, and can be logical in invention contemplated scope described herein
Cross above-mentioned teaching or the technology of association area or knowledge is modified.And the change that those skilled in the art are carried out
With change without departing from spirit and scope, the most all should be at the protection model of the application claims
In enclosing.
Claims (10)
1. the download optimization method of a terminal unit start video, it is characterised in that including:
Receiving step, receives the PUSH message of the terminal unit start video that server sends;
Appraisal procedure, carries out intelligent evaluation according to the status information of terminal unit to the situation of terminal unit,
Obtain intelligent evaluation result;
Judge step, judge whether to meet triggering scene, the most then root according to described intelligent evaluation result
According to the downloading task triggering scene execution terminal unit start video;Otherwise, timed task is started;
After described timed task completes, re-execute appraisal procedure and judge step, until performing terminal
The downloading task of device power-up video terminates.
Method the most according to claim 1, it is characterised in that described appraisal procedure is further:
According to the CPU usage of terminal unit, dump energy, charge condition and/or network environment, terminal is set
Standby situation carries out intelligent evaluation, obtains intelligent evaluation result.
Method the most according to claim 2, it is characterised in that described appraisal procedure farther includes:
The CPU usage of terminal unit and CPU usage are set threshold value compare, obtain CPU
The condition grading of occupancy;
The dump energy of terminal unit and electricity are set threshold value compare, obtain the state of dump energy
Scoring;
According to the charge condition of terminal unit, obtain the condition grading of charge condition;
According to the network environment of terminal unit, obtain the condition grading of network environment;
The calculating condition grading of CPU usage, the condition grading of dump energy, the state of charge condition are commented
Point and the summation of condition grading of network environment, obtain intelligent evaluation result.
Method the most according to claim 3, it is characterised in that described CPU usage sets threshold
Value includes 5%, 10% and 20%;
Described electricity sets threshold value and includes 90%, 50% and 30%;
Described charge condition be power source charges, computer charging or without charged state;
Described network environment is WiFi network environment, mobile network environment or without network environment.
5. according to the method described in any one of claim 1-4, it is characterised in that described triggering scene bag
Include the first triggering scene and second and trigger scene;Described judgement step farther includes:
Judge whether that meeting the first triggering scene or second triggers scene according to described intelligent evaluation result;
If meeting the first triggering scene, then perform downloading task amount and appoint more than the download setting task amount threshold value
Business;
If meeting the second triggering scene, then perform downloading task amount less than or equal to setting task amount threshold value
Downloading task;
If the first triggering scene and second triggers scene and do not complys with, then start timed task.
6. the download of a terminal unit start video optimizes device, it is characterised in that including:
Receiver module, for receiving the PUSH message of the terminal unit start video that server sends;
Evaluation module, comments for the situation of terminal unit being carried out intelligence according to the status information of terminal unit
Estimate, obtain intelligent evaluation result;
Judge module, for judging whether to meet triggering scene according to described intelligent evaluation result;
For judge module, download module, if judging that described intelligent evaluation result meets triggering scene, root
According to the downloading task triggering scene execution terminal unit start video;
Time block, if judging that described intelligent evaluation result does not meets triggering scene for judge module,
Start timed task;After described timed task completes, trigger evaluation module and judge module action.
Device the most according to claim 6, it is characterised in that described evaluation module is further used for:
According to the CPU usage of terminal unit, dump energy, charge condition and/or network environment, terminal is set
Standby situation carries out intelligent evaluation, obtains intelligent evaluation result.
Device the most according to claim 7, it is characterised in that described evaluation module farther includes:
CPU usage assessment unit, for setting the CPU usage of terminal unit with CPU usage
Determine threshold value to compare, obtain the condition grading of CPU usage;
Dump energy assessment unit, compares for the dump energy of terminal unit and electricity are set threshold value
Relatively, the condition grading of dump energy is obtained;
Charge condition assessment unit, for the charge condition according to terminal unit, obtains the shape of charge condition
State is marked;
Network environment assessment unit, for the network environment according to terminal unit, obtains the shape of network environment
State is marked;
Computing unit, for calculating the condition grading of CPU usage, the condition grading of dump energy, filling
The condition grading of electricity situation and the summation of the condition grading of network environment, obtain intelligent evaluation result.
Device the most according to claim 8, it is characterised in that described CPU usage sets threshold
Value includes 5%, 10% and 20%;
Described electricity sets threshold value and includes 90%, 50% and 30%;
Described charge condition be power source charges, computer charging or without charged state;
Described network environment is WiFi network environment, mobile network environment or without network environment.
10. according to the device described in any one of claim 6-9, it is characterised in that described triggering scene bag
Include the first triggering scene and second and trigger scene;
Described judge module is further used for: judge whether that meeting first touches according to described intelligent evaluation result
Send out scene or second and trigger scene;
Described download module is further used for: if described judge module is judged to meet the first triggering scene,
Then perform downloading task amount more than the downloading task setting task amount threshold value;If described judge module is judged
Meet the second triggering scene, then perform downloading task amount and appoint less than or equal to the download setting task amount threshold value
Business;
Described time block is further used for: if described judge module judges the first triggering scene and second
Triggering scene does not complys with, then start timed task;After described timed task arrives, trigger assessment mould
Block and judge module action.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510882651.2A CN105868068A (en) | 2015-12-03 | 2015-12-03 | Downloading optimization method and device of terminal equipment startup video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510882651.2A CN105868068A (en) | 2015-12-03 | 2015-12-03 | Downloading optimization method and device of terminal equipment startup video |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105868068A true CN105868068A (en) | 2016-08-17 |
Family
ID=56624363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510882651.2A Pending CN105868068A (en) | 2015-12-03 | 2015-12-03 | Downloading optimization method and device of terminal equipment startup video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868068A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895967A (en) * | 2010-07-21 | 2010-11-24 | 中兴通讯股份有限公司 | WIFI-based document downloading method and device thereof |
CN103533040A (en) * | 2013-10-09 | 2014-01-22 | 贝壳网际(北京)安全技术有限公司 | Method and device for downloading data |
CN103873513A (en) * | 2012-12-13 | 2014-06-18 | 中国电信股份有限公司 | Adaptive downloading method and adaptive downloading system |
US20140258881A1 (en) * | 2013-03-08 | 2014-09-11 | Tencent Technology (Shenzhen) Company Limited | Methods and systems for loading data into terminal devices |
CN104158904A (en) * | 2014-08-28 | 2014-11-19 | 重庆邮电大学 | Cloud-assisted cooperative downloading method of mobile P2P network |
CN104219590A (en) * | 2013-06-05 | 2014-12-17 | 华为终端有限公司 | Method for switching coding modes, transmitting end and receiving end |
CN105045639A (en) * | 2015-08-25 | 2015-11-11 | 广东欧珀移动通信有限公司 | Mobile terminal downloading method and device and mobile terminal |
-
2015
- 2015-12-03 CN CN201510882651.2A patent/CN105868068A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895967A (en) * | 2010-07-21 | 2010-11-24 | 中兴通讯股份有限公司 | WIFI-based document downloading method and device thereof |
CN103873513A (en) * | 2012-12-13 | 2014-06-18 | 中国电信股份有限公司 | Adaptive downloading method and adaptive downloading system |
US20140258881A1 (en) * | 2013-03-08 | 2014-09-11 | Tencent Technology (Shenzhen) Company Limited | Methods and systems for loading data into terminal devices |
CN104219590A (en) * | 2013-06-05 | 2014-12-17 | 华为终端有限公司 | Method for switching coding modes, transmitting end and receiving end |
CN103533040A (en) * | 2013-10-09 | 2014-01-22 | 贝壳网际(北京)安全技术有限公司 | Method and device for downloading data |
CN104158904A (en) * | 2014-08-28 | 2014-11-19 | 重庆邮电大学 | Cloud-assisted cooperative downloading method of mobile P2P network |
CN105045639A (en) * | 2015-08-25 | 2015-11-11 | 广东欧珀移动通信有限公司 | Mobile terminal downloading method and device and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2670279C1 (en) | Wireless device method, wireless device and computer device (options) | |
CN103425926B (en) | The method of application program launching method, configured list, terminal and server | |
CN104794889B (en) | Method and apparatus for pushing order | |
Li et al. | The unheralded power of cloudlet computing in the vicinity of mobile devices | |
CN104540220B (en) | The localization method and system of a kind of intelligent terminal | |
CN103324519A (en) | Method and device for clearing malicious power consumption applications, and user terminal | |
CN107332757B (en) | Method for deleting push message and related product | |
CN108924751B (en) | Method and apparatus for application-based connectivity event triggering | |
CN107360458A (en) | Control method for playing back, device, storage medium and terminal | |
CN105139641A (en) | WiFi relay station-based vehicle scheduling method and system | |
CN105049626A (en) | Information updating method and mobile terminal | |
CN105896657A (en) | Method of charging mobile terminal and mobile terminal | |
CN110351787A (en) | Processing method, device, relevant device and storage medium based on cell reselection | |
CN103685468A (en) | Mobile terminal cooperation download method based on self-organizing network | |
CN105101471A (en) | Data transmission method, device and intelligent equipment | |
CN113111271A (en) | Travel OD data sample expansion method and device, computer equipment and storage medium | |
CN112333734A (en) | Serving cell switching method and device | |
CN105049374B (en) | Dispatching method, device and the mobile terminal of downloading task | |
CN104349426A (en) | Method and device for establishing conversation connection | |
CN104782171A (en) | Channel aware job scheduling | |
CN101547025A (en) | System and method for acquiring and managing data through Bluetooth hotspots | |
CN105868068A (en) | Downloading optimization method and device of terminal equipment startup video | |
CN103209255B (en) | Mobile terminal network games system | |
CN107291328A (en) | Interface display method and related product | |
CN103853347A (en) | Information release method based on gravity sensing horizontal screen display of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |