CN101741986B - Page cache method for mobile communication equipment terminal - Google Patents

Page cache method for mobile communication equipment terminal Download PDF

Info

Publication number
CN101741986B
CN101741986B CN200910312993.5A CN200910312993A CN101741986B CN 101741986 B CN101741986 B CN 101741986B CN 200910312993 A CN200910312993 A CN 200910312993A CN 101741986 B CN101741986 B CN 101741986B
Authority
CN
China
Prior art keywords
data
mobile communication
communication equipment
transfer server
buffer memory
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.)
Active
Application number
CN200910312993.5A
Other languages
Chinese (zh)
Other versions
CN101741986A (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.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
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 Ucweb Inc filed Critical Ucweb Inc
Priority to CN200910312993.5A priority Critical patent/CN101741986B/en
Publication of CN101741986A publication Critical patent/CN101741986A/en
Application granted granted Critical
Publication of CN101741986B publication Critical patent/CN101741986B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of page browsing for a mobile communication equipment terminal, in particular to a page cache method for the mobile communication equipment terminal. The page cache method for the mobile communication equipment terminal comprises the following steps: (11) the mobile communication equipment terminal submits an access request to a transfer server; (12) the transfer server judges whether the requested data is cached according to the request content; (13) the transfer server acquires data from a target website, determines the corresponding cache label, and returns the cache label to the mobile communication equipment terminal; (14) the mobile communication equipment terminal checks whether the data is cached according to the cache label; and (15) the mobile communication equipment terminal requests the transfer server for data by the cache label, and the transfer server acquires the cache data and returns to the mobile communication equipment terminal. By adopting the method, when the mobile communication equipment terminal is transferring on browsing pages, the speed gets faster and less flow is consumed.

Description

A kind of page cache method that is used for mobile communication equipment terminals
Technical field
The present invention relates to be used for the page browsing technical field of mobile communication equipment terminals, particularly relate to a kind of page cache method that is used for mobile communication equipment terminals.
Background technology
For the website, there is the part picture resource to reuse, such as the logo of website, such as member's grade picture in the forum.
Using the personal computer terminal browser browsing page page, when webpage data loaded, data such as the picture that browser can be required with Webpage, CSS were downloaded and are saved in local disk, this part content promptly: page cache.Carry out related through " file index " between page cache and the browser; When the user used the browser browsing page, browser can preferentially be retrieved local cache, as finding to have the content that meets; Just directly from local cache, call data, accelerate the page and show.
Page cache is in order to accelerate surfing; But improper use then can influence Netease's surfing: when the data volume of local disk page cache is excessive; The retrieval buffer memory will spend the more time; So, the local disk page cache is in improper use or manage and will play another retroaction when unreasonable and grab and make web page browsing speed slack-off.
Compare with personal computer terminal; The hardware performance of mobile communication equipment terminals is limited; Therefore most browser based on mobile communication equipment terminals has been cancelled the local cache function, whenever opens the new page, returns last browsing pages, all needs networking again to obtain whole page datas.
Under the help of transfer server, can implementation part " buffer memory " function: the Webpage of browsing before returning, directly need not network once more and fetch data by displaying contents based on the browser of C/S (client end/server end) framework for part.
The deficiency of prior art is:
Receive the hardware constraints of mobile communication equipment terminals, buffer memory is the function of a high threshold, considers from arithmetic capability and storage capacity, and present stage overwhelming majority main flow mobile communication equipment terminals can't fine carrying local cache function;
Though part can be accomplished " local cache " based on the browser of C/S framework, this buffer memory is the single relatively page, and other pages can not call data from " buffer memory ", realizes the purpose of fast browsing webpage.
Summary of the invention
The invention provides a kind of page cache method that is used for mobile communication equipment terminals; To solve in the prior art; What be used for mobile communication equipment terminals can't fine carrying local cache function, between a plurality of different pages identical data cached can not the share technique problem.
The technical scheme that the present invention adopts is following:
A kind of page cache method that is used for mobile communication equipment terminals; Realize by mobile communication equipment terminals and the transfer server of transmitting the mobile communication equipment terminals access request; Mobile communication equipment terminals is provided with and is used for data cached equipment cache module; Transfer server is equipped with and is used for data cached server buffer module, and said method comprises
(11) mobile communication equipment terminals is submitted to transfer server with access request;
(12) transfer server judges according to request content whether the data of being asked have buffer memory, if data have been carried out buffer memory, then to mobile communication equipment terminals return cache sign, execution in step (14), otherwise execution in step (13);
(13) transfer server obtains data from target website server, and these data are carried out buffer memory, confirms the corresponding cache sign, and returns to mobile communication equipment terminals to the buffer memory sign;
(14) whether the equipment cache module of mobile communication equipment terminals is buffered in mobile communication equipment terminals according to the buffer memory sign inspection data that transfer server returns; If the mobile communication equipment terminals buffer memory data; Then directly the slave unit cache module obtains data, otherwise, execution in step (15);
(15) to the transfer server request msg, transfer server obtains data cached from the server buffer module and returns to mobile communication equipment terminals mobile communication equipment terminals with the buffer memory sign.
The cache management mechanism of mobile communication equipment terminals is very flexibly, can take situation according to system resource and come coupling and adjustment buffer memory automatically: when system resource is not enough, can empty partial buffering so that vacate the usefulness of more resources as allotment; Having under the new caching situation, the history buffer of part also possibly be capped.
Because buffer memory mainly is on transfer server, to carry out, therefore, alleviated the burden of mobile communication equipment terminals, simultaneously, identical data cachedly also can share between a plurality of different pages.
As a kind of preferred version, data are image data.
Content of pages is and is abundant that be made up of jointly a variety of resources, wherein picture resource uses at most; The widest, also be the highest resource of repeat usage in the page, in the middle of them; It is to be cached to this locality by transfer that part is arranged; Call after being provided with, for this part resource, the page uses the code of standard to state mostly.
As further preferred version, buffer memory is designated and carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
(31) said step (12) is judged through Hash, confirms whether transfer server has this data cached;
(32) said step (13) also through Hash operation, draws and preserves data cached cryptographic hash before new data is carried out buffer memory.
As preferred version further, the URL that said buffer memory is designated data carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
After said step (32) uses the URL of data to carry out Hash operation; According to the cryptographic hash that obtains; Compare retrieval with the cryptographic hash of preserving in the transfer server; Judge whether buffer memory of these data,, be sent to mobile communication equipment terminals to data cached sign for data in buffer;
Said step (31) uses the URL of new data to carry out Hash operation, draws and preserve cryptographic hash.
As further preferred version, the page-tag grammer that said buffer memory is designated picture carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
Said step (12) according to the cryptographic hash that obtains, compares retrieval with the cryptographic hash of preserving in the transfer server after the page-tag grammer that calls picture is carried out Hash operation, judges whether buffer memory of these data;
Said step (13) is carried out Hash operation with the page-tag grammer that calls picture before picture is carried out buffer memory, draws and preserve cryptographic hash.
As a kind of preferred version, whether said step (12) carries out buffer memory to data according to following rule judgment:
(61) judge according to data type, perhaps;
(62) judge according to data volume, perhaps;
(62) judge according to size of data;
The rule of judging is mated setting at transfer server according to the transfer server performance automatically.
As a kind of preferred version, the concrete steps of said step (11) are following:
(71) whether mobile communication equipment terminals inspection has data cachedly, if having, then sends to transfer server to data cached buffer memory sign with access request, otherwise only sends access request to transfer server.
As a kind of preferred version, the time basis for estimation that said transfer server is data cached:
(81) if cache-time is arranged on the page of being asked, then data cached according to this cache-time preservation, otherwise;
(82) data cached with the acquiescence cache-time preservation of transfer server, the acquiescence cache-time is provided with according to the performance of transfer server.
The present invention makes based on the mobile communication equipment terminals transfer of this scheme speed when the browsing pages faster, and the flow of cost still less.Get around of the influence of mobile communication equipment terminals Hardware configuration to the full extent to function, widely applicable, improved browse efficiency, help the user to save flow and money.
Description of drawings
Fig. 1 is a process flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is carried out further detailed explanation.
Concerning mobile communication equipment terminals, the dissection process of the page is the very work of consumption of natural resource, and we adopt C/S framework this problem that weakens.
In the present invention program, carried out twice " buffer memory " altogether and handled: being the caching process between transfer server and the target website server for the first time, is the browser of mobile communication equipment terminals and the caching process between the transfer server for the second time.
In the present embodiment, be primarily aimed at picture resource and carry out caching process.
As shown in Figure 1, the main flow process of present embodiment is following:
1) during accession page, mobile communication equipment terminals is submitted to transfer server with access request, by server according to access request visit obtain page data from target website server;
When 2) transfer server obtains page data according to browse request, as foundation, identify the picture resource that can be buffered with page code.Add new sign with Hash operation for them, and the page data after will handling returns browser as access result;
3) the browser resolves display page time, understand from page code which picture is to meet the requirements in the page, this locality that can deposit mobile communication equipment terminals is as buffer memory;
4) whether mobile communication equipment terminals is saved in mobile communication equipment terminals this locality with satisfactory picture resource according to real-time system resource occupancy decision;
5) exist under the situation of page cache in this locality of mobile communication equipment terminals, when mobile communication equipment terminals sends access request, can attach satisfactory local cache sign;
Satisfactory local cache: such as the image cache a that has in the local cache under the www.uc.cn domain name, when visit www.uc.cn, a is exactly satisfactory local cache so.
6) transfer server is according to the acquisition request page data, and judges according to the buffer memory sign whether buffer memory is the component of the page.And the result returned to mobile communication equipment terminals together in company with page data;
7) transfer is resolved the reorganization page according to the result of server:
A, buffer memory meet the requirements, according to server prompts from directly calling picture resource from local cache;
B, buffer memory are undesirable, and browser will obtain picture resource from service once more again so.
8) holding time of buffer memory is with the master that is claimed as on the page, do not have the explicit state buffer memory holding time for some, will use a default value to preserve.

Claims (8)

1. page cache method that is used for mobile communication equipment terminals; Realize by mobile communication equipment terminals and the transfer server of transmitting the mobile communication equipment terminals access request; Mobile communication equipment terminals is provided with and is used for data cached equipment cache module; Transfer server is equipped with and is used for data cached server buffer module, it is characterized in that said method comprises
(11) mobile communication equipment terminals is submitted to transfer server with access request;
(12) transfer server judges according to request content whether the data of being asked have buffer memory in transfer server; If the data of being asked have been carried out buffer memory; Then to mobile communication equipment terminals return cache sign, execution in step (14), otherwise execution in step (13);
(13) transfer server obtains data from target website server, and these data are carried out buffer memory, confirms the corresponding cache sign, and returns to mobile communication equipment terminals to the corresponding cache sign;
(14) whether the equipment cache module of mobile communication equipment terminals is buffered in mobile communication equipment terminals according to the buffer memory sign inspection data that transfer server returns; If the mobile communication equipment terminals buffer memory data; Then directly the slave unit cache module obtains data; Otherwise, execution in step (15);
(15) mobile communication equipment terminals identifies to the transfer server request msg with the buffer memory that transfer server returns, and transfer server obtains data cached from the server buffer module and returns to mobile communication equipment terminals.
2. page cache method according to claim 1 is characterized in that, said data are image data.
3. page cache method according to claim 1 and 2 is characterized in that, said buffer memory is designated and carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
(31) said step (12) is judged through Hash, confirms whether transfer server has this data cached;
(32) said step (13) also through Hash operation, draws and preserves data cached cryptographic hash before new data is carried out buffer memory.
4. page cache method according to claim 3 is characterized in that, the URL that said buffer memory is designated data carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
After said step (31) uses the URL of data to carry out Hash operation; According to the cryptographic hash that obtains; Compare retrieval with the cryptographic hash of preserving in the transfer server; Judge whether these data have carried out caching process,, be sent to mobile communication equipment terminals to data cached sign for data in buffer;
Said step (32) uses the URL of new data to carry out Hash operation, draws and preserve cryptographic hash.
5. page cache method according to claim 2 is characterized in that, the page-tag grammer that said buffer memory is designated picture carries out the cryptographic hash that Hash operation obtains, and concrete steps are following:
Said step (12) according to the cryptographic hash that obtains, compares retrieval with the cryptographic hash of preserving in the transfer server after the page-tag grammer that calls picture is carried out Hash operation, judges whether these data have carried out caching process;
Said step (13) is carried out Hash operation with the page-tag grammer that calls picture before picture is carried out buffer memory, draws and preserve cryptographic hash.
6. page cache method according to claim 1 and 2 is characterized in that, whether said step (12) carries out buffer memory to data according to following rule judgment:
(61) judge according to data type, perhaps;
(62) judge according to data volume, perhaps;
(62) judge according to size of data;
The rule of judging is mated setting at transfer server according to the transfer server performance automatically.
7. page cache method according to claim 1 and 2 is characterized in that, the concrete steps of said step (11) are following:
(71) whether mobile communication equipment terminals inspection has data cachedly, if having, then sends to transfer server to data cached buffer memory sign with access request, otherwise only sends access request to transfer server;
The concrete steps of said step (12) are:
After transfer server obtains page data from target website server; Judge according to the sign of the buffer memory in the request content whether the buffer memory in the mobile communication equipment terminals is the component of the page; If, represent that then data have carried out buffer memory in mobile communication equipment terminals, then the buffer memory sign with mobile communication equipment terminals returns to mobile communication equipment terminals together in company with page data; Execution in step (14), otherwise execution in step (13).
8. page cache method according to claim 1 and 2 is characterized in that, the time basis for estimation that said transfer server is data cached:
(81) if cache-time is arranged on the page of being asked, then data cached according to this cache-time preservation, otherwise;
(82) data cached with the acquiescence cache-time preservation of transfer server, the acquiescence cache-time is provided with according to the performance of transfer server.
CN200910312993.5A 2009-12-31 2009-12-31 Page cache method for mobile communication equipment terminal Active CN101741986B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910312993.5A CN101741986B (en) 2009-12-31 2009-12-31 Page cache method for mobile communication equipment terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910312993.5A CN101741986B (en) 2009-12-31 2009-12-31 Page cache method for mobile communication equipment terminal

