CN106445609A - Automatic updating method of application program and mobile terminal - Google Patents

Automatic updating method of application program and mobile terminal Download PDF

Info

Publication number
CN106445609A
CN106445609A CN201610877353.9A CN201610877353A CN106445609A CN 106445609 A CN106445609 A CN 106445609A CN 201610877353 A CN201610877353 A CN 201610877353A CN 106445609 A CN106445609 A CN 106445609A
Authority
CN
China
Prior art keywords
application program
mobile terminal
updated
operation state
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610877353.9A
Other languages
Chinese (zh)
Inventor
张晓璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610877353.9A priority Critical patent/CN106445609A/en
Publication of CN106445609A publication Critical patent/CN106445609A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The invention discloses an automatic updating method of an application program. The method comprises the following steps: if an automatic updating instruction of the application program is detected, determining whether the to-be-updated application program is located in a foreground operation state or not; if the to-be-updated application program is located in the foreground operation state, monitoring the change of the operation state of the to-be-updated application program; and if the fact that the to-be-updated application program is switched to a close state or a background operation state is monitored, updating the application program at the background. The invention furthermore discloses a mobile terminal which is capable of preventing from interrupting the application programs currently used by the users at the foreground, preventing the automatic updating of the application programs from occupying the time of the users, and improving the using experience of the users.

Description

