CN105827434A - Software automatic updating method and device - Google Patents

Software automatic updating method and device Download PDF

Info

Publication number
CN105827434A
CN105827434A CN201610074245.8A CN201610074245A CN105827434A CN 105827434 A CN105827434 A CN 105827434A CN 201610074245 A CN201610074245 A CN 201610074245A CN 105827434 A CN105827434 A CN 105827434A
Authority
CN
China
Prior art keywords
wifi
active period
threshold value
software
size
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
CN201610074245.8A
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.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Cloud Computing 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 LeTV Cloud Computing Co Ltd filed Critical LeTV Cloud Computing Co Ltd
Priority to CN201610074245.8A priority Critical patent/CN105827434A/en
Publication of CN105827434A publication Critical patent/CN105827434A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a software automatic updating method and device. The software automatic updating method comprises the steps that whether equipment is in the charging state is judged before starting of an automatic updating program of software to be updated; if the equipment is in the charging state, existence of an available WIFI or accessing to the WIFI is judged; if the available WIFI exists, the WIFI is accessed and the automatic updating program is started; and if the WIFI is accessed, the automatic updating program is started. The objective of the invention is to provide the software automatic updating method and device so that software can be automatically updated under the condition of guaranteeing standby time.

Description

The method and device of automatic software updating
Technical field
The present invention relates to terminal control technical field, particularly relate to the method and device of a kind of automatic software updating.
Background technology
Along with science and technology and economic sustainable development, various types of mobile devices of electronic technology field, such as smart mobile phone, panel computer etc., the most unprecedentedly popularized, and also innovating constantly and developing.
In modern society, mobile device is more and more important in people live, and adapts with it, and mobile device software miscellaneous also emerges in an endless stream.And ever-increasing mobile device software so that the battery consumption of mobile device is more and more faster.
In prior art, all kinds of mobile device software life-cycles are the ofest short duration, and need frequent updating, and the update cycle is usually within several weeks.Due to software upgrading frequently, and, just give software upgrading when mobile device is typically by connecting wireless network, cause battery consumption higher, affect mobile device stand-by time.
Summary of the invention
In view of this, it is an object of the invention to propose the method and device of a kind of automatic software updating, it is possible to automatic software update in the case of ensureing stand-by time.
Method based on the automatic software updating that the above-mentioned purpose present invention provides, including:
Before the program that automatically updates of software to be updated starts, it may be judged whether be in charged state;
If being in charged state, then determine whether the WIFI that can use or the most connected WIFI;
If there being available WIFI, then connect upper WIFI and startup automatically updates program;
If having connected WIFI, then start and automatically update program.
In some embodiments, also include before judging whether to be in the step of charged state described in:
Judge that whether current electric quantity is higher than presetting power threshold;
If current electric quantity higher than preset power threshold, then be directly entered described in determine whether the WIFI that can use or the most connected the step of WIFI;
If current electric quantity is less than or equal to presetting power threshold, then judge whether to be in the step of charged state described in entrance.
In some embodiments, also include after determining whether the WIFI that can use or the step the most having connected WIFI described in:
If being not connected with WIFI and without available WIFI, then obtain WIFI distributed data;
Analyze from described WIFI distributed data and draw WIFI active period;
When being in WIFI active period, start and automatically update program.
In some embodiments, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge whether the duration of WIFI active period enlivens duration threshold value more than presetting;
If the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, then this WIFI active period is classified as a WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, then this WIFI active period is classified as the 2nd WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
In some embodiments, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
If the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, then this WIFI active period is classified as the 3rd WIFI active period;
If the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 4th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
In some embodiments, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge that whether the duration of WIFI active period is more than whether presetting the WIFI intensity enlivening duration threshold value and WIFI active period more than preset strength threshold value;
If the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, then this WIFI active period is classified as the 5th WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 6th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
Another aspect of the present invention additionally provides the device of a kind of automatic software updating, including:
Charged state judge module, before starting in the program that automatically updates of software to be updated, it may be judged whether be in charged state;
Network connection judgment module, if being in charged state, for determining whether the WIFI that can use or the most having connected WIFI;
WIFI link block, if there being available WIFI, is used for connecting WIFI;
Automatically updating startup module, if having connected WIFI, automatically updating program for startup.
In some embodiments, described device, also include:
Electricity judge module, is used for judging that whether current electric quantity is higher than presetting power threshold;
If current electric quantity is higher than presetting power threshold, the most described network connection judgment module determines whether the WIFI that can use or has the most connected WIFI;
If current electric quantity is less than or equal to presetting power threshold, the most described charged state judge module judges whether to be in charged state.
In some embodiments, described device, also include:
Distributed data acquisition module, if being not connected with WIFI and without available WIFI, is used for obtaining WIFI distributed data;
Active period analyzes module, draws WIFI active period for analyzing from described WIFI distributed data;
When being in WIFI active period, described in automatically update startup module start automatically update program.
In some embodiments, described device, also include:
Enliven duration judge module, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;
Active period classifying module, if the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, for this WIFI active period is classified as a WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, for this WIFI active period is classified as the 2nd WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
In some embodiments, described device, also include:
WIFI intensity judge module, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
Active period classifying module, if the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, for this WIFI active period is classified as the 3rd WIFI active period;If the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 4th WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
In some embodiments, described device, also include:
Enliven duration judge module, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;
WIFI intensity judge module, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
Active period classifying module, if the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, for this WIFI active period is classified as the 5th WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 6th WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
As can be seen from above, the method and device of the automatic software updating that the present invention provides, it is first determined whether be in charged state before the program that automatically updates of software to be updated starts, only it is only possible to when being in charged state carry out software upgrading, and, then determine whether available WIFI or connected WIFI, when determine connect WIFI time, just start and automatically update program, thus reduce the software upgrading impact on stand-by time, software upgrading is made to be not result in the transition detraction of stand-by time, also save flow simultaneously, ensure that software upgrading process is not interrupted because electricity is not enough, improve software upgrading efficiency.
Accompanying drawing explanation
The schematic flow sheet of one embodiment of the method for the automatic software updating that Fig. 1 provides for the present invention;
The schematic flow sheet of another embodiment of the method for the automatic software updating that Fig. 2 provides for the present invention;
The modular structure schematic diagram of the device embodiment of the automatic software updating that Fig. 3 provides for the present invention;
The interface schematic diagram that in the method and device embodiment of the automatic software updating that Fig. 4 provides for the present invention, the first information shows on screen;
The interface schematic diagram that in the method and device embodiment of the automatic software updating that Fig. 5 provides for the present invention, the second information shows on screen.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and referring to the drawings, the present invention is described in more detail.
It should be noted that, in the embodiment of the present invention, the statement of all uses " first " and " second " is for the parameter of entity or the non-equal distinguishing two same names non-equal, visible " first " " second " is only for the convenience of statement, should not be construed as the restriction to the embodiment of the present invention, this is illustrated by subsequent embodiment the most one by one.
The first aspect of the invention provides and a kind of can ensure the method for the automatic software updating of automatic software update in the case of stand-by time.As it is shown in figure 1, the schematic flow sheet of an embodiment of the method for the automatic software updating provided for the present invention.
The method of described automatic software updating, comprises the following steps:
Step 101: before the program that automatically updates of software to be updated starts, it may be judged whether be in charged state;
Wherein, judge whether that the step being in charged state can be to proceed by after software to be updated being detected, it is also possible to be that backstage continues to monitor charged state, monitor be in charged state time, detecting whether have software to be updated again, the step of the two can be exchanged;But, after software to be updated being detected, start and automatically update program before, need first to judge whether to be in charged state, thus ensure that renewal process is not interrupted because electricity is not enough;
Step 102: if being in charged state, then determine whether the WIFI that can use or the most connected WIFI;
Step 103: if there being available WIFI, then connect upper described available WIFI and startup automatically updates program;
Step 104: if having connected WIFI, then start and automatically update program.
Step 105: if being also not connected with WIFI without available WIFI, the most not starting the program of automatically updating, and returning step 101.
Wherein, described WIFI is the cordless communication network of the non-moving operator mobile radio network that confession under directions terminal connects, i.e. can surf the Net by connecting this cordless communication network, but the cordless communication network of expense is not produced because of consumed flow, therefore, being not precluded from having other similar cordless communication network technology to occur in the future, in this case, WIFI here also can refer to other the cordless communication network not consuming mobile phone flow.
Can be seen that from above-described embodiment, the method of the automatic software updating that the present invention provides, it is first determined whether be in charged state before the program that automatically updates of software to be updated starts, only it is only possible to when being in charged state carry out software upgrading, and, then determine whether available WIFI or connected WIFI, when determine connect WIFI time, just start and automatically update program, thus reduce the software upgrading impact on stand-by time, software upgrading is made to be not result in the transition detraction of stand-by time, also save flow simultaneously, ensure that software upgrading process is not interrupted because electricity is not enough, improve software upgrading efficiency.
Optionally, in some embodiments, judge whether described in that the step 101 being in charged state can comprise the further steps of: before
Judge that whether current electric quantity is higher than presetting power threshold;Wherein, described default power threshold can be default setting, it is also possible to be that User Defined is arranged, such as 50%;
If current electric quantity higher than preset power threshold, then be directly entered described in determine whether the WIFI that can use or the step 102 the most connecting WIFI;
If current electric quantity is less than or equal to presetting power threshold, then judge whether to be in the step 101 of charged state described in entrance.
By arranging default power threshold, make higher than WIFI on directly determining whether the WIFI that can use or the most connected when presetting power threshold, thus the software upgrading institute subfam. Spiraeoideae both ensured, again because eliminating and waiting that the step of charged state arrival improves software upgrading efficiency.
It is also preferred that the left in some optional embodiments, described in determine whether the WIFI that can use or the step 102 the most connecting WIFI after can comprise the further steps of:
If being not connected with WIFI and without available WIFI, then obtain WIFI distributed data;Described WIFI distributed data refers to, according to the use habit in user's daily life, and obtain be in the period of WIFI network, the WIFI strength condition regularity of distribution etc.;
Analyze from described WIFI distributed data and draw WIFI active period;Described WIFI active period can be in longer period WIFI connection status time or WIFI signal intensity stronger period;
When being in WIFI active period, start and automatically update program.
Pass through above-described embodiment so that automatically updating of software completes completely to update as far as possible under WIFI, and ensures not consumed flow as far as possible.
Optionally, in some embodiments, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge whether the duration of WIFI active period enlivens duration threshold value more than presetting;Described preset that to enliven duration threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 1 hour;
If the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, then this WIFI active period is classified as a WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, then this WIFI active period is classified as the 2nd WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;Described predetermined software size threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 50M;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, by bigger software to be updated, it is arranged in user is in a WIFI state lower time longer WIFI active period and is updated;And by less software to be updated, be arranged in user is in WIFI state lower time shorter the 2nd WIFI active period and be updated, thus ensure that each software can completely update, promote software upgrading efficiency.
Optionally, in other embodiments, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;Described preset strength threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 2 lattice WIFI signal;
If the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, then this WIFI active period is classified as the 3rd WIFI active period;
If the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 4th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;Ibid, described predetermined software size threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 50M;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, by bigger software to be updated, it is arranged in user and is in the 3rd WIFI active period under the state that WIFI intensity is bigger and is updated;And by less software to be updated, being arranged in user is in the 4th WIFI active period under the state that WIFI intensity is less and is updated, thus ensure that each software can completely update the most to a certain extent, promote software upgrading efficiency.
Optionally, in other embodiment, described when being in WIFI active period, include before starting the step of the program that automatically updates:
Judge that whether the duration of WIFI active period is more than whether presetting the WIFI intensity enlivening duration threshold value and WIFI active period more than preset strength threshold value;
If the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, then this WIFI active period is classified as the 5th WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 6th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, combine to preset and enliven duration threshold value and preset strength threshold value, by bigger software to be updated, be arranged in user be in the WIFI state lower time longer and be in the 5th WIFI active period under the state that WIFI intensity is bigger and be updated;And by less software to be updated, be arranged in the 6th WIFI active period under other states and be updated, thus ensure that each software can completely update to greatest extent, promote software upgrading efficiency.
Wherein, described 5th WIFI active period can be a described WIFI active period and the overlapping period of the 3rd WIFI active period, and described 6th WIFI active period is then other WIFI active period in addition to the 5th WIFI active period.
In addition, while charged state, available WIFI is there is if cannot meet, then according to user's use habit, automatically WIFI in a day is chosen best in quality, the situation that the persistent period is the longest, directly update under non-charging mode, reduce that network signal is poor causes high power consumption problem, or leave WIFI environment when updating, cause and update unsuccessfully, waste electricity.
Optionally, in some embodiments, the method of described automatic software updating, may further comprise the step of: when detecting that software to be updated and current electric quantity are relatively low, sending the first information, prompting current electric quantity is low, and charging can start to update, as shown in Figure 4, it is the interface schematic diagram that shows on screen 400 of the first information 401;Or, when entering charged state, send prompting user and update the second information of software, as it is shown in figure 5, be the interface schematic diagram that shows on screen 400 of the second information 402.By arranging information, thus guide user to carry out corresponding operating, promote Consumer's Experience.
Present invention also offers another embodiment of the method for automatic software updating, as in figure 2 it is shown, the schematic flow sheet of another embodiment of the method for the automatic software updating provided for the present invention.
The method of described automatic software updating, comprises the following steps:
Step 201: before the program that automatically updates of software to be updated starts, it is judged that whether current electric quantity is higher than presetting power threshold;
Step 202: if current electric quantity is higher than presetting power threshold, then determines whether the WIFI that can use or the most connected WIFI;
Step 203: if current electric quantity is less than or equal to presetting power threshold, then judge whether to be in charged state;
Step 204: if being not at charged state, then return to step 203, continues to determine whether to be in charged state;
Step 205: if being in charged state, then return to step 202, it may be judged whether has available WIFI or has the most connected WIFI;
Step 206: if there being available WIFI, then connect upper WIFI and startup automatically updates program;
Step 207: if having connected WIFI, then start and automatically update program;
Step 208: if being not connected with WIFI and without available WIFI, then obtain WIFI distributed data;
Step 209: analyze from described WIFI distributed data and draw WIFI active period;
Step 210: judge that whether the duration of WIFI active period is more than whether presetting the WIFI intensity enlivening duration threshold value and WIFI active period more than preset strength threshold value;
Step 211: if the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, then this WIFI active period is classified as the 5th WIFI active period;
Step 212: if the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 6th WIFI active period;
Step 213: judge that whether the size of described software to be updated is more than predetermined software size threshold value;
Step 214: if the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
Step 215: if the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
Can be seen that from above-described embodiment, the method of the automatic software updating that the present invention provides, it is first determined whether be in charged state before the program that automatically updates of software to be updated starts, only it is only possible to when being in charged state carry out software upgrading, and, then determine whether available WIFI or connected WIFI, when determine connect WIFI time, just start and automatically update program, thus reduce the software upgrading impact on stand-by time, software upgrading is made to be not result in the transition detraction of stand-by time, also save flow simultaneously, ensure that software upgrading process is not interrupted because electricity is not enough, improve software upgrading efficiency.
The second aspect of the invention provides and a kind of can ensure the device of the automatic software updating of automatic software update in the case of stand-by time.As it is shown on figure 3, the modular structure schematic diagram of device embodiment of the automatic software updating provided for the present invention.
The device of described automatic software updating, including:
Charged state judge module 301, before starting in the program that automatically updates of software to be updated, it may be judged whether be in charged state;
Wherein, judge whether that the step being in charged state can be to proceed by after software to be updated being detected, it is also possible to be that backstage continues to monitor charged state, monitor be in charged state time, detecting whether have software to be updated again, the step of the two can be exchanged;But, after software to be updated being detected, start and automatically update program before, need first to judge whether to be in charged state, thus ensure that renewal process is not interrupted because electricity is not enough;
Network connection judgment module 302, if being in charged state, for determining whether the WIFI that can use or the most having connected WIFI;
WIFI link block 303, if there being available WIFI, is used for connecting WIFI;
Automatically updating startup module 304, if having connected WIFI, automatically updating program for startup.
Wherein, described WIFI is the cordless communication network of the non-moving operator mobile radio network that confession under directions terminal connects, i.e. can surf the Net by connecting this cordless communication network, but the cordless communication network of expense is not produced because of consumed flow, therefore, being not precluded from having other similar cordless communication network technology to occur in the future, in this case, WIFI here also can refer to other the cordless communication network not consuming mobile phone flow.
Can be seen that from above-described embodiment, the device of the automatic software updating that the present invention provides, it is first determined whether be in charged state before the program that automatically updates of software to be updated starts, only it is only possible to when being in charged state carry out software upgrading, and, then determine whether available WIFI or connected WIFI, when determine connect WIFI time, just start and automatically update program, thus reduce the software upgrading impact on stand-by time, software upgrading is made to be not result in the transition detraction of stand-by time, also save flow simultaneously, ensure that software upgrading process is not interrupted because electricity is not enough, improve software upgrading efficiency.
Optionally, in some embodiments, the device of described automatic software updating, also include:
Electricity judge module 305, is used for judging that whether current electric quantity is higher than presetting power threshold;Wherein, described default power threshold can be default setting, it is also possible to be that User Defined is arranged, such as 50%;
If current electric quantity is higher than presetting power threshold, the most described network connection judgment module 302 determines whether the WIFI that can use or has the most connected WIFI;
If current electric quantity is less than or equal to presetting power threshold, the most described charged state judge module 301 judges whether to be in charged state.
By arranging default power threshold, make higher than WIFI on directly determining whether the WIFI that can use or the most connected when presetting power threshold, thus the software upgrading institute subfam. Spiraeoideae both ensured, again because eliminating and waiting that the step of charged state arrival improves software upgrading efficiency.
It is also preferred that the left in some optional embodiments, the device of described automatic software updating, also include:
Distributed data acquisition module 306, if being not connected with WIFI and without available WIFI, is used for obtaining WIFI distributed data;Described WIFI distributed data refers to, according to the use habit in user's daily life, and obtain be in the period of WIFI network, the WIFI strength condition regularity of distribution etc.;
Active period analyzes module 307, draws WIFI active period for analyzing from described WIFI distributed data;Described WIFI active period can be in longer period WIFI connection status time or WIFI signal intensity stronger period;
When being in WIFI active period, described in automatically update startup module 304 start automatically update program.
Pass through above-described embodiment so that automatically updating of software completes completely to update as far as possible under WIFI, and ensures not consumed flow as far as possible.
Optionally, in some embodiments, the device of described automatic software updating, also include:
Enliven duration judge module 308, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;Described preset that to enliven duration threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 1 hour;
Active period classifying module 309, if the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, for this WIFI active period is classified as a WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, for this WIFI active period is classified as the 2nd WIFI active period;
Described automatically updating starts module 304, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;Described predetermined software size threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 50M;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, by bigger software to be updated, it is arranged in user is in a WIFI state lower time longer WIFI active period and is updated;And by less software to be updated, be arranged in user is in WIFI state lower time shorter the 2nd WIFI active period and be updated, thus ensure that each software can completely update, promote software upgrading efficiency.
Optionally, in other embodiments, the device of described automatic software updating, also include:
WIFI intensity judge module 310, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;Described preset strength threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 2 lattice WIFI signal;
Described active period classifying module 309, if the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, for this WIFI active period is classified as the 3rd WIFI active period;If the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 4th WIFI active period;
Described automatically updating starts module 304, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;Ibid, described predetermined software size threshold value can be default setting, it is also possible to be that User Defined is arranged, such as 50M;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, by bigger software to be updated, it is arranged in user and is in the 3rd WIFI active period under the state that WIFI intensity is bigger and is updated;And by less software to be updated, being arranged in user is in the 4th WIFI active period under the state that WIFI intensity is less and is updated, thus ensure that each software can completely update the most to a certain extent, promote software upgrading efficiency.
Optionally, in other embodiment, the device of described automatic software updating, also include:
Enliven duration judge module 308, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;
WIFI intensity judge module 310, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
Active period classifying module 309, if the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, for this WIFI active period is classified as the 5th WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 6th WIFI active period;
Described automatically updating starts module 304, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
By above-described embodiment, combine to preset and enliven duration threshold value and preset strength threshold value, by bigger software to be updated, be arranged in user be in the WIFI state lower time longer and be in the 5th WIFI active period under the state that WIFI intensity is bigger and be updated;And by less software to be updated, be arranged in the 6th WIFI active period under other states and be updated, thus ensure that each software can completely update to greatest extent, promote software upgrading efficiency.
Wherein, described 5th WIFI active period can be a described WIFI active period and the overlapping period of the 3rd WIFI active period, and described 6th WIFI active period is then other WIFI active period in addition to the 5th WIFI active period.
In addition, while charged state, available WIFI is there is if cannot meet, then according to user's use habit, automatically WIFI in a day is chosen best in quality, the situation that the persistent period is the longest, directly update under non-charging mode, reduce that network signal is poor causes high power consumption problem, or leave WIFI environment when updating, cause and update unsuccessfully, waste electricity.
Optionally, in some embodiments, the device of described automatic software updating, may also include that the first reminding module 311, for when detecting that software to be updated and current electric quantity are relatively low, send the first information, prompting current electric quantity is low, charging can start to update, and as shown in Figure 4, is the interface schematic diagram that shows on screen 400 of the first information 401;Or, also include the second reminding module 312, for when entering charged state, send prompting user and update the second information of software, as it is shown in figure 5, be the interface schematic diagram that shows on screen 400 of the second information 402.By arranging information, thus guide user to carry out corresponding operating, promote Consumer's Experience.
Those of ordinary skill in the field are it is understood that the discussion of any of the above embodiment is exemplary only, it is not intended that hint the scope of the present disclosure (including claim) is limited to these examples;Under the thinking of the present invention, can also be combined between the technical characteristic in above example or different embodiment, and there is other change of many of the different aspect of the present invention as above, for they not offers in details simple and clear.Therefore, all within the spirit and principles in the present invention, any omission of being made, amendment, equivalent, improvement etc., should be included within the scope of the present invention.

