CN109032648A - Update method, mobile terminal and the storage medium of application program - Google Patents

Update method, mobile terminal and the storage medium of application program Download PDF

Info

Publication number
CN109032648A
CN109032648A CN201811279541.7A CN201811279541A CN109032648A CN 109032648 A CN109032648 A CN 109032648A CN 201811279541 A CN201811279541 A CN 201811279541A CN 109032648 A CN109032648 A CN 109032648A
Authority
CN
China
Prior art keywords
application program
mobile terminal
update
updated
queue
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.)
Granted
Application number
CN201811279541.7A
Other languages
Chinese (zh)
Other versions
CN109032648B (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811279541.7A priority Critical patent/CN109032648B/en
Publication of CN109032648A publication Critical patent/CN109032648A/en
Application granted granted Critical
Publication of CN109032648B publication Critical patent/CN109032648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • G06F9/4893Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the present application discloses update method, mobile terminal and the computer readable storage medium of a kind of application program, this method comprises: judging to update in queue with the presence or absence of application program to be updated in the case where mobile terminal is connected to the battery capacity abundance of WiFi network and the mobile terminal;There are in the case where application program to be updated in the update queue, the application program to be updated is updated by the WiFi network.The embodiment of the present application is automatically updated the application program updated in queue in the case where mobile terminal connects WiFi network and electricity is sufficient by the update queue of creation;It solves existing application to update existing renewal time length, generate a large amount of additional campus network, leads to the problem that user experience is bad;The update waiting time for not only saving user, user experience is improved, and also avoids application program update and paid to user's bring extra-pay.

Description

Update method, mobile terminal and the storage medium of application program
Technical field
The invention relates to field of terminal technology more particularly to a kind of update methods of application program, mobile terminal And computer readable storage medium.
Background technique
With the development of electronics technology and Internet technology, the function of electronic equipment (especially intelligent mobile terminal) is got over Come more powerful, as long as user installs various application program installation kits according to the demand of itself on an electronic device, can pass through Various application programs complete various affairs.Application development side is generally required according to user demand or announced using journey Sequence problem etc. carrys out more new application, is supplied to the updated application program installation kit of user.
As the function of electronic equipment is stronger and stronger, performance is also more and more powerful, and memory is also increasing.It is same with this When, the memory that application program installation kit occupies is also increasing, and the application program of especially some game class, not only installation kit accounts for Memory is bigger, and often updates.For example current king's honor and stimulation battlefield, the installation kit of game are both greater than 1G, the update packet dynamic then several hundred million of game, is even greater than 1G, and have update weekly.It is bigger due to updating packet, it is limited In network speed, this renewal time is generally all long.If user has forgotten advancing updating, just it is updated before the use, Cause user experience is bad not say, or even also results in a large amount of additional campus network.
Summary of the invention
In view of this, a kind of update method for being designed to provide application program of the embodiment of the present application, mobile terminal with And computer readable storage medium, to solve, existing application update existing renewal time is long, it is a large amount of additional to generate Campus network leads to the problem that user experience is bad.
It is as follows that the embodiment of the present application solves technical solution used by above-mentioned technical problem:
According to the one aspect of the embodiment of the present application, a kind of update method of the application program provided, this method is for moving Dynamic terminal, which comprises
In the case where mobile terminal is connected to the battery capacity abundance of WiFi network and the mobile terminal, judge to update It whether there is application program to be updated in queue;
There are in the case where application program to be updated in the update queue, updated by the WiFi network described in Application program to be updated.
Optionally, the judgement, which updates, whether there is application program to be updated in queue, before further include:
Timing detects the application program of the mobile terminal with the presence or absence of update;
It is deposited in the application program of the mobile terminal and judges that the application program of the mobile terminal is in the case of an update It is no to meet update condition;
In the case where the application program of the mobile terminal meets update condition, by the application program of the mobile terminal It is inserted into the update queue.
Optionally, whether the application program for judging the mobile terminal meets update condition, comprising:
Obtain the parameter information of the application program of the mobile terminal;
According to the parameter information of the application program of the mobile terminal, judge whether the application program of the mobile terminal is full Sufficient update condition.
Optionally, the parameter information of the application program for obtaining the mobile terminal, before further include:
Count and save the parameter information of the application program of the mobile terminal.
Optionally, the application program by the mobile terminal is inserted into the update queue, before further include:
Judge that the update queue whether there is the application program of the mobile terminal;
In the case where the application program of the mobile terminal is not present in the update queue, execute described by the movement The application program of terminal is inserted into the step of update queue.
Optionally, the application program by the mobile terminal is inserted into the update queue, comprising:
It, will be described according to the update priority of application program in the case where the application program of the mobile terminal is multiple The application program of mobile terminal is inserted into the update queue.
Optionally, described that the application program to be updated is updated by the WiFi network, later further include:
In the case where the application program update to be updated is completed, removed in the update queue described to be updated Application program.
Optionally, described that the application program to be updated is updated by the WiFi network, later further include:
In the insufficient situation of battery capacity that the mobile terminal disconnects WiFi network or the mobile terminal, in It is disconnected to update the application program to be updated.
According to the other side of the embodiment of the present application, a kind of mobile terminal provided, the mobile terminal includes storage Device, processor and the more new procedures for being stored in the application program that can be run on the memory and on the processor, it is described The more new procedures of application program realize the step of update method of above-mentioned application program when being executed by the processor.
According to the other side of the embodiment of the present application, a kind of computer readable storage medium provided, the computer The more new procedures of application program are stored on readable storage medium storing program for executing, it is real when the more new procedures of the application program are executed by processor The step of update method of existing above-mentioned application program.
Update method, mobile terminal and the computer readable storage medium of the application program of the embodiment of the present application, pass through The update queue of creation, in the case where mobile terminal connects WiFi network and electricity is sufficient, automatically to answering in update queue It is updated with program;It solves existing application to update existing renewal time length, generate a large amount of additional traffic fee With leading to the problem that user experience is bad;The update waiting time for not only saving user, user experience is improved, but also Application program update is avoided to pay to user's bring extra-pay.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for realizing the mobile terminal of each embodiment of the application;
Fig. 2 is a kind of communications network system architecture diagram provided by the embodiments of the present application;
Fig. 3 is the update method flow diagram of the application program of the application first embodiment;
Fig. 4 is the flow diagram that creation updates queue in the update method of the application program of the application first embodiment;
Fig. 5-Fig. 6 is another flow diagram of update method of the application program of the application first embodiment;
Fig. 7 is the mobile terminal structure schematic diagram of the application second embodiment.
The embodiments will be further described with reference to the accompanying drawings for realization, functional characteristics and the advantage of the application purpose.
Specific embodiment
In order to be clearer and more clear technical problems to be solved in this application, technical solution and beneficial effect, tie below Drawings and examples are closed, the application is further elaborated.It should be appreciated that specific embodiment described herein is only To explain the application, it is not used to limit the application.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, PDA (Personal Digital Assistant, personal digital assistant), PMP (Portable Media Player, portable media player), navigation device, wearable device, Intelligent bracelet, pedometer The fixed terminals such as equal mobile terminals, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
As shown in figure 3, the application first embodiment provides a kind of update method of application program, this method is for mobile whole End, which comprises
Step S31: in the case where mobile terminal is connected to the battery capacity abundance of WiFi network and the mobile terminal, Judgement, which updates, whether there is application program to be updated in queue.
In the present embodiment, the battery capacity abundance of the mobile terminal can be greater than preset value or small for battery capacity In preset value but it is in charged state.
Such as: the battery capacity of the mobile terminal is greater than 50% or still inserts charger less than preset value 50% Into charged state, then can determine whether to update in queue with the presence or absence of application program to be updated.
In the present embodiment, the information that queue is used to store application program to be updated is updated.It is multiple to be updated when storing Application program when, be ranked up according to the update priority of application program.
Such as: the application program that is used (in one day) recently, compared with one day in be not used but frequency of use is higher applies journey Sequence has higher priority;It is applied for this kind, according to the interval time progress for using time and update packet time of occurrence Sequence, interval time is shorter, and priority is higher.That is, used application program first updates in one day, i.e., first it is stored in It updates in queue;In one day be not used but the higher application program of frequency of use, this kind of application program can according to frequency of use from High to Low is ranked up, and frequency of use is higher, and priority is higher.
It please refers to shown in Fig. 4, in one embodiment, the judgement, which updates, whether there is application to be updated in queue Program, before further include:
Step S311: the application program of the mobile terminal is periodically detected with the presence or absence of update;
Step S312: it is deposited in the case of an update in the application program of the mobile terminal, judges the mobile terminal Whether application program meets update condition;
Step S313: in the case where the application program of the mobile terminal meets update condition, by the mobile terminal Application program be inserted into the update queue.
Specifically, background service can establish a timed task, be with certain frequency timing detection application program daily It is no to there is update, it is updated if some application program exists, then from file or database, reads the corresponding ginseng of the application program Number information, judges whether the application program meets required update condition, if satisfied, application program is then inserted into update queue In.
Update condition needed for application program include but is not limited to be the use of application program the last time be effectively to use, And the time that packet occurs relatively is updated (in one day) using the time;Or effective frequency of use that application program uses is More than or equal to the renewal frequency of application program.
It should be noted that user only uses specific duration after opening application program, just calculating once effectively makes With, for example using duration is more than five minutes, just calculates primary effective use.Specifically it is not limited thereto.
In this embodiment, whether the application program for judging the mobile terminal meets update condition, comprising:
Obtain the parameter information of the application program of the mobile terminal;
According to the parameter information of the application program of the mobile terminal, judge whether the application program of the mobile terminal is full Sufficient update condition.
In this embodiment, the parameter information of the application program for obtaining the mobile terminal, before further include:
Count and save the parameter information of the application program of the mobile terminal.
Specifically, it can be used for the parameter information of statistics application program by the service on one resident backstage of starting, the service, Such as: the frequency of use of application program, the frequency occurred using duration, recently using time and update packet etc..It is counting Later, the parameter information of application program is saved in file or database, for subsequent use.
In this embodiment, the application program by the mobile terminal is inserted into the update queue, also wraps before It includes:
Judge that the update queue whether there is the application program of the mobile terminal;
In the case where the application program of the mobile terminal is not present in the update queue, execute described by the movement The application program of terminal is inserted into the step of update queue.
It should be understood that then cancel and inserting there are in the case where the application program of the mobile terminal in the update queue Enter, avoiding update queue, there are duplicate application informations.
In this embodiment, the application program by the mobile terminal is inserted into the update queue, comprising:
It, will be described according to the update priority of application program in the case where the application program of the mobile terminal is multiple The application program of mobile terminal is inserted into the update queue.
Specifically, it if application program is the application program used (in one day) recently, is first stored in and updates in queue;So Afterwards update queue in be inserted into one day be not used but the higher application program of frequency of use, this kind of application program can according to use frequently Rate being ranked up from high to low, application program frequency of use is higher, and priority is higher.
Step S32: there are in the case where application program to be updated in the update queue, pass through the WiFi network Update the application program to be updated.
It please refers to shown in Fig. 5, it is in one embodiment, described that described to be updated answer is updated by the WiFi network With program, later further include:
Step S33: in the case where the application program update to be updated is completed, institute is removed in the update queue State application program to be updated.
In this embodiment, the more new data that the application program to be updated is downloaded by the WiFi network, Downloading is installed automatically after completing.After being installed, can be automatically deleted more new data and by application program from update team It is removed in column.
Please refer to shown in Fig. 6, in another embodiment, it is described updated by the WiFi network it is described to be updated Application program, later further include:
Step S34: insufficient in the battery capacity that the mobile terminal disconnects WiFi network or the mobile terminal In the case of, it interrupts and updates the application program to be updated.
In this embodiment, low in the battery capacity of mobile terminal disconnection WiFi network or the mobile terminal In the case that 50% is also not on charged state, then interrupts and update the application program to be updated.It is reconnecting to The battery capacity of WiFi network or the mobile terminal is greater than 50% or still inserts charging less than preset value 50% When device enters charged state, continuing to update last time does not update the application program of completion.
If mobile terminal shuts down during update, then the background service that next time, booting started automatically can be again Detection, re-creates update queue, in the case where meeting update condition, carries out more to the application program updated in queue again Newly.
In order to preferably illustrate the present embodiment, it is illustrated by taking the mobile phone of android system as an example below:
When the mobile phone power-on of android system is completed, receives boot_complate broadcast, it is resident to open a backstage Service.
Backstage resident service can count the effective frequency of use of each third party application, using duration, use recently Time and the frequency that packet occurs is updated, and these information preservations to getting up, for example deposited in the database or in file, with For subsequent use.It is updated in corresponding database when perhaps a few exist and update by these one of information or file.
User only uses specific duration after opening application program, when just calculating primary effective use, for example using Length just calculated primary effective use more than five minutes.According to effective frequency of use of application program and update the frequency for wrapping and occurring Rate and the nearest update operation for using time (such as in one day), deciding whether to start to the application program.
Used when the last time using to be effective, and relatively update using the time that packet occurs (in one day) when Between;Or when using effective frequency of use be greater than equal to application renewal frequency when, then starting to the application program Update operation.
The timed task that the background service of android system is established can each be answered daily with certain frequency timing detection With program with the presence or absence of updating, updates, then read from corresponding storage file or database if some application program exists The corresponding parameter information of the application program, if the update condition needed for meeting, the application program that needs are updated are stored in one In a update queue.
During the application program of update is stored in update queue, if application program is to use (in one day) recently Application program, then be first stored in update queue in;Then it is higher unused but frequency of use to be inserted into one day in update queue Application program, this kind of application program can be according to frequency of use being ranked up from high to low, and application program frequency of use is higher, Priority is higher.Every time toward when updating one application program to be updated of insertion in queue, team is updated if detecting and having existed In column, then cancel insertion, avoids repeating.
Following android system service detection is connected to WiFi network to mobile terminal, and electricity greater than 50% or Less than 50% but in the case where inserting charger, and the application program for existing in queue and needing to update is updated, then under starting Corresponding update is carried to wrap and installed automatically after the download is complete.
If completion can normally be updated, after the completion of update, which is removed from update queue, and from It is dynamic to delete corresponding update packet.
If mobile terminal disconnects WiFi network or the battery capacity of the mobile terminal is lower than during update 50% is also not inserted into charger, then interrupts more new application.Reconnect WiFi network after, continue update last time do not update The application program of completion.
If the mobile phone shutdown of android system, the backstage resident service started automatically when turning back on can be again Detection creation updates queue, in the case where meeting update condition, is updated again to the application program updated in queue.
The update method of the application program of the embodiment of the present application is connected by the update queue of creation in mobile terminal In the case where WiFi network and electricity abundance, the application program updated in queue is updated automatically;Solves existing application Program updates existing renewal time length, generates a large amount of additional campus network, leads to the problem that user experience is bad;Not only The update waiting time for saving user, user experience is improved, and also avoids application program update and give user's bring Extra-pay expenditure.
Second embodiment
As shown in fig. 7, the application second embodiment provides a kind of mobile terminal, the mobile terminal include: memory 41, Processor 42 and the more new procedures for being stored in the application program that can be run on the memory 41 and on the processor 42, institute When stating the more new procedures of application program and being executed by the processor 42, for realizing the update method of application program as described below The step of:
In the case where mobile terminal is connected to the battery capacity abundance of WiFi network and the mobile terminal, judge to update It whether there is application program to be updated in queue;
There are in the case where application program to be updated in the update queue, updated by the WiFi network described in Application program to be updated.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
Timing detects the application program of the mobile terminal with the presence or absence of update;
It is deposited in the application program of the mobile terminal and judges that the application program of the mobile terminal is in the case of an update It is no to meet update condition;
In the case where the application program of the mobile terminal meets update condition, by the application program of the mobile terminal It is inserted into the update queue.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
Obtain the parameter information of the application program of the mobile terminal;
According to the parameter information of the application program of the mobile terminal, judge whether the application program of the mobile terminal is full Sufficient update condition.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
Count and save the parameter information of the application program of the mobile terminal.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
Judge that the update queue whether there is the application program of the mobile terminal;
In the case where the application program of the mobile terminal is not present in the update queue, execute described by the movement The application program of terminal is inserted into the step of update queue.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
It, will be described according to the update priority of application program in the case where the application program of the mobile terminal is multiple The application program of mobile terminal is inserted into the update queue.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
In the case where the application program update to be updated is completed, removed in the update queue described to be updated Application program.
When the more new procedures of the application program are executed by the processor 42, it is also used to realize application journey as described below The step of update method of sequence:
In the insufficient situation of battery capacity that the mobile terminal disconnects WiFi network or the mobile terminal, in It is disconnected to update the application program to be updated.
The mobile terminal of the embodiment of the present application connects WiFi network and electricity in mobile terminal by the update queue of creation In the case that amount is sufficient, the application program updated in queue is updated automatically;It solves existing application and updates and exist Renewal time it is long, generate a large amount of additional campus network, lead to the problem that user experience is bad;Not only save user's The waiting time is updated, improves user experience, and also avoid application program update and give user's bring extra-pay branch Out.
3rd embodiment
The application 3rd embodiment provides a kind of computer readable storage medium, deposits on the computer readable storage medium The more new procedures for containing application program, for realizing first embodiment when the more new procedures of the application program are executed by processor The step of update method of the application program.
It should be noted that the computer readable storage medium of the present embodiment, belongs to same with the method for first embodiment Design, specific implementation process is shown in embodiment of the method in detail, and the technical characteristic in embodiment of the method is right in the present embodiment It should be applicable in, which is not described herein again.
The computer readable storage medium of the embodiment of the present application is connected by the update queue of creation in mobile terminal In the case where WiFi network and electricity abundance, the application program updated in queue is updated automatically;Solves existing application Program updates existing renewal time length, generates a large amount of additional campus network, leads to the problem that user experience is bad;Not only The update waiting time for saving user, user experience is improved, and also avoids application program update and give user's bring Extra-pay expenditure.
It will appreciated by the skilled person that whole or certain steps, system, dress in method disclosed hereinabove Functional module/unit in setting may be implemented as software, firmware, hardware and its combination appropriate.In hardware embodiment, Division between the functional module/unit referred in the above description not necessarily corresponds to the division of physical assemblies;For example, one Physical assemblies can have multiple functions or a function or step and can be executed by several physical assemblies cooperations.Certain objects Reason component or all physical assemblies may be implemented as by processor, such as central processing unit, digital signal processor or micro process The software that device executes, is perhaps implemented as hardware or is implemented as integrated circuit, such as specific integrated circuit.Such software Can be distributed on a computer-readable medium, computer-readable medium may include computer storage medium (or non-transitory be situated between Matter) and communication media (or fugitive medium).As known to a person of ordinary skill in the art, term computer storage medium includes In any method or skill for storing information (such as computer readable instructions, data structure, program module or other data) The volatile and non-volatile implemented in art, removable and nonremovable medium.Computer storage medium includes but is not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storages, magnetic Box, tape, disk storage or other magnetic memory apparatus or it can be used for storing desired information and can be visited by computer Any other medium asked.In addition, known to a person of ordinary skill in the art be, communication media generally comprises computer-readable Other numbers in the modulated data signal of instruction, data structure, program module or such as carrier wave or other transmission mechanisms etc According to, and may include any information delivery media.
Above by reference to Detailed description of the invention preferred embodiment of the present application, not thereby limit to the interest field of the application.This Field technical staff does not depart from made any modifications, equivalent replacements, and improvements in scope of the present application and essence, should all be at this Within the interest field of application.

Claims (10)

1. a kind of update method of application program, this method is used for mobile terminal, which comprises
In the case where mobile terminal is connected to the battery capacity abundance of WiFi network and the mobile terminal, judge to update queue In whether there is application program to be updated;
There are in the case where application program to be updated in the update queue, updated by the WiFi network described to more New application program.
2. being answered the method according to claim 1, wherein the judgement updates in queue with the presence or absence of to be updated With program, before further include:
Timing detects the application program of the mobile terminal with the presence or absence of update;
It is deposited in the application program of the mobile terminal and judges whether the application program of the mobile terminal is full in the case of an update Sufficient update condition;
In the case where the application program of the mobile terminal meets update condition, the application program of the mobile terminal is inserted into The update queue.
3. according to the method described in claim 2, it is characterized in that, whether the application program for judging the mobile terminal is full Sufficient update condition, comprising:
Obtain the parameter information of the application program of the mobile terminal;
According to the parameter information of the application program of the mobile terminal, judge whether the application program of the mobile terminal meets more New Terms.
4. according to the method described in claim 3, it is characterized in that, the parameter of the application program for obtaining the mobile terminal Information, before further include:
Count and save the parameter information of the application program of the mobile terminal.
5. according to the method described in claim 2, it is characterized in that, described in the application program insertion by the mobile terminal Queue is updated, before further include:
Judge that the update queue whether there is the application program of the mobile terminal;
In the case where the application program of the mobile terminal is not present in the update queue, execute described by the mobile terminal Application program be inserted into the update queue the step of.
6. according to the method described in claim 2, it is characterized in that, described in the application program insertion by the mobile terminal Update queue, comprising:
In the case where the application program of the mobile terminal is multiple, according to the update priority of application program by the movement The application program of terminal is inserted into the update queue.
7. the method according to claim 1, wherein it is described updated by the WiFi network it is described to be updated Application program, later further include:
In the case where the application program update to be updated is completed, described to be updated answer is removed in the update queue Use program.
8. the method according to claim 1, wherein it is described updated by the WiFi network it is described to be updated Application program, later further include:
In the insufficient situation of battery capacity that the mobile terminal disconnects WiFi network or the mobile terminal, interrupt more The new application program to be updated.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, processor and is stored in the memory The more new procedures of application program that are upper and can running on the processor, the more new procedures of the application program are by the processing The step of update method such as application program described in any item of the claim 1 to 8 is realized when device executes.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium using journey The more new procedures of sequence are realized when the more new procedures of the application program are executed by the processor as any in claim 1 to 8 The step of update method of application program described in.
CN201811279541.7A 2018-10-30 2018-10-30 Application program updating method, mobile terminal and storage medium Active CN109032648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811279541.7A CN109032648B (en) 2018-10-30 2018-10-30 Application program updating method, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811279541.7A CN109032648B (en) 2018-10-30 2018-10-30 Application program updating method, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109032648A true CN109032648A (en) 2018-12-18
CN109032648B CN109032648B (en) 2023-08-11

Family

ID=64614537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811279541.7A Active CN109032648B (en) 2018-10-30 2018-10-30 Application program updating method, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109032648B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114338533A (en) * 2021-12-30 2022-04-12 广东明创软件科技有限公司 Adjusting method, electronic equipment and computer storage medium
CN114363305A (en) * 2021-12-27 2022-04-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
FR3020538A1 (en) * 2014-04-25 2015-10-30 Thales Sa DEVICE AND METHOD FOR MANAGING MOBILE TELEPHONY APPLICATIONS
CN105550003A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Application updating system and method
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Application program upgrading method and terminal application program upgrading system
CN105824659A (en) * 2015-07-30 2016-08-03 广东维沃软件技术有限公司 Application program updating method and terminal equipment
CN107391196A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of application program update method and mobile terminal
CN107402777A (en) * 2016-05-20 2017-11-28 北京搜狗科技发展有限公司 A kind of resource regeneration method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
FR3020538A1 (en) * 2014-04-25 2015-10-30 Thales Sa DEVICE AND METHOD FOR MANAGING MOBILE TELEPHONY APPLICATIONS
CN105824659A (en) * 2015-07-30 2016-08-03 广东维沃软件技术有限公司 Application program updating method and terminal equipment
CN105550003A (en) * 2015-12-25 2016-05-04 北京奇虎科技有限公司 Application updating system and method
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Application program upgrading method and terminal application program upgrading system
CN107402777A (en) * 2016-05-20 2017-11-28 北京搜狗科技发展有限公司 A kind of resource regeneration method and electronic equipment
CN107391196A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of application program update method and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363305A (en) * 2021-12-27 2022-04-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium
CN114363305B (en) * 2021-12-27 2023-12-15 广东明创软件科技有限公司 Application updating method and device, electronic equipment and storage medium
CN114338533A (en) * 2021-12-30 2022-04-12 广东明创软件科技有限公司 Adjusting method, electronic equipment and computer storage medium
CN114338533B (en) * 2021-12-30 2024-05-28 广东明创软件科技有限公司 Adjustment method, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN109032648B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN109542689A (en) Applied program processing method, terminal and computer readable storage medium
CN109219021A (en) Operator's configuration file switching method, mobile terminal and readable storage medium storing program for executing
CN109086164A (en) A kind of application crashes processing method, terminal and computer readable storage medium
CN109819163A (en) A kind of image processing control, terminal and computer readable storage medium
CN109660973A (en) Bluetooth control method, mobile terminal and storage medium
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109766119A (en) Restore subregion upgrade method, terminal and computer readable storage medium
CN109618049A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN109710159A (en) A kind of flexible screen response method, equipment and computer readable storage medium
CN109978541A (en) Method of mobile payment, terminal and computer readable storage medium
CN110096099A (en) A kind of wearable device
CN109032648A (en) Update method, mobile terminal and the storage medium of application program
CN110064196A (en) Method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108801272A (en) A kind of road condition updating method, block chain apparatus and computer readable storage medium
CN108650281A (en) A kind of data managing method, device and computer readable storage medium
CN110187934A (en) Application control method, terminal and computer readable storage medium
CN110167004A (en) A kind of network registering method, mobile terminal and computer readable storage medium
CN110392163A (en) Put out screen control method, mobile terminal and computer readable storage medium
CN109714460A (en) Press key expansion device, terminal, key expansion method and storage medium
CN109388947A (en) A kind of back-stage management method, equipment and computer readable storage medium
CN110083423A (en) Interface jump method, terminal and computer readable storage medium
CN109918136A (en) Boot LOGO processing method, mobile terminal and the storage medium of mobile terminal
CN109831577A (en) Method for connecting network, terminal and computer readable storage medium
CN109739517A (en) Printed circuit board, terminal, firmware burning method and readable storage medium storing program for executing
CN109522034A (en) A kind of optimizing application method, terminal and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant