CN106790450A - Method for caching and processing, device and server - Google Patents

Method for caching and processing, device and server Download PDF

Info

Publication number
CN106790450A
CN106790450A CN201611115335.3A CN201611115335A CN106790450A CN 106790450 A CN106790450 A CN 106790450A CN 201611115335 A CN201611115335 A CN 201611115335A CN 106790450 A CN106790450 A CN 106790450A
Authority
CN
China
Prior art keywords
application
terminal
information
cache
memory size
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
CN201611115335.3A
Other languages
Chinese (zh)
Other versions
CN106790450B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611115335.3A priority Critical patent/CN106790450B/en
Publication of CN106790450A publication Critical patent/CN106790450A/en
Application granted granted Critical
Publication of CN106790450B publication Critical patent/CN106790450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure is directed to a kind of method for caching and processing, device and server, wherein, the method includes:The cache information of each application that receiving terminal is uploaded, wherein, the cache information includes cache contents;Store the cache information of each application;Before it is determined that each application of terminal starts, terminal will be sent to the corresponding cache contents of each application, so that terminal loads and the corresponding cache contents of each application.Such that it is able to before each application of terminal startup, terminal will be sent to the corresponding cache contents of each application, so that terminal loads and the corresponding cache contents of each application, even if after exiting or exited because of not used for a long time because of exception so as to the application of terminal, the cache contents of application are just fallen clearly by terminal from tag memory, terminal can get respectively applies corresponding cache contents on high in the clouds, the volume that application can be reduced starts the time, improve the response speed of application, the startup and response of application can be accelerated, Consumer's Experience is improve.

Description

Method for caching and processing, device and server
Technical field
This disclosure relates to field of terminal technology, more particularly to method for caching and processing, device and server.
Background technology
With the application and development of terminal, terminal has become the important tool in people's live and work.Terminal is provided The function of caching.
In correlation technique, as long as the application in terminal started once, the system of terminal will be by using the resource that use It is cached, and then the cache information that will be applied is stored inside terminal;As long as the application is not killed or exited, user is next When using this again and apply because the cache information of the application is stored inside terminal, the application just can quickly start with Response.
But in correlation technique, if using because abnormal exit or because for a long time not by using exiting, application it is slow The information of depositing will clearly be fallen by terminal from tag memory, and when at this moment user goes to be applied using this again, the startup of application will Relatively slow, the response of application is also relatively slow, and then have impact on Consumer's Experience.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of method for caching and processing, device and server, use If in solving to be exited or because of long-time not by using exiting using because of exception in the prior art, the cache information of application is just Can clearly be fallen from tag memory by terminal, when at this moment user goes to be applied using this again, the startup of application will be relatively slow, application Response it is also relatively slow, and then have impact on the problem of Consumer's Experience.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of method for caching and processing, including:
The cache information of each application that receiving terminal is uploaded, wherein, the cache information includes cache contents;
Store the cache information of each application;
Before it is determined that each application of terminal starts, terminal will be sent to the corresponding cache contents of each application, so that eventually End loading and the corresponding cache contents of each application.
Further, the cache information also includes:The startup time;
After the cache information of each application of storage, also include:
According to the cache information of each application, the frequency of use of each application is counted;
According to the frequency of use of each application, application of the frequency of use more than predeterminated frequency is determined;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, with Make terminal loads and the corresponding cache contents of each application, including:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size The corresponding application of information;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Further, the cache information also includes:The startup time;
After the cache information of each application of storage, also include:
The selection information of user is received, the selection information includes the name of the application of the loading cache information of user's selection Claim;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, with Make terminal loads and the corresponding cache contents of each application, including:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information Using;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Further, ID is also included in the cache information;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, with Make terminal loads and the corresponding cache contents of each application, including:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in terminal corresponding with ID Under the well-to-do state of network broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, with Make terminal loads corresponding with ID with the corresponding cache information of each application.
Further, the cache information of each application that the receiving terminal is uploaded, including:
Receiving terminal under the well-to-do state of network broadband resource, the cache information of each application of upload.
Further, the cache information of each application of storage, including:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the storage of cache information according to each application to each application is delayed The information of depositing is updated;
If the memory buffers information without each application, stores the cache information of each application.
The technical scheme provided by this disclosed embodiment can include the following benefits:By each of receiving terminal upload The cache information of application, wherein, cache information includes cache contents;Store the cache information of each application;It is determined that terminal it is each Before using startup, terminal will be sent to the corresponding cache contents of each application, so that terminal loads are corresponding with each application slow Deposit content.Such that it is able to before each application of terminal startup, terminal will be sent to the corresponding cache contents of each application so that Terminal loads and the corresponding cache contents of each application, even if so that the application of terminal because it is abnormal exit or because for a long time not by Using and after exiting, the cache contents of application are just fallen clearly by terminal from tag memory, and terminal can get cloud It is each on end to apply corresponding cache contents, it is possible to reduce the volume of application starts the time, the response speed of application is improved, can accelerate The startup and response of application, improve Consumer's Experience.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of buffer processing device, including:
Receiver module, is configured as the cache information of each application of receiving terminal upload, wherein, the cache information includes Cache contents;
Memory module, is configured as storing the cache information of each application;
Load-on module, was configured as before it is determined that each application of terminal starts, will be with the corresponding cache contents of each application Terminal is sent to, so that terminal loads and the corresponding cache contents of each application.
Further, the cache information also includes:The startup time;
Described device, also includes:
Statistical module, is configured as after the cache information that the memory module stores each application, according to each application Cache information, counts the frequency of use of each application;According to the frequency of use of each application, determine frequency of use more than predeterminated frequency Using;
The load-on module, is specifically configured to:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size The corresponding application of information;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Further, the cache information also includes:The startup time;
Described device, also includes:
Selecting module, is configured as after the cache information that the memory module stores each application, receives the choosing of user Information is selected, the selection information includes the title of the application of the loading cache information of user's selection;
The load-on module, is specifically configured to:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information Using;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Further, ID is also included in the cache information;
The load-on module, is specifically configured to:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in terminal corresponding with ID Under the well-to-do state of network broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, with Make terminal loads corresponding with ID with the corresponding cache information of each application.
Further, the receiver module, is specifically configured to:
Receiving terminal under the well-to-do state of network broadband resource, the cache information of each application of upload.
Further, the memory module, is specifically configured to:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the storage of cache information according to each application to each application is delayed The information of depositing is updated;
If the memory buffers information without each application, stores the cache information of each application.
The technical scheme provided by this disclosed embodiment can include the following benefits:By each of receiving terminal upload The cache information of application, wherein, cache information includes cache contents;Store the cache information of each application;It is determined that terminal it is each Before using startup, terminal will be sent to the corresponding cache contents of each application, so that terminal loads are corresponding with each application slow Deposit content.Such that it is able to before each application of terminal startup, terminal will be sent to the corresponding cache contents of each application so that Terminal loads and the corresponding cache contents of each application, even if so that the application of terminal because it is abnormal exit or because for a long time not by Using and after exiting, the cache contents of application are just fallen clearly by terminal from tag memory, and terminal can get cloud It is each on end to apply corresponding cache contents, it is possible to reduce the volume of application starts the time, the response speed of application is improved, can accelerate The startup and response of application, improve Consumer's Experience.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of server, including:
Processor, and for storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The cache information of each application that receiving terminal is uploaded, wherein, the caching Information includes cache contents;Store the cache information of each application;Before it is determined that each application of terminal starts, will be with each application pair The cache contents answered are sent to terminal, so that terminal loads and the corresponding cache contents of each application.
The technical scheme provided by this disclosed embodiment can include the following benefits:By each of receiving terminal upload The cache information of application, wherein, cache information includes cache contents;Store the cache information of each application;It is determined that terminal it is each Before using startup, terminal will be sent to the corresponding cache contents of each application, so that terminal loads are corresponding with each application slow Deposit content.Such that it is able to before each application of terminal startup, terminal will be sent to the corresponding cache contents of each application so that Terminal loads and the corresponding cache contents of each application, even if so that the application of terminal because it is abnormal exit or because for a long time not by Using and after exiting, the cache contents of application are just fallen clearly by terminal from tag memory, and terminal can get cloud It is each on end to apply corresponding cache contents, it is possible to reduce the volume of application starts the time, the response speed of application is improved, can accelerate The startup and response of application, improve Consumer's Experience.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
Fig. 1 is a kind of flow chart of the method for caching and processing embodiment one according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the method for caching and processing embodiment two according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the method for caching and processing embodiment three according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the method for caching and processing example IV according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the buffer processing device embodiment five according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of the buffer processing device embodiment six according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of the entity of the server according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of the server apparatus 800 according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the method for caching and processing embodiment one according to an exemplary embodiment, such as Fig. 1 institutes Show, method for caching and processing is used in cloud server, and the method is comprised the following steps.
In step s 11, the cache information of each application that receiving terminal is uploaded, wherein, the cache information includes caching Content.
Wherein, the specific implementation of step S11 is:Receiving terminal under the well-to-do state of network broadband resource, upload The cache information of each application.
In this step, when each application of terminal starts or after usage, each application can have cache information;Eventually The cache information of each application is left on the internal memory at end;Terminal can upload the cache information of each application to cloud server, wherein, The cache information includes cache contents.
Specifically, terminal can be when terminal be under the well-to-do state of network broadband resource, by the slow of each application The information of depositing is uploaded in cloud server, and then cloud server can be under the well-to-do state of network broadband resource with receiving terminal When the cache information of each application that uploads.
For example, when during terminal is in free wireless network and when taking broadband network without application, it may be determined that Terminal is in the well-to-do state of network broadband resource, and now the cache information of each application can just be uploaded to cloud server by terminal In;Or, when terminal is in free wireless network and bandwidth value is more than certain threshold value, now terminal just can respectively The cache information of application is uploaded in cloud server.
In step s 12, the cache information of each application is stored.
Wherein, the specific implementation of step S12 is:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the storage of cache information according to each application to each application is delayed The information of depositing is updated;
If the memory buffers information without each application, stores the cache information of each application.
In this step, the cache information of each application that cloud server uploads terminal is stored.Specifically, cloud End server first determine whether to be stored with the terminal each application memory buffers information;If the storage with the terminal Cache information, then cloud server the information of memory buffers of each application can be carried out more according to the cache information of each application Newly, and then cloud server will be updated in the cache information of the terminal beyond the clouds server;If having deposited with the terminal Cache information is stored up, then cloud server can directly store the cache information of each application of the terminal.
In step s 13, before it is determined that each application of terminal starts, will be sent to the corresponding cache contents of each application Terminal, so that terminal loads and the corresponding cache contents of each application.
In this step, before it is determined that each application of terminal starts, cloud server will be with each application for cloud server Corresponding cache contents are sent to terminal so that terminal is received and loaded and each application pair with after the corresponding cache contents of each application The cache contents answered.And then terminal can be according to the load and corresponding cache contents of each application, deactivation, each application of response.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;Before it is determined that each application of terminal starts, cache contents corresponding with each application are sent To terminal, so that terminal loads and the corresponding cache contents of each application.Such that it is able to before each application of terminal startup, will be with Respectively terminal is sent to using corresponding cache contents so that terminal loads and the corresponding cache contents of each application, even if so that eventually After the application at end is exited or exited because of not used for a long time because of exception, the cache contents of application are just by terminal from end Fall clearly in end memory, terminal can get respectively applies corresponding cache contents on high in the clouds, it is possible to reduce the volume of application The startup time, the response speed of application is improved, the startup and response of application can be accelerated, improve Consumer's Experience.
On the basis of the embodiment shown in above-mentioned Fig. 1, Fig. 2 is at a kind of caching according to an exemplary embodiment The flow chart of embodiment of the method two is managed, as shown in Fig. 2 the cache information also includes:The startup time;
After step s 12, also include:
In the step s 21, according to the cache information of each application, the frequency of use of each application is counted;According to making for each application With frequency, application of the frequency of use more than predeterminated frequency is determined.
In this step, after the cache information of each application that cloud server uploads terminal is stored, high in the clouds clothes The startup time in the cache information of each application that business device is received according to different time, count the frequency of use of each application; Then cloud server determines application of the frequency of use more than predeterminated frequency, and then determine according to the frequency of use of each application Go out the application of frequency of use high.
The specific implementation of step S13 is:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size The corresponding application of information;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
In this step, in the cache information of the application that cloud server just can be more than predeterminated frequency according to frequency of use The startup time, determine frequency of use more than predeterminated frequency application the startup time.Then, cloud server obtains current The memory size information of terminal, determines frequency of use more than application corresponding with memory size information in the application of predeterminated frequency. So as to, cloud server is according to the startup time of application corresponding with memory size information, corresponding with memory size information Before using startup, determine present terminal be in the well-to-do state of network broadband resource under when, cloud server will and with The memory size information corresponding cache contents of corresponding application are sent to present terminal, then present terminal can just load and with The corresponding cache contents of the corresponding application of memory size information.And then present terminal can according to loading and with memory size believe The corresponding cache contents of the corresponding application of breath, deactivation, each application of response.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;According to the cache information of each application, the frequency of use of each application is counted;According to making for each application With frequency, application of the frequency of use more than predeterminated frequency is determined;The memory size information of terminal is obtained, determines that frequency of use is more than Application corresponding with memory size information in the application of predeterminated frequency;During startup according to application corresponding with memory size information Between, before application corresponding with memory size information startup, and under the well-to-do state of network broadband resource of terminal, will and with The memory size information corresponding cache contents of corresponding application are sent to terminal so that terminal loads and with memory size information pair The corresponding cache contents of application answered.Such that it is able to each application of terminal startup before, will with the corresponding caching of each application Appearance is sent to terminal so that terminal loads and the corresponding cache contents of each application, even if so that the application of terminal is because abnormal move back After going out or being exited because of not used for a long time, the cache contents of application are just fallen clearly by terminal from tag memory, terminal Can get and corresponding cache contents are respectively applied on high in the clouds, it is possible to reduce the volume of application starts the time, improve application Response speed, can accelerate application startup and response, improve Consumer's Experience.
On the basis of the embodiment shown in above-mentioned Fig. 1, Fig. 3 is at a kind of caching according to an exemplary embodiment The flow chart of embodiment of the method three is managed, as shown in figure 3, the cache information also includes:The startup time;
After step s 12, also include:
In step S31, the selection information of user is received, the selection information includes the loading cache information of user's selection Application title.
In this step, after the cache information of each application that cloud server uploads terminal is stored, Yong Huke The title of the application to select to need in the terminal to load cache information, then terminal generation carries the loading of user's selection and delays Selection information is sent to cloud server by the selection information of the title of stored application, terminal;So as to cloud server connects Receive the selection information that user is sent by terminal.
The specific implementation of step S13 is:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information Using;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
In this step, cloud server just can according to the startup in the cache information of the application in selection information when Between, determine the startup time of the application in selection information.Then, cloud server obtains the memory size letter of present terminal Breath, it is determined that application corresponding with memory size information in application in selection information.So as to cloud server is according to big with internal memory The startup time of the corresponding application of small information, before application corresponding with memory size information startup, determine present terminal When under the well-to-do state of network broadband resource, cloud server will and it is corresponding with memory size information application it is corresponding Cache contents are sent to present terminal, and then present terminal can just be loaded and application corresponding with memory size information is corresponding Cache contents.And then present terminal can according to the loading and corresponding cache contents of application corresponding with memory size information, Deactivation, each application of response.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;The selection information of user is received, selection information includes the loading cache information of user's selection The title of application;The memory size information of terminal is obtained, it is determined that corresponding with memory size information in application in selection information Using;According to the startup time of application corresponding with memory size information, it is started in application corresponding with memory size information Before, and under the well-to-do state of network broadband resource of terminal, will and the corresponding caching of application corresponding with memory size information in Appearance is sent to terminal, so that terminal loads and the corresponding cache contents of application corresponding with memory size information.Such that it is able to Before each application of terminal starts, terminal will be sent to the corresponding cache contents of each application so that terminal loads and each application Corresponding cache contents, even if so that the application of terminal because it is abnormal exit or exited because of not used for a long time after, The cache contents of application are just fallen clearly by terminal from tag memory, and terminal can be got on high in the clouds respectively using corresponding Cache contents, it is possible to reduce the volume of application starts the time, improve the response speed of application, can accelerate startup and the sound of application Should, improve Consumer's Experience.
On the basis of the embodiment shown in above-mentioned Fig. 1, Fig. 4 is at a kind of caching according to an exemplary embodiment The flow chart of embodiment of the method four is managed, as shown in figure 4, also including ID in the cache information;
The specific implementation of step S13 is:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in terminal corresponding with ID Under the well-to-do state of network broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, with Make terminal loads corresponding with ID with the corresponding cache information of each application.
In this step, ID is also included in cache information.ID can be corresponding from different terminals. Cloud server determines terminal corresponding with ID first.Cloud server is it is determined that corresponding with ID terminal Before each application starts, cloud server will be sent to terminal corresponding with ID with the corresponding cache contents of each application, So that terminal corresponding with ID is received and loaded after the corresponding cache contents of each application and the corresponding caching of each application Content.And then terminal corresponding with ID can be according to loading and the corresponding cache contents of each application, deactivation, response Each application.
Such that it is able to the corresponding cache contents loading of each application is given into the corresponding terminal of ID, and ID is only Corresponding with user, ID can be corresponding from different terminals, and then can add the corresponding cache contents of each application Carry to different terminals so that same user can use the cache contents of each application in different terminals.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;It is determined that terminal corresponding with ID;It is determined that terminal corresponding with ID it is each Before using startup, and under the well-to-do state of network broadband resource of terminal corresponding with ID, will be corresponding with each application Cache information be sent to terminal corresponding with ID so that terminal loads corresponding with ID are corresponding with each application Cache information.Such that it is able to before each application of terminal startup, terminal will be sent to the corresponding cache contents of each application, So that terminal loads and the corresponding cache contents of each application, even if so that the application of terminal is because abnormal exit or because long-time Do not used and after exiting, the cache contents of application are just fallen clearly by terminal from tag memory, and terminal can be obtained Corresponding cache contents are respectively applied on to high in the clouds, it is possible to reduce the volume of application starts the time, improve the response speed of application, can be with Accelerate the startup and response of application, improve Consumer's Experience.And it is possible to the corresponding cache contents of each application are loaded to not Same terminal so that same user can use the cache contents of each application in different terminals.
Fig. 5 is a kind of block diagram of the buffer processing device embodiment five according to an exemplary embodiment.Reference picture 5, The device includes:
Receiver module 41, is configured as the cache information of each application of receiving terminal upload, wherein, the cache information bag Include cache contents;
Memory module 42, is configured as storing the cache information of each application;
Load-on module 43, be configured as it is determined that terminal each application start before, will with the corresponding caching of each application Appearance is sent to terminal, so that terminal loads and the corresponding cache contents of each application.
Wherein, the receiver module 41, is specifically configured to:
Receiving terminal under the well-to-do state of network broadband resource, the cache information of each application of upload.
The memory module 43, is specifically configured to:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the storage of cache information according to each application to each application is delayed The information of depositing is updated;
If the memory buffers information without each application, stores the cache information of each application.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment one in be described in detail, explanation will be not set forth in detail herein.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;Before it is determined that each application of terminal starts, cache contents corresponding with each application are sent To terminal, so that terminal loads and the corresponding cache contents of each application.Such that it is able to before each application of terminal startup, will be with Respectively terminal is sent to using corresponding cache contents so that terminal loads and the corresponding cache contents of each application, even if so that eventually After the application at end is exited or exited because of not used for a long time because of exception, the cache contents of application are just by terminal from end Fall clearly in end memory, terminal can get respectively applies corresponding cache contents on high in the clouds, it is possible to reduce the volume of application The startup time, the response speed of application is improved, the startup and response of application can be accelerated, improve Consumer's Experience.
On the basis of the embodiment shown in above-mentioned Fig. 5, Fig. 6 is at a kind of caching according to an exemplary embodiment Manage the block diagram of device embodiment six.Reference picture 6, the cache information also includes:The startup time;
Described device, also includes:
Statistical module 44, is configured as after the cache information that the memory module 42 stores each application, according to respectively should Cache information, counts the frequency of use of each application;According to the frequency of use of each application, determine frequency of use more than default frequency The application of rate;
The load-on module 43, is specifically configured to:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size The corresponding application of information;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Or, the cache information also includes:The startup time;
Described device, also includes:
Selecting module 45, is configured as after the cache information that the memory module 42 stores each application, receives user Selection information, the selection information include user selection loading cache information application title;
The load-on module 43, is specifically configured to:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information Using;
According to the startup time of application corresponding with the memory size information, corresponding with the memory size information Before using startup, and under the well-to-do state of network broadband resource of terminal, will and it is corresponding with the memory size information should Terminal is sent to corresponding cache contents, so that terminal loads and application corresponding with the memory size information are corresponding slow Deposit content.
Or, ID is also included in the cache information;
The load-on module 43, is specifically configured to:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in terminal corresponding with ID Under the well-to-do state of network broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, with Make terminal loads corresponding with ID with the corresponding cache information of each application.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment two, embodiment three and example IV in be described in detail, explanation will be not set forth in detail herein.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;Before it is determined that each application of terminal starts, cache contents corresponding with each application are sent To terminal, so that terminal loads and the corresponding cache contents of each application.Such that it is able to before each application of terminal startup, will be with Respectively terminal is sent to using corresponding cache contents so that terminal loads and the corresponding cache contents of each application, even if so that eventually After the application at end is exited or exited because of not used for a long time because of exception, the cache contents of application are just by terminal from end Fall clearly in end memory, terminal can get respectively applies corresponding cache contents on high in the clouds, it is possible to reduce the volume of application The startup time, the response speed of application is improved, the startup and response of application can be accelerated, improve Consumer's Experience.Also, can Loaded to different terminals with by the corresponding cache contents of each application so that same user can use in different terminals The cache contents of each application.
Fig. 7 is a kind of block diagram of the entity of the server according to an exemplary embodiment.Reference picture 7, the server Can be implemented as:Processor 51, and it is configured as storing the memory 52 of processor-executable instruction;
Wherein, the processor 51 is configured as:The cache information of each application that receiving terminal is uploaded, wherein, it is described slow Depositing information includes cache contents;Store the cache information of each application;Before it is determined that each application of terminal starts, will be with each application Corresponding cache contents are sent to terminal, so that terminal loads and the corresponding cache contents of each application.
In the above-described embodiments, it should be appreciated that the processor can be CPU (English:Central Processing Unit, referred to as:CPU), can also be other general processors, digital signal processor (English:Digital Signal Processor, referred to as:DSP), application specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor can also be any conventional place Reason device etc., and foregoing memory can be read-only storage (English:Read-only memory, abbreviation:ROM), deposit at random Access to memory (English:Random access memory, referred to as:RAM), flash memory, hard disk or solid state hard disc.SIM Card is also referred to as subscriber identification card, smart card, and digital mobile telephone must load onto this card and can use.I.e. in computer chip On store the information of digital mobile phone client, the content such as the key of encryption and the telephone directory of user.With reference to of the invention real The step of applying the method disclosed in example can be embodied directly in hardware processor and perform completion, or with the hardware in processor and Software module combination performs completion.
On the server in above-described embodiment, wherein modules perform the concrete mode of operation in the relevant party It has been described in detail in the embodiment of method and device, explanation will be not set forth in detail herein.
The cache information of each application that the present embodiment is uploaded by receiving terminal, wherein, cache information includes cache contents; Store the cache information of each application;Before it is determined that each application of terminal starts, cache contents corresponding with each application are sent To terminal, so that terminal loads and the corresponding cache contents of each application.Such that it is able to before each application of terminal startup, will be with Respectively terminal is sent to using corresponding cache contents so that terminal loads and the corresponding cache contents of each application, even if so that eventually After the application at end is exited or exited because of not used for a long time because of exception, the cache contents of application are just by terminal from end Fall clearly in end memory, terminal can get respectively applies corresponding cache contents on high in the clouds, it is possible to reduce the volume of application The startup time, the response speed of application is improved, the startup and response of application can be accelerated, improve Consumer's Experience.
Fig. 8 is a kind of block diagram of the server apparatus 800 according to an exemplary embodiment.For example, server apparatus 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment sets It is standby, body-building equipment, personal digital assistant etc..
Reference picture 8, server apparatus 800 can include following one or more assemblies:Processing assembly 802, memory 804, power supply module 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and communication component 816.
The integrated operation of the generally control server apparatus 800 of processing assembly 802, such as with display, call, data are led to Letter, camera operation and the associated operation of record operation.Processing assembly 802 can include one or more processors 820 to hold Row instruction, to complete all or part of step of above-mentioned method.Additionally, processing assembly 802 can include one or more moulds Block, is easy to the interaction between processing assembly 802 and other assemblies.For example, processing assembly 802 can include multi-media module, with Facilitate the interaction between multimedia groupware 808 and processing assembly 802.
Memory 804 is configured as storing various types of data supporting the operation in server apparatus 800.These numbers According to example include on server apparatus 800 operate any application program or method instruction, contact data, electricity Words book data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or The realization of person's combinations thereof, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic storage Device, flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of server apparatus 800.Power supply module 806 can include power supply Management system, one or more power supplys, and other generate, manage and distribute the group that electric power is associated with for server apparatus 800 Part.
Multimedia groupware 808 is included in one screen of output interface of offer between the server apparatus 800 and user Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel is touched including one or more Sensor is touched with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or cunning The border of action, but also the detection duration related to the touch or slide and pressure.In some embodiments In, multimedia groupware 808 includes a front camera and/or rear camera.When server apparatus 800 are in operation mould When formula, such as screening-mode or video mode, front camera and/or rear camera can receive outside multi-medium data. Each front camera and rear camera can be a fixed optical lens systems or with focal length and optical zoom energy Power.
Audio-frequency assembly 810 is configured as output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when server apparatus 800 are in operator scheme, such as call model, logging mode and speech recognition mode, Mike Wind is configured as receiving external audio signal.The audio signal for being received can be further stored memory 804 or via Communication component 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a loudspeaker, for exports audio signal.
, to provide interface between processing assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, the shape for providing various aspects for server apparatus 800 State is assessed.For example, sensor cluster 814 can detect the opening/closed mode of server apparatus 800, component it is relatively fixed Position, such as described component is the display and keypad of server apparatus 800, and sensor cluster 814 can be with detection service device The position of 800 1 components of equipment 800 or server apparatus changes, presence or do not deposit that user contacts with server apparatus 800 In the temperature change of the orientation of server apparatus 800 or acceleration/deceleration and server apparatus 800.Sensor cluster 814 can be wrapped Proximity transducer is included, the presence of the object near detection when without any physical contact is configured to.Sensor cluster 814 Optical sensor, such as CMOS or ccd image sensor can also be included, for being used in imaging applications.In certain embodiments, The sensor cluster 814 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature Sensor.
Communication component 816 is configured to facilitate the logical of wired or wireless way between server apparatus 800 and other equipment Letter.Server apparatus 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives the broadcast singal from external broadcasting management system via broadcast channel Or broadcast related information.In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, with Promote junction service.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, server apparatus 800 can by one or more application specific integrated circuits (ASIC), Digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field-programmable gate array Row (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 804 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 820 of server apparatus 800. For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the treatment of mobile terminal When device is performed so that mobile terminal is able to carry out a kind of method for caching and processing, and methods described includes:
The cache information of each application that receiving terminal is uploaded, wherein, the cache information includes cache contents;
Store the cache information of each application;
Before it is determined that each application of terminal starts, terminal will be sent to the corresponding cache contents of each application, so that eventually End loading and the corresponding cache contents of each application.
Those skilled in the art considering specification and after putting into practice invention disclosed herein, will readily occur to it is of the invention its Its embodiment.The application is intended to any modification of the invention, purposes or adaptations, these modifications, purposes or Person's adaptations follow general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture being described above and be shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present invention is only limited by appended claim.

Claims (13)

1. a kind of method for caching and processing, it is characterised in that including:
The cache information of each application that receiving terminal is uploaded, wherein, the cache information includes cache contents;
Store the cache information of each application;
Before it is determined that each application of terminal starts, terminal will be sent to the corresponding cache contents of each application, so that terminal adds Carry and the corresponding cache contents of each application.
2. method according to claim 1, it is characterised in that the cache information also includes:The startup time;
After the cache information of each application of storage, also include:
According to the cache information of each application, the frequency of use of each application is counted;
According to the frequency of use of each application, application of the frequency of use more than predeterminated frequency is determined;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, so that eventually End loading and the corresponding cache contents of each application, including:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size information Corresponding application;
According to the startup time of application corresponding with the memory size information, in application corresponding with the memory size information Before startup, and under the well-to-do state of network broadband resource of terminal, will and application pair corresponding with the memory size information The cache contents answered are sent to terminal, so that in terminal loads and the corresponding caching of application corresponding with the memory size information Hold.
3. method according to claim 1, it is characterised in that the cache information also includes:The startup time;
After the cache information of each application of storage, also include:
The selection information of user is received, the selection information includes the title of the application of the loading cache information of user's selection;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, so that eventually End loading and the corresponding cache contents of each application, including:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information should With;
According to the startup time of application corresponding with the memory size information, in application corresponding with the memory size information Before startup, and under the well-to-do state of network broadband resource of terminal, will and application pair corresponding with the memory size information The cache contents answered are sent to terminal, so that in terminal loads and the corresponding caching of application corresponding with the memory size information Hold.
4. method according to claim 1, it is characterised in that also include ID in the cache information;
It is described to be sent to terminal with the corresponding cache contents of each application before it is determined that each application of terminal starts, so that eventually End loading and the corresponding cache contents of each application, including:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in the network of terminal corresponding with ID Under the well-to-do state of broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, so that with The corresponding terminal loads of ID and the corresponding cache information of each application.
5. the method according to claim any one of 1-4, it is characterised in that each application that the receiving terminal is uploaded it is slow Information is deposited, including:
Receiving terminal under the well-to-do state of network broadband resource, the cache information of each application of upload.
6. the method according to claim any one of 1-4, it is characterised in that the cache information of each application of storage, bag Include:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the cache information according to each application is believed the memory buffers of each application Breath is updated;
If the memory buffers information without each application, stores the cache information of each application.
7. a kind of buffer processing device, it is characterised in that including:
Receiver module, is configured as the cache information of each application of receiving terminal upload, wherein, the cache information includes caching Content;
Memory module, is configured as storing the cache information of each application;
Load-on module, was configured as before it is determined that each application of terminal starts, and cache contents corresponding with each application are sent To terminal, so that terminal loads and the corresponding cache contents of each application.
8. device according to claim 7, it is characterised in that the cache information also includes:The startup time;
Described device, also includes:
Statistical module, is configured as after the cache information that the memory module stores each application, according to the caching of each application Information, counts the frequency of use of each application;According to the frequency of use of each application, frequency of use answering more than predeterminated frequency is determined With;
The load-on module, is specifically configured to:
Obtain terminal memory size information, determine frequency of use more than predeterminated frequency application in the memory size information Corresponding application;
According to the startup time of application corresponding with the memory size information, in application corresponding with the memory size information Before startup, and under the well-to-do state of network broadband resource of terminal, will and application pair corresponding with the memory size information The cache contents answered are sent to terminal, so that in terminal loads and the corresponding caching of application corresponding with the memory size information Hold.
9. device according to claim 7, it is characterised in that the cache information also includes:The startup time;
Described device, also includes:
Selecting module, is configured as after the cache information that the memory module stores each application, receives the selection letter of user Breath, the selection information includes the title of the application of the loading cache information of user's selection;
The load-on module, is specifically configured to:
The memory size information of terminal is obtained, it is determined that corresponding with the memory size information in application in selection information should With;
According to the startup time of application corresponding with the memory size information, in application corresponding with the memory size information Before startup, and under the well-to-do state of network broadband resource of terminal, will and application pair corresponding with the memory size information The cache contents answered are sent to terminal, so that in terminal loads and the corresponding caching of application corresponding with the memory size information Hold.
10. device according to claim 7, it is characterised in that also include ID in the cache information;
The load-on module, is specifically configured to:
It is determined that terminal corresponding with ID;
Before it is determined that each application of terminal corresponding with ID starts, and in the network of terminal corresponding with ID Under the well-to-do state of broadband resource, terminal corresponding with ID will be sent to the corresponding cache information of each application, so that with The corresponding terminal loads of ID and the corresponding cache information of each application.
11. device according to claim any one of 7-10, it is characterised in that the receiver module, is specifically configured to:
Receiving terminal under the well-to-do state of network broadband resource, the cache information of each application of upload.
12. device according to claim any one of 7-10, it is characterised in that the memory module, is specifically configured to:
Determine whether the memory buffers information with each application;
If the memory buffers information with each application, the cache information according to each application is believed the memory buffers of each application Breath is updated;
If the memory buffers information without each application, stores the cache information of each application.
A kind of 13. servers, it is characterised in that including:
Processor, and for storing the memory of processor-executable instruction;
Wherein, the processor is configured as:The cache information of each application that receiving terminal is uploaded, wherein, the cache information Including cache contents;Store the cache information of each application;Before it is determined that each application of terminal starts, will be corresponding with each application Cache contents are sent to terminal, so that terminal loads and the corresponding cache contents of each application.
CN201611115335.3A 2016-12-07 2016-12-07 Method for caching and processing, device and server Active CN106790450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611115335.3A CN106790450B (en) 2016-12-07 2016-12-07 Method for caching and processing, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611115335.3A CN106790450B (en) 2016-12-07 2016-12-07 Method for caching and processing, device and server

Publications (2)

Publication Number Publication Date
CN106790450A true CN106790450A (en) 2017-05-31
CN106790450B CN106790450B (en) 2019-11-29

Family

ID=58878647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611115335.3A Active CN106790450B (en) 2016-12-07 2016-12-07 Method for caching and processing, device and server

Country Status (1)

Country Link
CN (1) CN106790450B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108627A (en) * 2017-11-30 2018-06-01 中国联合网络通信集团有限公司 Message treatment method and device
CN115033306A (en) * 2022-06-29 2022-09-09 维沃移动通信有限公司 Application exit method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160026534A1 (en) * 2014-07-23 2016-01-28 Xiaomi Inc. Method and device for saving storage space
CN105468422A (en) * 2015-12-31 2016-04-06 深圳Tcl数字技术有限公司 Method and system for optimizing operation system
CN106066805A (en) * 2016-05-31 2016-11-02 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of end application starts

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160026534A1 (en) * 2014-07-23 2016-01-28 Xiaomi Inc. Method and device for saving storage space
CN105468422A (en) * 2015-12-31 2016-04-06 深圳Tcl数字技术有限公司 Method and system for optimizing operation system
CN106066805A (en) * 2016-05-31 2016-11-02 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of end application starts

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108627A (en) * 2017-11-30 2018-06-01 中国联合网络通信集团有限公司 Message treatment method and device
CN108108627B (en) * 2017-11-30 2020-07-28 中国联合网络通信集团有限公司 Message processing method and device
CN115033306A (en) * 2022-06-29 2022-09-09 维沃移动通信有限公司 Application exit method and device
CN115033306B (en) * 2022-06-29 2024-05-24 维沃移动通信有限公司 Application exit method and device

Also Published As

Publication number Publication date
CN106790450B (en) 2019-11-29

Similar Documents

Publication Publication Date Title
CN105955765A (en) Method and device for application preloading
CN105955766A (en) Method and device for application preloading
EP3179397A1 (en) Methods and devices for managing automatic parallel login and logout in several applications
CN105653323A (en) Application program management method and device
CN104503740A (en) Memory management method and device
CN104618218A (en) Information reminding method and device
CN105224349A (en) The deletion reminding method of application program and device
CN104933170A (en) Information exhibition method and device
CN107040591A (en) A kind of method and device being controlled to client
CN105120337A (en) Video special effect processing method, video special effect processing device and terminal equipment
CN104731868A (en) Method and device for intercepting advertisements
CN104967683A (en) Message pushing method, terminal and server
CN107948093A (en) Adjust the method and device that network speed is applied in terminal device
CN106060257A (en) Method and device for viewing relevant information of contact
CN107423394A (en) Page display method and device
CN105653165A (en) Method and device for regulating character display
CN105208176A (en) Contact record processing method and device
CN106547462A (en) Camera control method, device and mobile terminal
CN106534658A (en) Method and apparatus for controlling shooting of camera and mobile terminal
CN104703157A (en) Call processing method and device
CN105227660A (en) A kind of based reminding method and device
CN105704322A (en) Weather information obtaining method and apparatus
CN106790450B (en) Method for caching and processing, device and server
CN104780256A (en) Address book management method and device and intelligent terminal
CN105426065A (en) Browsing position marking method and device

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