Publications (2)

Publication Number Publication Date
CN101741986A CN101741986A (en) 2010-06-16
CN101741986B true CN101741986B (en) 2012-12-26

Family

ID=42464851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910312993.5A Active CN101741986B (en) 2009-12-31 2009-12-31 Page cache method for mobile communication equipment terminal

Country Status (1)

Country Link
CN (1) CN101741986B (en)

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081920B (en) * 2010-12-30 2012-08-22 深圳芯邦科技股份有限公司 Method and device for controlling picture display
CN102096712A (en) * 2011-01-28 2011-06-15 深圳市五巨科技有限公司 Method and device for cache-control of mobile terminal
CN102654882A (en) * 2011-03-02 2012-09-05 北京千橡网景科技发展有限公司 Method and apparatus for page loading
CN102195979B (en) * 2011-04-28 2013-11-20 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY
CN102789469B (en) * 2011-05-20 2016-01-06 腾讯科技(深圳)有限公司 Method for updating pages and system
CN102955764B (en) * 2011-08-23 2015-01-14 北京中文在线数字出版股份有限公司 Method and device for providing digital book
CN102307234A (en) * 2011-08-24 2012-01-04 北京邮电大学 Resource retrieval method based on mobile terminal
CN103136295A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Network searching system based on cache and method thereof
CN102571921B (en) * 2011-12-09 2015-07-08 广东威创视讯科技股份有限公司 Network access method and device for mobile equipment
CN103186475A (en) * 2011-12-29 2013-07-03 深圳市快播科技有限公司 Receiving and storage method and system for mass data
CN102891888B (en) * 2012-09-19 2016-04-06 东莞宇龙通信科技有限公司 Data access method and related equipment and system
CN103118099B (en) * 2013-01-25 2016-03-02 福建升腾资讯有限公司 Based on the graph image caching method of hashing algorithm
CN103269377B (en) * 2013-05-31 2016-08-24 北京奇虎科技有限公司 Process the method for script file, server, client and system
CN103455603B (en) * 2013-09-03 2016-08-17 小米科技有限责任公司 Web page contents caching, webpage loading method, device and terminal unit
CN103595761B (en) * 2013-10-15 2017-01-04 北京航空航天大学 Data processing method based on distributed file system and server
CN104679759B (en) * 2013-11-27 2018-08-10 联想(北京)有限公司 A kind of method of information sharing, the first electronic equipment and the second electronic equipment
CN103646115A (en) * 2013-12-26 2014-03-19 浙江宇天科技股份有限公司 Method and system for client side to access to webpage
CN105095226B (en) * 2014-04-25 2019-08-02 广州市动景计算机科技有限公司 Web page resources loading method and device
CN105335364B (en) * 2014-05-29 2017-03-08 优视科技有限公司 A kind of method and device realizing view slip display acceleration
CN104965877A (en) * 2015-06-12 2015-10-07 郑州悉知信息技术有限公司 Webpage picture acquisition method, picture cache server, coordination server and system
CN106550408B (en) * 2015-09-23 2020-10-30 周祥宇 Data object integration method based on ad hoc network
CN107193834A (en) * 2016-03-15 2017-09-22 广州市动景计算机科技有限公司 Computing device, device and method for browsing pages
CN105847853A (en) * 2016-04-01 2016-08-10 深圳市创云方网络科技有限公司 Video content distribution method and device
CN108153783B (en) * 2016-12-06 2020-10-02 腾讯科技(北京)有限公司 Data caching method and device
CN107766469A (en) * 2017-09-29 2018-03-06 北京金山安全管理系统技术有限公司 A kind of method for caching and processing and device
CN111125093B (en) * 2019-11-19 2023-09-15 贝壳技术有限公司 Data processing method and device based on hash storage

Also Published As

Publication number Publication date
CN101741986A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101741986B (en) Page cache method for mobile communication equipment terminal
US11349940B2 (en) Server side data cache system
US10182127B2 (en) Application-driven CDN pre-caching
WO2020199751A1 (en) Method and apparatus for loading page picture, and electronic device
CN101079041A (en) Dynamic web page updating method and system
CN106681990B (en) Data cached forecasting method under a kind of mobile cloud storage environment
CN108932277B (en) Webpage loading method, webpage loading system and server
CN105721538A (en) Data access method and apparatus
US20180302489A1 (en) Architecture for proactively providing bundled content items to client devices
CN109558378A (en) File management method, device, equipment and storage medium
CN102567339A (en) Method, device and system for acquiring start page
CN109254804A (en) A kind of static resource loading method, device, equipment and readable storage medium storing program for executing
CN102624689A (en) Client proxy internet surfing method capable of realizing cache priority of local files of server
CN115442431A (en) Redirection method and device for cloud desktop browser, electronic equipment and storage medium
US20190245827A1 (en) Method and apparatus for synchronizing contact information and medium
CN107046551A (en) A kind of request of data, update method and related device
CN107633102A (en) A kind of method, apparatus, system and equipment for reading metadata
US20180131783A1 (en) Video and Media Content Delivery Network Storage in Elastic Clouds
CN103729440A (en) Method and device for having access to website
CN112968939B (en) Mobile terminal resource loading method and device
US9037805B2 (en) Managing a region cache
KR20150011087A (en) Distributed caching management method for contents delivery network service and apparatus therefor
CN101557424A (en) Point-to-point download system and resource caching method thereof
CN102737034A (en) Method and device for providing pictures
CN113449215B (en) Picture loading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200602

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100190, room 16, building 10-20, Building 29, Haidian District, Suzhou Street, Beijing

Patentee before: UC MOBILE Ltd.

TR01 Transfer of patent right