CN105094931B - Method for upgrading software and device - Google Patents

Method for upgrading software and device Download PDF

Info

Publication number
CN105094931B
CN105094931B CN201510571612.0A CN201510571612A CN105094931B CN 105094931 B CN105094931 B CN 105094931B CN 201510571612 A CN201510571612 A CN 201510571612A CN 105094931 B CN105094931 B CN 105094931B
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
CN105094931A (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

It is about a kind of method for upgrading software and device that the present invention, which discloses, wherein method for upgrading software includes: to obtain the target critical version for being lower than version to be upgraded in software to be upgraded and not upgrading from server;By software upgrading to be upgraded to target critical version;By software upgrading to be upgraded to version to be upgraded.The embodiment of the present disclosure, by obtaining the target critical version for being lower than version to be upgraded in software to be upgraded and not upgrading from server, and by software upgrading to be upgraded to target critical version, then by software upgrading to be upgraded to version to be upgraded, so that in software upgrade process, the target critical version that had an impact software operates normally is upgraded, to ensure that the normal operation of software.

Description

Method for upgrading software and device

Technical field

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

Background technique

Software upgrading refers to update of the software from lowest version to highest version.Since highest version usually repairs the part of lowest version Loophole (bug), so experienced software upgrading, it generally all can be more preferable than the performance of original version, the effect optimized, Yong Huye There can be better experience.Software upgrading includes system upgrade and two kinds of application program updating.System upgrade refer to system conversion at The system of higher-version downloads patch to system, protects it from attack or increases new function.Application program updating refers to downloading The software of latest edition is installed, new function is experienced.

Under normal conditions, developer is supplied to user's downloading in exploitation completion application program of mobile phone (APP) first version and makes With rear, modified version generally all can be periodically or non-periodically issued.These modified versions are sometimes the amendment of detail, and whether user Update will not influence its use.But some versions are very big on the use of APP influence, and if user updates not in time, meeting Lead to not the corresponding APP of normal use.

Summary of the invention

To overcome the problems in correlation technique, the disclosure provides a kind of method for upgrading software and device.

According to the first aspect of the embodiments of the present disclosure, a kind of method for upgrading software is provided, comprising:

The target critical version for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server;

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

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

It is in one embodiment, described by the software upgrading to be upgraded to the target critical version, comprising:

When there are multiple target critical versions, according to version number's from low to high suitable of the target critical version Sequence successively upgrades the software to be upgraded.

In one embodiment, before described by the software upgrading to be upgraded to the target critical version, the side Method further include:

In response to getting the target critical version, display reminding information, the prompt information instruction is by described wait rise Grade software upgrading is to the target critical version;

It is described by the software upgrading to be upgraded to the target critical version, comprising:

The triggering updating operation of the prompt information is directed in response to detecting, by the software upgrading to be upgraded to described Target critical version.

In one embodiment, described that the target for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server Crucial version, comprising:

Software upgrading request is sent to the server, the model of current mobile terminal is carried in the software upgrading request And the mark and current version number of the software to be upgraded;

Receive the target critical for the software to be upgraded that the server is returned according to software upgrading request Version, the target critical version be the server according to the version number of the current version number and the version to be upgraded from It is obtained in the crucial version not upgraded.

In one embodiment, in the mesh for being obtained from server and being lower than version to be upgraded in software to be upgraded and not upgrading Before marking crucial version, the method also includes:

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

The update notification that the server is sent is received, there are the target critical versions for the update notification instruction.

In one embodiment, described that the target for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server Crucial version, comprising:

The software upgrading instruction sent in response to receiving the server, obtains the target critical version from server This.

It is in one embodiment, described by the software upgrading to be upgraded to the target critical version, comprising:

Using silent upgrading mode by the software upgrading to be upgraded to the target critical version.

In one embodiment, the software to be upgraded includes any one of following: application program, plug-in unit and equipment are consolidated Part.

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

Module is obtained, is configured as obtaining the target for being lower than version to be upgraded in software to be upgraded and not upgrading from server Crucial version;

First upgraded module is configured as the mesh for getting the software upgrading to be upgraded to the acquisition module Mark crucial version;

Second upgraded module is configured as the software upgrading to be upgraded to the version to be upgraded.

In one embodiment, first upgraded module, is configured as:

When there are multiple target critical versions, according to version number's from low to high suitable of the target critical version Sequence successively upgrades the software to be upgraded.

In one embodiment, described device further include:

Display module is configured as the software upgrading to be upgraded to the target critical in first upgraded module Before version, in response to getting the target critical version, display reminding information, the prompt information instruction is by described wait rise Grade software upgrading is to the target critical version;

First upgraded module, is configured as:

The triggering updating operation of the prompt information is directed in response to detecting, by the software upgrading to be upgraded to described Target critical version.

In one embodiment, the acquisition module includes:

Sending submodule is configured as sending software upgrading request to the server, take in the software upgrading request The mark and current version number of model with current mobile terminal and the software to be upgraded;

Receiving submodule is configured as receiving the software upgrading that the server is sent according to the sending submodule The target critical version of the software to be upgraded returned is requested, the target critical version is the server according to institute It states and obtains in the crucial version that the version number of current version number and the version to be upgraded never upgrades.

In one embodiment, described device further include:

Sending module is configured as obtaining in software to be upgraded from server lower than version to be upgraded in the acquisition module And before the target critical version not upgraded, Xiang Suoshu server sends the version number of the current version of the software to be upgraded;

Receiving module is configured as receiving the update notification that the server is sent, and there are institutes for the update notification instruction State target critical version.

In one embodiment, the acquisition module, is configured as:

The software upgrading instruction sent in response to receiving the server, obtains the target critical version from server This.

In one embodiment, first upgraded module, is configured as:

Using silent upgrading mode by the software upgrading to be upgraded to the target critical version.

In one embodiment, the software to be upgraded includes any one of following: application program, plug-in unit and equipment are consolidated Part.

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

Processor;

Memory for storage processor executable instruction;

Wherein, processor is configured as:

The target critical version for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server;

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

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

The technical scheme provided by this disclosed embodiment can include the following benefits: by obtaining from server wait rise Lower than version to be upgraded and the target critical version that does not upgrade in grade software, and by software upgrading to be upgraded to target critical version This, is then by software upgrading to be upgraded to version to be upgraded, so that in software upgrade process, what had an impact software operated normally Target critical version is upgraded, to ensure that the normal operation of software.

By display reminding information, allow user according to prompt information by software upgrading to be upgraded to target critical version This, to guarantee the normal operation of software to be upgraded.

By sending software upgrading request to server, target critical version is obtained from server, acquisition modes are simple, easy In realization.

Know that there are target critical versions on server, provide for subsequent acquisition target critical version by different modes Condition.

Using silent upgrading mode by software upgrading to be upgraded to target critical version, it is flexible, various to upgrade mode.

It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.

Detailed description of the invention

The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.

Fig. 1 is a kind of flow chart of method for upgrading software shown according to an exemplary embodiment.

Fig. 2A is the flow chart of another method for upgrading software shown according to an exemplary embodiment.

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

Fig. 3 A is the flow chart of another method for upgrading software shown according to an exemplary embodiment.

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

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

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

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

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

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

Fig. 9 is a kind of block diagram suitable for software updating apparatus shown according to an exemplary embodiment.

Specific embodiment

Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.

Fig. 1 is a kind of flow chart of method for upgrading software shown according to an exemplary embodiment, as shown in Figure 1, this is soft Part upgrade method can be applied on mobile terminal, which is equipped with software, which can include but is not limited to Mobile phone, tablet computer (PAD) etc., this approach includes the following steps S101 to S103:

In step s101, the target critical for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server Version.

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

Wherein, crucial version, which refers to, influences the version that software operates normally, and target critical version refers to current positioned at software Do not upgrade crucial version between 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, software upgrading to be upgraded to target is closed Key version.

For example, the version number of software current version to be upgraded is 19, the version number of version to be upgraded is 22, wherein is being worked as The target critical version not upgraded between preceding version and version to be upgraded there is also one, version number 20.In order to guarantee Normal operation after software upgrading to be upgraded needs software upgrading to be upgraded to the corresponding target critical version of version number 20 first This.

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

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

Continue upper example to be described, it, will after the target critical version for being 20 by software upgrading to be upgraded to version number The version to be upgraded that software upgrading to be upgraded is 22 to version number.

Above-mentioned method for upgrading software embodiment, by obtaining in software to be upgraded from server lower than version to be upgraded and not The target critical version of upgrading, and by software upgrading to be upgraded to target critical version, then by software upgrading to be upgraded to Upgraded version, so that the target critical version that had an impact software operates normally is upgraded, to protect in software upgrade process The normal operation of software is demonstrate,proved.

Fig. 2A is the flow chart of another method for upgrading software shown according to an exemplary embodiment, as shown in Figure 2 A, This 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 server is sent is received, there are target critical versions for update notification instruction.

In this embodiment, mobile terminal such as mobile phone can be known on server with S201 through the above steps to S202 is It is no that there are the target critical versions of software to be upgraded such as some APP.

In addition, mobile terminal can also be known on server by receiving the software upgrading instruction that server is sent whether There are the target critical versions of software to be upgraded.

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

The mode for obtaining target critical version from server can be with are as follows: mobile terminal sends software upgrading to server and asks It asks, the model of current mobile terminal and the mark and current version number of software to be upgraded is carried in software upgrading request;Then Receive the target critical version for the software to be upgraded that server is returned according to software upgrading request, wherein target critical version is It is obtained in the crucial version that server never upgrades 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, prompt information instruction will be to Upgrade software upgrading to target critical version.

It in this embodiment, can be with display reminding information, for example, " it is recommended that should after getting target critical version Software upgrading is to target critical version ", in this way, user can be according to prompt information by software upgrading to be upgraded to target critical version This.

If target critical version be it is multiple, multiple prompt informations can be shown, to prompt customer upgrade to correspondence respectively Target critical version.

In step S205, the triggering updating operation of prompt information is directed in response to detecting, by software upgrading to be upgraded To target critical version.

It in this embodiment, can be by software upgrading to be upgraded extremely when user triggers updating operation according to prompt information Target critical version.

Wherein, triggering updating operation can be the updating operation triggered by click keys, or by voice side The updating operation of formula triggering can also be the updating operation for passing through gesture trigger.

In the embodiment, the target critical version got can be one, or multiple.It, can when to be multiple It is to be upgraded to guarantee successively to upgrade to software to be upgraded according to the sequence of the version number of target critical version from low to high The normal operation of software.

For example, the version number of software current version to be upgraded is 19, the version number of version to be upgraded is 25, is getting version After this number is 21 and 22 two target critical version, the target critical version for being first 21 by software upgrading to be upgraded to version number This, the target critical version for being then 22 by software upgrading to be upgraded to version number.

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

The disclosure is illustrated below with reference to Fig. 2 B, as shown in Figure 2 B, user opens a certain on mobile phone 21 When APP, which can send the version number of the APP current version to server 22, and server 22 can be according to the current version of the APP It whether there is the target critical version of the APP on this version number's query service device 22, and if it exists, then send and update to the APP Notice, to notify the APP that there are target critical versions.The APP obtains the APP's after receiving update notification, from server 22 Target critical version, it is assumed that get two target critical versions that version number is M and N, then can be shown by way of pop-up The prompt information for showing " it is recommended that the APP is upgraded to the target critical version that version number is M ", " agrees to " key when the user clicks Afterwards, which can be upgraded to the target critical version that version number is M, the form for continuing through pop-up later is shown " it is recommended that will The APP upgrades to the target critical version that version number is N " prompt information can should after " agreeing to " key when the user clicks APP upgrades to the target critical version that version number is N, then proceedes to upgrading to the APP into version to be upgraded.

Above-described embodiment obtains target critical version from server there are after target critical version on knowing server, And display reminding information, to prompt user by software upgrading to be upgraded to target critical version, to guarantee software to be upgraded It operates normally.

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

In step S301, the target critical version for the software to be upgraded that server is sent is received.

In this embodiment, server is in the target critical version and current mobile terminal for detecting the presence of software to be upgraded When under default environment such as Wireless Fidelity (WIFI) environment, the target critical version of software to be upgraded is sent to mobile terminal This.

In step s 302, using silent upgrading mode by software upgrading to be upgraded to target critical version.

In this embodiment, mobile terminal receive server send software to be upgraded target critical version after, 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.

The disclosure is illustrated below with reference to Fig. 3 B, as shown in Figure 3B, when user uses under WIFI environment When APP on mobile phone 31 carries out certain operation, if server 32 detects the presence of at the target critical version and mobile phone 31 of the APP In WIFI environment, then the target critical version of the APP is sent to mobile phone 31, mobile phone 31 is in the APP for receiving the transmission of server 32 Target critical version after, under WIFI environment, which is upgraded into target critical version automatically, that is, does not need the touching of user Hair operation, directly upgrades to target critical version for the APP automatically, then proceedes to upgrading to the APP into version to be upgraded.Entirely Escalation process is automatically performed, and does not influence the normal use of user.

Above-described embodiment, the target critical version sent by receiving server, and will be wait rise using silent upgrading mode It is flexible, various to upgrade mode to target critical version for grade software upgrading.

The disclosure is illustrated below with reference to Fig. 4, as shown in figure 4, user is carried out using the APP on mobile phone 41 Certain operation obtains the target of the APP from server 42 after mobile phone 41 receives the software upgrading instruction of the transmission of server 42 Crucial version, and display reminding information " it is recommended that APP is upgraded to the target critical version that version number is 22 ", user can be according to this Prompt information clicks " agreement " key, at this point, mobile phone 41 detects the triggering updating operation for prompt information, by the APP by The current version that version number is 19 upgrades to the target critical version that version number is 22, and then upgrading to version number is 26 wait rise Grade version is 26 or higher version so as to avoid the APP is directly upgraded to version number.

This upgrading mode is it is possible to prevente effectively from the case where incompatible version, it is assumed that begins with from the version that version number is 26 The library file of some dependence has for example been replaced in one destructive update, then will lead to upgraded version and incompatible situation occur, And the present embodiment is by upgrading to target critical version for APP, that is, a compatibility has been done in the target critical version, It can effectively guarantee the normal operation of the APP, to have so that the APP can be used normally in user, improve user's Usage experience.

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

Fig. 5 is a kind of block diagram of software updating apparatus shown according to an exemplary embodiment, as shown in figure 5, software liter Stage arrangement includes: to obtain module 51, the first upgraded module 52 and the second upgraded module 53.

It obtains module 51 and is configured as obtaining the mesh for being lower than version to be upgraded in software to be upgraded and not upgrading from server Mark crucial version.

First upgraded module 52 is configured as the target critical version for getting software upgrading to be upgraded to acquisition module 51 This.

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

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

For device as shown in Figure 5 for realizing above-mentioned method flow as shown in Figure 1, the related content being related to describes phase Together, it does not repeat herein.

Above-mentioned software updating apparatus embodiment is obtained in software to be upgraded from server lower than to be upgraded by obtaining module Version and the target critical version not upgraded, by the first upgraded module by software upgrading to be upgraded to target critical version, so Afterwards by the second upgraded module by software upgrading to be upgraded to version to be upgraded, so that having an impact soft in software upgrade process The target critical version that part operates normally is upgraded, to ensure that the normal operation of software.

Fig. 6 is the block diagram of another software updating apparatus shown according to an exemplary embodiment, as shown in fig. 6, upper On the basis of stating embodiment illustrated in fig. 5, which may also include that display module 54.

Display module 54 is configured as before the first upgraded module 52 is by software upgrading to be upgraded to target critical version, In response to getting target critical version, display reminding information, prompt information is indicated software upgrading to be upgraded to target critical Version.

First upgraded module 52 can be configured to: the triggering updating operation of prompt information is directed in response to detecting, it will be to Upgrade software upgrading to target critical version.

In one embodiment, the first upgraded module 52 can be configured to: when there are multiple target critical versions, according to mesh The sequence of the version number of crucial version from low to high is marked successively to upgrade software to be upgraded.

For realizing above-mentioned method flow as shown in Figure 2 A, the related content being related to describes device as shown in FIG. 6 It is identical, it does not repeat herein.

Above-described embodiment allows user according to prompt information by software upgrading to be upgraded by display reminding information To target critical version, to guarantee the normal operation of software to be upgraded.

Fig. 7 is the block diagram of another software updating apparatus shown according to an exemplary embodiment, as shown in fig. 7, upper On the basis of stating embodiment illustrated in fig. 5, module 51 is obtained can include: sending submodule 511 and receiving submodule 512.

Sending submodule 511 is configured as sending software upgrading request to server, carries in software upgrading request current The mark and current version number of the model of mobile terminal and software to be upgraded.

Receiving submodule 512 is configured as the software upgrading request that reception server is sent according to sending submodule 511 and returns The target critical version of the software to be upgraded returned, target critical version are server according to current version number and version to be upgraded It is obtained in the crucial version that version number never upgrades.

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

In one embodiment, the first upgraded module 52 can be configured to: use silent upgrading mode by software liter to be upgraded Grade is to target critical version.

Device as shown in Figure 7 is for realizing the above-mentioned method flow as shown in Fig. 2A or Fig. 3 A, and the phase being related to is inside the Pass It is identical to hold description, does not repeat herein.

Above-described embodiment obtains target critical version from server, obtains by sending software upgrading request to server Mode is simple, is easily achieved;In addition, using silent upgrading mode by software upgrading to be upgraded to target critical version, upgrading side Formula is flexible, various.

Fig. 8 is the block diagram of another software updating apparatus shown according to an exemplary embodiment, as shown in figure 8, upper On the basis of stating embodiment illustrated in fig. 5, which may also include that sending module 55 and receiving module 56.

Sending module 55 is configured as obtaining module 51 from server acquisition software to be upgraded lower than version to be upgraded And before the target critical version not upgraded, the version number of the current version of software to be upgraded is sent to server.

Receiving module 56 is configured as receiving the update notification that server is sent, and there are target critical versions for update notification instruction This.

For realizing above-mentioned method flow as shown in Figure 2 A, the related content being related to is described device as shown in Figure 8 It is identical, it does not repeat herein.

Above-described embodiment, the version number of the current version of software to be upgraded is sent by sending module to server, and is led to It crosses receiving module and receives the update notification that server is sent, there are target critical versions on server to know, are subsequent acquisition Target critical version provides condition.

About the device in above-described embodiment, the concrete mode that wherein modules, submodule execute operation is having It closes and is described in detail in the embodiment of this method, no detailed explanation will be given here.

Fig. 9 is a kind of block diagram suitable for software updating apparatus shown according to an exemplary embodiment.For example, device 900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant, aircraft etc..

Referring to Fig. 9, device 900 may include following one or more components: processing component 902, memory 904, power supply Component 906, multimedia component 908, audio component 910, the interface 912 of input/output (I/O), sensor module 914, and Communication component 916.

The integrated operation of the usual control device 900 of processing component 902, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing element 902 may include that one or more processors 920 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 902 may include one or more modules, just Interaction between processing component 902 and other assemblies.For example, processing component 902 may include multi-media module, it is more to facilitate Interaction between media component 908 and processing component 902.

Memory 904 is configured as storing various types of data to support the operation in equipment 900.These data are shown Example includes the instruction of any application or method for operating on device 900, contact data, and telephone book data disappears Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.

Electric power assembly 906 provides electric power for the various assemblies of device 900.Electric power assembly 906 may include power management system System, one or more power supplys and other with for device 900 generate, manage, and distribute the associated component of electric power.

Multimedia component 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 908 includes a front camera and/or rear camera.When equipment 900 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.

Audio component 910 is configured as output and/or input audio signal.For example, audio component 910 includes a Mike Wind (MIC), when device 900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 904 or via communication set Part 916 is sent.In some embodiments, audio component 910 further includes a loudspeaker, is used for output audio signal.

I/O interface 912 provides interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.

Sensor module 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented Estimate.For example, sensor module 914 can detecte the state that opens/closes of equipment 900, and the relative positioning of component, for example, it is described Component is the display and keypad of device 900, and sensor module 914 can be with 900 1 components of detection device 900 or device Position change, the existence or non-existence that user contacts with device 900,900 orientation of device or acceleration/deceleration and device 900 Temperature change.Sensor module 914 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 914 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.

Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 916 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.

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

In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 904 of instruction, above-metioned instruction can be executed by the processor 920 of device 900 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..

Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.

It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (16)

1. a kind of method for upgrading software, which is characterized in that the described method includes:
The target critical version for being lower than version to be upgraded in software to be upgraded and not upgrading is obtained from server, wherein the mesh The crucial version of mark, which refers to, does not upgrade crucial version, key between the software current version to be upgraded and version to be upgraded Version, which refers to, influences the version that the software to be upgraded operates normally, described if user does not install the target critical version Software to be upgraded is unable to operate normally;
By the software upgrading to be upgraded to the target critical version;
By the software upgrading to be upgraded to the version to be upgraded.
2. method for upgrading software according to claim 1, which is characterized in that described by the software upgrading to be upgraded to institute State target critical version, comprising:
When there are multiple target critical versions, according to the target critical version version number's sequence from low to high according to It is secondary that the software to be upgraded is upgraded.
3. method for upgrading software according to claim 1, which is characterized in that it is described by the software upgrading to be upgraded extremely Before the target critical version, the method also includes:
In response to getting the target critical version, display reminding information, the prompt information instruction will be described to be upgraded soft Part upgrades to the target critical version;
It is described by the software upgrading to be upgraded to the target critical version, comprising:
The triggering updating operation of the prompt information is directed in response to detecting, by the software upgrading to be upgraded to the target Crucial version.
4. method for upgrading software according to claim 1, which is characterized in that described to be obtained in software to be upgraded from server Lower than version to be upgraded and the target critical version that does not upgrade, comprising:
Send software upgrading request to the server, carried in the software upgrading request current mobile terminal model and The mark and current version number of the software to be upgraded;
The target critical version for the software to be upgraded that the server is returned according to software upgrading request is received, The target critical version is that the server never rises according to the version number of the current version number and the version to be upgraded It is obtained in the crucial version of grade.
5. method for upgrading software according to claim 1, which is characterized in that obtain software to be upgraded from server described In lower than version to be upgraded and the target critical version that does not upgrade before, the method also includes:
The version number of the current version of the software to be upgraded is sent to the server;
The update notification that the server is sent is received, there are the target critical versions for the update notification instruction.
6. method for upgrading software according to claim 1, which is characterized in that described to be obtained in software to be upgraded from server Lower than version to be upgraded and the target critical version that does not upgrade, comprising:
The software upgrading instruction sent in response to receiving the server, obtains the target critical version from server.
7. method for upgrading software according to claim 1, which is characterized in that described by the software upgrading to be upgraded to institute State target critical version, comprising:
Using silent upgrading mode by the software upgrading to be upgraded to the target critical version.
8. method for upgrading software according to any one of claims 1 to 7, which is characterized in that the software to be upgraded includes It is any one of following: the firmware of application program, plug-in unit and equipment.
9. a kind of software updating apparatus, which is characterized in that described device includes:
Module is obtained, is configured as obtaining the target critical for being lower than version to be upgraded in software to be upgraded and not upgrading from server Version, wherein the target critical version refers between the software current version to be upgraded and version to be upgraded not Upgrade crucial version, crucial version, which refers to, influences the version that the software to be upgraded operates normally, if user does not install the mesh Crucial version is marked, then the software to be upgraded is unable to operate normally;
First upgraded module is configured as closing the software upgrading to be upgraded to the target that the acquisition module is got Key version;
Second upgraded module is configured as the software upgrading to be upgraded to the version to be upgraded.
10. software updating apparatus according to claim 9, which is characterized in that first upgraded module is configured as:
When there are multiple target critical versions, according to the target critical version version number's sequence from low to high according to It is secondary that the software to be upgraded is upgraded.
11. software updating apparatus according to claim 9, which is characterized in that described device further include:
Display module is configured as the software upgrading to be upgraded to the target critical version in first upgraded module Before, in response to getting the target critical version, display reminding information, the prompt information instruction will be described to be upgraded soft Part upgrades to the target critical version;
First upgraded module, is configured as:
The triggering updating operation of the prompt information is directed in response to detecting, by the software upgrading to be upgraded to the target Crucial version.
12. software updating apparatus according to claim 9, which is characterized in that the acquisition module includes:
Sending submodule is configured as sending software upgrading request to the server, carries and work as in the software upgrading request The mark and current version number of the model of preceding mobile terminal and the software to be upgraded;
Receiving submodule is configured as receiving the software upgrading request that the server is sent according to the sending submodule The target critical version of the software to be upgraded returned, the target critical version are that the server is worked as according to It is obtained in the crucial version that preceding version number and the version number of the version to be upgraded never upgrade.
13. software updating apparatus according to claim 9, which is characterized in that described device further include:
Sending module, is configured as obtaining in software to be upgraded from server lower than version to be upgraded in the acquisition module and not Before the target critical version of upgrading, Xiang Suoshu server sends the version number of the current version of the software to be upgraded;
Receiving module is configured as receiving the update notification that the server is sent, and there are the mesh for the update notification instruction Mark crucial version.
14. software updating apparatus according to claim 9, which is characterized in that the acquisition module is configured as:
The software upgrading instruction sent in response to receiving the server, obtains the target critical version from server.
15. software updating apparatus according to claim 9, which is characterized in that first upgraded module is configured as:
Using silent upgrading mode by the software upgrading to be upgraded to the target critical version.
16. according to the described in any item software updating apparatus of claim 9 to 15, which is characterized in that the software package to be upgraded It includes any one of following: the firmware of application program, plug-in unit and equipment.
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 CN105094931A (en) 2015-11-25
CN105094931B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
KR20170122013A (en) * 2016-04-26 2017-11-03 삼성전자주식회사 Image processing apparatus and control method thereof
CN105915401B (en) * 2016-06-29 2019-05-21 北京小米移动软件有限公司 Firmware upgrade method, device and the equipment of Intelligent hardware
CN106209452A (en) * 2016-07-11 2016-12-07 福建联迪商用设备有限公司 It is applied to wireless downloading installation method and the system of smart machine
CN107025120B (en) * 2017-03-31 2020-05-12 Oppo广东移动通信有限公司 Software upgrading processing method and device and terminal

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

Also Published As

Publication number Publication date
CN105094931A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105677460B (en) Applied program processing method and device
CN102449990B (en) Space & time based device customization
RU2635237C2 (en) Method and device for deleting intelligent script
KR101639539B1 (en) Method, device, program, and recording medium for prompting application removal
EP2523107B1 (en) Mobile terminal and system for managing applications using the same
JP6072362B2 (en) Application program processing method, apparatus, program, and storage medium
CN104219092B (en) The compatibility method of a kind of router administration application and router firmware and device
CN104394263A (en) Accessing point list displaying method and device
RU2633151C2 (en) Method and device for updating firmware
CN104951336B (en) application program installation method and device
KR20160021735A (en) Method and device for saving storage space
CN104461725A (en) Application process starting control method and device
RU2647625C2 (en) Application program running method and device
KR20160077011A (en) Method and apparatus for adjusting operating status of smart home device
CN103458102A (en) Mobile terminal and controlling method thereof
KR20170036652A (en) Method for controlling mobile terminal and mobile terminal
CN104834559B (en) Notification message display method and device
KR101817030B1 (en) Method and device for installing plug-in of smart device
RU2618937C2 (en) Updating method, device and unit for updates
US9942690B2 (en) Method and device for information push
CN105100483A (en) Notification setting method and device and terminal
CN103841264A (en) Method and device for protecting terminal equipment and terminal equipment
EP3232301B1 (en) Mobile terminal and virtual key processing method
KR101684814B1 (en) Method, apparatus, program and recording medium for accessing wi-fi network
KR20120080859A (en) Method and apparatus for controlling a portable terminal using a finger tracking

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
GR01