CN108391306A - A kind of charging method and mobile terminal - Google Patents

A kind of charging method and mobile terminal Download PDF

Info

Publication number
CN108391306A
CN108391306A CN201810079468.2A CN201810079468A CN108391306A CN 108391306 A CN108391306 A CN 108391306A CN 201810079468 A CN201810079468 A CN 201810079468A CN 108391306 A CN108391306 A CN 108391306A
Authority
CN
China
Prior art keywords
cache entry
cache
application program
data
mobile terminal
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
CN201810079468.2A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810079468.2A priority Critical patent/CN108391306A/en
Publication of CN108391306A publication Critical patent/CN108391306A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit
    • 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

Abstract

An embodiment of the present invention provides a kind of charging method and mobile terminals, wherein the method includes:In mobile terminal charging process, cache object list is determined, wherein the cache object list includes:Application program identification and the corresponding cache entry of each application program identification to be cached;Obtain that each cache entry is corresponding to be updated the data;It updates the data each cache entry of acquisition is corresponding, is buffered in local default memory space.The charging method provided through the embodiment of the present invention, it is data cached to save battery capacity in advance in charging process, it can be under the premise of influencing the usage experience of user, effective extension mobile terminal cruise duration.

Description

A kind of charging method and mobile terminal
Technical field
The present embodiments relate to technical field of mobile terminals more particularly to a kind of charging method and mobile terminals.
Background technology
Dependence with the rapid development and the young man that follows the fashion of mobile Internet to mobile terminal, mobile terminal It is more and more universal.User not only can whenever and wherever possible be connect by mobile terminal and be dialed, and can also be installed on mobile terminals each Kind application program, can be made a reservation by the application user installed, is done shopping, greatly facilitate the life of user on the net It is living.
The cruising ability of mobile terminal is one of core pain spot of user, user in routine use mobile terminal often There is the case where not enough power supply, influences the usage experience of user.Currently, the cruising ability for improving mobile terminal mainly can be from two Aspect is set about:First, increasing battery capacity, second is that saving battery power consumption.Due in the short time increase battery capacity difficulty have it is prominent Broken property progress, therefore extend the hot spot that research is grown to when mobile terminal continuation of the journey by saving battery power consumption at present.
It mainly opens the modes such as battery saving mode by closing backstage power consumption application program in the prior art and saves battery electricity Amount.But the existing mode for saving battery capacity exists as following drawbacks:Backstage power consumption application program is closed, when user is intended to use When the application program, needs to reopen the application program, influence the usage experience of user;It is mobile whole when opening battery saving mode Many functions in end will close, and influence the usage experience of user.As it can be seen that the existing mode for saving battery capacity, although one Determine can to save the consumption of battery capacity in program, but influences the usage experience of user.
Invention content
The embodiment of the present invention provides a kind of charging method, to solve to exist in the existing scheme for saving battery power consumption Influence user experience the problem of.
In order to solve the above-mentioned technical problem, the invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of charging method, it is applied to mobile terminal, wherein the method Including:In mobile terminal charging process, cache object list is determined, wherein the cache object list includes:To be cached Application program identification and the corresponding cache entry of each application program identification;Obtain that each cache entry is corresponding to be updated the data;By acquisition Each cache entry is corresponding to be updated the data, and is buffered in local default memory space.
Second aspect, an embodiment of the present invention provides a kind of mobile terminals, wherein the mobile terminal includes:Extract mould Block determines cache object list in mobile terminal charging process, wherein the cache object list includes:It waits caching Application program identification and the corresponding cache entry of each application program identification;Acquisition module, it is corresponding more for obtaining each cache entry New data;Cache module is buffered in for updating the data each cache entry obtained is corresponding in local default memory space.
The third aspect an embodiment of the present invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor The step of showing any charging method described in the embodiment of the present invention.
Fourth aspect, an embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, and any described in the embodiment of the present invention is realized when the computer program is executed by processor The step of kind charging method.
In embodiments of the present invention, by mobile terminal charging process in advance by each caching in cache object list Updating the data for item is cached to mobile terminal local, although electricity can be consumed by caching updating the data for each cache entry, due to Mobile terminal is connected with charge power supply, therefore the electricity that will not be lost in battery.After mobile terminal and power supply disconnect, user touches Hair when updating the data of certain cache entry of load, the searching data directly from local preset memory space, without passing through net Network downloads updating the data for the cache entry, therefore can save network and download consumed electricity and time, extends to reach The purpose in mobile terminal cruise duration.As it can be seen that the charging scheme provided in the embodiment of the present invention, caches in advance in charging process Data will not limit the operation of mobile terminal user, can not influence user experience to save battery capacity Under the premise of effectively extend cruise duration of mobile terminal.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various advantages and benefit are for ordinary skill people Member will become clear.Attached drawing is only used for showing preferred embodiment, and is not considered as limitation of the present invention.And In entire attached drawing, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one charging method;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two charging method;
Fig. 3 is a kind of structure diagram of according to embodiments of the present invention three mobile terminal;
Fig. 4 is a kind of hardware architecture diagram of according to embodiments of the present invention four mobile terminal.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of charging method of the embodiment of the present invention one is shown.
The charging method of the embodiment of the present invention includes the following steps:
Step 101:In mobile terminal charging process, cache object list is determined.
Multiple application programs are installed in mobile terminal, include in each application program at least one service entry for example: Public's WeChat ID or TV play etc., there are the possibility of data update for the service entry in application program.In actual use, it uses Family can check updating the data for each service entry, and the needs that update the data checked are downloaded from the corresponding server of application program, And the download of data is to consume the key factor of battery capacity.Therefore, in the embodiment of the present invention, user can be based on to being installed The service condition of each application program determine each application program power consumption, the frequency of use of each application program and each application program Corresponding communication stream magnitude can be determined application program to be cached based on any one of the above or many kinds of parameters and will wait delaying The application program identification deposited is added in cache object list;And for the application journey being each added in cache object list Sequence, the caching that the interest-degree of the service entry in the application program can be determined to be added in cache object list according to user , generate cache object list;It is not limited to, the corresponding cache entry of the application program can also be set by the user.
Cache object list stores in the terminal, can respectively apply journey to what is installed based on user by mobile terminal The service condition of sequence regularly updates.Update cycle can be configured by those skilled in the art according to actual demand, the present invention This is not particularly limited in embodiment.Such as:It is set as updating a cache object list or two weeks each week about A cache object list is updated, or updates cache object list etc. every other month.
Cache object list includes:Application program identification and the corresponding cache entry of each application program identification to be cached.Its In, application program identification can be the title of application program or the icon of application program.
With the power consumption height based on each application program installed in mobile terminal, application program to be cached is determined, and It will be for application icon be cached be added in cache object list.Such as:Mark is installed from 1-10 in mobile terminal Totally ten application programs, the historical operation of this ten application programs can determine by user be identified as 3 in ten application programs, 5, the power consumption of 6 and 7 four application programs is more than preset value, can be added into cache object list, and this four The power consumption of application program is ordered as 3 >, 6 >, 7 > 5 from big to small, therefore mark 3,6,7 and 5 is sequentially added to cache object In list.In addition, for be identified as 3 application program, determine the application program include from five service entries of A, B, C, D and E, The interested service entry of user is A, B and service entry A, B therefore is determined as being identified as 3 application higher than B to the interest-degree of A The corresponding cache entry of program, cache entry A, B is sequentially added in cache object list 3 correspondings with mark, is similarly determined and is identified It is added in cache object list for 6, the 7 and 5 corresponding cache entry of application program, generates cache object list.
Step 102:Obtain that each cache entry is corresponding to be updated the data.
In the embodiment of the present invention, in the case where mobile terminal connects charge power supply, by the corresponding clothes of application program Business device, which is sent, obtains the network request that cache entry updates the data, and carries out the corresponding download updated the data of cache entry, is consumed Electricity is provided by charge power supply, without consuming the electricity stored in battery.
During specific implementation, it can obtain that each cache entry is corresponding to be updated the data item by item;It can also obtain parallel more A cache entry is corresponding to be updated the data, to promote data buffer storage data.When obtaining that a certain cache entry is corresponding to be updated the data, open It opens corresponding application program imitation user's operation and clicks the cache entry and corresponding server progress network communication, obtain the cache entry pair That answers updates the data.
Step 103:It updates the data each cache entry of acquisition is corresponding, is buffered in local default memory space.
Cache entry correspond to it is each can be uniformly stored in local default memory space after the completion of updating the data acquisition, It can correspond in the storage most memory space of corresponding application assigned, it can be ensured that the later stage calls cache entry corresponding Can find corresponding data when updating the data, in the embodiment of the present invention for cache entry it is corresponding update the data it is specific Storage location is not specifically limited.
Charging method provided in an embodiment of the present invention, by mobile terminal charging process in advance by cache object list In each cache entry update the data caching to mobile terminal local, although electricity can be consumed by caching updating the data for each cache entry Amount, but since mobile terminal is connected with charge power supply, the electricity in battery will not be lost.When mobile terminal and power supply are disconnected After opening, user triggers when updating the data of certain cache entry of load, the searching data directly from local preset memory space, Without downloading updating the data for the cache entry by network, therefore network can be saved and download consumed electricity and time.From And achieve the purpose that extend mobile terminal cruise duration.As it can be seen that the charging method provided in the embodiment of the present invention, in charging process In in advance it is data cached to save battery capacity, user will not limit the operation of mobile terminal, can not influence Effectively extend the cruise duration of mobile terminal under the premise of user experience.
Embodiment two
With reference to Fig. 2, a kind of step flow chart of charging method of the embodiment of the present invention two is shown.
The charging method of the embodiment of the present invention specifically includes following steps:
Step 201:In mobile terminal charging process, cache object list is determined.
Mobile terminal has network communicating function, and network communication is one of the principal element of power consumption, therefore the present invention is real It applies in example, the height based on each application program network communication institute power consumption installed in mobile terminal generates cache object list, And under mobile terminal and charge power supply connection status, caching is updated the data to each cache entry based on cache object list, from And the consumption of battery capacity is saved, extend the cruise duration of mobile terminal.
Wherein, cache object list includes:According to the application program identification that communication stream magnitude size is ranked up, and it is each The corresponding cache entry according to interest-degree height arrangement of application program identification.
When the interest-degree of cache entry can be checked number and/or checked to the cache entry within a preset period of time based on user It is long to determine.Such as:It will check interest-degree of the number as cache entry;Such as:Check that duration summation is determined as the caching by each time The interest-degree of item;Again for example:It will check first sub- interest-degree of the number as cache entry;Such as:Duration summation is checked by each time It is determined as the second sub- interest-degree of the cache entry, by the first sub- interest-degree and the second sub- interest-degree weighted sum, by gained and value Interest-degree as cache entry.
A kind of mode preferably generating cache object list is as follows:
It determines in preset time period, the communication stream magnitude for each application program installed in mobile terminal;According to communication flows It is worth descending to the first sequence of each application program corresponding application program identification progress;First sequence is added to cache object In list;For each application program, the interest-degree for each cache entry that user contains application package is determined, and according to interest-degree The second sequence is carried out to each cache entry from high to low, the second sequence is added in buffer object list.
This kind generate cache object list mode, it can be ensured that institute's cache entry it is comprehensive.It should be noted that above-mentioned Only it is to list a kind of mode preferably generating cache object by way of example, is not limited to during specific implementation This, can also be arranged communication flows threshold value and interest-degree threshold value, the application program beyond communication flows threshold value is added to slow It deposits in list object, it is for each application program being added in cache object list, user interest degree under the application program is high It is determined as cache entry in the service entry of interest-degree threshold value to be added in cache object list.This kind generates the side of cache object list Formula, it can be ensured that often consult user, interested cache entry is added in cache object list, the buffer update number to be promoted According to called rate.
Step 202:From caching the corresponding first cache entry of the first application program identification in list object, obtain one by one Each cache entry is corresponding to be updated the data.
Obtain that the cache entry is corresponding updates the data from caching the first cache entry in list object, it can be ensured that will use Family most probable preview updates the data priority cache to local.
Step 203:It is updated the data for each cache entry is corresponding, determines the corresponding application program of cache entry, will cache Item is corresponding to be updated the data in the caching most sub- memory space of application assigned.
In the embodiment of the present invention, it is empty that an exclusive son storage is distributed respectively for each application program in cache object list Between, each cache entry under the application program is corresponding to be updated the data to store, and can either reduce the load searched and updated the data again Search speed can be promoted.
It should be noted that the sub- storage size for each application assigned can be the same or different.It is preferred that Ground is determined as the size of the sub- memory space of its distribution, this kind preferably method of salary distribution according to interapplication communications uninterrupted It being capable of reasonable distribution storage resource.Wherein, it is the corresponding communication flows of the size of the sub- memory space of application assigned Size is directly proportional.
Step 204:When detecting the selection operation to cache entry, searches and call from default memory space and selected Cache entry corresponding update the data.
It from local lookup, calls selected cache entry is corresponding to update the data, mobile terminal can be saved to corresponding clothes Business device sends network request and carries out the battery capacity that network communication is consumed.
Each cache entry for being cached in mobile terminal is corresponding to be updated the data, will be by when detecting that mobile terminal charges again It deletes, in case being cached again according to cache object list after charging complete again, each cache entry is corresponding to be updated the data.
Cache object list stores in the terminal, can respectively apply journey to what is installed based on user by mobile terminal The service condition of sequence regularly updates, it is a kind of preferably update cache object list mode be the update in conjunction with user to being cached The calling situation of data updates cache object list.Specifically, it counts in preset time period, presets each cache entry in memory space The corresponding called number updated the data;According to the number that is called, the row of application program identification in cache object list is adjusted The sequence of sequence and the corresponding cache entry of application program identification.This kind preferably updates the mode of cache object, can promote caching The goodness of fit of list object and user's practical operation demand.
Charging method provided in an embodiment of the present invention is beneficial possessed by charging method shown in embodiment one except having Outside effect, also charging method provided in an embodiment of the present invention in addition is distributed respectively for each application program in cache object list One exclusive sub- memory space, each cache entry under the application program is corresponding to be updated the data to store, and can either be reduced and be looked into It looks for the load updated the data that can promote search speed again, shortens user's request and check the corresponding response updated the data of cache entry Time, to promote the usage experience of user.
Embodiment three
With reference to Fig. 3, a kind of structure diagram of mobile terminal of the embodiment of the present invention three is shown.
The mobile terminal of the embodiment of the present invention may include:Extraction module 301 is used in mobile terminal charging process, Determine cache object list, wherein the cache object list includes:Application program identification to be cached and each application program mark Know corresponding cache entry;Acquisition module 302, for obtaining, each cache entry is corresponding to be updated the data;Cache module 303, being used for will Each cache entry of acquisition is corresponding to be updated the data, and is buffered in local default memory space.
Preferably, the mobile terminal further includes:Cache list generation module 304, for determining in preset time period, institute State the communication stream magnitude for each application program installed in mobile terminal;It is descending to each application program pair according to communication stream magnitude The application program identification answered carries out the first sequence;First sequence is added in cache object list;For each application Program determines the interest-degree for each cache entry that user includes to the application program, and according to interest-degree from high to low to each slow Credit balance carries out the second sequence, and second sequence is added in the buffer object list.
Preferably, the acquisition module 302 is specifically used for:First application program identification from the cache object list Corresponding first cache entry rises, and obtains that each cache entry is corresponding to be updated the data one by one.
Preferably, the mobile terminal further includes:Data call module 305, in the cache module by acquisition Each cache entry is corresponding to be updated the data, after being buffered in local default memory space, when detecting the selection behaviour to cache entry When making, is searched from the default memory space and call selected cache entry is corresponding to update the data.
Preferably, the mobile terminal further includes:Statistical module 306, in the cache module 303 by each of acquisition Cache entry is corresponding to be updated the data, and after being buffered in local default memory space, is counted in the preset time period, described pre- If the corresponding called number updated the data of each cache entry in memory space;Module 307 is adjusted, for according to described called Number adjusts the row of the sequence and the corresponding cache entry of application program identification of application program identification in the cache object list Sequence.
Preferably, the cache module 303 is specifically used for:It is updated the data for each cache entry is corresponding, described in determination Corresponding update the data of the cache entry is cached the son of the most described application assigned and deposited by the corresponding application program of cache entry It stores up in space.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 2 Each process, to avoid repeating, which is not described herein again.
Mobile terminal provided in an embodiment of the present invention, by mobile terminal charging process in advance by cache object list In each cache entry update the data caching to mobile terminal local, although electricity can be consumed by caching updating the data for each cache entry Amount, but since mobile terminal is connected with charge power supply, the electricity in battery will not be lost.When mobile terminal and power supply are disconnected After opening, user triggers when updating the data of certain cache entry of load, the searching data directly from local preset memory space, Without downloading updating the data for the cache entry by network, therefore network can be saved and download consumed electricity and time.From And achieve the purpose that extend mobile terminal cruise duration.As it can be seen that the mobile terminal provided in the embodiment of the present invention, in charging process In in advance it is data cached to save battery capacity, user will not limit the operation of mobile terminal, can not influence Effectively extend the cruise duration of mobile terminal under the premise of user experience.
Example IV
With reference to Fig. 4, a kind of hardware architecture diagram of mobile terminal of the embodiment of the present invention four is shown.Fig. 4 is to realize A kind of hardware architecture diagram of mobile terminal of each embodiment of the present invention, the mobile terminal 400 include but not limited to:Radio frequency Unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user are defeated Enter the components such as unit 407, interface unit 408, memory 409, processor 410 and power supply 411.Those skilled in the art can To understand, mobile terminal structure shown in Fig. 4 does not constitute the restriction to mobile terminal, and mobile terminal may include than diagram More or fewer components either combine certain components or different components arrangement.In embodiments of the present invention, mobile whole End includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and meter step Device etc..
Processor 410, in mobile terminal charging process, determining cache object list, wherein the cache object List includes:Application program identification and the corresponding cache entry of each application program identification to be cached;It is corresponding to obtain each cache entry It updates the data;It updates the data each cache entry of acquisition is corresponding, is buffered in local default memory space.
Mobile terminal provided in an embodiment of the present invention, by mobile terminal charging process in advance by cache object list In each cache entry update the data caching to mobile terminal local, although electricity can be consumed by caching updating the data for each cache entry Amount, but since mobile terminal is connected with charge power supply, the electricity in battery will not be lost.When mobile terminal and power supply are disconnected After opening, user triggers when updating the data of certain cache entry of load, the searching data directly from local preset memory space, Without downloading updating the data for the cache entry by network, therefore network can be saved and download consumed electricity and time.From And achieve the purpose that extend mobile terminal cruise duration.As it can be seen that the mobile terminal provided in the embodiment of the present invention, in charging process In in advance it is data cached to save battery capacity, user will not limit the operation of mobile terminal, can not influence Effectively extend the cruise duration of mobile terminal under the premise of user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 401 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 410 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 401 includes but not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 401 can also by radio communication system and network and other set Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 402 and has accessed, and such as user is helped to receive Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 403 can receive radio frequency unit 401 or network module 402 or in memory 409 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 403 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 400 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 403 includes loud speaker, buzzer and receiver etc..
Input unit 404 is for receiving audio or video signal.Input unit 404 may include graphics processor (Graphics Processing Unit, GPU) 4041 and microphone 4042, graphics processor 4041 is in video acquisition mode Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out Reason.Treated, and picture frame may be displayed on display unit 406.Through graphics processor 4041, treated that picture frame can be deposited Storage is sent in memory 409 (or other storage mediums) or via radio frequency unit 401 or network module 402.Mike Wind 4042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output of mobile communication base station can be sent to via radio frequency unit 401 by being converted in the case of telephone calling model.
Mobile terminal 400 further includes at least one sensor 405, 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 4061, and proximity sensor can close when mobile terminal 400 is moved in one's ear Display panel 4061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 405 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 406 is for showing information input by user or being supplied to the information of user.Display unit 406 can wrap Display panel 4061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 4061.
User input unit 407 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family is arranged and the related key signals input of function control.Specifically, user input unit 407 include touch panel 4071 and Other input equipments 4072.Touch panel 4071, also referred to as touch screen collect user on it or neighbouring touch operation (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 4071 or in touch panel 4071 Neighbouring operation).Touch panel 4071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 410, receiving area It manages the order that device 410 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch panel 4071.In addition to touch panel 4071, user input unit 407 can also include other input equipments 4072.Specifically, other input equipments 4072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 4071 can be covered on display panel 4061, when touch panel 4071 is detected at it On or near touch operation after, send processor 410 to determine the type of touch event, be followed by subsequent processing device 410 according to touch The type for touching event provides corresponding visual output on display panel 4061.Although in Fig. 4, touch panel 4071 and display Panel 4061 is to realize the function that outputs and inputs of mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 4071 and display panel 4061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place does not limit.
Interface unit 408 is the interface that external device (ED) is connect with mobile terminal 400.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 408 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 400 or can be used in 400 He of mobile terminal Transmission data between external device (ED).
Memory 409 can be used for storing software program and various data.Memory 409 can include mainly storing program area And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 409 may include high-speed random access memory, 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 410 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 409, and calls and is stored in storage Data in device 409 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Reason device 410 may include one or more processing units;Preferably, processor 410 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 410.
Mobile terminal 400 can also include the power supply 411 (such as battery) powered to all parts, it is preferred that power supply 411 Can be logically contiguous by power-supply management system and processor 410, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 400 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 410, and memory 409 is stored in On memory 409 and the computer program that can be run on the processor 410, the computer program are executed by processor 410 Each process of the above-mentioned charging method embodiments of Shi Shixian, and identical technique effect can be reached, to avoid repeating, here no longer It repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned charging method embodiment when being executed by processor, and can reach Identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), Magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within the protection of the present invention.