Claims (12)

1. the method for an automatic software updating, it is characterised in that including:
Before the program that automatically updates of software to be updated starts, it may be judged whether be in charged state;
If being in charged state, then determine whether the WIFI that can use or the most connected WIFI;
If there being available WIFI, then connect upper WIFI and startup automatically updates program;
If having connected WIFI, then start and automatically update program.
Method the most according to claim 1, it is characterised in that described in judge whether to be in charged state step before also include:
Judge that whether current electric quantity is higher than presetting power threshold;
If current electric quantity higher than preset power threshold, then be directly entered described in determine whether the WIFI that can use or the most connected the step of WIFI;
If current electric quantity is less than or equal to presetting power threshold, then judge whether to be in the step of charged state described in entrance.
Method the most according to claim 1, it is characterised in that described in determine whether the WIFI that can use or the step the most having connected WIFI after also include:
If being not connected with WIFI and without available WIFI, then obtain WIFI distributed data;
Analyze from described WIFI distributed data and draw WIFI active period;
When being in WIFI active period, start and automatically update program.
Method the most according to claim 3, it is characterised in that described when being in WIFI active period, includes before starting the step of the program that automatically updates:
Judge whether the duration of WIFI active period enlivens duration threshold value more than presetting;
If the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, then this WIFI active period is classified as a WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, then this WIFI active period is classified as the 2nd WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
Method the most according to claim 3, it is characterised in that described when being in WIFI active period, includes before starting the step of the program that automatically updates:
Judge that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
If the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, then this WIFI active period is classified as the 3rd WIFI active period;
If the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 4th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
Method the most according to claim 3, it is characterised in that described when being in WIFI active period, includes before starting the step of the program that automatically updates:
Judge that whether the duration of WIFI active period is more than whether presetting the WIFI intensity enlivening duration threshold value and WIFI active period more than preset strength threshold value;
If the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, then this WIFI active period is classified as the 5th WIFI active period;
If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, then this WIFI active period is classified as the 6th WIFI active period;
Described when being in WIFI active period, the step starting the program that automatically updates then includes:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
7. the device of an automatic software updating, it is characterised in that including:
Charged state judge module, before starting in the program that automatically updates of software to be updated, it may be judged whether be in charged state;
Network connection judgment module, if being in charged state, for determining whether the WIFI that can use or the most having connected WIFI;
WIFI link block, if there being available WIFI, is used for connecting WIFI;
Automatically updating startup module, if having connected WIFI, automatically updating program for startup.
Device the most according to claim 7, it is characterised in that also include:
Electricity judge module, is used for judging that whether current electric quantity is higher than presetting power threshold;
If current electric quantity is higher than presetting power threshold, the most described network connection judgment module determines whether the WIFI that can use or has the most connected WIFI;
If current electric quantity is less than or equal to presetting power threshold, the most described charged state judge module judges whether to be in charged state.
Device the most according to claim 7, it is characterised in that also include:
Distributed data acquisition module, if being not connected with WIFI and without available WIFI, is used for obtaining WIFI distributed data;
Active period analyzes module, draws WIFI active period for analyzing from described WIFI distributed data;
When being in WIFI active period, described in automatically update startup module start automatically update program.
Device the most according to claim 9, it is characterised in that also include:
Enliven duration judge module, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;
Active period classifying module, if the duration of WIFI active period enlivens duration threshold value more than or equal to presetting, for this WIFI active period is classified as a WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, for this WIFI active period is classified as the 2nd WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in a described WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 2nd WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
11. devices according to claim 9, it is characterised in that also include:
WIFI intensity judge module, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
Active period classifying module, if the WIFI intensity of WIFI active period is more than or equal to preset strength threshold value, for this WIFI active period is classified as the 3rd WIFI active period;If the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 4th WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 3rd WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 4th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
12. devices according to claim 9, it is characterised in that also include:
Enliven duration judge module, for judging whether the duration of WIFI active period enlivens duration threshold value more than presetting;
WIFI intensity judge module, for judging that whether the WIFI intensity of WIFI active period is more than preset strength threshold value;
Active period classifying module, if the duration of WIFI active period is more than or equal to preset strength threshold value more than or equal to presetting the WIFI intensity enlivening duration threshold value and WIFI active period, for this WIFI active period is classified as the 5th WIFI active period;If the duration of WIFI active period enlivens duration threshold value less than presetting, and/or, the WIFI intensity of WIFI active period is less than preset strength threshold value, for this WIFI active period is classified as the 6th WIFI active period;
Described automatically update startup module, specifically for:
Judge that whether the size of described software to be updated is more than predetermined software size threshold value;
If the size of described software to be updated is more than or equal to predetermined software size threshold value, then in described 5th WIFI active period, start its size software to be updated more than or equal to predetermined software size threshold value automatically updates program;
If the size of described software to be updated is less than predetermined software size threshold value, then in described 6th WIFI active period, start its size software to be updated less than predetermined software size threshold value automatically updates program.
CN201610074245.8A 2016-02-02 2016-02-02 Software automatic updating method and device Pending CN105827434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610074245.8A CN105827434A (en) 2016-02-02 2016-02-02 Software automatic updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610074245.8A CN105827434A (en) 2016-02-02 2016-02-02 Software automatic updating method and device

