CN107943505A - Application upgrade management method, device, storage medium and electronic equipment - Google Patents

Application upgrade management method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107943505A
CN107943505A CN201711339888.1A CN201711339888A CN107943505A CN 107943505 A CN107943505 A CN 107943505A CN 201711339888 A CN201711339888 A CN 201711339888A CN 107943505 A CN107943505 A CN 107943505A
Authority
CN
China
Prior art keywords
upgrade
application
upgrade components
components
latest edition
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
CN201711339888.1A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711339888.1A priority Critical patent/CN107943505A/en
Publication of CN107943505A publication Critical patent/CN107943505A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses a kind of application upgrade management method, device, storage medium and electronic equipment, wherein method includes:Receive the upgrade command of application to be upgraded;According to the upgrade command, whether the detection application to be upgraded is being locally stored corresponding upgrade components;When there are during the upgrade components, judge the corresponding version of the upgrade components whether be the application to be upgraded latest edition;If the corresponding version of the upgrade components is not latest edition, the upgrade components of latest edition are obtained;If the corresponding version of the upgrade components is latest edition, the upgrading to the application to be upgraded is completed using the upgrade components.Application upgrade management method in the embodiment of the present application can be to avoid the repeated downloads of upgrade components, and ensure that using upgraded version be latest edition, the operational efficiency of lifting system, the final power consumption for reducing equipment.

Description