Claims (12)

1. a kind of charging method is applied to mobile terminal, which is characterized in that the method includes:
In mobile terminal charging process, cache object list is determined, wherein the cache object list includes:To be cached Application program identification and the corresponding cache entry of each application program identification;
Obtain that each cache entry is corresponding to be updated the data;
It updates the data each cache entry of acquisition is corresponding, is buffered in local default memory space.
2. according to the method described in claim 1, it is characterized in that, the cache object list generates in the following manner:
It determines in preset time period, the communication stream magnitude for each application program installed in the mobile terminal;
First sequence is carried out to the corresponding application program identification of each application program according to communication stream magnitude is descending;
First sequence is added in cache object list;
For each application program, the interest-degree for each cache entry that user includes to the application program is determined, and according to interest Degree carries out the second sequence to each cache entry from high to low, and second sequence is added in the buffer object list.
3. according to the method described in claim 2, it is characterized in that, described obtain the corresponding step updated the data of each cache entry Suddenly, including:
From the corresponding first cache entry of the first application program identification in the cache object list, each cache entry is obtained one by one It is corresponding to update the data.
4. according to the method described in claim 1, it is characterized in that, in the corresponding update number of each cache entry by acquisition According to being buffered in after the step in local default memory space, the method further includes:
When detecting the selection operation to cache entry, is searched from the default memory space and call selected cache entry It is corresponding to update the data.
5. according to the method described in claim 2, it is characterized in that, in the corresponding update number of each cache entry by acquisition According to being buffered in after the step in local default memory space, the method further includes:
It counts in the preset time period, corresponding called time updated the data of each cache entry in the default memory space Number;
According to the called number, the sequence of application program identification and application program mark in the cache object list are adjusted Know the sequence of corresponding cache entry.
6. according to the method described in claim 1, it is characterized in that, each cache entry by acquisition is corresponding updates the data, The step being buffered in local default memory space, including:
It is updated the data for each cache entry is corresponding, determines the corresponding application program of the cache entry, by the cache entry pair That answers updates the data in the sub- memory space for caching the most described application assigned.
7. a kind of mobile terminal, which is characterized in that including:
Extraction module, in mobile terminal charging process, determining cache object list, wherein the cache object list Including:Application program identification and the corresponding cache entry of each application program identification to be cached;
Acquisition module, for obtaining, each cache entry is corresponding to be updated the data;
Cache module is buffered in for updating the data each cache entry obtained is corresponding in local default memory space.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal further includes:
Cache list generation module, for determining in preset time period, each application program for being installed in the mobile terminal it is logical Letter flow magnitude;First sequence is carried out to the corresponding application program identification of each application program according to communication stream magnitude is descending;It will First sequence is added in cache object list;For each application program, determine that user includes to the application program Each cache entry interest-degree, and according to interest-degree from high to low to each cache entry carry out second sequence, described second is sorted It is added in the buffer object list.
9. mobile terminal according to claim 8, which is characterized in that the acquisition module is specifically used for:From the caching The corresponding first cache entry of first application program identification in list object rises, and obtains the corresponding update number of each cache entry one by one According to.
10. mobile terminal according to claim 7, which is characterized in that the mobile terminal further includes:
Data call module is buffered in local for being updated the data in the cache module by each cache entry of acquisition is corresponding After in default memory space, when detecting the selection operation to cache entry, searches and adjust from the default memory space It is updated the data with selected cache entry is corresponding.
11. mobile terminal according to claim 8, which is characterized in that the mobile terminal further includes:
Statistical module is buffered in local default for being updated the data in the cache module by each cache entry of acquisition is corresponding It after in memory space, counts in the preset time period, each cache entry is corresponding in the default memory space updates the data Called number;
Module is adjusted, for according to the called number, adjusting the sequence of application program identification in the cache object list, The sequence of cache entry corresponding with application program identification.
12. mobile terminal according to claim 7, which is characterized in that the cache module is specifically used for:
It is updated the data for each cache entry is corresponding, determines the corresponding application program of the cache entry, by the cache entry pair That answers updates the data in the sub- memory space for caching the most described application assigned.
CN201810079468.2A 2018-01-26 2018-01-26 A kind of charging method and mobile terminal Pending CN108391306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810079468.2A CN108391306A (en) 2018-01-26 2018-01-26 A kind of charging method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810079468.2A CN108391306A (en) 2018-01-26 2018-01-26 A kind of charging method and mobile terminal

Publications (1)

Publication Number Publication Date
CN108391306A true CN108391306A (en) 2018-08-10

Family

ID=63077469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810079468.2A Pending CN108391306A (en) 2018-01-26 2018-01-26 A kind of charging method and mobile terminal

Country Status (1)

Country Link
CN (1) CN108391306A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal
CN106201736A (en) * 2016-06-23 2016-12-07 珠海市魅族科技有限公司 Pre-cache method and device thereof
CN106533763A (en) * 2016-11-17 2017-03-22 广州优视网络科技有限公司 Method and device for downloading application update package and user terminal
CN107220079A (en) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 System version update method, storage device and the mobile terminal of a kind of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799447A (en) * 2012-06-19 2012-11-28 优视科技有限公司 Method and system for updating internal software of mobile terminal
US20140223423A1 (en) * 2013-02-05 2014-08-07 Apple Inc. Automatic Updating of Applications
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal
CN106201736A (en) * 2016-06-23 2016-12-07 珠海市魅族科技有限公司 Pre-cache method and device thereof
CN106533763A (en) * 2016-11-17 2017-03-22 广州优视网络科技有限公司 Method and device for downloading application update package and user terminal
CN107220079A (en) * 2017-05-04 2017-09-29 惠州Tcl移动通信有限公司 System version update method, storage device and the mobile terminal of a kind of mobile terminal

Similar Documents

Publication Publication Date Title
CN109905907A (en) A kind of method for searching network and mobile terminal
CN109788136A (en) Information display method and mobile terminal
CN109116965A (en) A kind of electricity saving method and mobile terminal
CN109885257A (en) A kind of disk file reading/writing method and device
CN110457086A (en) A kind of control method of application program, mobile terminal and server
CN107861730A (en) The processing method and mobile terminal of a kind of application program
CN109548117A (en) A kind of network selecting method and mobile terminal
CN110442437A (en) A kind of application switching method and mobile terminal
CN109217483A (en) A kind of charge power method of adjustment and device
CN109359017A (en) A kind of state information display method and mobile terminal
CN108322599A (en) A kind of Network Access Method and mobile terminal
CN107748640A (en) One kind puts out screen display methods and mobile terminal
CN109918193A (en) A kind of resource allocation methods and terminal device
CN110138972A (en) A kind of notifier processes method and device
CN110069675A (en) A kind of search method and mobile terminal
CN109522524A (en) A kind of text browsing methods and terminal device
CN109639887A (en) A kind of control method and terminal device
CN109195191A (en) A kind of cell reselection control method and terminal
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN108319833A (en) A kind of control method and mobile terminal of application program
CN108491219A (en) A kind of update method and mobile terminal of application
CN108549660A (en) Information-pushing method and device
CN110225136A (en) A kind of offline cache method and mobile terminal
CN110008184A (en) A kind of document handling method and electronic equipment
CN110099434A (en) A kind of power regulating method, terminal device 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180810

RJ01 Rejection of invention patent application after publication