The automatic update method of application program and mobile terminal
Technical field
The present invention relates to mobile communication technology field, more particularly, to a kind of automatic update method of application program and movement are eventually End.
Background technology
The mobile terminals such as smart mobile phone, panel computer commonly used under, spendable application program on mobile terminal Also get more and more.People are when using mobile terminal it is often necessary to carry out to application program mounted on mobile terminal Update.
At present, when being updated to application program, typically download the renewal installation kit of this application program, and downloading Installed afterwards, to complete to update.
For the ease of user operation, current mobile terminal has been able to automatically application program is updated, without User's execution updates operation, however, because, during the automatically updating of application program, this application program is to be used , and because this renewal process typically requires longer time, for example, 10 seconds even 30 seconds so that often occur that user exists When the foreground of mobile terminal uses certain application program, mobile terminal starts and this application program is automatically updated, and interrupts The use to this application program for the user, user needs to wait this application program to complete to update, and just can be continuing with this application program, Lead to the experience of user bad, waste the time of user.
Content of the invention
Present invention is primarily targeted at providing a kind of automatic update method of application program and mobile terminal it is intended to solve In prior art when automatically updating to application program, there is the application program interrupting that user uses, lead to making of user Bad with experiencing, waste the problem of user time.
For achieving the above object, first aspect present invention provides a kind of automatic update method of application program, the method bag Include:
If application program is detected automatically updates instruction it is determined that whether application program to be updated is in front stage operation State;
If described application program is in front stage operation state, monitor the change of the running status of described application program;
If monitoring, described application program switches to closed mode or switches to background operation state, in background update Described application program.
For achieving the above object, second aspect present invention provides a kind of mobile terminal, and this mobile terminal includes:
State determining module, if instruct the application journey it is determined that to be updated for automatically updating of application program is detected Whether sequence is in front stage operation state;
Monitoring modular, if being in front stage operation state for described application program, monitors the operation of described application program The change of state;
Update module, if for monitoring that described application program switches to closed mode or switch to running background shape State, then in application program described in background update.
The present invention provides a kind of automatic update method of application program, and the method includes:If oneself of application program is detected Move more new command it is determined that whether application program to be updated is in front stage operation state, if at this application program to be updated In front stage operation state, then monitor the change of the running status of this application program to be updated, if monitoring this to be updated answering Switch to closed mode with program or switch to background operation state, then in this application program of background update.By treating more When new application program is in front stage operation state, monitor the change of the running status of this application program to be updated, and in prison When measuring this application program to be updated and switching to closed mode or switch to background operation state, in this application of background update Program, enabling the application program that avoidance breakout user is just using on foreground, it is to avoid the occupancy that automatically updates of application program is used The time at family, improve the experience of user.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can also root Obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of mobile terminal;
Fig. 2 is the schematic flow sheet of the automatic update method of application program in first embodiment of the invention;
Fig. 3 is the schematic flow sheet of the automatic update method of application program in second embodiment of the invention;
Fig. 4 is the schematic diagram of the functional module of mobile terminal in third embodiment of the invention;
Fig. 5 is the schematic diagram of the functional module of mobile terminal in fourth embodiment of the invention.
Specific embodiment
For enabling the goal of the invention of the present invention, feature, advantage more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the reality it is clear that described to the technical scheme in the embodiment of the present invention Applying example is only a part of embodiment of the present invention, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
Fig. 1 shows a kind of structured flowchart of mobile terminal.The automatically updating of application program provided in an embodiment of the present invention Method can be applicable in mobile terminal 10 as shown in Figure 1, mobile terminal 10 can be, but not limited to including:Battery need to be relied on to maintain Normal operation and the smart mobile phone of support network and download function, notebook, panel computer, wearing smart machine etc..
As shown in figure 1, mobile terminal 10 includes memory 101, storage control 102, one or more (in figure only illustrates One) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107 and Touch Screen 108.These assemblies are mutually communicated by one or more communication bus/holding wire 109.
It is appreciated that the structure shown in Fig. 1 is only illustrating, it does not cause to the structure of mobile terminal to limit.Mobile whole End 10 may also include the assembly more or more less than shown in Fig. 1, or has the configurations different from shown in Fig. 1.Shown in Fig. 1 Each assembly can be realized using hardware, software or a combination thereof.
Memory 101 can be used for storing software program and module, and such as the application program in the embodiment of the present invention is automatic Update method and the corresponding programmed instruction/module of mobile terminal, processor 103 is stored in soft in memory 101 by operation Part program and module, thus executing various function application and data processing, that is, realize above-mentioned application program automatically more New method.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 101 can further include The memory remotely located with respect to processor 103, these remote memories can be by network connection to mobile terminal 10.On The example stating network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 And other possible assemblies can be carried out to the access of memory 101 under the control of storage control 102.
Various input/output devices are coupled to CPU and memory 101 by Peripheral Interface 104.Processor 103 runs and deposits Various softwares in reservoir 101, instruction are to execute the various functions of mobile terminal 10 and to carry out data processing.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips Realize.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used for receiving and sends electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for executing these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 105 can with various networks for example internet, intranet, preset type wireless network carry out Communication or the wireless network by preset type are communicated with other equipment.The wireless network of above-mentioned preset type can wrap Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE), wide Band CDMA (Wideband Code Division Multiple Access, W-CDMA), CDMA (Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) is (as IEEE-USA's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other are used for the agreement of mail, instant messaging and short message, and any other is suitable Communications protocol.
Key-press module 106 provides the interface that inputted to mobile terminal of user, user can by press different by Key is so that mobile terminal 10 executes different functions.
Audio-frequency module 107 provides a user with COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data at Peripheral Interface 104, and voice data is converted to power information, Power information is transmitted to loudspeaker.Power information is converted to the sound wave that human ear can be heard by loudspeaker.Voicefrequency circuit is also from microphone Place receive power information, convert electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 104 to enter traveling one The process of step.Voice data can be obtained at memory 101 or by radio-frequency module 105.Additionally, voice data can also Store to memory 101 or be transmitted by radio-frequency module 105.In some instances, audio-frequency module 107 may also include Hole broadcast by one earphone, for providing COBBAIF to earphone or other equipment.
Touch Screen 108 provides an output and inputting interface between mobile terminal and user simultaneously.Specifically, touch-control Screen 108 displays to the user that video frequency output, and the content of these video frequency output may include word, figure, video and its any group Close.Some output results correspond to some user interface object.The input of Touch Screen 108 also receive user, such as user Click, the gesture operation such as slip so that user interface object responds to the input of these users.Detection user input Technology can be based on resistance-type, condenser type or other arbitrarily possible touch control detection technology.Touch Screen 108 display unit Instantiation include but is not limited to liquid crystal display or light emitting polymer displays.
The automatic update method of application program in the embodiment of the present invention is described based on above-mentioned mobile terminal.
Due in prior art, when automatically updating to application program, there is the application interrupting that user is just using on foreground Program, leads to the experience of user bad, wastes the problem of user time.
In order to solve the above problems, the present invention proposes a kind of automatic update method of application program, by be updated When application program is in front stage operation state, monitor the change of the running status of this application program to be updated, and monitoring When this application program to be updated switches to closed mode or switches to background operation state, in this application journey of background update Sequence, enabling the application program that avoidance breakout user is just using on foreground, it is to avoid automatically updating of application program takies user Time, improve the experience of user.
Refer to Fig. 2, be the schematic flow sheet of the automatic update method of application program in first embodiment of the invention, the party Method includes:
If step 201 detects automatically updating of application program and instructs it is determined that whether application program to be updated is in Front stage operation state;
In embodiments of the present invention, mobile terminal can automatically update to application program, does not need touching of user Send out operation, mobile terminal just can be automatically performed automatically updating to the application program needing renewal.Specifically, mobile terminal can With preset time point and under the conditions of, start and application program automatically updated, for example, mobile terminal 8 points of every night, And in the case that mobile terminal connects network by WIFI mode, generate application program automatically updates instruction, so that mobile whole End automatically updates to application program according to the technical scheme in the embodiment of the present invention.Or, mobile terminal can be preset Under conditions of, the application program of whether renewal in need on this mobile terminal of real-time monitoring.For example, mobile terminal is by WIFI In the case that mode connects network, monitor all mounted application programs in this mobile terminal, and monitoring there are needs During the application program updating, generate application program automatically updates instruction, so that mobile terminal is according in the embodiment of the present invention Technical scheme automatically updates to application program.
In embodiments of the present invention, mobile terminal detect above-mentioned application program automatically update instruction after, will really Whether fixed application program to be updated is in front stage operation state.
Wherein, in mobile terminal, mounted application program generally has three kinds of states, is closed mode, running background respectively State, front stage operation state, when being in front stage operation state, the display interface of mobile terminal will show this application to application program The five application page of program, the function that user can be provided using this application program.
If the described application program of step 202 is in front stage operation state, monitor the running status of described application program Change;
If step 203 monitors that described application program switches to closed mode or switches to background operation state, Application program described in background update.
In embodiments of the present invention however, it is determined that application program to be updated is in front stage operation state, then show that user works as Before be currently in use this application program, mobile terminal will monitor this application program running status change, and if monitor should answer Switch to closed mode with program from foreground running status, or switch to background operation state from foreground running status, then will In this application program of background update.
If it should be noted that monitoring that application program to be updated switches to background operation state, in background update During this application program to be updated, need first to close this application program to be updated, so that this application program to be updated is being closed Complete under closed state to update.
In embodiments of the present invention, if automatically updating of application program is detected to instruct the application journey it is determined that to be updated Whether sequence is in front stage operation state, if this application program to be updated is in front stage operation state, monitors this to be updated The change of the running status of application program, if after monitoring that this application program to be updated switches to closed mode or switches to Platform running status, then in this application program of background update.By when application program to be updated is in front stage operation state, supervising Survey the change of the running status of this application program to be updated, and monitoring that this application program to be updated switches to closing shape State or when switching to background operation state, in this application program of background update, enabling avoidance breakout user is just on foreground The application program using, it is to avoid the time automatically updating occupancy user of application program, improve the experience of user.
Further, in first embodiment shown in Fig. 2, mobile terminal can also carry out following steps:
If described application program is not in front stage operation state, in application program described in background update.
In embodiments of the present invention, if mobile terminal determines that application program to be updated is not in front stage operation state, Show that this application program to be updated is closed or is in background operation state, in such a case, it is possible to directly This application program to be updated is updated, user's making to this application program to be updated can be interrupted without worry With it is not required that worry can take the time of user.Therefore, it is not in front stage operation state in determination application program to be updated In the case of, mobile terminal, by this application program to be updated in background update, is automatically updated to application program with realization.
Based on first embodiment shown in Fig. 2, refer to Fig. 3, be in second embodiment of the invention application program automatically more The schematic flow sheet of new method, the method includes:
If what step 301 detected application program automatically updates instruction, scan set up applications, determine described The identification information of set up applications and version information;
Step 302, the identification information of described set up applications and version information are sent to server, and receive institute State the identification information based on described set up applications for the server and the application program to be updated of version information feedback;
In embodiments of the present invention, mobile terminal can automatically update to application program, does not need touching of user Send out operation, mobile terminal just can be automatically performed automatically updating to the application program needing renewal.Specifically, mobile terminal can With preset time point and under the conditions of, start and application program automatically updated, for example, mobile terminal 8 points of every night, And in the case that mobile terminal connects network by WIFI mode, generate application program automatically updates instruction, so that mobile whole End automatically updates to application program according to the technical scheme in the embodiment of the present invention.Or, mobile terminal can be preset Under conditions of, the application program of whether renewal in need on this mobile terminal of real-time monitoring.For example, mobile terminal is by WIFI After mode connects network, all mounted application programs in this mobile terminal will be monitored, and need more monitoring to exist During new application program, generate application program automatically updates instruction, so that mobile terminal is according to the skill in the embodiment of the present invention Art scheme automatically updates to application program.
In embodiments of the present invention, mobile terminal detect application program automatically update instruction after, will scanning install Application program, determines the identification information of set up applications and version information.Wherein, identification information can be application program Title, such as wechat, QQ etc., version information then represents the specific version of application program.
In embodiments of the present invention, mobile terminal obtains the identification information of set up applications in mobile terminal in scanning After version information, this identification information of set up applications and version information is sent to server.
Wherein, this server could be for the server of download management application program, for example, can be on mobile terminal Mounted third party software management and download application in the corresponding server of software store carrying or mobile terminal The corresponding server of program.
Wherein, server the identification information of set up applications receiving mobile terminal transmission and version information it Afterwards, the identification information first with set up applications is searched the identification information of all of application program in server, and Find identification information with this after the destination application of the identification information match of set up applications, by this intended application The version information of program is compared with the version information of this set up applications, if the version information of this destination application Newer than the version information of this set up applications then it represents that needing to update this set up applications, if this intended application journey The version information of sequence is identical with the version information of this set up applications, or the version information than this set up applications Old then it represents that not needing to update this set up applications.By the way, server can determine application journey to be updated Sequence.
In embodiments of the present invention, server is after determining application program to be updated, by this application journey to be updated Sequence feeds back to mobile terminal, and mobile terminal is believed receiving this server based on this identification information of set up applications and version Breath feedback application program to be updated.
Step 303, determine whether application program to be updated is in front stage operation state;
If the described application program of step 304 is in front stage operation state, monitor the running status of described application program Change;
If step 305 monitors that described application program switches to closed mode or switches to background operation state, Backstage creates thread, downloads the renewal installation kit of described application program by described thread;
Step 306, by described thread install described renewal installation kit, to complete automatically updating of described application program.
In embodiments of the present invention, mobile terminal determines whether application program to be updated is in front stage operation state, and In the case that application program to be updated is in front stage operation state, mobile terminal will monitor this application program to be updated The change of running status, if monitoring, this application program to be updated switches to closed mode or switches to running background shape State, then this mobile terminal will create thread on backstage, this application program to be updated is downloaded by the thread that this backstage creates Update installation kit.
Wherein, mobile terminal will download the renewal installation kit of this application program to be updated by this thread from server, Specifically, mobile terminal passes through thread to server transmission download request, and server, after receiving this download request, is set up Data transmission channel and this mobile terminal between, and by this data transmission channel, renewal installation kit is transferred to mobile whole End, so that mobile terminal completes to update the download of installation kit.
In the present invention is implemented, mobile terminal, after downloading the renewal installation kit of application program to be updated, will pass through This thread installs this renewal installation kit, to complete the renewal of application program.
It is understood that when determining that application program to be updated is not in front stage operation state, mobile terminal is also Realize automatically updating of application program according to the content in step 305 and step 306.
In embodiments of the present invention, if application program is detected automatically updates instruction, scan set up applications, Determine the identification information of set up applications and version information, by this identification information of set up applications and version information It is sent to server, and the identification information based on set up applications for the reception server and version information feedback is to be updated Application program, mobile terminal will determine whether application program to be updated is in front stage operation state, if this application to be updated Program is in front stage operation state, then monitor the change of the running status of this application program to be updated, if monitoring, this is treated more New application program switches to closed mode or switches to background operation state, then create thread on backstage, by this thread Under pound the renewal installation kit of this application program to be updated, and this renewal installation kit is installed by this thread, to complete to apply journey The automatically updating of sequence.By when application program to be updated is in front stage operation state, monitoring this application program to be updated Running status change, and monitoring that this application program to be updated switches to closed mode or switch to running background During state, in this application program of background update, enabling the application program that avoidance breakout user is just using on foreground, it is to avoid should With the time automatically updating occupancy user of program, improve the experience of user.
Further, in the first embodiment and the second embodiment, mobile terminal can execute following steps:
During updating described application program, if the start-up operation of described application program, display reminding is detected Message, to point out updating described application program.
In embodiments of the present invention, mobile terminal is in background update application program to be updated, if user is on display circle On face to click on this application program to be updated icon then it represents that user wishes to start this application program to be updated, and move Dynamic terminal will monitor the start-up operation of this application program to be updated, because this application program to be updated updates, In this case, user is to use this application program to be updated, mobile terminal by display reminding message, just to point out Update this application program to be updated, need user to wait.
In embodiments of the present invention, in background update application program, if the start-up operation of application program is detected, lead to The mode crossing display reminding message points out user currently installing the renewal installation kit of the application program that its needs starts, and needs User is waited, and to avoid, user is mistakenly considered mobile terminal or application program breaks down.
Refer to Fig. 4, Fig. 4 is the schematic diagram of the functional module of mobile terminal in third embodiment of the invention, this is mobile eventually End includes:State determining module 401, monitoring modular 402 and update module 403.
State determining module 401, if instruct the application it is determined that to be updated for automatically updating of application program is detected Whether program is in front stage operation state;
In embodiments of the present invention, mobile terminal can automatically update to application program, does not need touching of user Send out operation, mobile terminal just can be automatically performed automatically updating to the application program needing renewal.Specifically, mobile terminal can With preset time point and under the conditions of, start and application program automatically updated, for example, mobile terminal 8 points of every night, And in the case that mobile terminal connects network by WIFI mode, generate application program automatically updates instruction, so that mobile whole End automatically updates to application program according to the technical scheme in the embodiment of the present invention.Or, mobile terminal can be preset Under conditions of, the application program of whether renewal in need on this mobile terminal of real-time monitoring.For example, mobile terminal is by WIFI In the case that mode connects network, monitor all mounted application programs in this mobile terminal, and monitoring there are needs During the application program updating, generate application program automatically updates instruction, so that mobile terminal is according in the embodiment of the present invention Technical scheme automatically updates to application program.
In embodiments of the present invention, mobile terminal detect above-mentioned application program automatically update instruction after, state Determining module 401 will determine whether application program to be updated is in front stage operation state.
Wherein, in mobile terminal, mounted application program generally has three kinds of states, is closed mode, running background respectively State, front stage operation state, when being in front stage operation state, the display interface of mobile terminal will show this application to application program The five application page of program, the function that user can be provided using this application program.
Monitoring modular 402, if being in front stage operation state for described application program, monitors the fortune of described application program The change of row state;
Update module 403, if for monitoring that described application program switches to closed mode or switch to running background State, then in application program described in background update.
In embodiments of the present invention however, it is determined that application program to be updated is in front stage operation state, then show that user works as Before be currently in use this application program, monitoring modular 402 will monitor this application program running status change, and if monitoring this Application program switches to closed mode from foreground running status, or switches to background operation state from foreground running status, then Update module 403 will be in this application program of background update.
If it should be noted that monitoring that application program to be updated switches to background operation state, in background update During this application program to be updated, need first to close this application program to be updated, so that this application program to be updated is being closed Complete under closed state to update.
In embodiments of the present invention, if automatically updating of application program is detected to instruct the application journey it is determined that to be updated Whether sequence is in front stage operation state, if this application program to be updated is in front stage operation state, monitors this to be updated The change of the running status of application program, if after monitoring that this application program to be updated switches to closed mode or switches to Platform running status, then in this application program of background update.By when application program to be updated is in front stage operation state, supervising Survey the change of the running status of this application program to be updated, and monitoring that this application program to be updated switches to closing shape State or when switching to background operation state, in this application program of background update, enabling avoidance breakout user is just on foreground The application program using, it is to avoid the time automatically updating occupancy user of application program, improve the experience of user.
Further, in 3rd embodiment shown in Fig. 4, update module 403 is additionally operable to:
If described application program is not in front stage operation state, in application program described in background update.
In embodiments of the present invention, if mobile terminal determines that application program to be updated is not in front stage operation state, Show that this application program to be updated is closed or is in background operation state, in such a case, it is possible to directly This application program to be updated is updated, user's making to this application program to be updated can be interrupted without worry With it is not required that worry can take the time of user.Therefore, it is not in front stage operation state in determination application program to be updated In the case of, update module 403 by this application program to be updated in background update, with realize to application program automatically more Newly.
Refer to Fig. 5, be the schematic diagram of the functional module of mobile terminal in fourth embodiment of the invention, this mobile terminal bag Include state determining module 401 in 3rd embodiment as shown in Figure 4, monitoring modular 402 and update module 403, and with shown in Fig. 4 Content described in 3rd embodiment is similar, does not limit herein.
In embodiments of the present invention, update module 403 specifically includes:
Create download module 501, if for monitoring that described application program switches to closed mode or switch to backstage Running status, or, if described application program is not in front stage operation state, create thread on backstage, by under described thread Carry the renewal installation kit of described application program;
Automatically update module 502, for described renewal installation kit is installed by described thread, to complete described application program Automatically update.
In embodiments of the present invention, described mobile terminal also includes:
Scan module 503, for scanning set up applications, described in determination the identification information of set up applications and Version information;
Sending/receiving module 504, for being sent to clothes by the identification information of described set up applications and version information Business device, and receive the identification information based on described set up applications for the described server and version information feedback to be updated Application program.
In embodiments of the present invention, mobile terminal can automatically update to application program, does not need touching of user Send out operation, mobile terminal just can be automatically performed automatically updating to the application program needing renewal.Specifically, mobile terminal can With preset time point and under the conditions of, start and application program automatically updated, for example, mobile terminal 8 points of every night, And in the case that mobile terminal connects network by WIFI mode, generate application program automatically updates instruction, so that mobile whole End automatically updates to application program according to the technical scheme in the embodiment of the present invention.Or, mobile terminal can be preset Under conditions of, the application program of whether renewal in need on this mobile terminal of real-time monitoring.For example, mobile terminal is by WIFI After mode connects network, all mounted application programs in this mobile terminal will be monitored, and need more monitoring to exist During new application program, generate application program automatically updates instruction, so that mobile terminal is according to the skill in the embodiment of the present invention Art scheme automatically updates to application program.
In embodiments of the present invention, mobile terminal detect application program automatically update instruction after, scan module 503 Set up applications will be scanned, determine the identification information of set up applications and version information.Wherein, identification information can be The title of application program, such as wechat, QQ etc., version information then represents the specific version of application program.
In embodiments of the present invention, mobile terminal obtains the identification information of set up applications in mobile terminal in scanning After version information, this identification information of set up applications and version information is sent to clothes by sending/receiving module 504 Business device.
Wherein, this server could be for the server of download management application program, for example, can be on mobile terminal Mounted third party software management and download application in the corresponding server of software store carrying or mobile terminal The corresponding server of program.
Wherein, server the identification information of set up applications receiving mobile terminal transmission and version information it Afterwards, the identification information first with set up applications is searched the identification information of all of application program in server, and Find identification information with this after the destination application of the identification information match of set up applications, by this intended application The version information of program is compared with the version information of this set up applications, if the version information of this destination application Newer than the version information of this set up applications then it represents that needing to update this set up applications, if this intended application journey The version information of sequence is identical with the version information of this set up applications, or the version information than this set up applications Old then it represents that not needing to update this set up applications.By the way, server can determine application journey to be updated Sequence.
In embodiments of the present invention, server is after determining application program to be updated, by this application journey to be updated Sequence feeds back to mobile terminal, and sending/receiving module 504 will receive the identification information based on this set up applications for this server With version information feedback application program to be updated.
In embodiments of the present invention, mobile terminal determines whether application program to be updated is in front stage operation state, and In the case that application program to be updated is in front stage operation state, mobile terminal will monitor this application program to be updated The change of running status, if monitoring, this application program to be updated switches to closed mode or switches to running background shape State, then create download module 501 and will create thread on backstage, download this application journey to be updated by the thread that this backstage creates The renewal installation kit of sequence.
Wherein, automatically update module 502 and will download the renewal of this application program to be updated from server by this thread Installation kit, specifically, mobile terminal pass through thread to server send download request, server receive this download request it Afterwards, set up the data transmission channel and this mobile terminal between, and be transferred to updating installation kit by this data transmission channel Mobile terminal, so that mobile terminal completes to update the download of installation kit.
In the present invention is implemented, mobile terminal, after downloading the renewal installation kit of application program to be updated, will pass through This thread installs this renewal installation kit, to complete the renewal of application program.
In embodiments of the present invention, if application program is detected automatically updates instruction, scan set up applications, Determine the identification information of set up applications and version information, by this identification information of set up applications and version information It is sent to server, and the identification information based on set up applications for the reception server and version information feedback is to be updated Application program, mobile terminal will determine whether application program to be updated is in front stage operation state, if this application to be updated Program is in front stage operation state, then monitor the change of the running status of this application program to be updated, if monitoring, this is treated more New application program switches to closed mode or switches to background operation state, then create thread on backstage, by this thread Under pound the renewal installation kit of this application program to be updated, and this renewal installation kit is installed by this thread, to complete to apply journey The automatically updating of sequence.By when application program to be updated is in front stage operation state, monitoring this application program to be updated Running status change, and monitoring that this application program to be updated switches to closed mode or switch to running background During state, in this application program of background update, enabling the application program that avoidance breakout user is just using on foreground, it is to avoid should With the time automatically updating occupancy user of program, improve the experience of user.
Further, in above-mentioned 3rd embodiment and fourth embodiment, mobile terminal also includes:
Reminding module (is not shown), for during updating described application program, if described answering is detected With the start-up operation of program, then display reminding message, to point out updating described application program.
In embodiments of the present invention, mobile terminal is in background update application program to be updated, if user is on display circle On face to click on this application program to be updated icon then it represents that user wishes to start this application program to be updated, and move Dynamic terminal will monitor the start-up operation of this application program to be updated, because this application program to be updated updates, In this case, user is to use this application program to be updated, reminding module by display reminding message, just to point out Update this application program to be updated, need user to wait.
In embodiments of the present invention, in background update application program, if the start-up operation of application program is detected, lead to The mode crossing display reminding message points out user currently installing the renewal installation kit of the application program that its needs starts, and needs User is waited, and to avoid, user is mistakenly considered mobile terminal or application program breaks down.
It should be understood that disclosed apparatus and method in several embodiments provided herein, can be passed through it Its mode is realized.For example, device embodiment described above is only schematically, for example, the division of described module, and only It is only a kind of division of logic function, actual can have other dividing mode when realizing, and for example multiple module or components can be tied Close or be desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or module or logical Letter connects, and can be electrical, mechanical or other forms.
The described module illustrating as separating component can be or may not be physically separate, show as module The part showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple On mixed-media network modules mixed-media.The mesh to realize this embodiment scheme for some or all of module therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing module in each functional module in each embodiment of the present invention it is also possible to It is that modules are individually physically present it is also possible to two or more modules are integrated in a module.Above-mentioned integrated mould Block both can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If described integrated module is realized and as independent production marketing or use using in the form of software function module When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part in other words prior art being contributed or all or part of this technical scheme can be in the form of software products Embody, this computer software product is stored in a storage medium, including some instructions with so that a computer Equipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present invention Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for aforesaid each method embodiment, for easy description, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not be all these Bright necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.
It is more than the description to a kind of automatic update method of application program provided by the present invention and mobile terminal, for Those skilled in the art, according to the thought of the embodiment of the present invention, all has change in specific embodiments and applications Part, to sum up, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. a kind of automatic update method of application program is it is characterised in that methods described includes:
If application program is detected automatically updates instruction it is determined that whether application program to be updated is in front stage operation shape State;
If described application program is in front stage operation state, monitor the change of the running status of described application program;
If monitoring, described application program switches to closed mode or switches to background operation state, described in background update Application program.
2. method according to claim 1 is it is characterised in that methods described also includes:
If described application program is not in front stage operation state, in application program described in background update.
3. method according to claim 2 is it is characterised in that the described step bag in application program described in background update Include:
Create thread on backstage, download the renewal installation kit of described application program by described thread;
Described renewal installation kit is installed by described thread, to complete automatically updating of described application program.
4. method according to claim 1 is it is characterised in that whether described determination application program to be updated is in foreground Also include before the step of running status:
Scanning set up applications, the identification information of set up applications and version information described in determination;
The identification information of described set up applications and version information are sent to server, and receive described server and be based on The identification information of described set up applications and the application program to be updated of version information feedback.
5. the method according to Claims 1-4 any one is it is characterised in that methods described also includes:
During updating described application program, if the start-up operation of described application program is detected, display reminding message, To point out updating described application program.
6. a kind of mobile terminal is it is characterised in that described mobile terminal includes:
State determining module, if instruct it is determined that application program to be updated is for automatically updating of application program is detected No it is in front stage operation state;
Monitoring modular, if being in front stage operation state for described application program, monitors the running status of described application program Change;
Update module, if for monitoring that described application program switches to closed mode or switch to background operation state, In application program described in background update.
7. mobile terminal according to claim 6 is it is characterised in that described update module is additionally operable to:
If described application program is not in front stage operation state, in application program described in background update.
8. mobile terminal according to claim 7 is it is characterised in that described update module specifically includes:
Create download module, if for monitoring that described application program switches to closed mode or switch to running background shape State, or, if described application program is not in front stage operation state, create thread on backstage, downloaded by described thread described The renewal installation kit of application program;
Automatically update module, for described renewal installation kit is installed by described thread, to complete the automatic of described application program Update.
9. mobile terminal according to claim 6 is it is characterised in that described mobile terminal also includes:
Scan module, for scanning set up applications, the identification information of set up applications and version described in determination is believed Breath;
Sending/receiving module, for the identification information of described set up applications and version information are sent to server, and Receive the identification information based on described set up applications for the described server and the application journey to be updated of version information feedback Sequence.
10. the mobile terminal according to claim 6 to 9 any one is it is characterised in that described mobile terminal also includes:
Reminding module, for during updating described application program, if the start-up operation of described application program is detected, Display reminding message, to point out updating described application program.
CN201610877353.9A 2016-09-30 2016-09-30 Automatic updating method of application program and mobile terminal Pending CN106445609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610877353.9A CN106445609A (en) 2016-09-30 2016-09-30 Automatic updating method of application program and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610877353.9A CN106445609A (en) 2016-09-30 2016-09-30 Automatic updating method of application program and mobile terminal

Publications (1)

Publication Number Publication Date
CN106445609A true CN106445609A (en) 2017-02-22

Family

ID=58173191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610877353.9A Pending CN106445609A (en) 2016-09-30 2016-09-30 Automatic updating method of application program and mobile terminal

Country Status (1)

Country Link
CN (1) CN106445609A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463396A (en) * 2017-06-21 2017-12-12 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the device with store function of application program update
CN108595195A (en) * 2018-04-09 2018-09-28 江苏国泰新点软件有限公司 A kind of application program update method, apparatus, terminal and storage medium
CN108733391A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and apparatus of dynamic resource allocation
CN109871297A (en) * 2019-02-25 2019-06-11 努比亚技术有限公司 Using checking and killing method, wearable device and computer readable storage medium
CN110505264A (en) * 2018-05-16 2019-11-26 夏普株式会社 Network system, server and information processing method
CN110502309A (en) * 2019-09-30 2019-11-26 维沃移动通信有限公司 A kind of display control method and electronic equipment
CN110806890A (en) * 2019-11-21 2020-02-18 金蝶软件(中国)有限公司 Software updating method and related device
CN110837377A (en) * 2018-08-15 2020-02-25 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment
CN112988213A (en) * 2021-04-13 2021-06-18 荣耀终端有限公司 Program data updating method, electronic equipment and computer storage medium
CN113064669A (en) * 2021-04-02 2021-07-02 北京天空卫士网络安全技术有限公司 Loading control method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104423989A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 Application updating method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102955702A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Method and device for installing and upgrading software
CN104423989A (en) * 2013-09-02 2015-03-18 联想(北京)有限公司 Application updating method and electronic equipment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733391A (en) * 2017-04-18 2018-11-02 北京京东尚科信息技术有限公司 A kind of method and apparatus of dynamic resource allocation
CN107463396A (en) * 2017-06-21 2017-12-12 北京珠穆朗玛移动通信有限公司 Method, mobile terminal and the device with store function of application program update
CN108595195A (en) * 2018-04-09 2018-09-28 江苏国泰新点软件有限公司 A kind of application program update method, apparatus, terminal and storage medium
CN110505264A (en) * 2018-05-16 2019-11-26 夏普株式会社 Network system, server and information processing method
CN110837377A (en) * 2018-08-15 2020-02-25 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment
CN110837377B (en) * 2018-08-15 2023-08-04 北京国双科技有限公司 Application program updating method and device, storage medium and electronic equipment
CN109871297A (en) * 2019-02-25 2019-06-11 努比亚技术有限公司 Using checking and killing method, wearable device and computer readable storage medium
CN110502309B (en) * 2019-09-30 2021-07-20 维沃移动通信有限公司 Display control method and electronic equipment
CN110502309A (en) * 2019-09-30 2019-11-26 维沃移动通信有限公司 A kind of display control method and electronic equipment
CN110806890A (en) * 2019-11-21 2020-02-18 金蝶软件(中国)有限公司 Software updating method and related device
CN110806890B (en) * 2019-11-21 2023-06-06 金蝶软件(中国)有限公司 Software updating method and related device
CN113064669A (en) * 2021-04-02 2021-07-02 北京天空卫士网络安全技术有限公司 Loading control method and device
CN112988213A (en) * 2021-04-13 2021-06-18 荣耀终端有限公司 Program data updating method, electronic equipment and computer storage medium
CN112988213B (en) * 2021-04-13 2023-11-14 荣耀终端有限公司 Program data updating method, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN106445609A (en) Automatic updating method of application program and mobile terminal
CN105677335A (en) Method and device for increasing first starting speed of mobile terminal
CN105354093A (en) Memory management method and mobile terminal
CN114375069B (en) Communication method and network equipment
CN105759942A (en) Handling method for power consumption anomaly and mobile terminal
CN105045639A (en) Mobile terminal downloading method and device and mobile terminal
CN105528229A (en) Method and device for improving first starting speed of mobile terminal
CN106406940A (en) System upgrading method, system upgrading apparatus, and terminal
CN105100141A (en) Multimedia content network sharing method, multimedia content network sharing device and multimedia content network sharing system
CN107070670B (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN106126377B (en) The method and device of system starting
CN106123910A (en) Step-recording method based on mobile terminal and step count set
CN105320616A (en) External device control method and device
CN106294707A (en) A kind of countdown information output intent and device
CN103713943A (en) Native terminal operating system based application function realization method and device
CN106406947A (en) Method and apparatus for preventing system service process from restarting, and mobile terminal
CN106331258A (en) Call methods, call apparatus and call system
CN104113620A (en) Contact list updating method, updating device and user terminal
CN103413091B (en) The method for supervising of malicious act and device
CN105204891A (en) Download method and download device during shutdown of mobile terminal and mobile terminal
CN104216760A (en) Method and device for interaction of dynamic wallpaper and system desktop
CN105138107A (en) Mobile terminal downloading method and device and mobile terminal
CN105549836A (en) Method for processing messages on screen-lock interface of mobile electronic terminal and mobile electronic terminal
CN112839326A (en) Network switching method, device, storage medium and gateway equipment
CN106454911A (en) Faulty frequency band processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication