CN106777266A - A kind of method for representing rate of being spread its tail based on pre-cache lifting client - Google Patents
A kind of method for representing rate of being spread its tail based on pre-cache lifting client Download PDFInfo
- Publication number
- CN106777266A CN106777266A CN201611237010.2A CN201611237010A CN106777266A CN 106777266 A CN106777266 A CN 106777266A CN 201611237010 A CN201611237010 A CN 201611237010A CN 106777266 A CN106777266 A CN 106777266A
- Authority
- CN
- China
- Prior art keywords
- spread
- cache
- tail
- nothing
- caches
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
Abstract
The invention provides a kind of method spread its tail based on pre-cache lifting client and represent rate, including:Including:Icon is clicked on, Zhi Chengxu B are carried out after the completion of click icon;Zhi Chengxu B include:B1) judge whether to be cached with effective networking configuration, if so, then performing step B3);If nothing, step B2 is performed);B2 network configuration) is asked, and caches the network configuration;B3) determine whether to cache corresponding material, if so, then performing step B5);If nothing, step B4 is performed);B4 material) is downloaded, and caches the material;B5 the material) is represented;B6 application) is entered;B7 backstage) is entered;B8 application) is exited.Beneficial effects of the present invention:On the premise of guarantee is spread its tail and represents speed, improve material and represent rate.
Description
Technical field
Spread its tail exhibiting method the present invention relates to application program, and in particular to one kind lifts the client exhibition of spreading its tail based on pre-cache
The existing method of rate.
Background technology
In the prior art, as shown in figure 1, calendar is spread its tail and represents step and include when starting for the first time:11) icon is clicked on;12)
Request networking configuration A;13) long-range material A is downloaded;14) material A is represented;15) application is entered;16) application enters backstage;17) move back
Go out application.As shown in Fig. 2 second calendar when starting is spread its tail and represents step and include:21) icon is clicked on;22) request networking configuration
B;23) long-range material B is downloaded;24) material B is represented;25) application is entered;26) application enters backstage;27) application is exited.From
It can be seen that having the disadvantage that in one-shot and second starting step:
1) start for the first time and completely processed according to conventional procedures with second start-up course, cause network poor
In the case of to enter application especially slow, experience is dragged down completely;
2) in above-mentioned steps, in order to control to enter application time, certain applications are in step 11) and step 12) between and
Step 21) and step 22) between control time be 0.1 second, step 12) with step 13) between and step 22) and step 23) it
Between control time be 1 second, step 13) with step 14) between and step 23) and step 24) between control time be 3 seconds etc., though
So reduce and represent the time, but cause material filling rate extremely low (about 30% or so), do not reach operational effect;
3) start for the first time and second start and be completely independent, without completely using the networking handled well configure and under
The long-range material for having carried, causing to represent speed further reduces.
The content of the invention
For the deficiency in the presence of prior art, the client exhibition of spreading its tail is lifted based on pre-cache the invention provides one kind
Now the method for rate, on the premise of guarantee is spread its tail and represents speed, improves material and represents rate.
To achieve the above object, present invention employs following technical scheme:
A kind of method for representing rate of being spread its tail based on pre-cache lifting client, including:Including:Icon is clicked on, icon is clicked on
After the completion of carry out Zhi Chengxu B;
Zhi Chengxu B include:
B1) judge whether to be cached with effective networking configuration, if so, then performing step B3);If nothing, step B2 is performed);
B2 network configuration) is asked, and caches the network configuration;
B3) determine whether to cache corresponding material, if so, then performing step B5);If nothing, step B4 is performed);
B4 material) is downloaded, and caches the material;
B5 the material) is represented;
B6 application) is entered;
B7 backstage) is entered;
B8 application) is exited.
Preferably, carrying out step B5) before also need to carry out:Judge from starting to whether represented this material at present, if
Have, then directly perform step B6);If nothing, still need to perform step B5);
Preferably, carrying out step B8) before also need to carry out:Judge in memory cell whether the plan element of caching in need
Material, if so, then directly performing step B8);If nothing, download plan material is needed.Preferably, needed after the completion of click icon same
Shi Jinhang Zhi Chengxu A and Zhi Chengxu B;
Zhi Chengxu A include:A1) background thread starts;A2 network configuration) is asked, and caches networking configuration;A3) download
Material, and cache the material;A4) background thread terminates.
Compared to prior art, the present invention has the advantages that:
1) by the present invention as can be seen that need not be limited the processing speed between step in the method, Bu Huicun
Situations such as indivedual pictures etc. leak down in material in need, and then ensure that material filling rate high;
2) determine whether that caching the networking configures (i.e. by setting:Judge whether that the client is corresponding
Server sets up handshake communication relation), it is to avoid the network configuration relation being set up again and being lost time, raising is spread its tail and represents speed
Degree;
3) material in need is determined whether by setting, it is to avoid when downloading same material again and causing to waste
Between and flow, so as to further improve and spread its tail and represent speed, and save the cost that the mobile devices such as mobile phone use the client.
Brief description of the drawings
Fig. 1 is flow chart when starting for the first time in the prior art;
Fig. 2 is flow chart when starting for second in the prior art;
Fig. 3 is the flow chart of the method for representing rate of being spread its tail based on pre-cache lifting client in embodiment 1;
Fig. 4 is the flow chart of the method for representing rate of being spread its tail based on pre-cache lifting client in embodiment 2;
Fig. 5 is the flow chart of the method for representing rate of being spread its tail based on pre-cache lifting client in embodiment 3;
Fig. 6 is the flow chart of the method for representing rate of being spread its tail based on pre-cache lifting client in embodiment 4.
Specific embodiment
Embodiment 1:
As shown in figure 3, the present embodiment proposes a kind of method spread its tail based on pre-cache lifting client and represent rate, bag first
Include:Icon is clicked on, Zhi Chengxu B are carried out after the completion of click icon;
Zhi Chengxu B include:
B1) judge whether to be cached with effective networking configuration (i.e.:Judge whether the corresponding server of the client
Set up handshake communication relation), for some clients (i.e.:Application program) for the first time start after, it can cache certain hour
Network configuration, therefore the client is again started up within the time, avoid the need for setting up the network configuration relation again, it is to avoid wave
Take the calculating time of network configuration foundation, if so, then performing step B3);If nothing, step B2 is performed);
B2 network configuration) is asked, and caches the network configuration, used with when start next time;
B3) determine whether to cache corresponding material, if so, then performing step B5);If nothing, step B4 is performed);
B4 material) is downloaded, and caches the material, used with when start next time;
B5) represent the material, such as the display of the start shooting page or Application Hints etc., if material include several pictures and
Dry word, it is therefore desirable to all of picture and word are arranged and calculated, the picture of needs is presented to user,
This process needs the consuming time, and takes the cpu of place equipment;
B6 application) is entered;
B7 backstage) is entered;
B8 application) is exited.
Embodiment 2:
The present embodiment is differed only in embodiment 1:Represent speed to further improve to spread its tail, and be using the visitor
The cpu decompressions of family end equipment, as shown in figure 4, carrying out step B5) before also need to carry out:Judge whether represent at present from starting to
This material is crossed, if so, then directly performing step B6);If nothing, still need to perform step B5).For example:Certain application program, its is every
Its picture is inconsistent after it starts, but its start picture is the same in this day, then starting for the first time in the day should
Just do not represented this material certainly during with program, it is therefore desirable to carry out step B5), and the method exhibition when this is represented into the material
Go out interface and cache one day (can also be any a period of time certainly);If being again started up the client in the same day, and put on display
The corresponding interface of the material is crossed, avoids the need for carrying out step B5).
Embodiment 3:
The present embodiment is differed only in embodiment 2:Carrying out step B8) before also need to carry out:Judge memory cell
Inside whether the plan material of caching in need, if so, then directly perform step B8);If nothing, download plan material is needed.Again
By taking the example in embodiment 2 as an example:The material that the application program is used daily is different, then in order to save in the equipment such as mobile phone
Deposit space, it is necessary to download material from its server daily, to reach use requirement, but be somebody's turn to do if the material was used at second day
Can cause to spread its tail because downloading new material during program and represent speed slowly, new material is plan material.By this step
Setting, realize starting for the first time daily after user used, program automatically updates material, is intended to material and downloads to client
End, was used in order to second day, and second day user of raising is spread its tail and represent speed.If being again started up the program in the same day simultaneously, because
The same day plans well material under starting for the first time, then the program will not again download the plan material, it is to avoid waste the user's
Flow.
Embodiment 4:
The present embodiment is differed only in embodiment 3:Needed while carrying out Zhi Chengxu A and Zhi Chengxu after the completion of click icon
B.4) due to when no network configuration is with material is needed in Zhi Chengxu B, if also needing first to carry out determining whether to cache the networking
Material in need is configured and determined whether, is then lost time very much, therefore Zhi Cheng is then can overcome the disadvantages that by setting Zhi Chengxu A
The defect of sequence B, it is ensured that possess in no network configuration and when needing material and normally represent speed.
Specifically, Zhi Chengxu A include:A1) background thread starts;A2 network configuration) is asked, and caches networking configuration;
A3 material) is downloaded, and caches the material;A4) background thread terminates.
Finally illustrate, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to compared with
Good embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to skill of the invention
Art scheme is modified or equivalent, and without deviating from the objective and scope of technical solution of the present invention, it all should cover at this
In the middle of the right of invention.
Claims (4)
1. it is a kind of to be spread its tail the method that represents rate based on pre-cache lifting client, it is characterised in that including:Icon is clicked on, is clicked on
Zhi Chengxu B are carried out after the completion of icon;
Zhi Chengxu B include:
B1) judge whether to be cached with effective networking configuration, if so, then performing step B3);If nothing, step B2 is performed);
B2 network configuration) is asked, and caches the network configuration;
B3) determine whether to cache corresponding material, if so, then performing step B5);If nothing, step B4 is performed);
B4 material) is downloaded, and caches the material;
B5 the material) is represented;
B6 application) is entered;
B7 backstage) is entered;
B8 application) is exited.
2. it is according to claim 1 to be spread its tail the method that represents rate based on pre-cache lifting client, it is characterised in that to enter
Row step B5) before also need to carry out:Judge from starting to whether represented this material at present, if so, then directly performing step B6);
If nothing, still need to perform step B5).
It is 3. according to claim 1 and 2 to be spread its tail the method that represents rate based on pre-cache lifting client, it is characterised in that
Carrying out step B8) before also need to carry out:Judge in memory cell whether the plan material of caching in need, if so, then directly holding
Row step B8);If nothing, download plan material is needed.
4. it is according to claim 3 to be spread its tail the method that represents rate based on pre-cache lifting client, it is characterised in that to click on
Needed after the completion of icon while carrying out Zhi Chengxu A and Zhi Chengxu B;
Zhi Chengxu A include:A1) background thread starts;A2 network configuration) is asked, and caches networking configuration;A3 material) is downloaded,
And cache the material;A4) background thread terminates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611237010.2A CN106777266B (en) | 2016-12-28 | 2016-12-28 | Method for improving display rate of client screen opening based on pre-caching |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611237010.2A CN106777266B (en) | 2016-12-28 | 2016-12-28 | Method for improving display rate of client screen opening based on pre-caching |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106777266A true CN106777266A (en) | 2017-05-31 |
CN106777266B CN106777266B (en) | 2020-05-15 |
Family
ID=58924893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611237010.2A Active CN106777266B (en) | 2016-12-28 | 2016-12-28 | Method for improving display rate of client screen opening based on pre-caching |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106777266B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565870A (en) * | 2019-09-26 | 2021-03-26 | 北京字节跳动网络技术有限公司 | Content caching and reading method, client and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
CN102929650A (en) * | 2012-07-11 | 2013-02-13 | 北京金山安全软件有限公司 | Method and device for independently configuring application program running environment and mobile device |
CN105208127A (en) * | 2015-10-09 | 2015-12-30 | 上海瀚银信息技术有限公司 | Webpage caching processing method and system and intelligent terminal |
CN106201736A (en) * | 2016-06-23 | 2016-12-07 | 珠海市魅族科技有限公司 | Pre-cache method and device thereof |
-
2016
- 2016-12-28 CN CN201611237010.2A patent/CN106777266B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102105861A (en) * | 2008-07-28 | 2011-06-22 | 微软公司 | State separation for application changes |
CN102929650A (en) * | 2012-07-11 | 2013-02-13 | 北京金山安全软件有限公司 | Method and device for independently configuring application program running environment and mobile device |
CN105208127A (en) * | 2015-10-09 | 2015-12-30 | 上海瀚银信息技术有限公司 | Webpage caching processing method and system and intelligent terminal |
CN106201736A (en) * | 2016-06-23 | 2016-12-07 | 珠海市魅族科技有限公司 | Pre-cache method and device thereof |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112565870A (en) * | 2019-09-26 | 2021-03-26 | 北京字节跳动网络技术有限公司 | Content caching and reading method, client and storage medium |
US11907121B2 (en) | 2019-09-26 | 2024-02-20 | Beijing Bytedance Network Technology Co., Ltd. | Methods for caching and reading content, client, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106777266B (en) | 2020-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103023941B (en) | The update method of end application based on Web page and more new system | |
CN102833323B (en) | Method and system for remote control of controlled terminal by server | |
CN106844137A (en) | The monitoring method and device of server | |
CN103475744B (en) | A kind of resource downloading method based on Web applications, device and system | |
US8839096B2 (en) | Management of rotating browser content | |
CN101621398A (en) | Client/server system and method for automatic multi-client synchronous configuration thereof | |
WO2013095451A1 (en) | Techniques for auto-authentication | |
CN110381042B (en) | Graceful restart service method, device, medium and electronic equipment | |
CN107181779A (en) | Processing method, the device and system of access request | |
CN106909690A (en) | Network data caching method | |
CN106888272A (en) | The client message method for refreshing of platform is pushed based on third party | |
CN105786511A (en) | Implementation method for terminal device Web application management | |
CN105933380A (en) | Data transmission method, device and terminal | |
CN108280174A (en) | Front end file construction method and server, page access method and terminal | |
CN104461563A (en) | Method for regularly detecting newly-added file of FTP server under linux | |
CN106201736A (en) | Pre-cache method and device thereof | |
CN107807830A (en) | Medical software update method and server based on cluster | |
CN103095801B (en) | A kind ofly apply the method and apparatus that browser processes resource automatically | |
CN106777266A (en) | A kind of method for representing rate of being spread its tail based on pre-cache lifting client | |
WO2016115841A1 (en) | Centralized account information management method and terminal | |
CN107070991A (en) | Network data buffer storage and system | |
CN105847319A (en) | Mobile terminal network request method and system | |
CN105142129A (en) | Desktop update method, server and mobile terminal | |
CN109190071A (en) | Mobile terminal caching method and device | |
CN108093096B (en) | Method for upgrading access link of server, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |