CN107092504A - A kind of mobile terminal and its upgrade method - Google Patents
A kind of mobile terminal and its upgrade method Download PDFInfo
- Publication number
- CN107092504A CN107092504A CN201710204744.9A CN201710204744A CN107092504A CN 107092504 A CN107092504 A CN 107092504A CN 201710204744 A CN201710204744 A CN 201710204744A CN 107092504 A CN107092504 A CN 107092504A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- upgrade
- upgrading
- version
- current version
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000005192 partition Methods 0.000 claims description 32
- 238000004891 communication Methods 0.000 description 32
- 238000010295 mobile communication Methods 0.000 description 21
- 230000006870 function Effects 0.000 description 14
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of mobile terminal and its upgrade method.Methods described includes:Receive the upgrade command upgraded to the current version of mobile terminal;The corresponding upgrade file bag of target version is obtained in the outer memory area of the mobile terminal;Wherein, the upgrade file bag includes:First upgrade file bag or the second upgrade file bag;The mobile terminal is upgraded to the target version from the current version using the upgrade file bag.When mobile terminal is upgraded to target version not successfully from current version, mobile terminal can use the corresponding current file of current version to be started.
Description
Technical Field
The invention relates to the technical field of mobile communication, in particular to a mobile terminal and an upgrading method thereof.
Background
With the continuous development of technology, more and more new services are beginning to be presented. In order to adapt to new services, the operating system of the mobile terminal inevitably needs to be upgraded. In the prior art, the upgrading method of the mobile terminal mainly includes the following two methods:
1. downloading an upgrading file package required by the mobile terminal in a server through a WEB page through WEB upgrading, and upgrading the mobile terminal by using the upgrading file package;
2. and downloading an upgrading file packet required by the mobile terminal in the server through FTP/TCP upgrading, and upgrading the mobile terminal by using the upgrading file packet.
Specifically, when a developer of the application program develops a high-version operating system, the operation and maintenance personnel uploads the upgrade file package corresponding to the target version to the server and configures version information corresponding to the target version. The mobile terminal can detect the version information configured in the server, and when the mobile terminal determines that the operating system or the application program of the target version exists in the server according to the version information configured in the server, the mobile terminal can download the upgrade file package corresponding to the target version and upgrade the mobile terminal from the current version to the target version by using the upgrade file package.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
in the existing upgrading method of the mobile terminal, the mobile terminal directly downloads a required upgrading file package into an internal storage area of the mobile terminal, and then the mobile terminal uses the upgrading file package to upgrade the mobile terminal from a current version to a target version. When the mobile terminal is not successfully upgraded to the target version from the current version, the current version and the target version of the mobile terminal cannot be normally used by adopting the existing mobile terminal upgrading method.
Disclosure of Invention
In view of this, embodiments of the present invention provide a mobile terminal and an upgrade method thereof, where when the mobile terminal is not successfully upgraded from a current version to a target version, the mobile terminal may be started using a current file corresponding to the current version.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an upgrading method of a mobile terminal, which comprises the following steps:
receiving an upgrading instruction for upgrading the current version of the mobile terminal;
acquiring an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein the upgrade file package comprises: a first upgrade file package or a second upgrade file package;
and upgrading the mobile terminal from the current version to the target version by using the upgrading file package.
In the above embodiment, the method further comprises:
judging whether the mobile terminal is successfully upgraded to the target version from the current version or not;
when the mobile terminal is not successfully upgraded to the target version from the current version, acquiring a current file package corresponding to the current version in an internal storage area of the mobile terminal, and starting the mobile terminal by using the current file package;
and when the mobile terminal is successfully upgraded from the current version to the target version, starting the mobile terminal by using the upgrade file package.
In the above embodiment, the obtaining of the upgrade file package corresponding to the target version in the external storage area of the mobile terminal includes:
acquiring the upgrade file packet from a secure digital storage card of the mobile terminal;
or, the upgrade file package is acquired from a universal serial bus flash memory disk of the mobile terminal.
In the above embodiment, the upgrading the mobile terminal from the current version to the target version using the upgrade file package includes:
upgrading the operating system of the mobile terminal from the current version to the target version by using the first upgrading file; wherein the first upgrade file includes: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file;
or, the application program of the mobile terminal is upgraded from the current version to the target version by using the second upgrade file.
In the above embodiment, the upgrading the operating system of the mobile terminal from the current version to the target version using the first upgrade file includes:
upgrading a first partition in the operating system from the current version to the target version using the first upgrade subfile;
upgrading a second partition in the operating system from the current version to the target version using the second upgrade subfile;
upgrading a third partition in the operating system from the current version to the target version using the third upgrade subfile.
An embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: the system comprises a receiving unit, an obtaining unit and an upgrading unit; wherein,
the receiving unit is used for receiving an upgrading instruction for upgrading the current version of the mobile terminal;
the acquisition unit is used for acquiring an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein the upgrade file package comprises: a first upgrade file package or a second upgrade file package;
the upgrading unit is used for upgrading the mobile terminal from the current version to the target version by using the upgrading file package.
In the above embodiment, the mobile terminal further includes: a judging unit and a starting unit; wherein,
the judging unit is used for judging whether the mobile terminal is successfully upgraded from the current version to the target version;
the starting unit is used for acquiring a current file package corresponding to the current version in an internal storage area of the mobile terminal and starting the mobile terminal by using the current file package when the mobile terminal is not successfully upgraded from the current version to the target version; and when the mobile terminal is successfully upgraded from the current version to the target version, starting the mobile terminal by using the upgrade file package.
In the above embodiment, the obtaining unit is specifically configured to obtain the upgrade file package in a secure digital memory card of the mobile terminal; or, the upgrade file package is acquired from a universal serial bus flash memory disk of the mobile terminal.
In the foregoing embodiment, the upgrade unit is specifically configured to upgrade, by using the first upgrade file, the operating system of the mobile terminal from the current version to the target version; wherein the first upgrade file includes: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file; or, the application program of the mobile terminal is upgraded from the current version to the target version by using the second upgrade file.
In the foregoing embodiment, the upgrading unit is specifically configured to upgrade a first partition in the operating system from the current version to the target version using the first upgrade subfile; upgrading a second partition in the operating system from the current version to the target version using the second upgrade subfile; upgrading a third partition in the operating system from the current version to the target version using the third upgrade subfile.
Therefore, in the technical scheme of the embodiment of the invention, after the upgrade instruction for upgrading the current version of the mobile terminal is received, the upgrade file package corresponding to the target version is obtained in the external storage area of the mobile terminal, and then the mobile terminal is upgraded from the current version to the target version by using the upgrade file package. That is to say, in the technical solution of the embodiment of the present invention, the upgrade file package corresponding to the target version is first obtained in the external storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version using the upgrade file package. Therefore, when the mobile terminal is not successfully upgraded to the target version from the current version, the current file package corresponding to the current version can be acquired in the internal storage area of the mobile terminal, and then the mobile terminal is started by using the current file package. In the prior art, the mobile terminal directly downloads the required upgrade file package into an internal storage area of the mobile terminal, and when the mobile terminal is not successfully upgraded from the current version to the target version, both the current version and the target version of the mobile terminal cannot be used normally. Therefore, compared with the prior art, the mobile terminal and the upgrading method thereof provided by the embodiment of the invention have the advantages that when the mobile terminal is not successfully upgraded to the target version from the current version, the mobile terminal can be started by using the current file corresponding to the current version; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal 100 for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal 100 shown in FIG. 1;
fig. 3 is a schematic view of an implementation flow of an upgrading method for a mobile terminal according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a first component structure of a display interface of a mobile terminal according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a second component structure of a display interface of the mobile terminal according to the embodiment of the present invention;
fig. 6 is a schematic view of an implementation flow of an upgrading method for a mobile terminal according to a second embodiment of the present invention;
fig. 7 is a schematic diagram of a third composition structure of a display interface of the mobile terminal according to the embodiment of the present invention;
fig. 8 is a schematic diagram of a first component structure of the mobile terminal according to the embodiment of the present invention;
fig. 9 is a schematic diagram of a second component structure of the mobile terminal in the embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like.
Fig. 1 is a schematic hardware structure of a mobile terminal 100 for implementing various embodiments of the present invention, and as shown in fig. 1, the mobile terminal 100 may include: a wireless communication unit 110, a user input unit 120, a sensing unit 130, an output unit 140, a memory 150, an interface unit 160, a controller 170, and a power supply unit 180, etc. Fig. 1 illustrates the mobile terminal 100 having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. The elements of the mobile terminal 100 will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit 110 may include: at least one of a mobile communication module 111, a wireless internet module 112, and a short-range communication module 113.
The mobile communication module 111 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 112 supports wireless internet access of the mobile terminal 100. The wireless internet module 112 may be internally or externally coupled to the terminal. The wireless internet access technology referred to by the wireless internet module 112 may include Wireless Local Area Network (WLAN), wireless compatibility authentication (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 113 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd the like.
The user input unit 120 may generate key input data to control various operations of the mobile terminal 100 according to a command input by a user. The user input unit 120 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects a change in resistance, pressure, capacitance, etc. due to being touched), a jog wheel, a jog stick, etc. In particular, when the touch pad is superimposed on the display unit 141 in the form of a layer, a touch screen may be formed.
The sensing unit 130 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 130 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 130 can detect whether the power supply unit 180 supplies power or whether the interface unit 160 is coupled with an external device.
The interface unit 160 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port (a typical example is a Universal Serial Bus (USB) port), a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like.
The interface unit 160 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 160 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal 100. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal 100 is accurately mounted on the cradle.
The output unit 140 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 140 may include a display unit 141, an audio output module 142, and the like.
The display unit 141 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 141 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 141 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, or the like.
Meanwhile, when the display unit 141 and the touch pad are stacked on each other in the form of layers to form a touch screen, the display unit 141 may function as an input device and an output device. The display unit 141 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, mobile terminal 100 may include two or more display units (or other display devices), for example, mobile terminal 100 may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 142 may convert audio data received by the wireless communication unit 110 or stored in the memory 150 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 142 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 142 may include a speaker, a buzzer, and the like.
The memory 150 may store software programs or the like for processing and controlling operations performed by the controller 170, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 150 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 150 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 150 through a network connection.
The controller 170 generally controls the overall operation of the mobile terminal 100. For example, the controller 170 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 170 may include a multimedia module 171 for reproducing or playing back multimedia data, and the multimedia module 171 may be constructed within the controller 170 or may be constructed separately from the controller 170. The controller 170 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 180 receives external power or internal power and provides appropriate power required to operate the respective elements and components under the control of the controller 170.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 170. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in memory 150 and executed by controller 170.
Up to this point, the mobile terminal 100 has been described in terms of its functions. Hereinafter, the slide-type mobile terminal 100 among various types of mobile terminals 100, such as the folder-type, bar-type, swing-type, slide-type mobile terminal 100, etc., will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal 100, and is not limited to the slide type mobile terminal 100.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which the mobile terminal 100 according to the present invention is capable of operating will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular BS270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
The mobile communication module 112 of the wireless communication unit 110 in the mobile terminal accesses the mobile communication network based on the necessary data (including the user identification information and the authentication information) of the mobile communication network (such as the mobile communication network of 2G/3G/4G, etc.) built in the mobile terminal, so as to transmit the mobile communication data (including the uplink mobile communication data and the downlink mobile communication data) for the services of web browsing, network multimedia playing, etc. of the mobile terminal user.
The wireless internet module 113 of the wireless communication unit 110 implements a function of a wireless hotspot by operating a related protocol function of the wireless hotspot, the wireless hotspot supports access by a plurality of mobile terminals (any mobile terminal other than the mobile terminal), transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for mobile terminal user's services such as web browsing, network multimedia playing, etc. by multiplexing the mobile communication connection between the mobile communication module 112 and the mobile communication network, since the mobile terminal essentially multiplexes the mobile communication connection between the mobile terminal and the communication network for transmitting mobile communication data, the traffic of mobile communication data consumed by the mobile terminal is charged to the communication tariff of the mobile terminal by a charging entity on the side of the communication network, thereby consuming the data traffic of the mobile communication data included in the communication tariff contracted for use by the mobile terminal.
Based on the above hardware structure of the mobile terminal 100 and the communication system, various embodiments of the method of the present invention are proposed.
Example one
Fig. 3 is a schematic view of an implementation flow of an upgrading method for a mobile terminal according to an embodiment of the present invention. As shown in fig. 3, the upgrade method of the mobile terminal may include the steps of:
step 301, receiving an upgrade instruction for upgrading the current version of the mobile terminal.
In the specific embodiment of the present invention, the user may send an upgrade instruction for upgrading the current version of the mobile terminal to the mobile terminal by pressing an upgrade button of the mobile terminal. For example, a user sends an upgrade instruction for upgrading a current version to the mobile terminal by pressing a "usb disk upgrade" button of the mobile terminal, and at this time, the mobile terminal may receive the upgrade instruction for upgrading the current version of the mobile terminal sent by the user.
Preferably, in an embodiment of the present invention, after the mobile terminal receives an upgrade instruction for upgrading a current version of the mobile terminal, a current state of the mobile terminal may be set as: and upgrading the state.
Specifically, in the specific embodiment of the present invention, after receiving an upgrade instruction for upgrading a current version of the mobile terminal, the mobile terminal may first determine whether an upgrade file package corresponding to a target version is stored in an external storage area of the mobile terminal; when the upgrade file package corresponding to the target version is stored in the external storage area of the mobile terminal, the upgrade file package corresponding to the target version is acquired in the external storage area of the mobile terminal; when the upgrade file package corresponding to the target version is not stored in the external storage area of the mobile terminal, whether the upgrade file package corresponding to the target version is stored in the internal storage area of the mobile terminal can be judged; when the upgrading file package corresponding to the target version is stored in the internal storage area of the mobile terminal, the upgrading file package corresponding to the target version is obtained in the internal storage area of the mobile terminal; when the upgrade file package corresponding to the target version is not stored in the internal storage area of the mobile terminal, the upgrade process of the mobile terminal may be ended.
Fig. 4 is a schematic diagram of a first composition structure of a display interface of a mobile terminal according to an embodiment of the present invention. As shown in fig. 4, the user may send an upgrade instruction for upgrading a current version of the mobile terminal to the mobile terminal by pressing an upgrade button of the mobile terminal. For example, a user may send an upgrade instruction for upgrading a current version to a mobile terminal by pressing a "usb disk upgrade" button of the mobile terminal; the user can also send an upgrading instruction for upgrading the current version to the mobile terminal by pressing an 'online upgrading' button of the mobile terminal; the user can also send an upgrade instruction for upgrading the current version to the mobile terminal by pressing a local upgrade button of the mobile terminal. After receiving an upgrade instruction sent by a user for upgrading a current version of a mobile terminal, the mobile terminal may set a current state of the mobile terminal to: and upgrading the state.
Step 302, obtaining an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
In the specific embodiment of the invention, after receiving an upgrade instruction for upgrading the current version of the mobile terminal, the mobile terminal acquires an upgrade file package corresponding to the target version in an external storage area of the mobile terminal. Specifically, in the specific embodiment of the present invention, the mobile terminal may obtain the upgrade file package from a Secure digital memory Card (SD Card) of the mobile terminal; or, the upgrade file package may also be acquired in a universal serial bus Flash Disk (USB Flash, U Disk) of the mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
And step 303, upgrading the mobile terminal from the current version to the target version by using the upgrade file package.
In a specific embodiment of the present invention, after the mobile terminal acquires the upgrade file package corresponding to the target version in the external storage area, the mobile terminal may upgrade the mobile terminal from the current version to the target version using the acquired upgrade file package. Specifically, in a specific embodiment of the present invention, the mobile terminal may upgrade an operating system of the mobile terminal from a current version to a target version using a first upgrade file; or, the mobile terminal may upgrade the application program of the mobile terminal from the current version to the target version using the second upgrade file.
Specifically, in a specific embodiment of the present invention, the first upgrade file may include: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file. Specifically, the corresponding relationship between each upgrade subfile and each partition may be as shown in table 1 below:
upgrading subfiles | Partitioning |
First upgrade subfile | The first partition |
Second upgrade subfile | Second partition |
Third upgrade subfile | Third partition |
TABLE 1
As shown in table 1, the upgrade subfile corresponding to the first partition is: a first upgrade subfile; the upgrading subfile corresponding to the second partition is as follows: a second upgrade subfile; the upgrade subfile corresponding to the third partition is: and a third upgrading subfile. Currently, the operating systems of most mobile terminals include: a basic operation system and a normal operation system; the basic operation system is solidified in a Flash memory Flash area of the mobile terminal, active updating is not carried out any more once the mobile terminal leaves a factory, and if the basic operation system area is damaged, the version of the normal operation system cannot be updated again. For upgrading and updating the normal system version, in order to ensure the upgrading reliability, the system generally needs to be electrified again, the system is switched into a basic operation system by a system boot area, the normal operation system is upgraded on line, after the upgrading is finished, the system is electrified again, and the system is switched into the upgraded normal operation system by depending on the system boot area. The inventor of the application finds out in the research process that: the upgrading of the operating system mainly comprises the step of upgrading three partitions, namely system image file system. Therefore, the mobile terminal can upgrade the first partition in the operating system from the current version to the target version by using the first upgrade subfile; the second upgrade subfile may also be used to upgrade a second partition in the operating system from the current version to the target version; a third upgrade subfile may also be used to upgrade a third partition in the operating system from the current version to the target version.
Fig. 5 is a schematic diagram of a second component structure of a display interface of a mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal may receive upgrade instructions for upgrading current versions of a plurality of application programs, which are respectively: application 1, application 2, …, application M; wherein M is a natural number of 1 or more. Specifically, in the specific embodiment of the present invention, the mobile terminal may upgrade the application program 1 in the display sub-interface 1; upgrading the application program 2 in the display sub-interface 2; …, respectively; and upgrading the application program M in the display sub-interface M. Specifically, the multiple display sub-interfaces of the mobile terminal may be implemented by a split screen technology. The mobile terminal with the screen splitting function can be set by the system, and the mobile terminal without the screen splitting function can perform screen splitting processing on the display interface by downloading related screen splitting software. The multiple display sub-interfaces divided by the split screen technology are not interfered with each other and are relatively independent when playing different startup/shutdown animations, and the multiple display sub-interfaces can be respectively managed and set.
Preferably, in the specific embodiment of the present invention, the mobile terminal may further store feature information of the upgrade file package, so that before the mobile terminal uses the upgrade file to upgrade the mobile terminal from the current version to the target version, the mobile terminal may further verify the validity of the obtained upgrade file package according to the feature information; and when the obtained upgrade file package is verified to be a valid upgrade file package, the upgrade file package is used for upgrading the mobile terminal from the current system to the target system. If the obtained upgrade file package is verified to be an invalid upgrade file package, the upgrade process of the mobile terminal is ended, and therefore the fault-tolerant capability of the mobile terminal during upgrade is improved. Here, when the mobile terminal verifies the validity of the obtained upgrade file package, the mobile terminal may determine whether the obtained upgrade file package includes the feature information, if so, determine that the upgrade file package is a valid upgrade file package, otherwise, determine that the upgrade file package is an invalid upgrade file package.
Preferably, in the embodiment of the present invention, it may be further determined whether the mobile terminal is successfully upgraded from the current version to the target version. Specifically, whether the operating system of the mobile terminal is successfully upgraded from the current version to the target version can be judged; or, whether the application program of the mobile terminal is successfully upgraded from the current version to the target version can also be judged. When the mobile terminal is not successfully upgraded from the current version to the target version, whether an upgrade file package corresponding to the target version is stored in an internal storage area of the mobile terminal can be judged; when the upgrade file package corresponding to the target version is stored in the internal storage area of the mobile terminal, the upgrade file package corresponding to the target version is acquired in the internal storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version by using the upgrade file package. At this time, when the mobile terminal is not successfully upgraded to the target version from the current version, the current file package corresponding to the current version can be obtained in the internal area of the mobile terminal, and the mobile terminal is started by using the current file package; when the mobile terminal is successfully upgraded from the current version to the target version, the mobile terminal can be started by using the upgrade file.
Preferably, in an embodiment of the present invention, after the mobile terminal is booted using the current file or the upgrade file, the current state of the mobile terminal may be set as: a non-upgrade state. The mobile terminal requires the simultaneous start of each system when starting in a non-upgrade state, so that the boot.img responsible for the start of all the systems is used as a whole for the common system, and the common system starts all the systems by using the whole boot.img in the starting stage.
According to the upgrading method of the mobile terminal, after an upgrading instruction for upgrading the current version of the mobile terminal is received, the upgrading file package corresponding to the target version is obtained in the external storage area of the mobile terminal, and then the mobile terminal is upgraded from the current version to the target version by using the upgrading file package. That is to say, in the technical solution of the embodiment of the present invention, the upgrade file package corresponding to the target version is first obtained in the external storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version using the upgrade file package. Therefore, when the mobile terminal is not successfully upgraded to the target version from the current version, the current file package corresponding to the current version can be acquired in the internal storage area of the mobile terminal, and then the mobile terminal is started by using the current file package. In the prior art, the mobile terminal directly downloads the required upgrade file package into an internal storage area of the mobile terminal, and when the mobile terminal is not successfully upgraded from the current version to the target version, both the current version and the target version of the mobile terminal cannot be used normally. Therefore, compared with the prior art, according to the mobile terminal upgrading method provided by the embodiment of the invention, when the mobile terminal is not successfully upgraded to the target version from the current version, the mobile terminal can be started by using the current file corresponding to the current version; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
Example two
Fig. 6 is a schematic flow chart illustrating an implementation process of an upgrading method for a mobile terminal according to a second embodiment of the present invention. As shown in fig. 6, the upgrade method of the mobile terminal may include the steps of:
step 601, receiving an upgrade instruction for upgrading the current version of the mobile terminal.
In the specific embodiment of the present invention, the user may send an upgrade instruction for upgrading the current version of the mobile terminal to the mobile terminal by pressing an upgrade button of the mobile terminal. For example, when the user presses a "usb disk upgrade" button of the mobile terminal, the mobile terminal may receive an upgrade instruction sent by the user to upgrade the current version of the mobile terminal.
Preferably, in an embodiment of the present invention, after the mobile terminal receives an upgrade instruction for upgrading a current version of the mobile terminal, a current state of the mobile terminal may be set as: and upgrading the state.
Step 602, obtaining an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
In a specific embodiment of the present invention, in the specific embodiment of the present invention, after receiving an upgrade instruction for upgrading a current version of a mobile terminal, a mobile terminal acquires an upgrade file package corresponding to a target version in an external storage area of the mobile terminal. Specifically, in the specific embodiment of the present invention, the mobile terminal may obtain the upgrade file package in a Secure Digital Memory Card (SD Card) of the mobile terminal; or, the upgrade file package may also be acquired from a universal serial bus Flash Disk (USB Flash, U Disk) of the mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
Step 603, upgrading the mobile terminal from the current version to the target version by using the upgrade file package.
In a specific embodiment of the present invention, after the mobile terminal acquires the upgrade file package corresponding to the target version in the external storage area, the mobile terminal may upgrade the mobile terminal from the current version to the target version using the acquired upgrade file package. Specifically, in a specific embodiment of the present invention, the mobile terminal may upgrade an operating system of the mobile terminal from a current version to a target version using a first upgrade file; or, the mobile terminal may upgrade the application program of the mobile terminal from the current version to the target version using the second upgrade file.
Step 604, judging whether the mobile terminal is successfully upgraded to a target version from a current version; if yes, go to step 605; otherwise, step 606 is performed.
In the specific embodiment of the present invention, it may also be determined whether the mobile terminal is successfully upgraded from the current version to the target version. Specifically, whether the operating system of the mobile terminal is successfully upgraded from the current version to the target version can be judged; or, whether the application program of the mobile terminal is successfully upgraded from the current version to the target version can also be judged. When the mobile terminal is not successfully upgraded from the current version to the target version, whether an upgrade file package corresponding to the target version is stored in an internal storage area of the mobile terminal can be judged; when the upgrade file package corresponding to the target version is stored in the internal storage area of the mobile terminal, the upgrade file package corresponding to the target version is acquired in the internal storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version by using the upgrade file package. At this time, when the mobile terminal is successfully upgraded from the current version to the target version, step 605 is executed; when the mobile terminal is not successfully upgraded from the current version to the target version, step 506 is performed. For example, when the operating system of the mobile terminal is upgraded from the version 1.1 of the android system to the version 2.1 of the android system, step 605 is executed; and when the operating system of the mobile terminal is not successfully upgraded from the android system 1.1 version to the android system 2.1 version, executing step 606.
Step 605, starting the mobile terminal by using the upgrade file package.
In the specific embodiment of the present invention, when the mobile terminal is successfully upgraded from the current version to the target version, the mobile terminal may start the mobile terminal using the upgrade file.
Step 606, obtaining the current file package corresponding to the current version in the internal storage area of the mobile terminal, and starting the mobile terminal by using the current file package.
In the specific embodiment of the present invention, when the mobile terminal is not successfully upgraded from the current version to the target version, the current file package corresponding to the current version may be acquired in the internal storage area of the mobile terminal, and the mobile terminal is started using the current file package.
Fig. 7 is a schematic diagram of a third composition structure of a display interface of a mobile terminal according to an embodiment of the present invention. As shown in fig. 7, the user may select upgrading of each application by clicking a selection button of each application in the mobile terminal. For example, the user may upgrade application 1 by clicking its upgrade button; the user can upgrade the application program 2 by clicking the upgrade button; …, respectively; the user may upgrade application M by clicking its upgrade button. For example, when the mobile terminal receives an upgrade instruction for the application program 1, an upgrade file package corresponding to a target version of the application program 1 is acquired in an external storage area of the mobile terminal, and then the mobile terminal uses the upgrade file package to upgrade the application program 1 from a current version to the target version, so that not only can the mobile terminal be upgraded by using the upgrade file package stored in the external storage area of the mobile terminal, but also a plurality of application programs of the mobile terminal can be upgraded.
According to the upgrading method of the mobile terminal, after an upgrading instruction for upgrading the current version of the mobile terminal is received, the upgrading file package corresponding to the target version is obtained in the external storage area of the mobile terminal, and then the mobile terminal is upgraded from the current version to the target version by using the upgrading file package. That is to say, in the technical solution of the embodiment of the present invention, the upgrade file package corresponding to the target version is first obtained in the external storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version using the upgrade file package. Therefore, when the mobile terminal is not successfully upgraded to the target version from the current version, the current file package corresponding to the current version can be acquired in the internal storage area of the mobile terminal, and then the mobile terminal is started by using the current file package. In the prior art, the mobile terminal directly downloads the required upgrade file package into an internal storage area of the mobile terminal, and when the mobile terminal is not successfully upgraded from the current version to the target version, both the current version and the target version of the mobile terminal cannot be used normally. Therefore, compared with the prior art, according to the mobile terminal upgrading method provided by the embodiment of the invention, when the mobile terminal is not successfully upgraded to the target version from the current version, the mobile terminal can be started by using the current file corresponding to the current version; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
EXAMPLE III
Fig. 8 is a schematic diagram of a first composition structure of a mobile terminal according to an embodiment of the present invention. As shown in fig. 8, the mobile terminal includes: a receiving unit 801, an acquiring unit 802, and an upgrading unit 803; wherein,
a receiving unit 801, configured to receive an upgrade instruction for upgrading a current version of a mobile terminal.
In an embodiment of the present invention, a user may send an upgrade instruction for upgrading a current version of a mobile terminal to the receiving unit 801 by pressing an upgrade button of the mobile terminal. For example, the user sends an upgrade instruction for upgrading the current version to the receiving unit 801 by pressing a "usb disk upgrade" button of the mobile terminal, and at this time, the receiving unit 801 may receive the upgrade instruction sent by the user for upgrading the current version of the mobile terminal.
An obtaining unit 802, configured to obtain an upgrade file package corresponding to a target version in an external storage area of a mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
In a specific embodiment of the present invention, after receiving an upgrade instruction for upgrading a current version of a mobile terminal, the receiving unit 801 obtains, by the obtaining unit 802, an upgrade file package corresponding to a target version in an external storage area of the mobile terminal. Specifically, in an embodiment of the present invention, the obtaining unit 802 may obtain the upgrade file package in a secure digital memory card of the mobile terminal; or, the upgrade file package can be acquired from a universal serial bus flash disk of the mobile terminal; wherein, upgrading the file package includes: the first upgrade file package or the second upgrade file package.
An upgrade unit 803, configured to upgrade the mobile terminal from the current version to the target version using the upgrade file package.
In a specific embodiment of the present invention, after the obtaining unit 802 obtains the upgrade file package corresponding to the target version in the external storage area, the upgrading unit 803 may upgrade the mobile terminal from the current version to the target version using the obtained upgrade file package. Specifically, in a specific embodiment of the present invention, the upgrade unit 803 may upgrade the operating system of the mobile terminal from the current version to the target version using the first upgrade file; alternatively, the upgrade unit 803 may also upgrade the application program of the mobile terminal from the current version to the target version using the second upgrade file.
Fig. 9 is a schematic diagram of a second component structure of the mobile terminal in the embodiment of the present invention. As shown in fig. 9, the mobile terminal further includes: a judging unit 804 and a starting unit 805; wherein,
the determining unit 804 is configured to determine whether the mobile terminal is successfully upgraded from the current version to the target version.
In an embodiment of the present invention, the determining unit 804 may determine whether the mobile terminal is successfully upgraded from the current version to the target version. Specifically, the determining unit 804 may determine whether the operating system of the mobile terminal is successfully upgraded from the current version to the target version; or, whether the application program of the mobile terminal is successfully upgraded from the current version to the target version can also be judged.
A starting unit 805, configured to, when the mobile terminal is not successfully upgraded from the current version to the target version, obtain a current file package corresponding to the current version in an internal storage area of the mobile terminal, and start the mobile terminal using the current file package; and when the mobile terminal is successfully upgraded from the current version to the target version, starting the mobile terminal by using the upgrade file package.
In a specific embodiment of the present invention, when the mobile terminal is not successfully upgraded from the current version to the target version, the starting unit 805 may obtain a current file package corresponding to the current version in an internal area of the mobile terminal, and start the mobile terminal using the current file package; the booting unit 805 may boot the mobile terminal using the upgrade file when the mobile terminal is successfully upgraded from the current version to the target version.
Further, the obtaining unit 802 is specifically configured to obtain an upgrade file package in a secure digital memory card of the mobile terminal; or, the upgrade file package is acquired from a universal serial bus flash disk of the mobile terminal.
Further, the upgrading unit 803 is specifically configured to upgrade the operating system of the mobile terminal from the current version to the target version using the first upgrade file; wherein, the first upgrade file includes: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file; or upgrading the application program of the mobile terminal from the current version to the target version by using the second upgrading file.
In a specific embodiment of the present invention, after the obtaining unit 802 obtains the upgrade file package corresponding to the target version in the external storage area, the upgrading unit 803 may upgrade the mobile terminal from the current version to the target version using the obtained upgrade file package. Specifically, in a specific embodiment of the present invention, the upgrade unit 803 may upgrade the operating system of the mobile terminal from the current version to the target version using the first upgrade file; alternatively, the upgrade unit 803 may also upgrade the application program of the mobile terminal from the current version to the target version using the second upgrade file.
Further, the upgrading unit 803 is specifically configured to upgrade the first partition in the operating system from the current version to the target version using the first upgrade subfile; upgrading a second partition in the operating system from the current version to the target version using a second upgrade subfile; a third partition in the operating system is upgraded from the current version to the target version using a third upgrade subfile.
In the specific embodiment of the invention, the upgrading of the operating system mainly comprises the upgrading of three partitions, namely system image file system. Accordingly, the upgrade unit 803 may upgrade the first partition in the operating system from the current version to the target version using the first upgrade subfile; the second upgrade subfile may also be used to upgrade a second partition in the operating system from the current version to the target version; a third upgrade subfile may also be used to upgrade a third partition in the operating system from the current version to the target version.
According to the mobile terminal provided by the embodiment of the invention, after an upgrading instruction for upgrading the current version of the mobile terminal is received, the upgrading file packet corresponding to the target version is firstly acquired in the external storage area of the mobile terminal, and then the mobile terminal is upgraded from the current version to the target version by using the upgrading file packet. That is to say, in the technical solution of the embodiment of the present invention, the upgrade file package corresponding to the target version is first obtained in the external storage area of the mobile terminal, and the mobile terminal is upgraded from the current version to the target version using the upgrade file package. Therefore, when the mobile terminal is not successfully upgraded to the target version from the current version, the current file package corresponding to the current version can be acquired in the internal storage area of the mobile terminal, and then the mobile terminal is started by using the current file package. In the prior art, the mobile terminal directly downloads the required upgrade file package into an internal storage area of the mobile terminal, and when the mobile terminal is not successfully upgraded from the current version to the target version, both the current version and the target version of the mobile terminal cannot be used normally. Therefore, compared with the prior art, according to the mobile terminal provided by the embodiment of the invention, when the mobile terminal is not successfully upgraded to the target version from the current version, the mobile terminal can be started by using the current file corresponding to the current version; moreover, the technical scheme of the embodiment of the invention is simple and convenient to realize, convenient to popularize and wider in application range.
The receiving unit 801, the obtaining unit 802, the upgrading unit 803, the judging unit 804 and the starting unit 805 in the mobile terminal provided by the embodiment of the invention can be realized by a processor in the mobile terminal; of course, the implementation can also be realized through a specific logic circuit; in the course of a particular embodiment, the processor may be a Central Processing Unit (CPU), a Microprocessor (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. An upgrade method for a mobile terminal, the method comprising:
receiving an upgrading instruction for upgrading the current version of the mobile terminal;
acquiring an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein the upgrade file package comprises: a first upgrade file package or a second upgrade file package;
and upgrading the mobile terminal from the current version to the target version by using the upgrading file package.
2. The method of claim 1, further comprising:
judging whether the mobile terminal is successfully upgraded to the target version from the current version or not;
when the mobile terminal is not successfully upgraded to the target version from the current version, acquiring a current file package corresponding to the current version in an internal storage area of the mobile terminal, and starting the mobile terminal by using the current file package;
and when the mobile terminal is successfully upgraded from the current version to the target version, starting the mobile terminal by using the upgrade file package.
3. The method according to claim 1, wherein the obtaining of the upgrade file package corresponding to the target version in the external storage area of the mobile terminal comprises:
acquiring the upgrade file packet from a secure digital storage card of the mobile terminal;
or, the upgrade file package is acquired from a universal serial bus flash memory disk of the mobile terminal.
4. The method of claim 1, wherein the using the upgrade package to upgrade the mobile terminal from the current version to the target version comprises:
upgrading the operating system of the mobile terminal from the current version to the target version by using the first upgrading file; wherein the first upgrade file includes: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file;
or, the application program of the mobile terminal is upgraded from the current version to the target version by using the second upgrade file.
5. The method of claim 4, wherein the upgrading the operating system of the mobile terminal from the current version to the target version using the first upgrade file comprises:
upgrading a first partition in the operating system from the current version to the target version using the first upgrade subfile;
upgrading a second partition in the operating system from the current version to the target version using the second upgrade subfile;
upgrading a third partition in the operating system from the current version to the target version using the third upgrade subfile.
6. A mobile terminal, characterized in that the mobile terminal comprises: the system comprises a receiving unit, an obtaining unit and an upgrading unit; wherein,
the receiving unit is used for receiving an upgrading instruction for upgrading the current version of the mobile terminal;
the acquisition unit is used for acquiring an upgrade file package corresponding to a target version in an external storage area of the mobile terminal; wherein the upgrade file package comprises: a first upgrade file package or a second upgrade file package;
the upgrading unit is used for upgrading the mobile terminal from the current version to the target version by using the upgrading file package.
7. The mobile terminal of claim 6, wherein the mobile terminal further comprises: a judging unit and a starting unit; wherein,
the judging unit is used for judging whether the mobile terminal is successfully upgraded from the current version to the target version;
the starting unit is used for acquiring a current file package corresponding to the current version in an internal storage area of the mobile terminal and starting the mobile terminal by using the current file package when the mobile terminal is not successfully upgraded from the current version to the target version; and when the mobile terminal is successfully upgraded from the current version to the target version, starting the mobile terminal by using the upgrade file package.
8. The mobile terminal according to claim 1, wherein the obtaining unit is specifically configured to obtain the upgrade file package in a secure digital memory card of the mobile terminal; or, the upgrade file package is acquired from a universal serial bus flash memory disk of the mobile terminal.
9. The mobile terminal according to claim 1, wherein the upgrade unit is specifically configured to upgrade an operating system of the mobile terminal from the current version to the target version using the first upgrade file; wherein the first upgrade file includes: the first upgrading sub-file, the second upgrading sub-file and the third upgrading sub-file; or, the application program of the mobile terminal is upgraded from the current version to the target version by using the second upgrade file.
10. The mobile terminal according to claim 9, wherein the upgrading unit is specifically configured to upgrade the first partition in the operating system from the current version to the target version using the first upgrade subfile; upgrading a second partition in the operating system from the current version to the target version using the second upgrade subfile; upgrading a third partition in the operating system from the current version to the target version using the third upgrade subfile.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710204744.9A CN107092504A (en) | 2017-03-30 | 2017-03-30 | A kind of mobile terminal and its upgrade method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710204744.9A CN107092504A (en) | 2017-03-30 | 2017-03-30 | A kind of mobile terminal and its upgrade method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107092504A true CN107092504A (en) | 2017-08-25 |
Family
ID=59649355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710204744.9A Withdrawn CN107092504A (en) | 2017-03-30 | 2017-03-30 | A kind of mobile terminal and its upgrade method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107092504A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228222A (en) * | 2017-12-27 | 2018-06-29 | 努比亚技术有限公司 | A kind of upgrade method of firmware data, mobile terminal and computer storage media |
WO2020155164A1 (en) * | 2019-02-02 | 2020-08-06 | 深圳市大疆创新科技有限公司 | Firmware upgrade method, radar system, terminal device and firmware upgrade system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694621A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method for updating software of mobile terminal and mobile terminal |
CN101937349A (en) * | 2010-08-28 | 2011-01-05 | 中兴通讯股份有限公司 | Wireless communication terminal and software upgrading method thereof |
CN105468420A (en) * | 2015-12-25 | 2016-04-06 | 广州视睿电子科技有限公司 | operating system upgrading method and device |
CN105589706A (en) * | 2014-10-29 | 2016-05-18 | Tcl集团股份有限公司 | Upgrade package generation method and device |
CN105589663A (en) * | 2015-12-23 | 2016-05-18 | 努比亚技术有限公司 | Mobile terminal and data processing method thereof |
-
2017
- 2017-03-30 CN CN201710204744.9A patent/CN107092504A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694621A (en) * | 2009-10-22 | 2010-04-14 | 中兴通讯股份有限公司 | Method for updating software of mobile terminal and mobile terminal |
CN101937349A (en) * | 2010-08-28 | 2011-01-05 | 中兴通讯股份有限公司 | Wireless communication terminal and software upgrading method thereof |
CN105589706A (en) * | 2014-10-29 | 2016-05-18 | Tcl集团股份有限公司 | Upgrade package generation method and device |
CN105589663A (en) * | 2015-12-23 | 2016-05-18 | 努比亚技术有限公司 | Mobile terminal and data processing method thereof |
CN105468420A (en) * | 2015-12-25 | 2016-04-06 | 广州视睿电子科技有限公司 | operating system upgrading method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108228222A (en) * | 2017-12-27 | 2018-06-29 | 努比亚技术有限公司 | A kind of upgrade method of firmware data, mobile terminal and computer storage media |
WO2020155164A1 (en) * | 2019-02-02 | 2020-08-06 | 深圳市大疆创新科技有限公司 | Firmware upgrade method, radar system, terminal device and firmware upgrade system |
CN111819540A (en) * | 2019-02-02 | 2020-10-23 | 深圳市大疆创新科技有限公司 | Firmware upgrading method, radar system, terminal equipment and firmware upgrading system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775391B (en) | Interface switching device and method | |
CN104955023B (en) | A kind of mobile terminal and the method for updating network parameter | |
CN106412255B (en) | Terminal and display methods | |
CN106528576B (en) | Page search method, terminal, system and storage medium | |
CN106559789A (en) | Focus sharing means, method and system | |
CN106547439B (en) | Method and device for processing message | |
CN106506795A (en) | A kind of mobile terminal and image processing method | |
CN106792609A (en) | A kind of method of calling of mobile terminal and emergency numbers | |
CN106412316A (en) | Media resource playing control device and method | |
CN106131062A (en) | Login service device and synchronizing web pages login method | |
CN107194243B (en) | Mobile terminal and method for installing application program | |
CN106528780B (en) | Network database upgrading method and mobile terminal | |
CN107092504A (en) | A kind of mobile terminal and its upgrade method | |
CN106507337B (en) | FOTA upgrading device and method | |
CN107690178B (en) | Method for reducing power consumption, mobile terminal and computer readable storage medium | |
CN106231140B (en) | Mobile terminal fota upgrade fault-tolerant device and method | |
CN106021291B (en) | A kind of information processing method and mobile terminal | |
CN105159644B (en) | A kind of method of mobile terminal and realization split screen processing | |
CN106383871A (en) | Mobile terminal and search method of application | |
CN106940644B (en) | Animation playing method and mobile terminal | |
CN105955763A (en) | Terminal, and control method based on application program | |
CN106875960A (en) | The player method and mobile terminal of a kind of audio file | |
CN106789169B (en) | Radio frequency parameter updating method, network equipment and terminal | |
CN107204974B (en) | User password management method and mobile terminal | |
CN106254643B (en) | Mobile terminal and picture processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170825 |