Application upgrade management method, device, storage medium and electronic equipment
Technical field
This application involves electronic technology field, and in particular to a kind of application upgrade management method, device, storage medium and electricity Sub- equipment.
Background technology
With the development of smart machine, the application operated on smart machine is more and more so that the use of smart machine Scope is also more and more extensive.
On current smart machine, the development company of application, can be to user's intelligence in order to obtain the user experience of more preferable renewal Application version in energy equipment carries out continuous iteration, to increase more functions, improves the stability of application.Set in existing intelligence During standby application upgrade, smart machine can receive the upgrade command of the application first, then directly can apply phase with this The server of pass is attached, and whether the version for detecting current application is consistent with latest edition on server, if inconsistent, This is downloaded from server and applies corresponding upgrade components, completes to upgrade using the upgrade components.
The content of the invention
The embodiment of the present application provides a kind of application upgrade management method, device, storage medium and electronic equipment, can reduce The power consumption of electronic equipment.
In a first aspect, the embodiment of the present application provides a kind of application upgrade management method, including:
Receive the upgrade command of application to be upgraded;
According to the upgrade command, whether the detection application to be upgraded is being locally stored corresponding upgrade components;
When there are during the upgrade components, judge whether the corresponding version of the upgrade components is the application to be upgraded Latest edition;
If the corresponding version of the upgrade components is not latest edition, the upgrade components of latest edition are obtained;
The upgrading to the application to be upgraded is completed using the upgrade components.
Second aspect, a kind of application upgrade managing device that the embodiment of the present application also provides, including:
Command reception module, for receiving the upgrade command of application to be upgraded;
Component detection module, for whether being locally stored according to the upgrade command, the detection application to be upgraded Corresponding upgrade components;
Judgment module, for when there are during the upgrade components, judge whether the corresponding version of the upgrade components is institute State the latest edition of application to be upgraded;
Component acquisition module, if not being latest edition for the corresponding version of the upgrade components, obtains latest edition Upgrade components;And
Upgraded module, for completing the upgrading to the application to be upgraded using the upgrade components.
The third aspect, the embodiment of the present application also provide a kind of storage medium, and the storage medium stores a plurality of instruction, described When a plurality of instruction is suitable for running on computers so that the computer performs application upgrade management method as described above.
Fourth aspect, the embodiment of the present application also provide a kind of electronic equipment, including processor and memory, the memory A plurality of instruction is stored, the processor is used to perform application upgrade pipe as described above by loading the instruction in the memory Reason method.
A kind of application upgrade management method provided by the embodiments of the present application, needs the corresponding liter of upgrade application when being locally stored During level assembly, first it can judge whether the upgrade components are latest edition based on the upgrade components, if it is not, then obtaining latest edition Upgrade components, then treat upgrade application using the upgrade components of the latest edition and are upgraded.Answering in the embodiment of the present application Can be to avoid the repeated downloads of upgrade components with updating management method, and ensure that using upgraded version be latest edition, carry The operational efficiency of the system of liter, the final power consumption for reducing equipment.
Brief description of the drawings
Below in conjunction with the accompanying drawings, by the way that the embodiment of the application is described in detail, the technical solution of the application will be made And other beneficial effects are apparent.
Fig. 1 is the first application scenario diagram of application upgrade management method provided by the embodiments of the present application.
Fig. 2 realizes flow chart for application upgrade management method provided by the embodiments of the present application.
Fig. 3 realizes flow chart for the another of application upgrade management method provided by the embodiments of the present application.
Fig. 4 is the first application scenarios schematic diagram of application upgrade management method provided by the embodiments of the present application.
Fig. 5 is the second application scenarios schematic diagram of application upgrade management method provided by the embodiments of the present application.
Fig. 6 is the 3rd application scenarios schematic diagram of application upgrade management method provided by the embodiments of the present application.
Fig. 7 is the 4th application scenarios schematic diagram of application upgrade management method provided by the embodiments of the present application.
Fig. 8 realizes flow chart for acquisition latest edition upgrade components provided by the embodiments of the present application.
Fig. 9 realizes flow chart for download upgrade components provided by the embodiments of the present application.
Figure 10 is the structure of application upgrade managing device provided by the embodiments of the present application.
Figure 11 is the structure of judgment module provided by the embodiments of the present application.
Figure 12 is the structure of component acquisition module provided by the embodiments of the present application.
Figure 13 is the structure diagram of electronic equipment provided by the embodiments of the present application.
Figure 14 is another structure diagram of electronic equipment provided by the embodiments of the present application.
Embodiment
Schema is refer to, wherein identical element numbers represent identical component, the principle of the application is to implement one Illustrated in appropriate computing environment.The following description is based on illustrated the application specific embodiment, it should not be by It is considered as limitation the application other specific embodiments not detailed herein.
In the following description, the specific embodiment of the application is by with reference to as the step performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes The computer of finger, which performs, to be included by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is changed at the data or the position being maintained in the memory system of the computer, its is reconfigurable Or in addition change the running of the computer in a manner of known to the tester of this area.The data structure that the data are maintained For the provider location of the memory, it has the particular characteristics as defined in the data format.But the application principle is with above-mentioned text Word illustrates that it is not represented as a kind of limitation, this area tester will appreciate that plurality of step as described below and behaviour Also may be implemented among hardware.
Term as used herein " module " can be the software object performed in the arithmetic system.Difference as described herein Component, module, engine and service can be the objective for implementation in the arithmetic system.And device and method as described herein can be with The mode of software is implemented, and can also be implemented certainly on hardware, within the application protection domain.
Term " first ", " second " and " the 3rd " in the application etc. is to be used to distinguish different objects, rather than for retouching State particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that cover non-exclusive include. Such as contain the step of process, method, system, product or the equipment of series of steps or module is not limited to list or Module, but some embodiments further include the step of not listing or module, or some embodiments further include for these processes, Method, product or equipment intrinsic other steps or module.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Fig. 1 is the first application scenarios of the application upgrade management method in the embodiment of the present application, including electronic equipment And the server with electronic equipment communication connection, electronic equipment can include mobile phone (or be " honeycomb " phone, such as intelligence Can mobile phone) or computer with wireless communication module, for example, tablet computer, it can also be portable, pocket, hand-held The car-mounted computer of formula, they exchange language and/or data with wireless access network.For example, personal communication service (Personal Communication Service, PCS) phone, wireless phone, Session initiation Protocol (Session Initiation Protocol, SIP) phone, wireless local loop (Wireless Local Loop, WLL) stand, personal digital assistant Equipment such as (Personal Digital Assistant, PDA), is not limited thereto.In the application scenarios, electronic equipment can To obtain the data needed for application upgrade by being wirelessly or non-wirelessly connected with server, and from server.
When this method is applied in electronic equipment, electronic equipment can include but is not limited to smart mobile phone, tablet computer, pen Remember the terminals such as this computer, palm PC, Intelligent bracelet.Wherein, which may operate at the behaviour of electronic equipment Make in system, it may include but it is not limited to Windows operating system, Mac OS operating systems, Android operation system, IOS operations System, Symbian (Saipan) operating system, Windows Phone operating systems etc., the embodiment of the present application does not limit.
Referring to Fig. 2, the application upgrade management method in the embodiment of the present application is shown in figure realizes flow, for the ease of Illustrate, illustrate only in figure and the relevant part of teachings herein.
As shown in Fig. 2, a kind of application upgrade management method, applied to the electronic equipment described in Fig. 1, comprises the following steps:
101, receive the upgrade command of application to be upgraded.
In certain embodiments, upgrade command can apply to send automatically after start completion, or apply and connecing Sent after receiving the triggering of the operation (such as selecting upgrade function) made by user, can also be server according to default process Sent after being triggered to the upgrading of application.
For example, user clicks on the upgrade button in the operation interface of application, which can trigger generation upgrading and refers to Order, electronic equipment can receive the upgrade command at this time.
102, according to upgrade command, detect whether application to be upgraded is being locally stored corresponding upgrade components.
In certain embodiments, upgrade components are properly termed as component bag, upgrade package, renewal bag or installation kit of application etc., For carrying out updating operation to corresponding application.When electronic equipment gets the upgrade components from server, and complete to upgrading After the download of component, some specific location (such as file of some storage address) of electronic equipment local is typically stored at. After electronic equipment receives the upgrade command of the application, whether there can be the upgrade components in specific location inquiry.
For example, the title of upgrade components is set to component A, the position that is locally stored that upgrade components are completed to store after downloading is Position A, when need to detect the application whether corresponding upgrade components are being locally stored when, can be searched whether in position A Component A is there are, determines whether that there are upgrade components.
In certain embodiments, if to be upgraded apply locally be not stored with corresponding upgrade components, from server The upgrade components of latest edition are obtained, and complete to treat the upgrading of upgrade application using the upgrade components of latest edition.If wait to rise Level, which is applied, is being locally stored corresponding upgrade components, then can perform and judge whether the corresponding version of upgrade components is to be upgraded answer The step of latest edition.
103, when there are during upgrade components, judge the corresponding version of upgrade components whether be application to be upgraded latest edition This;If so, the upgrading to the application to be upgraded is then completed using upgrade components;If it is not, then obtain the upgrading group of latest edition Part.
Wherein, the latest edition of application to be upgraded, refers to that this applies the version of recent renewal, in general, each version With a version number, if under version more news if version number's numerical value is more big, the latest edition, that is, version number's numerical value Maximum version.
In certain embodiments, can be by the latest edition of the application when latest edition of the server there are the application Configuration parameter is stored in the storage class of system, such as the SharePreferences classes in system.When needing to judge upgrading group When whether the corresponding version of part is the latest edition of application to be upgraded, the application directly can be got most by the storage class New version number, and the latest edition number is compared to judge whether the upgrade components are newest with the version number of upgrade components The upgrade components of version.
The prior art after it is not latest edition to know version to be upgraded, can be touched in the upgrading applied every time The problem of sending out the download to latest edition upgrade components, so producing the repeated downloads of upgrade components.In certain embodiments, First the version number for the upgrade components being locally stored can be compared with the version number of application to be upgraded.When the upgrade components Version number is less than or equal to be upgraded in application, directly downloading the upgrade components of latest edition to server;When the upgrade components Version number be more than it is to be upgraded in application, it needs to be determined that the version whether be application to be upgraded latest edition, if then direct The upgrading to the application to be upgraded is performed, the upgrade components without downloading latest edition by server, so as to avoid repeating The problem of download.
104, if the corresponding version of upgrade components is not latest edition, obtain the upgrade components of latest edition.
In certain embodiments, the upgrade components of latest edition are obtained, can download to obtain from server, can also It is to be obtained from the memory that user provides, so that the version for ensureing the upgrade components for upgrading is latest edition.
In the prior art, after the upgrade components of latest edition are got, can be stored in together with original upgrade components In electronic equipment.In certain embodiments, after the upgrade components of latest edition are got, original upgrading group can be deleted Part, and by the upgrade components storage of latest edition to the storage location of original upgrade components.
For example, the version information of original upgrade components is " 1.0 ", it is stored in the file that address is " update ". If the version information of application to be upgraded is " 1.1 ", because the version of the upgrade components is lower than the version of application to be upgraded, it is known that rise The corresponding version of level assembly is not latest edition.Need application to be upgraded being connected to corresponding server at this time, from server The middle upgrade components for downloading latest edition, and the upgrade components of the latest edition are stored in the file that address is " update " In, to facilitate application to be upgraded to obtain the upgrade components of the latest edition.
The problem of memory headroom of electronic equipment so can be taken to avoid the upgrade components of relatively low version, and then lift system The response speed of system.And the upgrade components of latest edition are placed on to the storage location of original upgrade components, can cause should The upgrade components of latest edition can be quickly found out during used in upgrading, reduce the chance applied and malfunctioned in escalation process.
105, if the corresponding version of upgrade components is latest edition, complete to treat liter using the upgrade components of latest edition The upgrading of level application.
In certain embodiments, after the version for determining the upgrade components is latest edition, then the upgrade components can be started, Treat upgrade application and carry out updating operation, so that by application upgrade to be upgraded to the corresponding version of the upgrade components.
In the embodiment of the present application, when be locally stored need upgrade application corresponding upgrade components when, can first be based on the liter Level assembly judges whether the upgrade components are latest edition, if it is not, then obtaining the upgrade components of latest edition, then using this most The upgrade components of new version are treated upgrade application and are upgraded.Application upgrade management method in the embodiment of the present application can be to avoid The repeated downloads of upgrade components, and ensure that using upgraded version be latest edition, the operational efficiency of lifting system, most final decline The power consumption of low equipment.
Fig. 3 shows that the another of application upgrade management method provided by the embodiments of the present application realizes flow, for the ease of saying It is bright, it illustrate only in figure and the relevant part of teachings herein.
As shown in figure 3, a kind of application upgrade management method, comprises the following steps:
201, receive the upgrade command of application to be upgraded.
In certain embodiments, upgrade command can apply to send automatically after start completion, or apply and connecing Sent after receiving the triggering of the operation (such as selecting upgrade function) made by user, can also be server according to default process Sent after being triggered to the upgrading of application.
For example, user clicks on the upgrade button in the operation interface of application, which can trigger generation upgrading and refers to Order, electronic equipment can receive the upgrade command at this time.
202, according to upgrade command, detect whether application to be upgraded is being locally stored corresponding upgrade components.
In certain embodiments, upgrade components are properly termed as component bag, upgrade package, renewal bag or installation kit of application etc., For carrying out updating operation to corresponding application.When electronic equipment gets the upgrade components from server, and complete to upgrading After the download of component, some specific location (such as file of some storage address) of electronic equipment local is typically stored at. After electronic equipment receives the upgrade command of the application, whether there can be the upgrade components in specific location inquiry.
For example, the title of upgrade components is set to component A, the position that is locally stored that upgrade components are completed to store after downloading is Position A, when need to detect the application whether corresponding upgrade components are being locally stored when, can be searched whether in position A Component A is there are, determines whether that there are upgrade components.
203, obtain the version information of application to be upgraded and the version information of upgrade components.
The version information of application to be upgraded and the version information of upgrade components can be believed by both attributes respectively Obtained in breath.
In certain embodiments, before the version information and the version information of upgrade components for obtaining application to be upgraded, It can also include:
Obtain the download time point and current point in time of upgrade components;If the download time point and current time of upgrade components The interval duration of point is less than preset value, it is determined that upgrade components are the latest edition of application to be upgraded.
Wherein, download time point can be the start time point corresponding to downloading task, or the upgrade components are completed Deadline point after download.Preset value can be based on being actually needed set any natural number, such as 12 it is small when, one week (7 My god) etc..
For example, when detect it is to be upgraded apply corresponding upgrade components are being locally stored after, view the upgrade components The real time point for starting to download be " on November 22nd, 2017,14 when ", and electronic equipment current point in time is " 2017 at this time On November 23, when 9 ".If the preset value set is 24 small, the liter can be determined by data accessed above at this time Level assembly meets preset condition, which can be performed to the liter for treating upgrade application as the upgrade components of latest edition Level.
204, the version information of the application to be upgraded is compared with the version information of the upgrade components.
As shown in figure 4, for example, by the version information " 1.2 " of the version information " 1.0 " of application to be upgraded and upgrade components into Row compares, and can know numerical value bigger of the version than the version of application to be upgraded of the upgrade components.
205, judge upgrade components version whether than application to be upgraded version higher.
In certain embodiments, if under version more news if version number's numerical value is more big, the latest edition, that is, version The version of this number value maximum.
Referring to Fig. 4, because the version " 1.2 " of upgrade components is bigger than the numerical value of the version " 1.0 " of application to be upgraded in figure, It can then determine version higher of the version than application to be upgraded of the upgrade components.
Certainly, except above-mentioned alignments, can also be based on other modes to judge the height between two versions, its Purpose is to judge whether the version of upgrade components is nearest version, and the present invention implements means to it and is not construed as limiting.
In certain embodiments, when the version of upgrade components is lower than the version of application to be upgraded, then the liter can be determined The corresponding version of level assembly is not latest edition.The step of upgrade components for obtaining latest edition can be performed at this time.
206, when the upgrade components version than the application to be upgraded version higher when, determine to upgrade from server Whether the version of component is latest edition.
In certain embodiments, electronic equipment can know latest edition on server by communicating with server Version information, can also system storage class (such as SharePreferences classes in system) or application deposit The version information of latest edition is got in shelves text.By by the version information of upgrade components and this to be upgraded apply latest edition This version information is compared, it may be determined that whether the version of upgrade components is latest edition.
For example, electronic equipment is by the version information from server acquisition latest edition, " 1.2 " herein in Fig. 4 The version information of identified latest edition in server, then can pass through the version information and the version information of upgrade components Contrasted, to determine whether the version of upgrade components is latest edition.
207, if the corresponding version of upgrade components is not latest edition, obtain the upgrade components of latest edition.
In certain embodiments, when the corresponding version of upgrade components is not latest edition, in order to ensure application to be upgraded can To upgrade to latest edition, the upgrade components of latest edition should be obtained from server, and original upgrade components are replaced Change, using the application for ensureing to upgrade by upgrade components as latest edition.
In certain embodiments, after the upgrade components of latest edition are got, original upgrade components can be deleted, and By in the upgrade components storage of latest edition to the storage location of original upgrade components.
With reference to figure 6-7, for example, when the version of upgrade components is " 1.2 ", and the newest upgrade components provided in server Version is " 1.5 ".Electronic equipment is needed first to get the upgrade components that version is " 1.5 " from server at this time, and will be original Version be substituted for the upgrade components of latest edition for the upgrade components of " 1.2 ", can be used when upgrading the application to be upgraded The updated upgrade components complete upgrading.
208, if the corresponding version of upgrade components is latest edition, complete to treat liter using the upgrade components of latest edition The upgrading of level application.
With reference to figure 5 or Fig. 7, in certain embodiments, after the version for determining the upgrade components is latest edition, then can open The upgrade components are moved, upgrade application is treated and carries out updating operation, so that application upgrade to be upgraded is corresponding to the upgrade components Version.
It follows that in the embodiment shown in the application Fig. 3, by by the version of upgrade components and application to be upgraded Version is compared, it can be ensured that in the electronic device there are will not be repeated during the upgrade components of latest edition to upgrade components into Row is downloaded again, can be taken to avoid the memory space caused by the repeated downloads to upgrade components, be wasted device systems operation The problem of resource, and then the operational efficiency of electronic equipment is improved, reduce the power consumption of electronic equipment.
Fig. 8 shows that acquisition latest edition upgrade components provided by the embodiments of the present application realize flow, for the ease of saying It is bright, it illustrate only in figure and the relevant part of teachings herein.
In certain embodiments, if not being latest edition in the corresponding version of upgrade components, the liter of latest edition is obtained In the step of level assembly, it may comprise steps of:
301, detect whether and the relevant downloading task of upgrade components.
Wherein, when needing to download upgrade components, system can create one and the relevant downloading task of the upgrade components.But It is that in the prior art in the downloading process of the upgrade components, the download of the upgrade components may be interrupted by the user.If upper one The downloading process of secondary upgrade components is interrupted, then this upgrading is likely to trigger the download again to upgrade components again, from And take the system resource of electronic equipment.
In certain embodiments, can be by having detected whether with the relevant downloading task of upgrade components to determine whether depositing In the upgrade components downloaded.Specifically, can be from the relevant storage class of application to be upgraded (such as in system SharePreferences classes) in check whether that there are corresponding universal resource locator (Uniform Resource Locator, URL).If in class is stored find with the relevant URL of upgrade components, then can determine exist and the upgrade components Relevant downloading task.
302, if having with the relevant downloading task of upgrade components, whether the downloaded upgrade components of detection are latest edition This;If so, then perform the upgrading for treating upgrade application;If it is not, the upgrade components of latest edition are then downloaded from server.
When there is downloading task relevant with upgrade components, in order to avoid repeated downloads, will not trigger at this time from service Device downloads the action of upgrade components, but preferentially continues to complete downloading task, obtains the upgrade components that downloading task is downloaded.
In certain embodiments, when downloading task completion after, may there are the downloading task the foundation time more It is remote, so that upgrade components the problem of not being latest edition that downloading task is downloaded.
, can be to the upgrade components corresponding to the downloading task at this time in order to ensure that the version of upgrade components is latest edition Version is detected, and detects whether it is latest edition.
In detection process, the corresponding upgrade components of the downloading task can be got from the attribute of the downloading task Version information, or the upgrade components downloaded after the completion of the downloading task to the downloading task carry out version detection.When obtaining After the version information for getting the corresponding upgrade components of the downloading task, electronic equipment can be obtained by communicating with server Know the version information of latest edition on server, can also be in the storage class (such as in system of system SharePreferences classes) or the archive text of application in get the version information of latest edition.By that will upgrade The version information of component to be upgraded is compared with this using the version information of latest edition, it may be determined that the version of upgrade components Whether it is latest edition.
303, when the upgrade components downloaded are not latest editions, the upgrading of latest edition is downloaded from server Component.
304, when the upgrade components downloaded are latest editions, complete to treat the liter of upgrade application using upgrade components Level.
In certain embodiments, after the version for determining the upgrade components is latest edition, then the upgrade components can be started, Treat upgrade application and carry out updating operation, so that by application upgrade to be upgraded to the corresponding version of the upgrade components.
It follows that in the embodiment shown in the application Fig. 8, by detect whether to exist with upgrade components it is relevant under Load task, can take to avoid the memory space caused by the repeated downloads to upgrade components, waste device systems operation resource The problem of, and then the operational efficiency of electronic equipment is improved, reduce the power consumption of electronic equipment.
Referring to Fig. 9, download upgrade components provided by the embodiments of the present application are shown in figure realizes flow, for the ease of saying It is bright, it illustrate only in figure and the relevant part of teachings herein.
As shown in figure 9, not being latest edition working as the upgrade components downloaded, then latest edition is downloaded from server The upgrade components the step of in, can include:
401, send upgrade components to the server and obtain request.
402, server obtains request to upgrade components and is not responded in preset duration, or is repeatedly being sent to server Upgrade components obtain the number being rejected after request and reach predetermined threshold value;If so, application to be upgraded is then being received next time Stop sending upgrade components acquisition request to server before upgrade command.
After the upgrade components that server receives electronic equipment obtain request, server may be fed back to electronic equipment Including allow to ask, refuse request etc. as a result, or when when poor signal, server has the feelings not responded to Condition.Electronic equipment after sending upgrade components to server every time and obtaining request, can record the above-mentioned feedback of server.
Wherein, when server is just busy or poor signal, even the prior art send refusal in server please In the case of asking or not responding to, still constantly corresponding upgrade components can be sent to server and obtain request, cause electronics to set Standby power consumption greatly increases.
In certain embodiments, predetermined threshold value can be set to arbitrary value, for example, it can be set into 3 times.When server pair Upgrade components obtain request and are not responded in preset duration, or the quilt after upgrade components are repeatedly sent to server and obtain request It after the number of refusal is greater than or equal to 3 times, then can stop sending upgrade components to server, treat to receive to be upgraded answer next time It is transmitted again after upgrade command.So it can avoid repeating to service when or poor signal just busy in server Device sends upgrade components and obtains request, so as to reduce the power consumption of electronic equipment.
403, stop obtaining to server transmission upgrade components before the upgrade command of application to be upgraded is received next time Take request.
Stop obtaining to server transmission upgrade components before the upgrade command of application to be upgraded is received next time and ask Ask, and when applying after the either user of startup next time triggers again and receives upgrade command, can be again to service Device sends upgrade components and obtains request.
It follows that in the embodiment shown in the application Fig. 9, request is obtained to upgrade components by recording server Feedback, stops sending upgrade components acquisition request when server does not respond to or is busy, can be to avoid because of weight Caused by request is sent in recurrence the problem of the load of increase electronic equipment, the power consumption of electronic equipment is reduced.
Referring to Figure 10, the structure of the application upgrade managing device in the embodiment of the present application is shown in figure, for the ease of saying It is bright, it illustrate only in figure and the relevant part of teachings herein.
As shown in Figure 10, a kind of application upgrade managing device 500, including command reception module 501, component detection module 502nd, 503 component of judgment module, acquisition module upgraded module 505 and upgraded module 505, wherein:
Command reception module 501, for receiving the upgrade command of application to be upgraded.
In certain embodiments, upgrade command can apply to send automatically after start completion, or apply and connecing Sent after receiving the triggering of the operation (such as selecting upgrade function) made by user, can also be server according to default process Sent after being triggered to the upgrading of application.
Component detection module 502, for according to upgrade command, detect application to be upgraded whether be locally stored it is corresponding Upgrade components.
In certain embodiments, upgrade components are properly termed as component bag, upgrade package, renewal bag or installation kit of application etc., For carrying out updating operation to corresponding application.When electronic equipment gets the upgrade components from server, and complete to upgrading After the download of component, some specific location (such as file of some storage address) of electronic equipment local is typically stored at. After electronic equipment receives the upgrade command of the application, whether there can be the upgrade components in specific location inquiry.
In certain embodiments, if to be upgraded apply locally be not stored with corresponding upgrade components, from server The upgrade components of latest edition are obtained, and complete to treat the upgrading of upgrade application using the upgrade components of latest edition.If wait to rise Level, which is applied, is being locally stored corresponding upgrade components, then can perform and judge whether the corresponding version of upgrade components is to be upgraded answer The step of latest edition.
Judgment module 503, for when there are during upgrade components, judge whether the corresponding version of upgrade components is to be upgraded answer Latest edition;If so, the upgrading to the application to be upgraded is then completed using upgrade components;If it is not, then obtain latest edition This upgrade components.
Wherein, the latest edition of application to be upgraded, refers to that this applies the version of recent renewal, in general, each version With a version number, if under version more news if version number's numerical value is more big, the latest edition, that is, version number's numerical value Maximum version.
In certain embodiments, can be by the latest edition of the application when latest edition of the server there are the application Configuration parameter is stored in the storage class of system, such as the SharePreferences classes in system.When needing to judge upgrading group When whether the corresponding version of part is the latest edition of application to be upgraded, the application directly can be got most by the storage class New version number, and the latest edition number is compared to judge whether the upgrade components are newest with the version number of upgrade components The upgrade components of version.
The prior art after it is not latest edition to know version to be upgraded, can be touched in the upgrading applied every time The problem of sending out the download to latest edition upgrade components, so producing the repeated downloads of upgrade components.In certain embodiments, First the version number for the upgrade components being locally stored can be compared with the version number of application to be upgraded.When the upgrade components Version number is less than or equal to be upgraded in application, directly downloading the upgrade components of latest edition to server;When the upgrade components Version number be more than it is to be upgraded in application, it needs to be determined that the version whether be application to be upgraded latest edition, if then direct The upgrading to the application to be upgraded is performed, the upgrade components without downloading latest edition by server, so as to avoid repeating The problem of download.
Component acquisition module 504, if not being latest edition for the corresponding version of upgrade components, obtains latest edition Upgrade components.
In certain embodiments, the upgrade components of latest edition are obtained, can download to obtain from server, can also It is to be obtained from the memory that user provides, so that the version for ensureing the upgrade components for upgrading is latest edition.
Upgraded module 505, if being latest edition for the corresponding version of upgrade components, uses the upgrading group of latest edition Part is completed to treat the upgrading of upgrade application.
In certain embodiments, after the version for determining the upgrade components is latest edition, then the upgrade components can be started, Treat upgrade application and carry out updating operation, so that by application upgrade to be upgraded to the corresponding version of the upgrade components.
In the embodiment of the present application, when be locally stored need upgrade application corresponding upgrade components when, can first be based on the liter Level assembly judges whether the upgrade components are latest edition, if it is not, then obtaining the upgrade components of latest edition, then using this most The upgrade components of new version are treated upgrade application and are upgraded.Application upgrade management method in the embodiment of the present application can be to avoid The repeated downloads of upgrade components, and ensure that using upgraded version be latest edition, the operational efficiency of lifting system, most final decline The power consumption of low equipment.
Figure 11 shows the structure of judgment module provided by the embodiments of the present application, for convenience of description, illustrate only in figure With the relevant part of teachings herein.
The judgment module 503, including acquisition of information submodule 5031, comparison submodule 5032 and first judge submodule Block 5033, wherein:
Acquisition of information submodule 5031, for obtaining the version information of application to be upgraded and the version letter of upgrade components Breath.
The version information of application to be upgraded and the version information of upgrade components can be believed by both attributes respectively Obtained in breath.
In certain embodiments, before the version information and the version information of upgrade components for obtaining application to be upgraded, It can also include:
Obtain the download time point and current point in time of upgrade components;If the download time point and current time of upgrade components The interval duration of point is less than preset value, it is determined that upgrade components are the latest edition of application to be upgraded.
Submodule 5032 is compared, for by the version information of the version information of the application to be upgraded and the upgrade components It is compared.
First judging submodule 5033, for when the upgrade components version than the application to be upgraded version higher When, whether the version that the upgrade components are determined from server is latest edition.
In certain embodiments, if under version more news if version number's numerical value is more big, the latest edition, that is, version The version of this number value maximum.
In certain embodiments, when the version of upgrade components is lower than the version of application to be upgraded, then the liter can be determined The corresponding version of level assembly is not latest edition.The step of upgrade components for obtaining latest edition can be performed at this time.
Certainly, except above-mentioned alignments, can also be based on other modes to judge the height between two versions, its Purpose is to judge whether the version of upgrade components is nearest version, and the present invention implements means to it and is not construed as limiting.
In certain embodiments, electronic equipment can know latest edition on server by communicating with server Version information, can also system storage class (such as SharePreferences classes in system) or application deposit The version information of latest edition is got in shelves text.By by the version information of upgrade components and this to be upgraded apply latest edition This version information is compared, it may be determined that whether the version of upgrade components is latest edition.
It follows that in the embodiment shown in the application Figure 11, judgment module 503 by by the version of upgrade components with The version of application to be upgraded is compared, it can be ensured that there are will not be repeated during the upgrade components of latest edition in the electronic device Upgrade components are downloaded again, can take, waste to avoid the memory space caused by the repeated downloads to upgrade components Device systems run the problem of resource, and then improve the operational efficiency of electronic equipment, reduce the power consumption of electronic equipment.
Figure 12 shows the structure of component acquisition module provided by the embodiments of the present application, for convenience of description, only shows in figure Go out and the relevant part of teachings herein.
In certain embodiments, the component acquisition module 504, can include 5041, first liters of task detection sub-module Level submodule 5042, second judgment submodule 5043, second upgrade submodule 5044 and component downloads submodule 5045, its In:
Task detection sub-module 5041, for detecting whether having and the relevant downloading task of upgrade components.
Wherein, when needing to download upgrade components, system can create one and the relevant downloading task of the upgrade components.But It is that in the prior art in the downloading process of the upgrade components, the download of the upgrade components may be interrupted by the user.If upper one The downloading process of secondary upgrade components is interrupted, then this upgrading is likely to trigger the download again to upgrade components again, from And take the system resource of electronic equipment.
In certain embodiments, can be by having detected whether with the relevant downloading task of upgrade components to determine whether depositing In the upgrade components downloaded.Specifically, can be from the relevant storage class of application to be upgraded (such as in system SharePreferences classes) in check whether that there are corresponding universal resource locator (Uniform Resource Locator, URL).If in class is stored find with the relevant URL of upgrade components, then can determine exist and the upgrade components Relevant downloading task.
First upgrading submodule 5042, for if so, then after the completion of the downloading task complete to it is described it is to be upgraded should Upgrading.
Whether second judgment submodule 5043, be latest edition for detecting downloaded upgrade components;
When there is downloading task relevant with upgrade components, in order to avoid repeated downloads, will not trigger at this time from service Device downloads the action of upgrade components, but preferentially continues to complete downloading task, obtains the upgrade components that downloading task is downloaded.
In certain embodiments, when downloading task completion after, may there are the downloading task the foundation time more It is remote, so that upgrade components the problem of not being latest edition that downloading task is downloaded.At this time in order to ensure the version of upgrade components For latest edition, the version of the upgrade components corresponding to the downloading task can be detected, detect whether it is latest edition.
In detection process, the corresponding upgrade components of the downloading task can be got from the attribute of the downloading task Version information, or the upgrade components downloaded after the completion of the downloading task to the downloading task carry out version detection.When obtaining After the version information for getting the corresponding upgrade components of the downloading task, electronic equipment can be obtained by communicating with server Know the version information of latest edition on server, can also be in the storage class (such as in system of system SharePreferences classes) or the archive text of application in get the version information of latest edition.By that will upgrade The version information of component to be upgraded is compared with this using the version information of latest edition, it may be determined that the version of upgrade components Whether it is latest edition.
Second upgrading submodule 5044, is latest edition for working as the upgrade components downloaded, then completes to described The upgrading of application to be upgraded.
In certain embodiments, after the version for determining the upgrade components is latest edition, then the upgrade components can be started, Treat upgrade application and carry out updating operation, so that by application upgrade to be upgraded to the corresponding version of the upgrade components.
Component downloads submodule 5045, is not latest edition for working as the upgrade components downloaded, then from server Download the upgrade components of latest edition.
It follows that in the embodiment shown in the application Figure 12, component acquisition module is by detecting whether exist and liter The relevant downloading task of level assembly, can take, waste sets to avoid the memory space caused by the repeated downloads to upgrade components The problem of standby system operation resource, and then the operational efficiency of electronic equipment is improved, reduce the power consumption of electronic equipment.
In certain embodiments, it is not latest edition working as the upgrade components downloaded, then is downloaded most from server In the step of upgrade components of new version, it can include:
Upgrade components, which are sent, to the server obtains request;
Server obtains request to upgrade components and is not responded in preset duration, or upgrades repeatedly being sent to server Component obtains the number being rejected after request and reaches predetermined threshold value;If so, the upgrading of application to be upgraded is then being received next time Stop sending upgrade components acquisition request to server before instruction.
After the upgrade components that server receives electronic equipment obtain request, server may be fed back to electronic equipment Including allow to ask, refuse request etc. as a result, or when when poor signal, server has the feelings not responded to Condition.Electronic equipment after sending upgrade components to server every time and obtaining request, can record the above-mentioned feedback feelings of server Condition.
Wherein, when server is just busy or poor signal, even the prior art send refusal in server please In the case of asking or not responding to, still constantly corresponding upgrade components can be sent to server and obtain request, cause electronics to set Standby power consumption greatly increases.
In certain embodiments, predetermined threshold value can be set to arbitrary value, for example, it can be set into 3 times.When server pair Upgrade components obtain request and are not responded in preset duration, or the quilt after upgrade components are repeatedly sent to server and obtain request It after the number of refusal is greater than or equal to 3 times, then can stop sending upgrade components to server, treat to receive to be upgraded answer next time It is transmitted again after upgrade command.So it can avoid repeating to service when or poor signal just busy in server Device sends upgrade components and obtains request, so as to reduce the power consumption of electronic equipment.
Stop obtaining to server transmission upgrade components before the upgrade command of application to be upgraded is received next time and ask Ask.
Stop obtaining to server transmission upgrade components before the upgrade command of application to be upgraded is received next time and ask Ask, and when applying after startup or user trigger upgrade command again next time, it can send and rise to server again Level assembly obtains request.
It follows that in the present embodiment, by recording server upgrade components are obtained with the feedback of request, is being taken Stopping sends upgrade components and obtains request when business device does not respond to or is busy, can cause to avoid because repeating transmission request The load of increase electronic equipment the problem of, reduce the power consumption of electronic equipment.
In the embodiment of the present application, the application upgrade managing device and a kind of application upgrade manager in foregoing embodiments It is owned by France in same design, can run in the application upgrade management method embodiment and carry in the application upgrade managing device The either method of confession, its specific implementation process refers to the application upgrade management method embodiment, and can use any combination The alternative embodiment of the application is formed, details are not described herein again.
The embodiment of the present application also provides a kind of electronic equipment, which can be smart mobile phone, tablet computer, desk-top The equipment such as computer, notebook, palm PC.3 are please referred to Fig.1, electronic equipment 600 includes processor 601 and memory 602. Wherein, processor 601 is electrically connected with memory 602.
The processor 600 is the control centre of electronic equipment 600, is set using various interfaces and the whole electronics of connection Standby various pieces, by the application program of operation or load store in memory 602, and call and are stored in memory Data in 602, perform the various functions of electronic equipment 600 and handle data, so as to carry out overall prison to electronic equipment 600 Control.
The memory 602 can be used for storage software program and module, and processor 601 is stored in memory by operation 602 software program and module, so as to perform various functions application and data processing.Memory 602 can mainly include depositing Program area and storage data field are stored up, wherein, storing program area can storage program area, the application program needed at least one function (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to server Data etc..In addition, memory 602 can include high-speed random access memory, nonvolatile memory can also be included, such as At least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 602 can be with Including Memory Controller, to provide access of the processor 601 to memory 602.
In the embodiment of the present application, the processor 601 in electronic equipment 600 can be according to the steps, by one or one The corresponding instruction of process of application program more than a is loaded into memory 602, and is stored in storage by the operation of processor 601 Application program in device 602 is as follows so as to fulfill various functions:
Receive the upgrade command of application to be upgraded;According to the upgrade command, whether the detection application to be upgraded is at this Ground is stored with corresponding upgrade components;When there are during the upgrade components, judge the corresponding version of the upgrade components whether be The latest edition of the application to be upgraded;If the corresponding version of the upgrade components is not latest edition, latest edition is obtained Upgrade components;If the corresponding version of the upgrade components is latest edition, complete to treat to described using the upgrade components The upgrading of upgrade application.
In some embodiments, the use state of the application includes time for the active synchronization that the application is triggered Number, the processor 601 can be also used for:
Obtain the version information of the application to be upgraded and the version information of the upgrade components;By it is described it is to be upgraded should Version information is compared with the version information of the upgrade components;When the version of the upgrade components is more to be upgraded than described During the version higher of application, whether the version that the upgrade components are determined from server is latest edition;When the upgrade components Version it is lower than the version of the application to be upgraded when, then the corresponding version of the upgrade components is not latest edition.
In some embodiments, the processor 601 can be also used for:
Obtain the download time point and current point in time of the upgrade components;If the download time point of the upgrade components with The interval duration of the current point in time is less than preset value, it is determined that the upgrade components are the latest edition of the application to be upgraded This.
In some embodiments, the processor 601 can be also used for:
Original upgrade components are deleted, and the upgrade components of latest edition are stored to original upgrade components Storage location on.
In some embodiments, the processor 601 can be also used for:
When there is no during the upgrade components, the upgrade components of latest edition are obtained from server;
The upgrading to the application to be upgraded is completed using the upgrade components of the latest edition.
In some embodiments, the processor 601 can be also used for:
Detect whether and the relevant downloading task of the upgrade components;If so, then completing the downloading task, institute is obtained State the upgrade components that downloading task is downloaded;The upgrade components downloaded using the downloading task complete to it is described it is to be upgraded should Upgrading.
In some embodiments, the use state of the application includes the data download state of the application, the place Reason device 601 can be also used for:
Whether the downloaded upgrade components of detection are latest edition;When the upgrade components downloaded are latest editions, Then complete the upgrading to the application to be upgraded;When the upgrade components downloaded are not latest editions, then under server Carry the upgrade components of latest edition.
In some embodiments, the processor 601 can be also used for:
Upgrade components are sent to the server and obtain request, and the upgrade components obtain request and are used to indicate from server Obtain the upgrade components of latest edition;Record the feedback that the server obtains the upgrade components request;It is if described Server obtains request to the upgrade components and is not responded in preset duration, or is obtained repeatedly sending the upgrade components The number being rejected after request reaches predetermined threshold value, then stops before the upgrade command of the application to be upgraded is received next time Only the upgrade components are sent to the server obtain request.
Electronic equipment provided by the embodiments of the present application, when be locally stored need upgrade application corresponding upgrade components when, meeting First judge whether the upgrade components are latest edition based on the upgrade components, if it is not, then obtaining the upgrade components of latest edition, so Upgrade application is treated using the upgrade components of the latest edition afterwards to be upgraded.Application upgrade manager in the embodiment of the present application Method can be to avoid the repeated downloads of upgrade components, and ensure that using upgraded version be latest edition, the operation of lifting system Efficiency, the final power consumption for reducing equipment.
Also referring to Figure 14, in some embodiments, electronic equipment 600 can also include:Display 603, radio frequency Circuit 604, voicefrequency circuit 605, wireless fidelity module 606 and power supply 607.Wherein, wherein, display 603, radio circuit 604th, voicefrequency circuit 605, wireless fidelity module 606 and power supply 607 are electrically connected with processor 601 respectively.
The display 603 is displayed for by information input by user or is supplied to the information of user and various figures Shape user interface, these graphical user interface can be made of figure, text, icon, video and its any combination.Display 603 can include display panel, in some embodiments, can use liquid crystal display (LCD, Liquid Crystal Display) or the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) is aobvious to configure Show panel.
The radio circuit 604 can be used for transceiving radio frequency signal, to pass through wireless communication and the network equipment or other electricity Sub- equipment establishes wireless telecommunications, the receiving and transmitting signal between the network equipment or other electronic equipments.
The voicefrequency circuit 605 can be used for providing the audio between user and electronic equipment by loudspeaker, microphone Interface.
The wireless fidelity module 606 can be used for short range wireless transmission, and user can be helped to send and receive e-mail, is clear Look at and website and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.
The power supply 607 is used to all parts power supply of electronic equipment 600.In certain embodiments, power supply 607 Can be logically contiguous by power-supply management system and processor 601, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although not shown in Figure 14, electronic equipment 600 can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the present application also provides a kind of storage medium, and the storage medium stores a plurality of instruction, a plurality of instruction Suitable for being loaded by processor to perform the application upgrade management method in above-described embodiment, such as:Receive the liter of application to be upgraded Level instruction;According to the upgrade command, whether the detection application to be upgraded is being locally stored corresponding upgrade components;When depositing In the upgrade components, judge the corresponding version of the upgrade components whether be the application to be upgraded latest edition;If The corresponding version of the upgrade components is not latest edition, then obtains the upgrade components of latest edition;If the upgrade components pair The version answered is latest edition, then the upgrading to the application to be upgraded is completed using the upgrade components.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps are relevant hardware can be instructed to complete by program, which can be stored in computer-readable medium In, which can include but is not limited to:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Application upgrade management method, device, storage medium and the electronic equipment provided above the embodiment of the present application into Go and be discussed in detail, specific case used herein is set forth the principle and embodiment of the application, and the above is implemented The explanation of example is only intended to help and understands the present processes and its core concept;Meanwhile for those skilled in the art, according to According to the thought of the application, there will be changes in specific embodiments and applications, in conclusion this specification content It should not be construed as the limitation to the application.

Claims (15)

  1. A kind of 1. application upgrade management method, it is characterised in that including:
    Receive the upgrade command of application to be upgraded;
    According to the upgrade command, whether the detection application to be upgraded is being locally stored corresponding upgrade components;
    When there are during the upgrade components, judge whether the corresponding version of the upgrade components is the newest of the application to be upgraded Version;
    If the corresponding version of the upgrade components is not latest edition, the upgrade components of latest edition are obtained;
    If the corresponding version of the upgrade components is latest edition, completed using the upgrade components to the application to be upgraded Upgrading.
  2. 2. application upgrade management method as claimed in claim 1, it is characterised in that described to judge that the upgrade components are corresponding Version whether be the application to be upgraded latest edition, including:
    Obtain the version information of the application to be upgraded and the version information of the upgrade components;
    The version information of the application to be upgraded is compared with the version information of the upgrade components;
    When the upgrade components version than the application to be upgraded version higher when, determine the upgrade components from server Version whether be latest edition.
  3. 3. application upgrade management method as claimed in claim 2, it is characterised in that in the acquisition application to be upgraded Before version information and the version information of the upgrade components, further include:
    Obtain the download time point and current point in time of the upgrade components;
    If the download time point of the upgrade components and the interval duration of the current point in time are less than preset value, it is determined that described Upgrade components are the latest edition of the application to be upgraded.
  4. 4. application upgrade management method as claimed in claim 1, it is characterised in that if the corresponding version of the upgrade components is not It is latest edition, then obtains the upgrade components of latest edition, including:
    Original upgrade components are deleted, and the upgrade components of latest edition are stored into depositing to original upgrade components Storage space is put.
  5. 5. application upgrade management method as claimed in claim 1, it is characterised in that judge that the upgrade components correspond to described Version whether be the application to be upgraded latest edition after, further include:
    When there is no during the upgrade components, the upgrade components of latest edition are obtained from server;
    The upgrading to the application to be upgraded is completed using the upgrade components of the latest edition.
  6. 6. the application upgrade management method as described in claim 1-5 any one, it is characterised in that if the upgrading group The corresponding version of part is not latest edition, then obtains the upgrade components of latest edition, including:
    Detect whether and the relevant downloading task of the upgrade components;
    If so, then completing the downloading task, the upgrade components that the downloading task is downloaded are obtained;
    The upgrade components downloaded using the downloading task complete the upgrading to the application to be upgraded.
  7. 7. application upgrade management method as claimed in claim 6, it is characterised in that if the corresponding version of the upgrade components This is not latest edition, then obtains the upgrade components of latest edition, further include:
    Whether the downloaded upgrade components of detection are latest edition;
    When the upgrade components downloaded are latest editions, then the upgrading to the application to be upgraded is completed;
    When the upgrade components downloaded are not latest editions, then the upgrade components of latest edition are downloaded from server.
  8. 8. the application upgrade management method as described in claim 1 or 7, it is characterised in that described to work as the upgrading downloaded Component is not latest edition, then the upgrade components of latest edition are downloaded from server, including:
    Upgrade components are sent to the server and obtain request, and the upgrade components obtain request and are used to indicate to obtain from server The upgrade components of latest edition;
    If the server obtains request to the upgrade components and is not responded in preset duration, or repeatedly to the service Device, which sends the upgrade components and obtains the number being rejected after request, reaches predetermined threshold value, then described waits to rise receiving next time Stop sending the upgrade components acquisition request to the server before the upgrade command of level application.
  9. A kind of 9. application upgrade managing device, it is characterised in that including:
    Command reception module, for receiving the upgrade command of application to be upgraded;
    Component detection module, for whether correspondence being locally stored according to the upgrade command, the detection application to be upgraded Upgrade components;
    Judgment module, for when there are during the upgrade components, judge whether the corresponding version of the upgrade components is described treat The latest edition of upgrade application;
    Component acquisition module, if not being latest edition for the corresponding version of the upgrade components, obtains the liter of latest edition Level assembly;And
    Upgraded module, if being latest edition for the corresponding version of the upgrade components, uses upgrade components completion pair The upgrading of the application to be upgraded.
  10. 10. application upgrade managing device as claimed in claim 9, it is characterised in that the judgment module, including:
    Acquisition of information submodule, for obtaining the version information of the application to be upgraded and the version letter of the upgrade components Breath;
    Submodule is compared, for the version information of the application to be upgraded and the version information of the upgrade components to be compared It is right;And
    First judging submodule, for when the upgrade components version than the application to be upgraded version higher when, from clothes Business device determines whether the version of the upgrade components is latest edition;When the version of the upgrade components is than the application to be upgraded Version it is low when, then the corresponding version of the upgrade components is not latest edition.
  11. 11. the application upgrade managing device as described in claim 9-10 any one, it is characterised in that the component obtains mould Block, including:
    Task detection sub-module, for detecting whether having and the relevant downloading task of the upgrade components;And
    First upgrading submodule, for if so, then complete the downloading task, obtaining the upgrading group that the downloading task is downloaded Part;The upgrade components downloaded using the downloading task complete the upgrading to the application to be upgraded.
  12. 12. application upgrade managing device as claimed in claim 11, it is characterised in that the component acquisition module, further includes:
    Whether second judgment submodule, be latest edition for detecting downloaded upgrade components;
    Second upgrading submodule, be latest edition for working as the upgrade components downloaded, then complete to it is described it is to be upgraded should Upgrading;And
    Component downloads submodule, is not latest edition for working as the upgrade components downloaded, then is downloaded from server newest The upgrade components of version.
  13. 13. the application upgrade managing device as described in claim 9 or 12, it is characterised in that the component downloads submodule, also For:
    Upgrade components are sent to the server and obtain request, and the upgrade components obtain request and are used to indicate to obtain from server The upgrade components of latest edition;
    If the server obtains request to the upgrade components and is not responded in preset duration, or is repeatedly sending the liter Level assembly obtains the number being rejected after request and reaches predetermined threshold value, then is receiving the upgrading of the application to be upgraded next time Stop sending the upgrade components acquisition request to the server before instruction.
  14. 14. a kind of storage medium, it is characterised in that the storage medium stores a plurality of instruction, and a plurality of instruction is suitable for counting When being run on calculation machine so that the computer performs the application upgrade management method as described in claim 1 to 8 any one.
  15. 15. a kind of electronic equipment, it is characterised in that including processor and memory, a plurality of instruction of memory storage is described Processor is used to perform the application upgrade as described in claim 1 to 8 any one by the instruction loaded in the memory Management method.
