Resource access method and device

A resource access and resource access request technology, which is applied in the field of resource access methods and devices, can solve the problems that the content of the first screen page cannot be displayed to users in time, and the page loading speed is slow, so as to achieve the effect of improving speed and efficiency

Inactive Publication Date: 2015-07-01
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, these loaded pages often contain a lot of resources provided by third-party applications, so that a large number of third-party applications will be connected to the application server, so the loading speed of the pages in the application is relatively slow, making the first screen of the application The content of the page cannot be displayed to the user in time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource access method and device
  • Resource access method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] The embodiment of the present invention provides a resource access method, please refer to figure 1 , which is a schematic flowchart of a resource access method provided by an embodiment of the present invention. As shown in the figure, the method includes the following steps:

[0067] S101. A content delivery network (Content Delivery Network, CDN) server receives a resource access request for a preset domain name; wherein, the resource access request is directed to the CDN server through domain name resolution.

[0068] S102. If the CDN server stores the resource targeted by the resource access request, the CDN server sends the resource to the client; if the CDN server does not store the resource targeted by the resource access request, the The CDN server obtains the resource from the server corresponding to the preset domain name, optimizes the resource, and sends the optimized resource to the client.

[0069] It should be noted that, the execution subject of S101-S...

Embodiment 2

[0073] Based on the resource access method provided in the first embodiment above, the embodiment of the present invention specifically describes the method of S101. This step can specifically include:

[0074] To illustrate, in this embodiment of the present invention, the method for the CDN server to receive a resource access request for a preset domain name may include but not limited to: pointing the domain name of the accessed third-party application to the CDN server in advance, so as to download the domain name All resource access requests of are introduced to the CDN server pointed to. In this way, after the client initiates a resource access request for the domain name, the CDN server can receive the resource access request.

[0075] For example, a domain name server (Name Server, NS) manner may be used to direct the domain name of the accessed third-party application to the CDN server. Among them, NS represents the address of the Domain Name System (Domain Name Sys...

Embodiment 3

[0080] Based on the resource access method provided in the first embodiment and the second embodiment, the embodiment of the present invention specifically describes the method of S102. This step can specifically include:

[0081] In the embodiment of the present invention, after receiving the resource access request for the preset domain name, the CDN server determines whether the resource targeted by the resource access request is locally stored according to the URL address of the resource access request.

[0082] If the CDN server determines that the resource targeted by the resource access request is stored locally, the CDN server directly sends the resource targeted by the resource access request to the client, so that the client performs page processing based on the received resource. show.

[0083] If the CDN server determines that the resource targeted by the resource access request is not stored locally, the CDN server needs to obtain the resource targeted by the res...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention provides a resource access method and device. The method includes that a content distribution network (CDN) server receives a resource assess request aiming at a preset domain name, wherein the resource access request points at the CND server after domain name resolution; if the CDN server stores the resources required by the resource access request, the CDN server transmits the resources to a client; if the CDN server does not have the resources required by the resource access request, the CDN server acquires the resources from a server corresponding to the preset domain name, optimizes the resources and transmits the optimized resources to the client. Therefore, the loading page application efficiency can be improved by means of the technical scheme.

Description

【Technical field】 [0001] The invention relates to the technical field of Internet applications, in particular to a resource access method and device. 【Background technique】 [0002] At present, with the rapid development of mobile Internet technologies, more and more applications are installed on terminals, such as browsers and news applications. These applications often need to frequently load pages during use. [0003] However, these loaded pages often contain a lot of resources provided by third-party applications, so that a large number of third-party applications will be connected to the application server, so the loading speed of the pages in the application is relatively slow, making the first screen of the application The content of the page cannot be displayed to the user in a timely manner. According to the monitored loading speed, more than 70% of the first-screen pages of third-party applications are under the wireless local area network (Wireless Fidelity, Wi-F...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/12H04L29/08
CPCH04L63/10H04L61/4511
Inventor 朱建庭王继平武林陈鹤童
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products