WO2011120450A2 - 基于http的内容获取方法及客户端 - Google Patents
基于http的内容获取方法及客户端 Download PDFInfo
- Publication number
- WO2011120450A2 WO2011120450A2 PCT/CN2011/073455 CN2011073455W WO2011120450A2 WO 2011120450 A2 WO2011120450 A2 WO 2011120450A2 CN 2011073455 W CN2011073455 W CN 2011073455W WO 2011120450 A2 WO2011120450 A2 WO 2011120450A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- content
- client
- identifier
- validity period
- server
- Prior art date
Links
Classifications
-
- 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/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/612—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
-
- 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
Definitions
- Embodiments of the present invention relate to communication technologies, and in particular, to Hypertext Transfer Protocol (HyperText)
- HoperText Hypertext Transfer Protocol
- HTTP Transfer Protocol
- the client Before the client on the terminal requests the content through the HyperText Transfer Protocol (HTTP), the client can first query whether the requested content exists in the cache. If the content exists in the cache, the client first The content of the content and the validity period of the content are obtained in the cache. If the client determines that the content is valid according to the validity period of the content, the content may be directly displayed; if the client determines that the content is invalid according to the validity period of the content, the client requests the server to verify the content, if the server is If the validity verification of the content fails, the client requests the server to obtain the corresponding new content. If the server validates the content, the server returns a confirmation message to the client, so that the client directly displays the content. .
- HTTP HyperText Transfer Protocol
- the embodiment of the invention provides an HTTP-based content acquisition method and a client for improving the display efficiency of the client.
- An embodiment of the present invention provides an HTTP-based content acquisition method, including:
- the client obtains, according to the obtained content identifier, the first content corresponding to the content identifier and the validity period of the first content from the cache;
- the client displays the first content;
- the client requests the server to perform validity verification on the first content according to the validity period of the first content
- the client requests the server to acquire the second content corresponding to the content identifier
- the client displays the second content.
- the embodiment of the present invention provides another HTTP-based content acquisition method, including: the client acquiring the fourth content;
- the client displays the fourth content
- the client After the preset time interval, the client acquires the fifth content corresponding to the content identifier according to the content identifier included in the fourth content.
- the embodiment of the invention further provides a client, including:
- a first obtaining block configured to obtain, according to the obtained content identifier, the first content corresponding to the content identifier and the validity period of the first content from the cache;
- a first display module configured to display the first content
- a requesting verification module configured to request the server to perform validity verification on the first content according to the validity period of the first content
- a second obtaining module configured to: if the server fails to validate the first content, request, by the server, to acquire a second content corresponding to the content identifier;
- a second display module configured to display the second content.
- An embodiment of the present invention further provides another client, including:
- the first ear block is used to obtain the first content
- a content display module configured to display the first content
- a second acquiring module configured to obtain, after the preset time interval, the second content corresponding to the content identifier according to the content identifier included in the first content.
- the embodiment of the present invention can shorten the time for the client to display content. Thereby improving the display efficiency of the client.
- FIG. 1 is a schematic flowchart of a method for acquiring content based on HTTP according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of another HTTP-based content acquisition method according to another embodiment of the present invention.
- FIG. 3 is a schematic structural diagram of a client according to another embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of another client according to another embodiment of the present invention. detailed description
- FIG. 1 is a schematic flowchart of an HTTP-based content acquisition method according to an embodiment of the present invention.
- the HTTP-based content acquisition method in this embodiment may include the following steps: Step 101: The client obtains, according to the obtained content identifier, the first content corresponding to the content identifier and the validity period of the first content from the cache.
- the content identifier is obtained by the client from the content related information input by the user through the input device, for example: the user inputs a web address through the keyboard, and the client obtains the web address as the content identifier; for example: the user clicks through the mouse a webpage name in the bookmark, in particular, the client may obtain the first content corresponding to the content identifier and the validity period identifier of the first content from the cache according to the obtained content identifier, so that the first content may be
- the expiration date identifier is used to obtain the expiration date corresponding to the validity period identifier of the first content, or the client may obtain the first content corresponding to the content identifier from the cache according to the obtained content identifier, but the first content is not obtained.
- the validity period is marked so that a preset validity period, for example, 0, can be used as the validity period of the first content described above.
- Step 102 The client displays the first content.
- the client may display the first content according to the feature information of the first content.
- the feature information of the first content may include, but is not limited to, a type of content and a key word of the content. For example: if the feature information of the first content is a type of content such as a picture or a novel, the client may display the first content; if the feature information of the first content is a type of content such as news, a forum, etc., the client The first content may not be displayed; if the feature information of the first content is a keyword of a content such as a registration, a verification code, etc., the client may not display the first content.
- Step 103 The client requests the server to perform validity verification on the first content according to the validity period of the first content.
- the client may request the server to perform validity verification on the first content.
- the client determines that the content is valid according to the validity period of the first content, the client does not need to request the server to perform validity verification on the first content.
- Step 104 If the server fails to verify the validity of the first content, the foregoing The client requests the server to obtain the second content corresponding to the content identifier;
- Step 105 The client displays the second content.
- the client may not display the second content (continue to maintain the display of the first content), or may display the second content; if the second content and the second content If the content is different, the client can display the second content.
- step 102 and step 103 may be performed in no particular order, and this embodiment does not limit this.
- the client after obtaining the content identifier, the client directly displays whether the first content corresponding to the content identifier in the cache is valid. Moreover, while displaying the first content, performing cache verification, if the cache is Effectively, you can continue to display the first content without performing any steps. If the cache needs to be verified from the server on the network side, you can request the server to verify: If the cache is valid, you can continue to display the first content without performing any steps. If the cache has expired, re-acquire the second content (the updated first content) to the server.
- the first content of the first content and the first content corresponding to the content identifier are obtained from the cache, and the first content is displayed by the client according to the obtained content identifier, and the client is simultaneously according to the first
- the requesting server performs validity verification on the first content, and if the server validates the validity of the first content, the client may keep displaying the current first content, thereby avoiding the client in the prior art.
- the server validates the content in the cache, the problem of the above content is displayed, which shortens the time for the client to display the content, thereby improving the display efficiency of the client.
- the client may further re-acquire the first content corresponding to the content identifier after the preset time interval, and display the re-acquired first content, that is, at a preset time. After the interval, the client automatically performs a refresh operation to obtain and display the updated first content. Specifically, if the re-acquired first content is identical to the previously displayed first content, the client may not display the re-acquired first content (continue to maintain the first content acquired before the display), or may also display re-acquisition The first content; if the reacquired first content is different from the previously displayed first content, the client displays the reacquired first content.
- the client automatically performs the refresh operation, even if the user does not operate on the webpage corresponding to the first content for a long time, the webpage corresponding to the first content updated in real time can be seen, and the client can only be clicked according to the user.
- the problem of triggering the reacquisition of the content corresponding to the content identifier shortens the time for the client to redisplay (refresh) the content, thereby improving the display efficiency of the client.
- the client may further re-acquire the second content corresponding to the content identifier after the preset time interval, and display the re-acquired second content, in advance
- the client automatically performs a refresh operation to acquire and display the updated second content. Specifically, if the reacquired second content is identical to the previously displayed second content, the client may not display the reacquired second content (continue to maintain the second content acquired before the display), or may also display reacquisition The second content; if the reacquired second content is different from the previously displayed second content, the client displays the reacquired second content.
- the client automatically performs the refresh operation, even if the user does not operate on the webpage corresponding to the second content for a long time, the webpage corresponding to the second content updated in real time can be seen, and the client can only be clicked according to the user.
- the problem of triggering the reacquisition of the content corresponding to the content identifier shortens the time for the client to redisplay (refresh) the content, thereby improving the display efficiency of the client.
- FIG. 2 is a schematic flowchart of another HTTP-based content acquisition method according to another embodiment of the present invention.
- the HTTP-based content acquisition method in this embodiment may include the following steps: Step 201: The client obtains the fourth content.
- Step 202 The client displays the fourth content.
- Step 203 After the preset time interval, the client obtains the fifth content corresponding to the content identifier according to the content identifier included in the fourth content.
- the fourth content may include multiple content identifiers, for example: a content identifier corresponding to a link label (for example, a home link label, an entertainment link label, a real estate link label, etc.), and a function control (for example: a next function control (Next) ), return to the function control (Back)) corresponding content identifier and so on.
- a link label for example, a home link label, an entertainment link label, a real estate link label, etc.
- a function control for example: a next function control (Next)
- Next return to the function control (Back)
- the client can directly display the fifth content that has been acquired.
- the step of obtaining, by the client, the content identifier included in the at least one fourth content is further included.
- the client may obtain the content identifier corresponding to the function control according to the function control in the fourth content, for example: returning a function control (for example, Back).
- the client may further obtain the content identifier corresponding to the link label according to the link label in the fourth content, for example, a home link label or the like.
- the fourth content that is obtained by the client is displayed, and after the preset time interval, the client may obtain the fifth content corresponding to the content identifier according to the content identifier included in the fourth content, thereby avoiding
- the client can only obtain the content corresponding to the content identifier according to the content identifier obtained by the user by clicking, and shortens the time for the client to display the content, thereby improving the display efficiency of the client.
- FIG. 3 is a schematic structural diagram of a client according to another embodiment of the present invention.
- the client in this embodiment may include a first obtaining module 41, a first display module 42, and a request verification module 43.
- the first obtaining module 41 is configured to obtain, according to the obtained content identifier, the first content corresponding to the content identifier and the validity period of the first content
- the first display module 42 is configured to display the first obtaining module 41 to obtain
- the requesting verification module 43 is configured to request the server to perform validity verification on the first content according to the validity period of the first content acquired by the first obtaining module 41.
- the second obtaining module 44 is configured to use the server pair.
- the first content is not validated, and the server is requested to obtain the second content corresponding to the content identifier.
- the second display module 45 is configured to display the second content acquired by the second module 44.
- the function of the client in the embodiment corresponding to the foregoing FIG. 1 can be implemented by the client provided by the embodiment of the present invention.
- the first obtaining module 41 in this embodiment may obtain, according to the obtained content identifier, the first content corresponding to the content identifier and the validity period identifier of the first content, and the first content according to the first content.
- the validity period identifier of the first content is obtained by the validity period corresponding to the validity period identifier of the first content.
- the first obtaining module 41 in this embodiment may further obtain, according to the obtained content identifier, the first content corresponding to the content identifier from the cache, and the validity period set in advance as the validity period of the first content. .
- the request verification module 43 in this embodiment may specifically request the server to perform validity verification on the first content if the time for the client to cache the first content exceeds the validity period.
- the first display module 42 in this embodiment may specifically display the first content according to the feature information of the first content.
- the client obtains, by the first acquiring module, the first content corresponding to the content identifier and the validity period of the first content, and displays the first content by the first display module, according to the obtained content identifier.
- the verification module to request the server to perform validity verification on the first content according to the validity period of the first content
- the second obtaining module may maintain the first display module if the server performs validity verification on the first content.
- the current content of the first content is displayed, which avoids the problem that the client needs to display the content after the server validates the content in the cache, which shortens the time for the client to display the content, thereby improving the time.
- the display efficiency of the client is displayed, which avoids the problem that the client needs to display the content after the server validates the content in the cache, which shortens the time for the client to display the content, thereby improving the time.
- the display efficiency of the client is displayed, which avoid
- the first obtaining module 41 in this embodiment may further re-acquire the first content corresponding to the content identifier after the preset time interval; correspondingly, the first display module 42 may further display the first content.
- the first content obtained by the module 41 is reacquired. In this way, since the client automatically performs the refresh operation, even if the user does not operate on the webpage corresponding to the first content for a long time, the webpage corresponding to the first content updated in real time can be seen, and the client can only be clicked according to the user.
- the problem of triggering the reacquisition of the content corresponding to the content identifier shortens the time for the client to redisplay (refresh) the content, thereby improving the display efficiency of the client.
- the second obtaining module 44 in this embodiment may further re-acquire the second content corresponding to the content identifier after the preset time interval; correspondingly, the second display module 45 is further configured to display the second content.
- the second content of the above acquired by the obtaining module 44 is obtained.
- the client automatically performs the refresh operation, even if the user does not operate on the webpage corresponding to the second content for a long time, the webpage corresponding to the second content updated in real time can be seen, and the client can only be clicked according to the user.
- the problem of triggering the reacquisition of the content corresponding to the content identifier shortens the time for the client to redisplay (refresh) the content, thereby improving the display efficiency of the client.
- FIG. 4 is a schematic structural diagram of another client according to another embodiment of the present invention.
- the client in this embodiment may include a first acquiring module 51, a content display module 52, and a second acquiring module. 53.
- the first acquisition module 51 is configured to acquire the fourth content;
- the content acquisition module 52 is configured to display the fourth content acquired by the first acquisition module 51;
- the fifth content corresponding to the content identifier is obtained according to the content identifier included in the fourth content.
- the functions of the client in the embodiment corresponding to FIG. 2 above may be implemented by the client provided by the embodiment of the present invention.
- the second obtaining module 53 in this embodiment may further obtain the content identifier included in the at least one fourth content, and specifically include: acquiring the content identifier corresponding to the function control according to the function control in the fourth content; or And obtaining, according to the link label in the fourth content, a content identifier corresponding to the link label.
- the client displays the fourth content acquired by the first acquiring module by using the content display module
- the second acquiring module may obtain the content identifier according to the content identifier included in the fourth content after the preset time interval.
- the fifth content avoiding the problem that the client can only obtain the content corresponding to the content identifier according to the content identifier obtained by the user by clicking, shortening the time for the client to display the content, thereby improving the display of the client. effectiveness.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP11762024.5A EP2680533B8 (en) | 2011-04-28 | 2011-04-28 | Content acquiring method and client based on http |
PCT/CN2011/073455 WO2011120450A2 (zh) | 2011-04-28 | 2011-04-28 | 基于http的内容获取方法及客户端 |
CN201180000339.6A CN102171992B (zh) | 2011-04-28 | 2011-04-28 | 基于http的内容获取方法及客户端 |
US14/061,986 US20140052819A1 (en) | 2011-04-28 | 2013-10-24 | Http-based content acquisition method and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/073455 WO2011120450A2 (zh) | 2011-04-28 | 2011-04-28 | 基于http的内容获取方法及客户端 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/061,986 Continuation US20140052819A1 (en) | 2011-04-28 | 2013-10-24 | Http-based content acquisition method and client |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2011120450A2 true WO2011120450A2 (zh) | 2011-10-06 |
WO2011120450A3 WO2011120450A3 (zh) | 2012-03-22 |
Family
ID=44491711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/073455 WO2011120450A2 (zh) | 2011-04-28 | 2011-04-28 | 基于http的内容获取方法及客户端 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20140052819A1 (zh) |
EP (1) | EP2680533B8 (zh) |
CN (1) | CN102171992B (zh) |
WO (1) | WO2011120450A2 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10491604B2 (en) | 2014-08-27 | 2019-11-26 | Roche Diagnostics Operations, Inc. | Identification, authentication, and authorization method in a laboratory system |
CN116016246A (zh) * | 2021-10-22 | 2023-04-25 | 华为技术有限公司 | 设备标识符获取方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6088853B2 (ja) * | 2013-02-27 | 2017-03-01 | 株式会社東芝 | 通信装置、通信方法および通信プログラム |
US10212256B2 (en) * | 2015-12-14 | 2019-02-19 | Facebook, Inc. | Delegating database queries |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6157930A (en) * | 1998-09-24 | 2000-12-05 | Acceleration Software International Corporation | Accelerating access to wide area network information in mode for showing document then verifying validity |
US7343412B1 (en) * | 1999-06-24 | 2008-03-11 | International Business Machines Corporation | Method for maintaining and managing dynamic web pages stored in a system cache and referenced objects cached in other data stores |
US6535912B1 (en) * | 1999-08-31 | 2003-03-18 | Lucent Technologies Inc. | Method for creating and playing back a smart bookmark that automatically retrieves a requested Web page through a plurality of intermediate Web pages |
WO2002052473A1 (fr) * | 2000-12-27 | 2002-07-04 | Sony Corporation | Appareil d'enregistrement de donnees et appareil et procede d'enregistrement de donnees |
CN1221898C (zh) * | 2002-08-13 | 2005-10-05 | 国际商业机器公司 | 刷新网络代理高速缓存服务器对象的系统和方法 |
KR100508010B1 (ko) * | 2003-01-14 | 2005-08-17 | 주식회사 인츠커뮤니티 | 인증을 통해 온라인으로 디지털 콘텐츠를 제공하는 방법및 시스템 |
CA2513014A1 (en) * | 2005-07-22 | 2007-01-22 | Research In Motion Limited | A method of controlling delivery of multi-part content from an origin server to a mobile device browser via a proxy server |
JP4939046B2 (ja) * | 2005-12-02 | 2012-05-23 | キヤノン株式会社 | 画像処理装置およびその制御方法 |
CN101075236A (zh) * | 2006-06-12 | 2007-11-21 | 腾讯科技(深圳)有限公司 | 一种加快浏览器网页显示的装置和方法 |
CN101335762A (zh) * | 2007-06-25 | 2008-12-31 | 株式会社日立制作所 | 反映网页的历史使用行为的方法,及服务器、终端和系统 |
CN101534314A (zh) * | 2008-03-12 | 2009-09-16 | 华为技术有限公司 | 一种缓存指示上报的方法、系统和装置 |
CN101567875B (zh) * | 2008-04-25 | 2012-08-29 | 华为技术有限公司 | 一种实现缓存策略控制的方法、系统及装置 |
US20110029899A1 (en) * | 2009-08-03 | 2011-02-03 | FasterWeb, Ltd. | Systems and Methods for Acceleration and Optimization of Web Pages Access by Changing the Order of Resource Loading |
-
2011
- 2011-04-28 CN CN201180000339.6A patent/CN102171992B/zh active Active
- 2011-04-28 WO PCT/CN2011/073455 patent/WO2011120450A2/zh active Application Filing
- 2011-04-28 EP EP11762024.5A patent/EP2680533B8/en active Active
-
2013
- 2013-10-24 US US14/061,986 patent/US20140052819A1/en not_active Abandoned
Non-Patent Citations (2)
Title |
---|
None |
See also references of EP2680533A4 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10491604B2 (en) | 2014-08-27 | 2019-11-26 | Roche Diagnostics Operations, Inc. | Identification, authentication, and authorization method in a laboratory system |
US10944760B2 (en) | 2014-08-27 | 2021-03-09 | Roche Diagnostics Operations, Inc. | Identification, authentication, and authorization method in a laboratory system |
CN116016246A (zh) * | 2021-10-22 | 2023-04-25 | 华为技术有限公司 | 设备标识符获取方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
EP2680533B8 (en) | 2017-12-13 |
US20140052819A1 (en) | 2014-02-20 |
EP2680533A4 (en) | 2014-05-14 |
EP2680533B1 (en) | 2017-11-08 |
WO2011120450A3 (zh) | 2012-03-22 |
EP2680533A2 (en) | 2014-01-01 |
CN102171992A (zh) | 2011-08-31 |
CN102171992B (zh) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8463915B1 (en) | Method for reducing DNS resolution delay | |
WO2017114205A1 (zh) | 短链接处理方法、装置及服务器 | |
EP2653987B1 (en) | Displaying web pages without downloading static files | |
US20160080464A1 (en) | Enhanced Browser Cookie Management | |
WO2017190641A1 (zh) | 拦截爬虫的方法、装置、服务器终端以及计算机可读介质 | |
US10938935B1 (en) | Reduction in redirect navigation latency via speculative preconnection | |
US20110289126A1 (en) | Content delivery network | |
EP2698730B1 (en) | Data acquisition method, device and system | |
US8484373B2 (en) | System and method for redirecting a request for a non-canonical web page | |
US8930457B2 (en) | Proximity initiated co-browsing sessions | |
US20150296027A1 (en) | Continuous Browsing Across Devices | |
WO2015058511A1 (zh) | 一种设置网络连接参数的方法和装置 | |
WO2016173185A1 (zh) | 信息推送方法和装置 | |
WO2011120450A2 (zh) | 基于http的内容获取方法及客户端 | |
EP3092611A1 (en) | Method, apparatus, and system for communicating and presenting product information | |
US20140337536A1 (en) | Method and apparatus for data communication | |
CN106161356B (zh) | 通过客户端快速登录网站的方法和系统 | |
WO2014206109A1 (zh) | 文件下载方法、预览下载文件的方法及预览信息生成方法 | |
WO2012028033A1 (zh) | 消息更新的方法和装置 | |
WO2015058614A1 (zh) | 一种书签存储方法及装置、确定待浏览书签的方法及装置 | |
WO2015154270A1 (zh) | 一种信息搜索的方法以及装置 | |
WO2015085794A1 (en) | Data transmission method, related apparatus, and communications system | |
WO2017067373A1 (zh) | 数据推送方法及装置 | |
US8903951B2 (en) | Speculative database authentication | |
US20130097225A1 (en) | Mobile Proxy Server for Internet Server Having a Dynamic IP Address |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201180000339.6 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11762024 Country of ref document: EP Kind code of ref document: A2 |
|
REEP | Request for entry into the european phase |
Ref document number: 2011762024 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2011762024 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11762024 Country of ref document: EP Kind code of ref document: A2 |