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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com