Publications (1)

Publication Number Publication Date
CN105827434A true CN105827434A (en) 2016-08-03

Family

ID=56986941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610074245.8A Pending CN105827434A (en) 2016-02-02 2016-02-02 Software automatic updating method and device

Country Status (1)

Country Link
CN (1) CN105827434A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598646A (en) * 2016-11-14 2017-04-26 深圳市金立通信设备有限公司 Program update method and terminal
CN106775898A (en) * 2017-01-18 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of application program
CN108989961A (en) * 2017-06-02 2018-12-11 西万拓私人有限公司 The method that firmware for the hearing aid to hearing aid device system is adapted to
CN114363305A (en) * 2021-12-27 2022-04-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
CN105045639A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal downloading method and device and mobile terminal
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
CN105262805A (en) * 2015-09-25 2016-01-20 广东小天才科技有限公司 Method and system for automatically updating learning data of mobile terminal
CN105263181A (en) * 2015-09-14 2016-01-20 Tcl移动通信科技(宁波)有限公司 WIFI-based file downloading method and WIFI-based file downloading system of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
CN105045639A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Mobile terminal downloading method and device and mobile terminal
CN105204891A (en) * 2015-08-25 2015-12-30 广东欧珀移动通信有限公司 Download method and download device during shutdown of mobile terminal and mobile terminal
CN105263181A (en) * 2015-09-14 2016-01-20 Tcl移动通信科技(宁波)有限公司 WIFI-based file downloading method and WIFI-based file downloading system of mobile terminal
CN105262805A (en) * 2015-09-25 2016-01-20 广东小天才科技有限公司 Method and system for automatically updating learning data of mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598646A (en) * 2016-11-14 2017-04-26 深圳市金立通信设备有限公司 Program update method and terminal
CN106775898A (en) * 2017-01-18 2017-05-31 维沃移动通信有限公司 The update method and mobile terminal of a kind of application program
CN106775898B (en) * 2017-01-18 2018-11-30 维沃移动通信有限公司 A kind of update method and mobile terminal of application program
CN108989961A (en) * 2017-06-02 2018-12-11 西万拓私人有限公司 The method that firmware for the hearing aid to hearing aid device system is adapted to
CN114363305A (en) * 2021-12-27 2022-04-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium
CN114363305B (en) * 2021-12-27 2023-12-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105979103B (en) Battery power guarantee method and device for portable electronic product and mobile terminal
CN103199311B (en) The battery power saving method of portable type electronic product, equipment and mobile terminal
CN103500002B (en) The method of application program management, device and terminal unit
CN104298335A (en) Application program process cleaning method and device of mobile terminal and mobile terminal
CN105827434A (en) Software automatic updating method and device
CN106455016A (en) Method for controlling mobile terminal, and mobile terminal
CN104007805A (en) Method and device for achieving power saving of mobile terminal and mobile terminal
CN102651785A (en) Remote wakeup of application processor of mobile device
CN102779068A (en) Mobile terminal and application program networking control method
CN105760094A (en) Frame rate controlling method and device and terminal
CN110191215B (en) Terminal and processing method
CN106532876B (en) Power supply control method and device and computer equipment
CN108196482A (en) Power consumption control method, device, storage medium and electronic equipment
CN103781122A (en) Flow management device and method
CN103338312A (en) Intelligent handset sleeping energy-saving system and method
CN113303703A (en) Control method of cleaning robot, cleaning robot and storage medium
CN106658685A (en) Communication method and device of smart mobile terminal based on low power state
CN112367203A (en) Network distribution method and device, smart television and computer readable storage medium
CN104866063A (en) Method for processing information and electronic equipment
CN106464757A (en) Setting information configuration method, terminal and server
CN105046340A (en) Intelligent appliance cleaning method and user terminal
CN106648854A (en) Task execution method and device for terminal
CN105576752A (en) Charging remind method of intelligent terminal and intelligent terminal
CN102944734B (en) A kind of method of monitor terminal state, supervisory circuit and terminal
CN106020429A (en) Power saving mode starting method and device and terminal equipment

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

Application publication date: 20160803

WD01 Invention patent application deemed withdrawn after publication