CN105094931A - Software upgrading method and device - Google Patents

Software upgrading method and device Download PDF

Info

Publication number
CN105094931A
CN105094931A CN201510571612.0A CN201510571612A CN105094931A CN 105094931 A CN105094931 A CN 105094931A CN 201510571612 A CN201510571612 A CN 201510571612A CN 105094931 A CN105094931 A CN 105094931A
Authority
CN
China
Prior art keywords
version
upgraded
software
upgrading
target critical
Prior art date
Application number
CN201510571612.0A
Other languages
Chinese (zh)
Other versions
CN105094931B (en
Inventor
王元波
任桥
侯恩星
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201510571612.0A priority Critical patent/CN105094931B/en
Publication of CN105094931A publication Critical patent/CN105094931A/en
Application granted granted Critical
Publication of CN105094931B publication Critical patent/CN105094931B/en

Links

Abstract

The invention discloses a software upgrading method and device. The software upgrading method comprises: obtaining a target key version, which is lower than a version to be upgraded and is not upgraded, in software to be upgraded from a server; upgrading the software to be upgraded to the target key version; and upgrading the software to be upgraded to the version to be upgraded. According to the embodiment disclosed in the invention, by obtaining the target key version, which is lower than the version to be upgraded and is not upgraded, in software to be upgraded from the server, upgrading the software to be upgraded to the target key version, and upgrading the software to be upgraded to the version to be upgraded, in the software upgrading process, all target key versions influencing the normal operation of the software are upgraded to guarantee the normal operation of the software.

Description

Method for upgrading software and device

Technical field

The disclosure relates to field of computer technology, particularly relates to a kind of method for upgrading software and device.

Background technology

Software upgrading, refers to software from lowest version to the renewal of highest version.Because highest version usually repairs the part leak (bug) of lowest version, so experienced by software upgrading, generally all can be better than the performance of original version, the effect be optimized, user also can have better experience.Software upgrading comprises system upgrade and application program updating two kinds.System upgrade refer to system conversion become higher-version system or to system downloads patch, make it be immune against attacks or increase New function.Application program updating refers to the software downloading and installing latest edition, experiences New function.

Under normal circumstances, developer completes application program of mobile phone (APP) first version in exploitation and is supplied to after user downloads use, generally all regularly or irregularly can issue improvement version.These improve the correction that version is detail sometimes, and whether user upgrades can not affect its use.But the use impact of some version on APP is very large, if user upgrades not in time, can cause normally using corresponding APP.

Summary of the invention

For overcoming Problems existing in correlation technique, the disclosure provides a kind of method for upgrading software and device.

According to the first aspect of disclosure embodiment, a kind of method for upgrading software is provided, comprises:

To obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;

By described software upgrading to be upgraded to described target critical version;

By described software upgrading to be upgraded to described version to be upgraded.

In one embodiment, described by described software upgrading to be upgraded extremely described target critical version, comprising:

When there is multiple described target critical version, successively described software to be upgraded is upgraded according to version number's order from low to high of described target critical version.

In one embodiment, described by described software upgrading to be upgraded to before described target critical version, described method also comprises:

In response to getting described target critical version, display reminding information, described information instruction is by described software upgrading to be upgraded extremely described target critical version;

Described by described software upgrading to be upgraded extremely described target critical version, comprising:

In response to the triggering updating operation detected for described information, by described software upgrading to be upgraded to described target critical version.

In one embodiment, describedly to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server, comprising:

Send software upgrading request to described server, in described software upgrading request, carry the model of current mobile terminal and the mark of described software to be upgraded and current version number;

Receive the described target critical version of the software described to be upgraded that described server returns according to described software upgrading request, obtain in the described target critical version crucial version that to be described server never upgrade according to the version number of described current version number and described version to be upgraded.

In one embodiment, to obtain from server software to be upgraded lower than version to be upgraded and before the target critical version of not upgrading, described method also comprises described:

The version number of the current version of described software to be upgraded is sent to described server;

Receiving the update notification that described server sends, there is described target critical version in described update notification instruction.

In one embodiment, describedly to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server, comprising:

In response to the software upgrading instruction receiving the transmission of described server, obtain described target critical version from server.

In one embodiment, described by described software upgrading to be upgraded extremely described target critical version, comprising:

Employing mourns in silence upgrading mode by described software upgrading to be upgraded to described target critical version.

In one embodiment, described software to be upgraded comprises following any one: the firmware of application program, plug-in unit and equipment.

According to the second aspect of disclosure embodiment, a kind of software updating apparatus is provided, comprises:

Acquisition module, is configured to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;

First upgraded module, is configured to the described target critical version got by described software upgrading to be upgraded to described acquisition module;

Second upgraded module, is configured to described software upgrading to be upgraded to described version to be upgraded.

In one embodiment, described first upgraded module, is configured to:

When there is multiple described target critical version, successively described software to be upgraded is upgraded according to version number's order from low to high of described target critical version.

In one embodiment, described device also comprises:

Display module, be configured to before described first upgraded module is by described software upgrading to be upgraded to described target critical version, in response to getting described target critical version, display reminding information, described information instruction is by described software upgrading to be upgraded extremely described target critical version;

Described first upgraded module, is configured to:

In response to the triggering updating operation detected for described information, by described software upgrading to be upgraded to described target critical version.

In one embodiment, described acquisition module comprises:

Send submodule, be configured to send software upgrading request to described server, in described software upgrading request, carry the model of current mobile terminal and the mark of described software to be upgraded and current version number;

Receive submodule, be configured to the described target critical version receiving the software described to be upgraded that described server returns according to the described software upgrading request that described transmission submodule sends, obtain in the described target critical version crucial version that to be described server never upgrade according to the version number of described current version number and described version to be upgraded.

In one embodiment, described device also comprises:

Sending module, is configured to obtain from server software to be upgraded lower than version to be upgraded at described acquisition module and before the target critical version of not upgrading, send the version number of the current version of described software to be upgraded to described server;

Receiver module, is configured to the update notification receiving the transmission of described server, and described update notification instruction exists described target critical version.

In one embodiment, described acquisition module, is configured to:

In response to the software upgrading instruction receiving the transmission of described server, obtain described target critical version from server.

In one embodiment, described first upgraded module, is configured to:

Employing mourns in silence upgrading mode by described software upgrading to be upgraded to described target critical version.

In one embodiment, described software to be upgraded comprises following any one: the firmware of application program, plug-in unit and equipment.

According to the third aspect of disclosure embodiment, a kind of software updating apparatus is provided, comprises:

Processor;

For the storer of storage of processor executable instruction;

Wherein, processor is configured to:

To obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;

By described software upgrading to be upgraded to described target critical version;

By described software upgrading to be upgraded to described version to be upgraded.

The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: by obtaining from server in software to be upgraded lower than version to be upgraded and the target critical version of not upgrading, and by software upgrading to be upgraded to target critical version, then by software upgrading to be upgraded extremely version to be upgraded, make in software upgrade process, allly affect the target critical version that software normally runs and be all upgraded, thus ensure that the normal operation of software.

By display reminding information, make user can according to information by software upgrading to be upgraded to target critical version, thus ensure the normal operation of software to be upgraded.

By sending software upgrading request to server, obtain target critical version from server, obtain manner is simple, be easy to realize.

Know that server exists target critical version by different modes, for follow-up acquisition target critical version provides condition.

Employing mourns in silence upgrading mode by software upgrading to be upgraded to target critical version, and upgrading mode is flexible, various.

Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.

Accompanying drawing explanation

Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.

Fig. 1 is the process flow diagram of a kind of method for upgrading software according to an exemplary embodiment.

Fig. 2 A is the process flow diagram of the another kind of method for upgrading software according to an exemplary embodiment.

Fig. 2 B is the scene graph of a kind of method for upgrading software according to an exemplary embodiment.

Fig. 3 A is the process flow diagram of the another kind of method for upgrading software according to an exemplary embodiment.

Fig. 3 B is the scene graph of the another kind of method for upgrading software according to an exemplary embodiment.

Fig. 4 is the scene graph of another method for upgrading software according to an exemplary embodiment.

Fig. 5 is the block diagram of a kind of software updating apparatus according to an exemplary embodiment.

Fig. 6 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment.

Fig. 7 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment.

Fig. 8 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment.

Fig. 9 is a kind of block diagram being applicable to software updating apparatus according to an exemplary embodiment.

Embodiment

Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.

Fig. 1 is the process flow diagram of a kind of method for upgrading software according to an exemplary embodiment, as shown in Figure 1, this method for upgrading software can be applicable on mobile terminal, this mobile terminal is provided with software, this mobile terminal can include but not limited to mobile phone, panel computer (PAD) etc., and the method comprises the following steps S101 to S103:

In step S101, to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server.

In this embodiment, the software that mobile terminal is installed can be APP, and also can be plug-in unit, can also be the firmware of equipment, the firmware etc. of such as mobile phone.

Wherein, crucial version refers to the version affecting software and normally run, and target critical version refers to the crucial version of not upgrading between software current version and version to be upgraded.

In step s 102, by software upgrading to be upgraded to target critical version.

In this embodiment, after obtaining target critical version from server, by software upgrading to be upgraded to target critical version.

Such as, the version number of software current version to be upgraded is 19, and the version number of version to be upgraded is 22, and wherein, between current version and version to be upgraded, also there is a target critical version of not upgrading, its version number is 20.In order to ensure the normal operation after software upgrading to be upgraded, need first by software upgrading to be upgraded to the target critical version of version number 20 correspondence.

In step s 103, by software upgrading to be upgraded extremely version to be upgraded.

In this embodiment, after by software upgrading to be upgraded to target critical version, continue software upgrading to be upgraded to version to be upgraded.

In continuation, example is described, by software upgrading to be upgraded to version number be 20 target critical version after, be the version to be upgraded of 22 by software upgrading to be upgraded to version number.

Above-mentioned method for upgrading software embodiment, by obtaining from server in software to be upgraded lower than version to be upgraded and the target critical version of not upgrading, and by software upgrading to be upgraded to target critical version, then by software upgrading to be upgraded extremely version to be upgraded, make in software upgrade process, allly affect the target critical version that software normally runs and be all upgraded, thus ensure that the normal operation of software.

Fig. 2 A is the process flow diagram of the another kind of method for upgrading software according to an exemplary embodiment, and as shown in Figure 2 A, the method comprises:

In step s 201, the version number of the current version of software to be upgraded is sent to server.

In step S202, the update notification that reception server sends, there is target critical version in update notification instruction.

In this embodiment, mobile terminal such as mobile phone can know by above-mentioned steps S201 to S202 the target critical version whether server existing software to be upgraded such as certain APP.

In addition, the target critical version whether server existing software to be upgraded is known in the software upgrading instruction that mobile terminal also can be sent by reception server.

In step S203, obtain the target critical version of software to be upgraded from server.

The mode obtaining target critical version from server can be: mobile terminal sends software upgrading request to server, carries the model of current mobile terminal and the mark of software to be upgraded and current version number in software upgrading request; Then the target critical version of software to be upgraded that returns according to software upgrading request of reception server, wherein, obtains in the target critical version crucial version that to be server never upgrade according to the version number of current version number and version to be upgraded.

In step S204, in response to getting target critical version, display reminding information, this information indicates software upgrading to be upgraded to target critical version.

In this embodiment, after getting target critical version, can display reminding information, such as, " advising this software upgrading to target critical version ", like this, user can according to information by software upgrading to be upgraded to target critical version.

If target critical version is multiple, multiple information can be shown, to point out customer upgrade to corresponding target critical version respectively.

In step S205, in response to the triggering updating operation detected for information, by software upgrading to be upgraded to target critical version.

In this embodiment, when user triggers updating operation according to information, can by software upgrading to be upgraded to target critical version.

Wherein, triggering updating operation can, for the updating operation triggered by click keys, can, for the updating operation triggered by voice mode, can also be also the updating operation triggered by gesture.

In this embodiment, the target critical version got can be one, also can be multiple.When for time multiple, upgrade software can be treated successively according to the version number of target critical version order from low to high and upgrade, to ensure the normal operation of software to be upgraded.

Such as, the version number of software current version to be upgraded is 19, the version number of version to be upgraded is 25, getting after version number is two target critical versions of 21 and 22, first being the target critical version of 21 by software upgrading to be upgraded to version number, is then the target critical version of 22 by software upgrading to be upgraded to version number.

In step S206, by software upgrading to be upgraded to version to be upgraded.

Below in conjunction with Fig. 2 B, exemplary illustration is carried out to the disclosure, as shown in Figure 2 B, when user opens a certain APP on mobile phone 21, this APP can send the version number of this APP current version to server 22, server 22 can according to the target critical version whether version number's querying server 22 of this APP current version existing this APP, if exist, then send update notification, to notify that this APP exists target critical version to this APP.This APP is after reception update notification, the target critical version of this APP is obtained from server 22, suppose to get two target critical versions that version number is M and N, then can by playing the information of form display " advising this APP being upgraded to the target critical version that version number is M " of window, after user clicks " agreement " button, this APP can be upgraded to the target critical version that version number is M, continue through the information of form display " advising this APP being upgraded to the target critical version that version number is N " playing window afterwards, after user clicks " agreement " button, this APP can be upgraded to the target critical version that version number is N, then this APP is continued to upgrade to version to be upgraded.

Above-described embodiment, after knowing server exists target critical version, obtains target critical version from server, and display reminding information, to point out user by software upgrading to be upgraded to target critical version, thus ensure the normal operation of software to be upgraded.

Fig. 3 A is the process flow diagram of the another kind of method for upgrading software according to an exemplary embodiment, and as shown in Figure 3A, the method comprises:

In step S301, the target critical version of the software to be upgraded that reception server sends.

In this embodiment, server, when the target critical version that there is software to be upgraded being detected and current mobile terminal is under default environment such as Wireless Fidelity (WIFI) environment, sends the target critical version of software to be upgraded to mobile terminal.

In step s 302, employing mourns in silence upgrading mode by software upgrading to be upgraded to target critical version.

In this embodiment, after the target critical version of the software to be upgraded that mobile terminal sends at reception server, under WIFI environment, by software upgrading to be upgraded to target critical version.

In step S303, by software upgrading to be upgraded to version to be upgraded.

Below in conjunction with Fig. 3 B, exemplary illustration is carried out to the disclosure, as shown in Figure 3 B, when user uses the APP on mobile phone 31 to carry out certain operation under WIFI environment, if server 32 the target critical version of this APP of existence detected and mobile phone 31 is in WIFI environment, the target critical version of this APP is then sent to mobile phone 31, after the target critical version of this APP that mobile phone 31 sends at reception server 32, under WIFI environment, by this APP auto-update to target critical version, namely the trigger action of user is not needed, directly by this APP auto-update to target critical version, then this APP is continued to upgrade to version to be upgraded.Whole escalation process completes automatically, does not affect the normal use of user.

Above-described embodiment, the target critical version sent by reception server, and employing mourns in silence upgrading mode by software upgrading to be upgraded to target critical version, upgrading mode is flexible, various.

Below in conjunction with Fig. 4, exemplary illustration is carried out to the disclosure, as shown in Figure 4, user uses the APP on mobile phone 41 to carry out certain operation, after mobile phone 41 receives the software upgrading instruction of server 42 transmission, the target critical version of this APP is obtained from server 42, and display reminding information " advises APP being upgraded to the target critical version that version number is 22 ", user can click " agreement " button according to this information, now, mobile phone 41 detects the triggering updating operation for information, the current version being 19 by version number by this APP upgrades to the target critical version that version number is 22, then the version to be upgraded that version number is 26 is upgraded to, thus avoid this APP is directly upgraded to the version that version number is 26 or higher.

This upgrading mode effectively can avoid the situation of incompatible version, a destructive renewal is had such as to change the library file of certain dependence supposing the version being 26 from version number, upgraded version then can be caused to occur incompatible situation, and the present embodiment is by upgrading to target critical version by APP, namely be equivalent to do a compatibility on this target critical version, just effectively can ensure the normal operation of this APP, thus make user can normally use this APP, improve the experience of user.

Corresponding with aforementioned software upgrade method embodiment, the disclosure additionally provides software updating apparatus embodiment.

Fig. 5 is the block diagram of a kind of software updating apparatus according to an exemplary embodiment, and as shown in Figure 5, software updating apparatus comprises: acquisition module 51, first upgraded module 52 and the second upgraded module 53.

Acquisition module 51 is configured to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server.

First upgraded module 52 is configured to the target critical version got by software upgrading to be upgraded to acquisition module 51.

Second upgraded module 53 is configured to software upgrading to be upgraded to version to be upgraded.

Wherein, software to be upgraded can comprise following any one: the firmware of application program, plug-in unit and equipment.

Device is as shown in Figure 5 for realizing above-mentioned method flow as shown in Figure 1, and the related content related to describes identical, does not repeat herein.

Above-mentioned software updating apparatus embodiment, to be obtained software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server by acquisition module, by the first upgraded module by software upgrading to be upgraded to target critical version, then the second upgraded module is passed through by software upgrading to be upgraded to version to be upgraded, make in software upgrade process, allly affect the target critical version that software normally runs and be all upgraded, thus ensure that the normal operation of software.

Fig. 6 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment, and as shown in Figure 6, on above-mentioned basis embodiment illustrated in fig. 5, this device also can comprise: display module 54.

Display module 54 is configured to before the first upgraded module 52 is by software upgrading to be upgraded to target critical version, and in response to getting target critical version, display reminding information, information indicates software upgrading to be upgraded to target critical version.

First upgraded module 52 can be configured to: in response to the triggering updating operation detected for information, by software upgrading to be upgraded to target critical version.

In one embodiment, the first upgraded module 52 can be configured to: when there is multiple target critical version, treats upgrade software successively upgrade according to version number's order from low to high of target critical version.

Device is as shown in Figure 6 for realizing above-mentioned method flow as shown in Figure 2 A, and the related content related to describes identical, does not repeat herein.

Above-described embodiment, by display reminding information, make user can according to information by software upgrading to be upgraded to target critical version, thus ensure the normal operation of software to be upgraded.

Fig. 7 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment, and as shown in Figure 7, on above-mentioned basis embodiment illustrated in fig. 5, acquisition module 51 can comprise: send submodule 511 and receive submodule 512.

Send submodule 511 to be configured to send software upgrading request to server, in software upgrading request, carry the model of current mobile terminal and the mark of software to be upgraded and current version number.

Receive submodule 512 and be configured to reception server according to the target critical version of software to be upgraded sending software upgrading request that submodule 511 sends and return, obtain in the target critical version crucial version that to be server never upgrade according to the version number of current version number and version to be upgraded.

In one embodiment, acquisition module 51 can be configured to: in response to the software upgrading instruction receiving server transmission, obtains target critical version from server.

In one embodiment, the first upgraded module 52 can be configured to: adopt and mourn in silence upgrading mode by software upgrading to be upgraded to target critical version.

Device is as shown in Figure 7 for realizing above-mentioned method flow as shown in Fig. 2 A or Fig. 3 A, and the related content related to describes identical, does not repeat herein.

Above-described embodiment, by sending software upgrading request to server, obtains target critical version from server, and obtain manner is simple, be easy to realize; In addition, adopt and mourn in silence upgrading mode by software upgrading to be upgraded to target critical version, upgrading mode is flexible, various.

Fig. 8 is the block diagram of the another kind of software updating apparatus according to an exemplary embodiment, and as shown in Figure 8, on above-mentioned basis embodiment illustrated in fig. 5, this device also can comprise: sending module 55 and receiver module 56.

Sending module 55 is configured to obtain from server software to be upgraded lower than version to be upgraded at acquisition module 51 and before the target critical version of not upgrading, send the version number of the current version of software to be upgraded to server.

Receiver module 56 is configured to the update notification that reception server sends, and update notification instruction exists target critical version.

Device is as shown in Figure 8 for realizing above-mentioned method flow as shown in Figure 2 A, and the related content related to describes identical, does not repeat herein.

Above-described embodiment, sent the version number of the current version of software to be upgraded to server by sending module, and by the update notification that receiver module reception server sends, there is target critical version in server to know, for follow-up acquisition target critical version provides condition.

About the device in above-described embodiment, wherein the concrete mode of modules, submodule executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.

Fig. 9 is a kind of block diagram being applicable to software updating apparatus according to an exemplary embodiment.Such as, device 900 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant, aircraft etc.

With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.

The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing element 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.

Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.

The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.

Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.

Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.

I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.

Sensor module 914 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.

Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.

In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.

In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.

Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.

Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a method for upgrading software, is characterized in that, described method comprises:
To obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;
By described software upgrading to be upgraded to described target critical version;
By described software upgrading to be upgraded to described version to be upgraded.
2. method for upgrading software according to claim 1, is characterized in that, described by described software upgrading to be upgraded extremely described target critical version, comprising:
When there is multiple described target critical version, successively described software to be upgraded is upgraded according to version number's order from low to high of described target critical version.
3. method for upgrading software according to claim 1, is characterized in that, described by described software upgrading to be upgraded to before described target critical version, described method also comprises:
In response to getting described target critical version, display reminding information, described information instruction is by described software upgrading to be upgraded extremely described target critical version;
Described by described software upgrading to be upgraded extremely described target critical version, comprising:
In response to the triggering updating operation detected for described information, by described software upgrading to be upgraded to described target critical version.
4. method for upgrading software according to claim 1, is characterized in that, describedly to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server, comprising:
Send software upgrading request to described server, in described software upgrading request, carry the model of current mobile terminal and the mark of described software to be upgraded and current version number;
Receive the described target critical version of the software described to be upgraded that described server returns according to described software upgrading request, obtain in the described target critical version crucial version that to be described server never upgrade according to the version number of described current version number and described version to be upgraded.
5. method for upgrading software according to claim 1, is characterized in that, to obtain software to be upgraded lower than version to be upgraded and before the target critical version of not upgrading, described method also comprises described from server:
The version number of the current version of described software to be upgraded is sent to described server;
Receiving the update notification that described server sends, there is described target critical version in described update notification instruction.
6. method for upgrading software according to claim 1, is characterized in that, describedly to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server, comprising:
In response to the software upgrading instruction receiving the transmission of described server, obtain described target critical version from server.
7. method for upgrading software according to claim 1, is characterized in that, described by described software upgrading to be upgraded extremely described target critical version, comprising:
Employing mourns in silence upgrading mode by described software upgrading to be upgraded to described target critical version.
8. the method for upgrading software according to any one of claim 1 to 7, is characterized in that, described software to be upgraded comprises following any one: the firmware of application program, plug-in unit and equipment.
9. a software updating apparatus, is characterized in that, described device comprises:
Acquisition module, is configured to obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;
First upgraded module, is configured to the described target critical version got by described software upgrading to be upgraded to described acquisition module;
Second upgraded module, is configured to described software upgrading to be upgraded to described version to be upgraded.
10. software updating apparatus according to claim 9, is characterized in that, described first upgraded module, is configured to:
When there is multiple described target critical version, successively described software to be upgraded is upgraded according to version number's order from low to high of described target critical version.
11. software updating apparatus according to claim 9, is characterized in that, described device also comprises:
Display module, be configured to before described first upgraded module is by described software upgrading to be upgraded to described target critical version, in response to getting described target critical version, display reminding information, described information instruction is by described software upgrading to be upgraded extremely described target critical version;
Described first upgraded module, is configured to:
In response to the triggering updating operation detected for described information, by described software upgrading to be upgraded to described target critical version.
12. software updating apparatus according to claim 9, is characterized in that, described acquisition module comprises:
Send submodule, be configured to send software upgrading request to described server, in described software upgrading request, carry the model of current mobile terminal and the mark of described software to be upgraded and current version number;
Receive submodule, be configured to the described target critical version receiving the software described to be upgraded that described server returns according to the described software upgrading request that described transmission submodule sends, obtain in the described target critical version crucial version that to be described server never upgrade according to the version number of described current version number and described version to be upgraded.
13. software updating apparatus according to claim 9, is characterized in that, described device also comprises:
Sending module, is configured to obtain from server software to be upgraded lower than version to be upgraded at described acquisition module and before the target critical version of not upgrading, send the version number of the current version of described software to be upgraded to described server;
Receiver module, is configured to the update notification receiving the transmission of described server, and described update notification instruction exists described target critical version.
14. software updating apparatus according to claim 9, is characterized in that, described acquisition module, is configured to:
In response to the software upgrading instruction receiving the transmission of described server, obtain described target critical version from server.
15. software updating apparatus according to claim 9, is characterized in that, described first upgraded module, is configured to:
Employing mourns in silence upgrading mode by described software upgrading to be upgraded to described target critical version.
16. software updating apparatus according to any one of claim 9 to 15, it is characterized in that, described software to be upgraded comprises following any one: the firmware of application program, plug-in unit and equipment.
17. 1 kinds of software updating apparatus, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
To obtain software to be upgraded lower than version to be upgraded and the target critical version of not upgrading from server;
By described software upgrading to be upgraded to described target critical version;
By described software upgrading to be upgraded to described version to be upgraded.
CN201510571612.0A 2015-09-09 2015-09-09 Method for upgrading software and device CN105094931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510571612.0A CN105094931B (en) 2015-09-09 2015-09-09 Method for upgrading software and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510571612.0A CN105094931B (en) 2015-09-09 2015-09-09 Method for upgrading software and device

Publications (2)

Publication Number Publication Date
CN105094931A true CN105094931A (en) 2015-11-25
CN105094931B CN105094931B (en) 2019-03-01

Family

ID=54575441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510571612.0A CN105094931B (en) 2015-09-09 2015-09-09 Method for upgrading software and device

Country Status (1)

Country Link
CN (1) CN105094931B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468414A (en) * 2015-11-30 2016-04-06 Tcl集团股份有限公司 Intelligent terminal upgrading method and system
CN105760203A (en) * 2016-03-14 2016-07-13 广东欧珀移动通信有限公司 Software upgrading method and terminal equipment
CN105915401A (en) * 2016-06-29 2016-08-31 北京小米移动软件有限公司 Firmware upgrading method and device of smart hardware, and equipment
CN107025120A (en) * 2017-03-31 2017-08-08 广东欧珀移动通信有限公司 Software upgrading processing method, device and terminal
CN107318047A (en) * 2016-04-26 2017-11-03 三星电子株式会社 Image processing apparatus and its control method
WO2018010597A1 (en) * 2016-07-11 2018-01-18 福建联迪商用设备有限公司 Wireless download and installation method and system for smart device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301383A (en) * 2014-09-05 2015-01-21 小米科技有限责任公司 Upgrading method, device and upgrading equipment
CN104778057A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Terminal system upgrading method and device, and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104301383A (en) * 2014-09-05 2015-01-21 小米科技有限责任公司 Upgrading method, device and upgrading equipment
CN104778057A (en) * 2015-03-11 2015-07-15 小米科技有限责任公司 Terminal system upgrading method and device, and server

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468414A (en) * 2015-11-30 2016-04-06 Tcl集团股份有限公司 Intelligent terminal upgrading method and system
CN105468414B (en) * 2015-11-30 2019-07-09 Tcl集团股份有限公司 A kind of upgrading method thereof and system
CN105760203A (en) * 2016-03-14 2016-07-13 广东欧珀移动通信有限公司 Software upgrading method and terminal equipment
CN107318047A (en) * 2016-04-26 2017-11-03 三星电子株式会社 Image processing apparatus and its control method
CN105915401A (en) * 2016-06-29 2016-08-31 北京小米移动软件有限公司 Firmware upgrading method and device of smart hardware, and equipment
WO2018010597A1 (en) * 2016-07-11 2018-01-18 福建联迪商用设备有限公司 Wireless download and installation method and system for smart device
CN107025120A (en) * 2017-03-31 2017-08-08 广东欧珀移动通信有限公司 Software upgrading processing method, device and terminal

Also Published As

Publication number Publication date
CN105094931B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
RU2615325C2 (en) Method and device for memory space reclamation
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
KR101639539B1 (en) Method, device, program, and recording medium for prompting application removal
JP6068736B2 (en) Method and apparatus for executing application program
JP6259122B2 (en) Firmware upgrade method, apparatus, program, and recording medium
EP3086539B1 (en) Method and device for deleting smart scene
US20120272231A1 (en) Mobile terminal and system for managing applications using the same
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
EP3171270A1 (en) Method and device for information push
CN104038263A (en) Method and device for establishing Bluetooth connection
CN105491113A (en) Migrating method, device and terminal
EP3062487A1 (en) Method and apparatus for detecting smart device
RU2618937C2 (en) Updating method, device and unit for updates
JP2016534451A (en) Verification method, apparatus, program and recording medium using verification code
CN104394263A (en) Accessing point list displaying method and device
EP2991275B1 (en) Making router management application compatible with router firmware
CN104615350A (en) Method and device for displaying information on screen locking interface
CN105553963B (en) The control method and device of positioning service
CN104123341A (en) Method and device for downloading file and route device
RU2663481C2 (en) Method and device for installing connectable module of intelligent device
CN105098888A (en) Charging method and device
CN105160854A (en) Equipment control method, device and terminal equipment
CN105549849A (en) Method and device for processing misoperation instruction
CN104780155A (en) Method and device for binding equipment
EP3188066A1 (en) A method and an apparatus for managing an application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant