The Oftware updating method and device of mobile terminal
Technical field
The embodiment of the present invention belongs to the Oftware updating method and device of the communications field more particularly to a kind of mobile terminal.
Background technology
With the development of electronic technology, the software that mobile terminal can be run is more and more.In order to improve mobile terminal
Safety and function, mobile terminal need constantly to download, update the software version for the higher level that software developer releases.
In the prior art, upgrade tip is usually initiated by software backstage, so that user operates according to prompt under mobile terminal
It carries, update corresponding software.But since user needs to use the period of mobile terminal more, even if software backstage
Connection of mobile terminal into network (as access general packet radio service technology (General Packet Radio Service,
GPRS), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), adopting wireless fidelity technology
(Wireless Fidelity, Wi-Fi)) when initiate upgrade tip in time, but the considerations of for flow cost or network speed,
Mobile terminal can also be forbidden carrying out the download of software, update in most cases, to be difficult to realize mobile terminal software in time
It downloads, update.
Invention content
An embodiment of the present invention provides a kind of Oftware updating method of mobile terminal and devices, it is intended to solve existing method hardly possible
The problem of to realize the download of mobile terminal software in time, update.
The embodiment of the present invention is achieved in that a kind of Oftware updating method of mobile terminal, the method includes:
When time of mobile terminal system is equal to the pre-set time, detect whether the mobile terminal connects with network
It connects;
When the mobile terminal is not with network connection, network is connected automatically;
The software of the mobile terminal is updated using the network connected automatically.
The another object of the embodiment of the present invention is to provide a kind of software renewing apparatus of mobile terminal, described device packet
It includes:
Network connection detection unit is used for when time of mobile terminal system is equal to the pre-set time, described in detection
Mobile terminal whether with network connection;
Connection establishment unit, for when the mobile terminal is not with network connection, connecting network automatically;
Software upgrading unit, the software for updating the mobile terminal using the network connected automatically.
In embodiments of the present invention, due to when time of mobile terminal system is equal to the pre-set time, just connecting automatically
Network is connect, and is carried using the software of the network of connection update mobile terminal therefore, it is possible to periodically update the software of mobile terminal
The promptness of high software upgrading.
Description of the drawings
Fig. 1 is a kind of flow chart of the Oftware updating method for mobile terminal that first embodiment of the invention provides;
Fig. 2 is a kind of structure chart of the software renewing apparatus for mobile terminal that second embodiment of the invention provides.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
In the embodiment of the present invention, when time of mobile terminal system is equal to the pre-set time, detect described mobile whole
Whether end with network connection connect network automatically when the mobile terminal is not with network connection, and use connects automatically
Network updates the software of the mobile terminal.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow chart of the Oftware updating method for mobile terminal that first embodiment of the invention provides, in detail
It states as follows:
Step S11, time of mobile terminal system be equal to the pre-set time when, detect the mobile terminal whether with
Network connection.
In the step, one or more times, specific root is arranged in mobile terminal (such as mobile phone, tablet computer) in advance in user
It is set using the case where mobile terminal according to user, the time being usually arranged is the time of the idle mobile terminal of user, that is, is used
Family is daily seldom to use mobile terminal in that time.When time of mobile terminal system reaches the time of setting, mobile terminal
Detect whether it connects with network foundation.Such as, it is assumed that user in advance mobile terminal be arranged a time, 13:00, then in movement
The terminal system time is 13:When 00, mobile terminal judges whether it establishes with network and connects.
Step S12 connects network automatically when the mobile terminal is not with network connection.
Optionally, described when the mobile terminal is not with network connection, the automatic network that connects specifically includes:
A1, when the mobile terminal is not with network connection, search for around the mobile terminal whether there is the first net
Network.Wherein, the first network is adopting wireless fidelity technology Wi-Fi.
A2, around the mobile terminal there are when first network, connect the first network automatically.
In above-mentioned A1 and A2, when mobile terminal, which is not established with network, to be connected, it whether there is around mobile terminal to search
First network, and if it exists, then judge whether the mobile terminal stores and establishes the required information of connection with the first network, such as whether
It stores the title of first network, establish the connection password etc. needed for connection, if having stored, according to storage and the first network
Information needed for foundation connection is established automatically with first network to be connect.Since first network is Wi-Fi, and downloaded by Wi-Fi
Without expending flow cost when software, therefore, it can be under subsequent software that mobile terminal establishes connection with first network automatically
It carries and saves flow cost.
Optionally, it when first network being not present around the mobile terminal, prompts the user whether to operate described mobile whole
The second network of end connection.Wherein, the second network is non-Wi-Fi, such as GPRS, WCDMA.Since the second network is non-Wi-Fi, rather than
Wi-Fi need to expend flow cost when downloading software, therefore, prompt the user whether that operating the mobile terminal connects the second network,
Ensure that user obtains information as much as possible.
Step S13 updates the software of the mobile terminal using the network connected automatically.
It in the step, establishes and connects with network automatically when mobile terminal, then downloaded using the network connected automatically more advanced
Other software version, and update.
Optionally, described that the shifting is updated using the network connected automatically when the network connected automatically is first network
The software of dynamic terminal specifically includes:
B1, obtain the mobile terminal software version updating information;Wherein, version updating information includes version name
Title, version number etc..Specifically, in the version updating of software, mobile terminal obtains the latest edition of the software from server
Number, when the latest edition number is higher than current version of the software installation in mobile terminal, generates and store described soft
The version updating information of part, when reaching the time, actively to update software.
B2, using the version updating information of the software of acquisition as foundation, the shifting is updated using the first network that connects automatically
The software of dynamic terminal.Specifically, newest software version is downloaded by first network, and using the newest software version downloaded
Update to can either periodically update software, and can save flow cost mounted on the corresponding software of mobile terminal.
Optionally, described that the shifting is updated using the network connected automatically when the network connected automatically is the second network
The software of dynamic terminal specifically includes:
C1, obtain the mobile terminal software version updating information;Wherein, version updating information includes version name
Title, version number etc..Specifically, in the version updating of software, mobile terminal obtains the latest edition of the software from server
Number, when the latest edition number is higher than current version of the software installation in mobile terminal, generates and store described soft
The version updating information of part.
C2, using the version updating information of the software of acquisition as foundation, the shifting is updated using the second network for connecting automatically
The software of dynamic terminal.
Certainly, if mobile terminal with network establish connect, judge whether the network is first network, the network not
When being first network, user is prompted, mobile terminal is currently not to establish with first network and connect, so that user chooses whether down
It carries, the software of update mobile terminal.When the network is first network, directly uses the first network to download, updates movement eventually
The software at end.
In first embodiment of the invention, when time of mobile terminal system is equal to the pre-set time, the shifting is detected
Whether dynamic terminal with network connection connects network automatically when the mobile terminal is not with network connection, and using connecting automatically
The network connect updates the software of the mobile terminal.Due to time of mobile terminal system be equal to the pre-set time when,
Automatic connection network, and using the software of the network of connection update mobile terminal, therefore, it is possible to periodically update the soft of mobile terminal
Part improves the promptness of software upgrading.
It should be understood that in embodiments of the present invention, size of the sequence numbers of the above procedures is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention
At any restriction.
Embodiment two:
Fig. 2 shows a kind of structure charts of the software renewing apparatus of mobile terminal of second embodiment of the invention offer, should
The software renewing apparatus of mobile terminal may include the user communicated with one or more core nets through wireless access network RAN
Equipment, the user equipment can be mobile phone (or be " honeycomb " phone), the computer etc. with mobile device, for example,
User equipment can also be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile device, they and nothing
Line access exchanges voice and/or data.In another example the mobile device may include smart mobile phone, tablet computer, individual digital
Assistant PDA, point-of-sale terminal POS or vehicle-mounted computer etc..For convenience of description, it illustrates only and the relevant portion of the embodiment of the present invention
Point.
The software renewing apparatus of the mobile terminal includes:Network connection detection unit 21, connection establishment unit 22, software are more
New unit 23.Wherein:
Network connection detection unit 21, for when time of mobile terminal system is equal to the pre-set time, detecting institute
State mobile terminal whether with network connection.
Wherein, the pre-set time includes one or more times.
Connection establishment unit 22, for when the mobile terminal is not with network connection, connecting network automatically.
Optionally, the connection establishment unit 22 includes:
First network search module, for when the mobile terminal is not with network connection, searching for the mobile terminal
Surrounding whether there is first network.Wherein, the first network is adopting wireless fidelity technology Wi-Fi.
First network connection establishment module, for, there are when first network, connecting institute automatically around the mobile terminal
State first network.
When mobile terminal, which is not established with network, to be connected, it whether there is first network around mobile terminal to search, if depositing
Then judging whether the mobile terminal stores and establishing the required information of connection with the first network, such as whether storage first network
Title, the connection password etc. established needed for connection establishes according to storage and the first network needed for connection if having stored
Information establish and connect automatically with first network.Since first network is Wi-Fi, and by being not necessarily to consumption when Wi-Fi download softwares
Take flow cost, therefore, mobile terminal automatically with first network establish connection can be subsequent software download save flow at
This.
Optionally, the software renewing apparatus of the mobile terminal includes:
Unit is established in second network connection, when for first network to be not present around the mobile terminal, prompts user
Whether operate the mobile terminal and connects the second network.Wherein, the second network is non-Wi-Fi, such as GPRS, WCDMA.Due to second
Network is non-Wi-Fi rather than Wi-Fi need to expend flow cost when downloading software, therefore, prompt the user whether to operate the movement
Terminal connects the second network, ensures that user obtains information as much as possible.
Software upgrading unit 23, the software for updating the mobile terminal using the network connected automatically.
Optionally, the software upgrading unit 23 includes:
Version updating data obtaining module, the version updating information of the software for obtaining the mobile terminal.Specifically,
In the version updating of software, mobile terminal obtains the latest edition number of the software from server, when the latest edition number
Higher than the software installation in the current version of mobile terminal, the version updating information of the software is generated and stores, with
When the convenient time reaches, software is actively updated.
First network download module is used for using the version updating information of the software of acquisition as foundation, using what is connected automatically
First network updates the software of the mobile terminal.Specifically, newest software version is downloaded by first network, and under use
The newest software version update carried is mounted on the corresponding software of mobile terminal, to can either periodically update software, and energy
Enough save flow cost.
Optionally, when the network connected automatically is the second network, the software upgrading unit 23 includes:
Software update information acquisition module, the version updating information of the software for obtaining the mobile terminal;Wherein, version
This fresh information includes version name, version number etc..Specifically, in the version updating of software, mobile terminal is obtained from server
The latest edition number for taking the software, when the latest edition number higher than the software installation mobile terminal current version number
When, generate and store the version updating information of the software.
Second network download module is used for using the version updating information of the software of acquisition as foundation, using what is connected automatically
Second network updates the software of the mobile terminal.
In second embodiment of the invention, due to time of mobile terminal system be equal to the pre-set time when, just from
Dynamic connection network, and using the software of the network of connection update mobile terminal, therefore, it is possible to periodically update the soft of mobile terminal
Part improves the promptness of software upgrading.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.