CN108572837A - Method for upgrading software, device, readable storage medium storing program for executing and computer equipment - Google Patents
Method for upgrading software, device, readable storage medium storing program for executing and computer equipment Download PDFInfo
- Publication number
- CN108572837A CN108572837A CN201810594818.9A CN201810594818A CN108572837A CN 108572837 A CN108572837 A CN 108572837A CN 201810594818 A CN201810594818 A CN 201810594818A CN 108572837 A CN108572837 A CN 108572837A
- Authority
- CN
- China
- Prior art keywords
- size
- upgrade package
- server
- software
- space
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The invention discloses a kind of method for upgrading software, device, readable storage medium storing program for executing and computer equipment, the method includes:When, there are when the upgrade package of the software, the download configuration file from the server, the configuration file is used to indicate the size of the upgrade package on server;The configuration file is parsed, to obtain the size of the upgrade package;Judge whether the size of the upgrade package is more than the size of current residual space;If the size of the upgrade package is more than the size of current residual space, prompt message is sent out, the prompt message is used to indicate user and carries out space cleaning.The present invention can solve the problems, such as to cause to affect user experience because remaining space deficiency causes software upgrading failure in the prior art.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of method for upgrading software, device, readable storage medium storing program for executing and
Computer equipment.
Background technology
With the development of technology and the improvement of people ’ s living standards, intelligent terminal, such as smart mobile phone, tablet computer, intelligence
Energy television set etc., is used widely, has become people and live, learn, entertaining indispensable product.
Software in intelligent terminal is frequently necessary to be upgraded, to realize the update of version and the optimization of function, related skill
In art, generally use OTA (Over-the-AirTechnology, over the air) realizes the upgrading of software, by wireless
Network attached server, the upgrading of installation realization software after downloading software upgrade package in server.
In the prior art, when there is software to need update, it can only pop up and prompt in terminal, remind user to download, Yong Hugen
According to prompt, clicks after confirming download, realize the update of software, but sometimes more due to being cached in terminal system, lead to end
When holding remaining insufficient space to put down software upgrade package, it often will appear update failure, for a user, waste flow
And the time, or even complaint can be brought, influence the usage experience of user.
Invention content
For this purpose, one embodiment of the present of invention proposes a kind of method for upgrading software, solve in the prior art because of remaining space
The problem of deficiency causes software upgrading failure and causes to affect user experience.
Method for upgrading software according to an embodiment of the invention, including:
When on server there are when the upgrade package of the software, the download configuration file from the server, the configuration
File is used to indicate the size of the upgrade package;
The configuration file is parsed, to obtain the size of the upgrade package;
Judge whether the size of the upgrade package is more than the size of current residual space;
If the size of the upgrade package is more than the size of current residual space, prompt message, the prompt message are sent out
It is used to indicate user and carries out space cleaning.
Method for upgrading software according to the ... of the embodiment of the present invention will not be downloaded immediately when server has the upgrade package of software
The upgrade package, but a configuration file is downloaded first, which is used to indicate the size of upgrade package, by the configuration
File, which carries out parsing, can obtain the size of upgrade package, then carry out the size of upgrade package and the size of current residual space pair
Than if the size of upgrade package is more than the size of current residual space, prompt message being sent out, to indicate that it is clear that user carries out space
Reason avoids customer flow and waste of time in order to avoid blindly downloading upgrade package and causing the consequence that can not complete to upgrade, and is promoted
The usage experience of user when having enough spaces to store the upgrade package, then downloads upgrade package after user completes space cleaning
Realize the upgrading of software.
In addition, method for upgrading software according to the above embodiment of the present invention, can also have following additional technical characteristic:
Further, in one embodiment of the invention, if the size of the upgrade package is more than current residual sky
Between size, then after the step of sending out prompt message, the method further includes:
When the cleaning for receiving user confirms instruction, space cleaning is carried out;
Judge whether the size of the remaining space after cleaning is not less than the size of the upgrade package;
If the size of the remaining space after cleaning is not less than the size of the upgrade package, institute is downloaded from the server
Upgrade package is stated, to carry out software upgrading.
Further, in one embodiment of the invention, described to judge whether the size of the remaining space after cleaning is big
After in the size of the upgrade package the step of, the method further includes:
If the size of the remaining space after cleaning is less than the size of the upgrade package, the second prompt message is sent out, it is described
It is insufficient that second prompt message is used to indicate system free space.
Further, in one embodiment of the invention, it is described when on server there are when the upgrade package of the software,
Before in the server the step of download configuration file, the method further includes:
Timing sends software upgrading request to the server, to judge that the server whether there is the liter of the software
Grade packet;
When there are the confirmation message for when upgrade package of the software, receiving the server return, institutes on the server
It states confirmation message and is used to indicate on the server that there are the upgrade package of the software.
Further, in one embodiment of the invention, it is described when on server there are when the upgrade package of the software,
Before in the server the step of download configuration file, the method further includes:
The update notification that the server issues is received, the update notification is used to indicate on the server in the presence of described
The upgrade package of software.
Further, in one embodiment of the invention, whether the size for judging the upgrade package is more than current
The step of size of remaining space includes:
The size of current residual space is obtained by preset instructions;
The size of the size and the upgrade package of the current residual space is compared, to judge the upgrade package
Whether size is more than the size of current residual space.
Further, in one embodiment of the invention, the format of the configuration file is txt.
An alternative embodiment of the invention proposes a kind of software updating apparatus, solves in the prior art because of remaining space deficiency
The problem of causing software upgrading failure and causing to affect user experience.
Software updating apparatus according to an embodiment of the invention, including:
First download module, for when, there are when the upgrade package of the software, being downloaded from the server on server
Configuration file, the configuration file are used to indicate the size of the upgrade package;
Parsing module, for being parsed to the configuration file, to obtain the size of the upgrade package;
First judgment module, for judging whether the size of the upgrade package is more than the size of current residual space;
First reminding module is used to, when the size of the upgrade package is more than the size of current residual space, send out prompt
Information, the prompt message are used to indicate user and carry out space cleaning.
In addition, software updating apparatus according to the above embodiment of the present invention, can also have following additional technical characteristic:
Further, in one embodiment of the invention, described device further includes:
Cleaning modul, for when the cleaning for receiving user confirms instruction, carrying out space cleaning;
Whether the second judgment module, the size for judging the remaining space after clearing up are big not less than the upgrade package
It is small;
Second download module, when the size for the remaining space after cleaning is not less than the size of the upgrade package, from
The upgrade package is downloaded in the server, to carry out software upgrading.
Further, in one embodiment of the invention, described device further includes:
Second reminding module is sent out when the size for the remaining space after cleaning is less than the size of the upgrade package
Second prompt message, it is insufficient that second prompt message is used to indicate system free space.
Further, in one embodiment of the invention, described device further includes:
Request module sends software upgrading request, to judge whether the server is deposited for timing to the server
In the upgrade package of the software;
First receiving module, for when, there are when the upgrade package of the software, receiving the server on the server
The confirmation message of return, the confirmation message are used to indicate on the server that there are the upgrade package of the software.
Further, in one embodiment of the invention, described device further includes:
Second receiving module, the update notification issued for receiving the server, the update notification are used to indicate institute
State on server that there are the upgrade package of the software.
Further, in one embodiment of the invention, first judgment module includes:
Acquiring unit, the size for obtaining current residual space by preset instructions;
Comparison unit, the size for size and the upgrade package to the current residual space compares, to sentence
Whether the size for the upgrade package of breaking is more than the size of current residual space.
Further, in one embodiment of the invention, the format of the configuration file is txt.
An alternative embodiment of the invention also propose it is a kind of it is readable can storage medium, be stored thereon with computer program, should
The step of above method is realized when program is executed by processor.
An alternative embodiment of the invention also proposes a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor realize the above method when executing described program
Step.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description
Obviously, or embodiment through the invention is recognized.
Description of the drawings
In description of the above-mentioned and/or additional aspect and advantage of the embodiment of the present invention from combination following accompanying drawings to embodiment
It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the flow chart of method for upgrading software according to a first embodiment of the present invention;
Fig. 2 is the flow chart of method for upgrading software according to a second embodiment of the present invention;
Fig. 3 is the structural schematic diagram of software updating apparatus according to a third embodiment of the present invention;
Fig. 4 is the structural schematic diagram of software updating apparatus according to a fourth embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Referring to Fig. 1, the method for upgrading software that first embodiment of the invention proposes, including:
S101, when, there are when the upgrade package of the software, the download configuration file from the server is described on server
Configuration file is used to indicate the size of the upgrade package;
Wherein, the application environment of method provided in this embodiment can be applied in smart mobile phone, tablet computer or intelligence electricity
Depending in the intelligent terminals such as machine, specifically, the present embodiment is illustrated by taking intelligent TV set as an example, intelligent TV set can be had
The smart machine of IOS or Android operation system can be equipped with the application software such as video, game in intelligent TV set
(APP), the software in step S101 can be video, these application software of playing, and can also be the operation system of intelligent TV set
System itself.
Wherein, server can be http-server or ftp server, when operation maintenance personnel stores software on the server
When upgrade package, need to add a configuration file simultaneously, in order to ensure that the configuration file the space occupied is smaller, specific implementation
When, the format of the configuration file can be txt, which is, for example, SW_SIZE.txt, and the inside is filled with the upgrading of software
The size of packet, such as 130MB.
When, there are when the upgrade package of software, intelligent TV set will not directly download from a server the upgrading on server
Packet, but configuration file SW_SIZE.txt is downloaded first.
S102 parses the configuration file, to obtain the size of the upgrade package;
Wherein, intelligent TV set can parse configuration file, since the file format of configuration file is relatively simple,
Therefore the size for the upgrade package wherein filled in, i.e. 130MB can be very easily got from SW_SIZE.txt.
S103, judges whether the size of the upgrade package is more than the size of current residual space;
Wherein, it needs the size of the current residual space of intelligent TV set being compared with the size of upgrade package, judge
Whether the size of upgrade package is more than the size of current residual space, if the size of upgrade package is more than the size of current residual space,
Illustrate that intelligent TV set goes to store the upgrade package without enough memory spaces at this time;On the contrary, if the size of upgrade package is less than
Or the size equal to current residual space, illustrate that there is intelligent TV set enough memory spaces to go to store the upgrade package at this time.
S104 sends out prompt message, the prompt if the size of the upgrade package is more than the size of current residual space
Information is used to indicate user and carries out space cleaning.
Wherein, the size of the current residual space of intelligent TV set is, for example, 120MB, due to the size of upgrade package
(130MB) is more than the size (120MB) of current residual space, illustrates that intelligent TV set is gone without enough memory spaces at this time
The upgrade package is stored, then smart television chance sends out prompt message, is used to indicate user and carries out space cleaning, it should be pointed out that
It is that when sending out prompt message, intelligent TV set still will not go to download the upgrade package, fails to avoid upgrading.
According to the method for upgrading software of the present embodiment, when server has the upgrade package of software, the liter will not be downloaded immediately
Grade packet, but a configuration file is downloaded first, which is used to indicate the size of upgrade package, by the configuration file
The size of upgrade package can be obtained by carrying out parsing, then compare the size of the size of upgrade package and current residual space,
If the size of upgrade package is more than the size of current residual space, prompt message is sent out, to indicate that user carries out space cleaning, with
Exempt from blindly to download upgrade package and cause the consequence that can not complete to upgrade, avoids customer flow and waste of time, improve use
The usage experience at family when having enough spaces to store the upgrade package, then downloads upgrade package realization after user completes space cleaning
The upgrading of software.
Referring to Fig. 2, the method for upgrading software that second embodiment of the invention proposes, including:
S201 judges the upgrade package that whether there is software on server;
Wherein, the application environment of method provided in this embodiment is equally applicable in smart mobile phone, tablet computer or intelligence
Can be in the intelligent terminals such as television set, specifically, the present embodiment is still illustrated by taking intelligent TV set as an example, intelligent TV set can be with
It is that there is IOS or the smart machine of Android operation system, the applications such as video, game can be installed in intelligent TV set
Software (APP), the software in step S101, can be video, these application software of playing, can also be the behaviour of intelligent TV set
Make system itself.
Wherein, server can be http-server or ftp server, judge the upgrading that whether there is software on server
Packet specifically may be used the two mode and realize:
The first:
Timing sends software upgrading request to the server, to judge that the server whether there is the liter of the software
Grade packet;
For example, intelligent TV set creates a new process in backstage in booting, can go to check service every 30 minutes
Whether need to update software on device.
When there are the confirmation message for when upgrade package of the software, receiving the server return, institutes on the server
It states confirmation message and is used to indicate on the server that there are the upgrade package of the software.
Second:
The update notification that the server issues is received, the update notification is used to indicate on the server in the presence of described
The upgrade package of software actively issues update notification, to notify intelligent TV set currently to have by server to intelligent TV set
Software needs to update.
S202, when, there are when the upgrade package of the software, the download configuration file from the server is described on server
Configuration file is used to indicate the size of the upgrade package;
Wherein, it when operation maintenance personnel stores the upgrade package of software on the server, needs to add a configuration file simultaneously,
In order to ensure that the configuration file the space occupied is smaller, when it is implemented, the format of the configuration file can be txt, the configuration
File is, for example, SW_SIZE.txt, and the inside is filled with the size of the upgrade package of software, such as 130MB.When there are soft on server
When the upgrade package of part, intelligent TV set will not directly download from a server the upgrade package, but download the configuration file first
SW_SIZE.txt。
S203 parses the configuration file, to obtain the size of the upgrade package;
Wherein, intelligent TV set can parse configuration file, since the file format of configuration file is relatively simple,
Therefore the size for the upgrade package wherein filled in, i.e. 130MB can be very easily got from SW_SIZE.txt.
S204, judges whether the size of the upgrade package is more than the size of current residual space;
Wherein, when it is implemented, the step specifically includes:
The size of current residual space is obtained by preset instructions;
Wherein, for the intelligent TV set of the Android operation system using linux kernel, preset instructions are, for example,
" df-h " can get following information by the instruction:
ubi:Oad 155.3M 50M 105.3M 32.2%/OAD
Wherein, ubi:Oad indicates that drive, 155.3M indicate that gross space size, 50M indicate used size, 105.3M
Indicate the size of remaining space, 32.2% indicates utilization rate.
The size of the size and the upgrade package of the current residual space is compared, to judge the upgrade package
Whether size is more than the size of current residual space.
S205 sends out prompt message, the prompt if the size of the upgrade package is more than the size of current residual space
Information is used to indicate user and carries out space cleaning;
Wherein, since the size of the current residual space of intelligent TV set is 105.3MB, and the size of upgrade package
(130MB) is more than the size (105.3MB) of current residual space, illustrates that intelligent TV set does not have enough memory spaces at this time
It goes to store the upgrade package, then smart television chance sends out prompt message, is used to indicate user and carries out space cleaning, it should be pointed out that
It is that when sending out prompt message, intelligent TV set still will not go to download the upgrade package, fails to avoid upgrading.
S206 carries out space cleaning when the cleaning for receiving user confirms instruction;
Wherein, user can carry out space cleaning to intelligent TV set, can be specifically pair after seeing the prompt message
It is data cached to be cleared up, to increase the current residual space of intelligent TV set.
S207, judges whether the size of the remaining space after cleaning is not less than the size of the upgrade package, if so, executing
S208, if it is not, then executing S209;
S208 downloads the upgrade package from the server, to carry out software upgrading;
Wherein, if after cleaning, the current residual space of intelligent TV set is enough to store upgrade package, then can be from server
The upgrade package is downloaded, software upgrading is then carried out.
S209 sends out the second prompt message, and it is insufficient that second prompt message is used to indicate system free space.
Wherein, if after cleaning, the current residual space of intelligent TV set is still not enough to storage upgrade package, then sends out second and carry
Show information, be used to indicate system free space deficiency, so that user continues space cleaning or temporarily abandons software upgrading.
The present embodiment can enhance the interaction effect with user, further promote software on the basis of a upper embodiment
User experience when upgrading.
It should be noted that the present embodiment stressed is difference with a upper embodiment, between each embodiment
The identical non-repeated description in similar part, can be with cross-reference, and the technical characteristic between each embodiment can be according to this field
The conventional technical means of technical staff carries out selective combination.
Referring to Fig. 3, it is based on same inventive concept, and the software updating apparatus that third embodiment of the invention proposes, the dress
Set including:
First download module 10, for when on server there are when the upgrade package of the software, under in the server
Configuration file is carried, the configuration file is used to indicate the size of the upgrade package;
Parsing module 20, for being parsed to the configuration file, to obtain the size of the upgrade package;
First judgment module 30, for judging whether the size of the upgrade package is more than the size of current residual space;
First reminding module 40 is used to, when the size of the upgrade package is more than the size of current residual space, send out and carry
Show that information, the prompt message are used to indicate user and carry out space cleaning.
According to the software updating apparatus of the present embodiment, when server has the upgrade package of software, the liter will not be downloaded immediately
Grade packet, but a configuration file is downloaded first, which is used to indicate the size of upgrade package, by the configuration file
The size of upgrade package can be obtained by carrying out parsing, then compare the size of the size of upgrade package and current residual space,
If the size of upgrade package is more than the size of current residual space, prompt message is sent out, to indicate that user carries out space cleaning, with
Exempt from blindly to download upgrade package and cause the consequence that can not complete to upgrade, avoids customer flow and waste of time, improve use
The usage experience at family when having enough spaces to store the upgrade package, then downloads upgrade package realization after user completes space cleaning
The upgrading of software.
Referring to Fig. 4, it is based on same inventive concept, and the software updating apparatus that fourth embodiment of the invention proposes, the dress
Set including:
First download module 10, for when on server there are when the upgrade package of the software, under in the server
Configuration file is carried, the configuration file is used to indicate the size of the upgrade package;
Parsing module 20, for being parsed to the configuration file, to obtain the size of the upgrade package;
First judgment module 30, for judging whether the size of the upgrade package is more than the size of current residual space;
First reminding module 40 is used to, when the size of the upgrade package is more than the size of current residual space, send out and carry
Show that information, the prompt message are used to indicate user and carry out space cleaning.
Cleaning modul 50, for when the cleaning for receiving user confirms instruction, carrying out space cleaning;
Whether the second judgment module 60, the size for judging the remaining space after clearing up are big not less than the upgrade package
It is small;
Second download module 70, when the size for the remaining space after cleaning is not less than the size of the upgrade package,
The upgrade package is downloaded from the server, to carry out software upgrading.
Second reminding module 80, when the size for the remaining space after cleaning is less than the size of the upgrade package, hair
Go out the second prompt message, it is insufficient that second prompt message is used to indicate system free space.
In the present embodiment, described device further includes:
Request module 90 sends software upgrading request, whether to judge the server for timing to the server
There are the upgrade package of the software;
First receiving module 100, for when, there are when the upgrade package of the software, receiving the service on the server
The confirmation message that device returns, the confirmation message are used to indicate on the server that there are the upgrade package of the software.
In the present embodiment, described device further includes:
Second receiving module 110, the update notification issued for receiving the server, the update notification are used to indicate
There are the upgrade package of the software on the server.
In the present embodiment, first judgment module 30 includes:
Acquiring unit 301, the size for obtaining current residual space by preset instructions;
Comparison unit 302, the size for size and the upgrade package to the current residual space compare, with
Judge whether the size of the upgrade package is more than the size of current residual space.
In the present embodiment, the format of the configuration file is txt.
The present embodiment can enhance the interaction effect with user, further promote software on the basis of a upper embodiment
User experience when upgrading.
It should be noted that the present embodiment stressed is difference with a upper embodiment, between each embodiment
The identical non-repeated description in similar part, can be with cross-reference, and the technical characteristic between each embodiment can be according to this field
The conventional technical means of technical staff carries out selective combination.
In addition, the embodiment of the present invention also proposes a kind of readable storage medium storing program for executing, it is stored thereon with computer instruction, the instruction
The step of above method is realized when being executed by processor.
In addition, the embodiment of the present invention also proposes a kind of computer equipment, including memory, processor and it is stored in
On reservoir and the computer program that can run on a processor, the processor realize the step of the above method when executing described program
Suddenly.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system of such as computer based system including processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicating, propagating or passing
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.
The more specific example (non-exhaustive list) of computer-readable medium includes following:It is connected up with one or more
Electrical connection section (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or when necessary with it
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the present invention can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in can be combined in any suitable manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not
In the case of being detached from the principle of the present invention and objective a variety of change, modification, replacement and modification can be carried out to these embodiments, this
The range of invention is limited by claim and its equivalent.
Claims (10)
1. a kind of method for upgrading software, which is characterized in that the method includes:
When on server there are when the upgrade package of the software, the download configuration file from the server, the configuration file
It is used to indicate the size of the upgrade package;
The configuration file is parsed, to obtain the size of the upgrade package;
Judge whether the size of the upgrade package is more than the size of current residual space;
If the size of the upgrade package is more than the size of current residual space, prompt message is sent out, the prompt message is used for
Indicate that user carries out space cleaning.
2. method for upgrading software according to claim 1, which is characterized in that work as if the size of the upgrade package is more than
The size of preceding remaining space, then after the step of sending out prompt message, the method further includes:
When the cleaning for receiving user confirms instruction, space cleaning is carried out;
Judge whether the size of the remaining space after cleaning is not less than the size of the upgrade package;
If the size of the remaining space after cleaning is not less than the size of the upgrade package, the liter is downloaded from the server
Grade packet, to carry out software upgrading.
3. method for upgrading software according to claim 2, which is characterized in that described to judge the big of the remaining space after cleaning
After small the step of whether being not less than the size of the upgrade package, the method further includes:
If the size of the remaining space after cleaning is less than the size of the upgrade package, the second prompt message is sent out, described second
It is insufficient that prompt message is used to indicate system free space.
4. method for upgrading software according to claim 1, which is characterized in that described when there are the softwares on server
When upgrade package, before in the server the step of download configuration file, the method further includes:
Timing sends software upgrading request to the server, to judge that the server whether there is the upgrading of the software
Packet;
When on the server there are the confirmation message for when upgrade package of the software, receiving the server and returning, it is described really
Recognize information and is used to indicate on the server that there are the upgrade package of the software.
5. method for upgrading software according to claim 1, which is characterized in that described when there are the softwares on server
When upgrade package, before in the server the step of download configuration file, the method further includes:
Receive the update notification that the server issues, the update notification is used to indicate on the server that there are the softwares
Upgrade package.
6. method for upgrading software according to claim 1, which is characterized in that whether the size for judging the upgrade package
More than current residual space size the step of include:
The size of current residual space is obtained by preset instructions;
The size of the size and the upgrade package of the current residual space is compared, to judge the size of the upgrade package
Whether the size of current residual space is more than.
7. method for upgrading software according to claim 1, which is characterized in that the format of the configuration file is txt.
8. a kind of software updating apparatus, which is characterized in that described device includes:
First download module, for when on server there are when the upgrade package of the software, the download configuration from the server
File, the configuration file are used to indicate the size of the upgrade package;
Parsing module, for being parsed to the configuration file, to obtain the size of the upgrade package;
First judgment module, for judging whether the size of the upgrade package is more than the size of current residual space;
First reminding module is used to, when the size of the upgrade package is more than the size of current residual space, send out prompt message,
The prompt message is used to indicate user and carries out space cleaning.
9. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that real when the program is executed by processor
The now method as described in claim 1-7 any one.
10. a kind of computer equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, which is characterized in that the processor is realized when executing described program as described in claim 1 to 7 any one
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594818.9A CN108572837A (en) | 2018-06-11 | 2018-06-11 | Method for upgrading software, device, readable storage medium storing program for executing and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810594818.9A CN108572837A (en) | 2018-06-11 | 2018-06-11 | Method for upgrading software, device, readable storage medium storing program for executing and computer equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108572837A true CN108572837A (en) | 2018-09-25 |
Family
ID=63573213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810594818.9A Pending CN108572837A (en) | 2018-06-11 | 2018-06-11 | Method for upgrading software, device, readable storage medium storing program for executing and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108572837A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110007943A (en) * | 2019-03-29 | 2019-07-12 | 烽火通信科技股份有限公司 | A kind of application program update management method and system based on android system |
CN110134416A (en) * | 2019-04-12 | 2019-08-16 | 平安普惠企业管理有限公司 | Oftware updating method, device and computer readable storage medium |
CN113495729A (en) * | 2020-03-20 | 2021-10-12 | 株洲中车时代电气股份有限公司 | Software upgrading method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
CN105573770A (en) * | 2014-10-14 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Application program downloading and installing method and device |
CN105721941A (en) * | 2016-01-18 | 2016-06-29 | 贵阳海信电子有限公司 | Over-the-air upgrading control method and device of cloud television |
CN105843656A (en) * | 2016-04-22 | 2016-08-10 | Tcl集团股份有限公司 | System upgrading method for insufficient disk space, terminal device and server |
US20170102934A1 (en) * | 2014-05-20 | 2017-04-13 | Xi'an Zhongxing New Software Co., Ltd. | Device Management Session Triggering Method, Device, System and Computer Storage Medium |
-
2018
- 2018-06-11 CN CN201810594818.9A patent/CN108572837A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
US20170102934A1 (en) * | 2014-05-20 | 2017-04-13 | Xi'an Zhongxing New Software Co., Ltd. | Device Management Session Triggering Method, Device, System and Computer Storage Medium |
CN105573770A (en) * | 2014-10-14 | 2016-05-11 | 腾讯科技(深圳)有限公司 | Application program downloading and installing method and device |
CN105721941A (en) * | 2016-01-18 | 2016-06-29 | 贵阳海信电子有限公司 | Over-the-air upgrading control method and device of cloud television |
CN105843656A (en) * | 2016-04-22 | 2016-08-10 | Tcl集团股份有限公司 | System upgrading method for insufficient disk space, terminal device and server |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110007943A (en) * | 2019-03-29 | 2019-07-12 | 烽火通信科技股份有限公司 | A kind of application program update management method and system based on android system |
CN110134416A (en) * | 2019-04-12 | 2019-08-16 | 平安普惠企业管理有限公司 | Oftware updating method, device and computer readable storage medium |
CN113495729A (en) * | 2020-03-20 | 2021-10-12 | 株洲中车时代电气股份有限公司 | Software upgrading method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102932777B (en) | The update method of a kind of terminal applies and user terminal | |
CN108241500B (en) | Method, device and system for repairing hardware component and storage medium | |
US9792623B2 (en) | Advertisement processing method and apparatus | |
CN105893070A (en) | Application SDK upgrading method and system | |
CN107133063A (en) | The method for upgrading software and mobile terminal of a kind of customization | |
CN106911502A (en) | A kind of upgrade method and system of intelligent home gateway equipment | |
CN103677877A (en) | Method and device for updating local advertisement software development kit | |
CN103699408A (en) | Software updating method and equipment | |
CN105867956A (en) | Method and device for showing plugin view element in host application page | |
CN108572837A (en) | Method for upgrading software, device, readable storage medium storing program for executing and computer equipment | |
CN110971922B (en) | Live broadcast and microphone connection state monitoring method, client, server, medium and system | |
CN103049287A (en) | Mobile terminal and method for installing application programs of mobile terminal | |
CN103353845A (en) | Method and device for uploading and pushing script | |
CN103595766A (en) | Method and device for achieving push notification of extensive application program | |
CN104639648A (en) | Remote upgrading method for intelligent cabinet | |
CN104239098A (en) | Automatic software upgrading method and device and mobile terminal | |
CN104346198A (en) | Information processing apparatus, server apparatus, information processing method, and program | |
CN104580267A (en) | A resource downloading method, device, server and corresponding system | |
CN105786636B (en) | A kind of system repair and device | |
CN103838851A (en) | Rendering method and device of three-dimensional scene model file | |
CN103634668A (en) | System upgrading method and device in smart television | |
CN103634675A (en) | System updating method and device in intelligent television | |
CN109213533A (en) | A kind of advertisement SDK dynamic loading method, device and terminal | |
CN102377793B (en) | Flash interaction method and device based on mobile communication equipment terminal | |
CN103491438A (en) | Method and system for updating applications of smart television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180925 |
|
RJ01 | Rejection of invention patent application after publication |