CN201711339888.1A 2017-12-14 2017-12-14 Application upgrade management method, device, storage medium and electronic equipment Pending CN107943505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711339888.1A CN107943505A (en) 2017-12-14 2017-12-14 Application upgrade management method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711339888.1A CN107943505A (en) 2017-12-14 2017-12-14 Application upgrade management method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN107943505A true CN107943505A (en) 2018-04-20

Family

ID=61944156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711339888.1A Pending CN107943505A (en) 2017-12-14 2017-12-14 Application upgrade management method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107943505A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134418A (en) * 2019-05-10 2019-08-16 上海擎感智能科技有限公司 Vehicle upgrade method and device, storage medium and terminal based on space download technology
CN110149224A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrade notification method and device, storage medium and terminal in the download technology of space
CN111163179A (en) * 2020-01-15 2020-05-15 江铃汽车股份有限公司 System and method for remotely upgrading automobile terminal electronic control module software
CN111181752A (en) * 2018-11-12 2020-05-19 中兴通讯股份有限公司 Narrowband device upgrading method, mobile terminal and readable storage medium
CN111625264A (en) * 2020-05-22 2020-09-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for upgrading multi-level management system
CN112099825A (en) * 2020-09-11 2020-12-18 北京金山云网络技术有限公司 Method, device and equipment for upgrading component and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040010786A1 (en) * 2002-07-11 2004-01-15 Microsoft Corporation System and method for automatically upgrading a software application
CN104951336A (en) * 2015-05-27 2015-09-30 小米科技有限责任公司 Application program installation method and device
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040010786A1 (en) * 2002-07-11 2004-01-15 Microsoft Corporation System and method for automatically upgrading a software application
CN105335183A (en) * 2014-08-06 2016-02-17 乐视致新电子科技(天津)有限公司 Software upgrade method and system
CN104951336A (en) * 2015-05-27 2015-09-30 小米科技有限责任公司 Application program installation method and device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181752A (en) * 2018-11-12 2020-05-19 中兴通讯股份有限公司 Narrowband device upgrading method, mobile terminal and readable storage medium
CN111181752B (en) * 2018-11-12 2023-01-24 中兴通讯股份有限公司 Narrowband device upgrading method, mobile terminal and readable storage medium
CN110134418A (en) * 2019-05-10 2019-08-16 上海擎感智能科技有限公司 Vehicle upgrade method and device, storage medium and terminal based on space download technology
CN110149224A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrade notification method and device, storage medium and terminal in the download technology of space
CN111163179A (en) * 2020-01-15 2020-05-15 江铃汽车股份有限公司 System and method for remotely upgrading automobile terminal electronic control module software
CN111625264A (en) * 2020-05-22 2020-09-04 苏州浪潮智能科技有限公司 Method, device, equipment and medium for upgrading multi-level management system
CN111625264B (en) * 2020-05-22 2023-03-28 苏州浪潮智能科技有限公司 Method, device, equipment and medium for upgrading multi-level management system
CN112099825A (en) * 2020-09-11 2020-12-18 北京金山云网络技术有限公司 Method, device and equipment for upgrading component and storage medium
CN112099825B (en) * 2020-09-11 2024-04-09 北京金山云网络技术有限公司 Method, device, equipment and storage medium for upgrading component

Similar Documents

Publication Publication Date Title
CN107943505A (en) Application upgrade management method, device, storage medium and electronic equipment
US8918100B2 (en) Providing user interface data on a mobile computing device
US8813167B2 (en) Dynamic device configuration using predicates
CN109408136B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN104572819B (en) Clearing method and system for junk data
CN106502703B (en) Function calling method and device
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN108363528A (en) Startup method, apparatus, storage medium and the electronic equipment of five application page
CN107479954B (en) Process management method, device, storage medium and electronic equipment
CN109697359A (en) A kind of message prompt method, device, storage medium and electronic equipment
CN104301315A (en) Method and device for limiting information access
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN106534281A (en) Data request responding method, apparatus and system
CN104965716A (en) Icon updating method, client apparatus, and terminal apparatus
CN111095199B (en) Application loading method and terminal equipment
CN111078275B (en) Resource allocation method, device, storage medium and server
CN106547844A (en) A kind for the treatment of method and apparatus of user interface
CN106953898B (en) Method and device for acquiring software package
CN108769234A (en) Using method for down loading, device, storage medium and electronic equipment
CN108334330B (en) Application unloading method and device, storage medium and electronic equipment
CN106201484A (en) The collocation method of application program, device and terminal unit
CN107145386A (en) Data migration method, terminal device and computer-readable recording medium
CN104008096B (en) A kind of application operating method and apparatus based on browser
CN105227598A (en) A kind of resource sharing method, device and system stored based on cloud
MX2014009375A (en) Application installation method, apparatus and device.

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: 20180420

RJ01 Rejection of invention patent application after publication