CN105704171B - System and method for realizing CDN access - Google Patents

System and method for realizing CDN access Download PDF

Info

Publication number
CN105704171B
CN105704171B CN201410687743.0A CN201410687743A CN105704171B CN 105704171 B CN105704171 B CN 105704171B CN 201410687743 A CN201410687743 A CN 201410687743A CN 105704171 B CN105704171 B CN 105704171B
Authority
CN
China
Prior art keywords
domain name
server
name information
task
data
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
CN201410687743.0A
Other languages
Chinese (zh)
Other versions
CN105704171A (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.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410687743.0A priority Critical patent/CN105704171B/en
Publication of CN105704171A publication Critical patent/CN105704171A/en
Application granted granted Critical
Publication of CN105704171B publication Critical patent/CN105704171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a system and a method for realizing CDN access, wherein the system comprises a Web client, a task center server, a domain name resolution server and at least one cache server, wherein the Web client is suitable for receiving domain name information of a source server to be accessed to the CDN; the task center server is suitable for generating a configuration task for configuring the IP address of at least one cache server for the domain name information; the domain name resolution server is suitable for receiving the configuration task issued by the task center server and executing the configuration task to provide domain name resolution service; the at least one cache server is suitable for receiving the domain name information issued by the task center server and analyzing the domain name information to acquire data resources from the source server so as to provide the data resources to the outside. The invention can improve the efficiency of accessing the CDN.

Description

System and method for realizing CDN access
Technical Field
The invention relates to the technical field of internet, in particular to a system and a method for realizing CDN access.
Background
The CDN is called a Content Delivery Network, i.e., a Content Delivery Network. The basic idea is to avoid bottlenecks and links possibly influencing data transmission speed and stability on the Internet as far as possible, so that content transmission is faster and more stable. By placing node cache servers at each position of the network to form a layer of intelligent virtual network on the basis of the existing internet, the CDN network can redirect the request of a user to a service node closest to the user in real time according to network flow, connection of each node, load condition, distance to the user, response time and other comprehensive information. The method aims to enable the user to obtain the required content nearby, solve the network congestion condition and improve the response speed of the user for accessing the website.
The CDN access refers to accessing a web origin server into a CDN network, so that the CDN obtains content from the web origin server and then the CDN directly provides the content to a user. The traditional CDN access method generally involves offline communication, and a CDN provider manually adds information of a web origin server to CDN configuration and waits for the configuration to take effect, which is inefficient and poor in experience.
Disclosure of Invention
In view of the above, the present invention has been developed to provide a system and method for enabling CDN access that overcomes, or at least partially solves, the above-identified problems.
According to one aspect of the present invention, there is provided a system for implementing CDN access, comprising a Web client, a task center server, a domain name resolution server, and at least one cache server, wherein,
the Web client is suitable for receiving domain name information of a source server to be accessed to the CDN;
the task center server is suitable for generating a configuration task for configuring the IP address of at least one cache server for the domain name information and sending the configuration task to a domain name resolution server; and issuing the domain name information to the at least one cache server;
the domain name resolution server is suitable for receiving the configuration task issued by the task center server and executing the configuration task to provide domain name resolution service;
the at least one cache server is suitable for receiving the domain name information issued by the task center server and analyzing the domain name information to acquire data resources from the source server so as to provide the data resources to the outside.
Optionally, the domain name resolution server is further adapted to: receiving a domain name resolution request, wherein the domain name resolution request carries domain name information to be resolved; judging whether the domain name information to be analyzed is stored before receiving the domain name analysis request; if so, analyzing the domain name information to be analyzed, and returning an analysis result; if not, executing the extensive analysis and returning the specified extensive analysis result.
Optionally, resolving the domain name information to be resolved, and returning a resolution result, including: searching the IP address of at least one cache server configured for the domain name information to be analyzed; and selecting one of the IP addresses of the at least one cache server as a resolution result to return.
Optionally, performing a flood analysis, and returning a specified flood analysis result, including: resolving the domain name information to be resolved to an IP address of a specified cache server; and returning the IP address of the specified cache server as a flooding resolution result.
Optionally, the at least one cache server is further adapted to: receiving an access data request, wherein the access data request carries an identifier of data to be accessed; judging whether the data to be accessed corresponding to the identifier of the data to be accessed is found; if yes, returning a search result; and if not, sending a request for searching domain name information to the task center server, wherein the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed.
Optionally, the task center server is further adapted to: receiving a request for searching domain name information from the at least one cache server, wherein the domain name information is the domain name information of a source server corresponding to the identifier of the data to be accessed; and searching the domain name information and returning.
According to another aspect of the present invention, there is provided a method for implementing CDN access to a content delivery network, applied to a task center server, including: acquiring domain name information of a source server to be accessed to the CDN, which is received by a Web client; generating a configuration task for configuring the IP address of at least one cache server for the domain name information, and issuing the configuration task to a domain name resolution server; and issuing the domain name information to the at least one cache server.
Optionally, the method further comprises: receiving a request for searching domain name information from the at least one cache server, wherein the domain name information is the domain name information of a source server corresponding to the identifier of the data to be accessed; and searching the domain name information and returning.
According to still another aspect of the present invention, there is provided a method for implementing CDN access to a content delivery network, including:
receiving domain name information of a source server to be accessed to the CDN by a Web client;
the task center server acquires the domain name information, generates a configuration task for configuring the IP address of at least one cache server for the domain name information, and issues the configuration task to a domain name resolution server; and issuing the domain name information to the at least one cache server;
the domain name resolution server receives the configuration task issued by the task center server and executes the configuration task to provide domain name resolution service;
and the at least one cache server receives the domain name information issued by the task center server, analyzes the domain name information and acquires data resources from the source server so as to provide the data resources to the outside.
Optionally, the method further comprises: the cache server receives an access data request, wherein the access data request carries an identifier of data to be accessed; the at least one cache server judges whether the data to be accessed corresponding to the identification of the data to be accessed is found; if yes, returning a search result; and if not, sending a request for searching domain name information to the task center server, wherein the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed.
Optionally, the method further comprises: the task center server receives a request for searching domain name information from the at least one cache server, wherein the domain name information is domain name information of a source server corresponding to the identifier of the data to be accessed; and the task center server searches the domain name information and returns the domain name information.
The invention provides a system for realizing CDN access, which comprises a Web client, a task center server, a domain name resolution server and at least one cache server. In the system, a Web client receives domain name information of a source server to be accessed to a CDN, a task center server generates a configuration task for configuring the IP address of at least one cache server for the domain name information, and the configuration task is issued to a domain name resolution server; and sending the domain name information to at least one cache server. Therefore, the task center server can automatically generate the configuration task and automatically issue the configuration task, a CDN provider does not need to manually configure the task, and the efficiency of the configuration task is improved. And the domain name resolution server instantly receives the configuration task issued by the task center server and executes the configuration task to provide domain name resolution service, and the at least one cache server instantly receives the domain name information issued by the task center server and resolves the domain name information to acquire data resources from the source server, so as to externally provide the data resources, further improve the efficiency of the configuration task and embody the instant effectiveness.
Further, when the domain name resolution server receives the domain name resolution request and resolves the domain name information to be resolved, if the domain name information to be resolved is stored before the domain name resolution request is received (that is, the domain name resolution server has configured the IP address of at least one cache server for the domain name information to be resolved), then the resolution is directly performed. Otherwise, executing the extensive analysis and returning the specified extensive analysis result. Therefore, the domain name resolution server provided by the invention can realize the real-time effect of configuration without waiting, and optimizes the operation experience.
In addition, at least one cache server receives the access data request, searches for the data to be accessed corresponding to the identifier of the data to be accessed, and directly returns the search result if the data to be accessed is found (namely, at least one cache server already receives the domain name information issued by the task center server before receiving the access data request and analyzes the domain name information to obtain the data resource from the source server). Otherwise, a request for searching the domain name information is sent to the task center server, and then the data resource is obtained from the source server corresponding to the domain name information according to the domain name information returned by the task center server, so as to provide the data resource to the outside. Therefore, the at least one cache server provided by the invention can realize the real-time effect of configuration without waiting, and the operation experience is optimized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1A shows a schematic block diagram of a system implementing CDN access according to one embodiment of the present invention;
fig. 1B is a schematic diagram illustrating that the access CDN provided by the present invention is used to provide data access service to the outside;
FIG. 2 shows a flow diagram of a method for CDN access applied to a task center server according to one embodiment of the invention;
fig. 3 shows a flowchart of a method for implementing CDN access applied to a domain name resolution server according to an embodiment of the present invention;
FIG. 4 shows a flow diagram of a method for CDN access applied to at least one cache server according to one embodiment of the present invention; and
fig. 5 shows a flow diagram of a method of implementing CDN access in accordance with one embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
To solve the foregoing technical problem, an embodiment of the present invention provides a system for implementing CDN access, and fig. 1A illustrates a schematic structural diagram of the system for implementing CDN access according to an embodiment of the present invention. As shown in fig. 1A, the system includes at least: a Web client 100, a task center server 110, a domain name resolution server 120, and at least one cache server 130.
The functions of the components or devices of the system for realizing CDN access and the connection relationship between the components will now be described:
a Web client 100 adapted to receive domain name information of an origin server to be accessed to the CDN;
the task center server 110 is coupled with the Web client 100, and is adapted to generate a configuration task for configuring the IP address of the at least one cache server 130 for the domain name information, and send the configuration task to the domain name resolution server 120; and issuing the domain name information to at least one cache server 130;
a domain name resolution server 120, coupled to the task center server 110, adapted to receive a configuration task issued by the task center server 110 and execute the configuration task to provide a domain name resolution service;
and the at least one cache server 130 is coupled to the task center server 110 and is adapted to receive the domain name information sent by the task center server 110 and resolve the domain name information to obtain the data resource from the source server, so as to provide the data resource to the outside.
The invention provides a system for realizing CDN access, which comprises a Web client, a task center server, a domain name resolution server and at least one cache server. In the system, a Web client receives domain name information of a source server to be accessed to a CDN, a task center server generates a configuration task for configuring the IP address of at least one cache server for the domain name information, and the configuration task is issued to a domain name resolution server; and sending the domain name information to at least one cache server. Therefore, the task center server can automatically generate the configuration task and automatically issue the configuration task, a CDN provider does not need to manually configure the task, and the efficiency of the configuration task is improved. And the domain name resolution server instantly receives the configuration task issued by the task center server and executes the configuration task to provide domain name resolution service, and the at least one cache server instantly receives the domain name information issued by the task center server and resolves the domain name information to acquire data resources from the source server, so as to externally provide the data resources, further improve the efficiency of the configuration task, embody instant effectiveness, do not need any waiting, and optimize the operation experience.
It should be noted that the Web (network or website) client provided by the present invention is an interface for inputting domain name information of an origin server to be accessed to the CDN, such as a browser.
Because a certain time is required in the configuration process of accessing the CDN, in the configuration process, for example, the task center server 110 issues a configuration task to the domain name resolution server 120 or issues domain name information to the at least one cache server 130, the domain name resolution server 120 executes the configuration task to provide a domain name resolution service, and the at least one cache server 130 resolves the domain name information to obtain a data resource from the origin server, so as to provide the data resource externally. Thus, when the visitor accesses the domain name resolution server or the cache server, the corresponding storage does not have domain name related information, which may cause the visitor to wait. In order to solve the problem, the invention provides corresponding solutions for a domain name resolution server and at least one cache server respectively.
The invention provides a preferred scheme for a domain name resolution server, wherein the domain name resolution server receives a domain name resolution request, the domain name resolution request carries domain name information to be resolved, and then whether the domain name information to be resolved is stored before the domain name resolution request is received (namely whether the IP address of at least one cache server is configured for the domain name information to be resolved before the domain name resolution server receives the domain name resolution request or not) is judged, if so, the domain name information to be resolved is directly resolved, and a resolution result is returned. Otherwise, executing the extensive analysis and returning the specified extensive analysis result. Therefore, the domain name resolution server provided by the invention can realize the real-time effect of configuration without waiting, and optimizes the operation experience.
Further, directly analyzing the domain name information to be analyzed, and returning an analysis result may be implemented by searching for an IP address of at least one cache server configured for the domain name information to be analyzed, and then selecting one of the IP addresses of the at least one cache server as the analysis result to be returned. For example, the domain name resolution server receives a domain name resolution request, where the domain name resolution request carries information of a domain name to be resolved as a domain name a, and the domain name resolution server receives an IP address of at least one cache server configured for the domain name a before the domain name resolution request as IP1, IP2, and IP3, and at this time, according to a preset selection policy (e.g., distance from the cache server to the user, response time, load of the cache server, and other comprehensive information), one IP address is selected from IP1, IP2, and IP3 and returned as a resolution result, so that data resources can be obtained from the cache server corresponding to the selected IP address.
In addition, if the domain name information to be resolved is not stored before receiving the domain name resolution request (that is, the domain name resolution server does not configure the IP address of at least one cache server for the domain name information to be resolved before receiving the domain name resolution request), performing the flooding resolution, and returning a specified flooding resolution result. Here, the present invention provides a preferable scheme, in which the domain name information to be resolved can be resolved to the IP address of the specified cache server, and the IP address of the specified cache server is returned as a global resolution result, so that the data resource can be acquired from the cache server corresponding to the specified IP address.
Secondly, aiming at least one cache server, in the preferred scheme provided by the invention, at least one cache server receives an access data request, the access data request carries an identifier of data to be accessed, and then whether the data to be accessed corresponding to the identifier of the data to be accessed is found is judged, if so (namely at least one cache server already receives domain name information issued by a task center server before receiving the access data request and analyzes the domain name information to obtain data resources from a source server), a search result is returned. Otherwise, a request for searching the domain name information is sent to the task center server, for example, an HTTP (Hypertext transfer protocol) request for searching the domain name information is sent to the task center server, where the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed, and then, according to the domain name information returned by the task center server, the data resource is obtained from the source server corresponding to the domain name information, so as to provide the data resource to the outside. Therefore, the at least one cache server provided by the invention can realize the real-time effect of configuration without waiting, and the operation experience is optimized.
Various implementations of the various elements of the embodiment shown in fig. 1 are described above, and are described in detail below with reference to a specific embodiment. In this embodiment, an origin server P to be accessed to the CDN accesses the CDN by using the system for automatically accessing the CDN provided in fig. 1A to provide a data access service to the outside, and fig. 1B shows a schematic diagram of accessing the CDN by using the access system provided by the present invention to provide a data access service to the outside. The visitor inputs domain name information (e.g., domain name information of the source server P) at a browser client (which is different from the above-mentioned Web client and is a browser client on a terminal such as a mobile phone or a computer of the visitor) where the visitor is located, and the browser client sends a domain name resolution request (see a signal flow direction indicated by "1" in fig. 1B) to the domain name resolution server 120, where the domain name resolution request carries domain name information to be resolved. At this time, the domain name resolution server 120 determines whether the IP address of at least one cache server has been configured for the domain name information to be resolved before receiving the domain name resolution request, and if so, directly resolves the domain name information to be resolved, and returns a resolution result (a signal flow direction indicated by "2" in fig. 1B). Otherwise, the generic resolution is executed, and the specified generic resolution result is returned (the signal flow direction indicated by "2" in fig. 1B). Subsequently, the browser client where the visitor is located sends an access data request (a signal flow direction indicated by "3" in fig. 1B) to one cache server 130' of the at least one cache server 130 according to the resolved IP address of the cache server, where the access data request carries an identifier of data to be accessed. The cache server 130' receives the access data request, and further determines whether the data to be accessed corresponding to the identifier of the data to be accessed is found, and if so, returns the search result. Otherwise, a request for looking up domain name information is sent to the task center server 110 (the signal flow direction shown by "4" in fig. 1B), where the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed. The task center server 110 returns the domain name information to the cache server 130' (the signal flow shown as "5" in FIG. 1B). Then, the cache server 130' obtains the data resource from the source server corresponding to the domain name information according to the domain name information returned by the task center server 110, and provides the data resource to the visitor (the signal flow direction shown by "6" in fig. 1B).
Based on the same inventive concept, an embodiment of the present invention further provides a method for implementing CDN access, and fig. 2 shows a flowchart of a method for implementing CDN access applied to a task center server according to an embodiment of the present invention. As shown in fig. 2, the method at least includes the following steps S202 to S204.
Step S202, obtaining domain name information of an origin server to be accessed to the CDN, which is received by the Web client.
Step S204, generating a configuration task for configuring the IP address of at least one cache server for the domain name information, and issuing the configuration task to a domain name resolution server; and sending the domain name information to at least one cache server.
Further, a request for searching domain name information from at least one cache server may be received, where the domain name information is domain name information of a source server corresponding to an identifier of data to be accessed, and then the domain name information is searched and returned.
Correspondingly, an embodiment of the present invention further provides a method for implementing CDN access, and fig. 3 shows a flowchart of a method for implementing CDN access applied to a domain name resolution server according to an embodiment of the present invention. As shown in fig. 3, the method includes at least the following steps S302 to S304.
Step S302, receiving a configuration task issued by a task center server, where the configuration task is to configure an IP address of at least one cache server for domain name information of a source server to be accessed to the CDN.
And step S304, executing a configuration task to provide domain name resolution service.
Since it takes a certain time for the task center server to issue the configuration task to the domain name resolution server and for the domain name resolution server to execute the configuration task to provide the domain name resolution service, when the visitor accesses the domain name resolution server, the corresponding storage does not have domain name related information, so that the visitor is in a waiting state. To solve this problem, the present invention provides a solution for a domain name resolution server.
In a preferred scheme provided by the present invention, the domain name resolution server receives a domain name resolution request, where the domain name resolution request carries domain name information to be resolved, and further determines whether the domain name information to be resolved is stored before receiving the domain name resolution request (i.e., whether the domain name resolution server configures an IP address of at least one cache server for the domain name information to be resolved before receiving the domain name resolution request), and if so, directly resolves the domain name information to be resolved, and returns a resolution result. Otherwise, executing the extensive analysis and returning the specified extensive analysis result. Therefore, the domain name resolution server provided by the invention can realize the real-time effect of configuration without waiting, and optimizes the operation experience.
Further, directly analyzing the domain name information to be analyzed, and returning an analysis result may be implemented by searching for an IP address of at least one cache server configured for the domain name information to be analyzed, and then selecting one of the IP addresses of the at least one cache server as the analysis result to be returned.
In addition, if the domain name information to be resolved is not stored before receiving the domain name resolution request (that is, the domain name resolution server does not configure the IP address of at least one cache server for the domain name information to be resolved before receiving the domain name resolution request), performing the flooding resolution, and returning a specified flooding resolution result. Here, the present invention provides a preferable scheme, in which the domain name information to be resolved can be resolved to the IP address of the specified cache server, and the IP address of the specified cache server is returned as a global resolution result, so that the data resource can be acquired from the cache server corresponding to the specified IP address.
Correspondingly, an embodiment of the present invention further provides a method for implementing CDN access, and fig. 4 shows a flowchart of a method for implementing CDN access applied to at least one cache server according to an embodiment of the present invention. As shown in fig. 4, the method includes at least the following steps S402 to S404.
Step S402, receiving domain name information issued by a task center server, wherein the domain name information refers to domain name information of a source server to be accessed to the CDN.
Step S404, analyzing the domain name information to obtain the data resource from the source server so as to provide the data resource for the outside.
Since it takes a certain time for the task center server to issue the domain name information to the at least one cache server and for the at least one cache server to analyze the domain name information and acquire the data resource from the source server, when the visitor accesses the cache server, the corresponding storage does not have the information related to the domain name, so that the visitor is in a waiting state. To solve this problem, the present invention provides a solution for at least one cache server.
In the preferred scheme provided by the invention, at least one cache server receives an access data request, the access data request carries an identifier of data to be accessed, whether the data to be accessed corresponding to the identifier of the data to be accessed is found is further judged, and if the data to be accessed is found, the search result is returned (namely, at least one cache server already receives domain name information issued by a task center server before receiving the access data request and analyzes the domain name information to obtain data resources from a source server). And on the contrary, sending a request for searching domain name information to the task center server, wherein the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed, and further acquiring the data resource from the source server corresponding to the domain name information according to the domain name information returned by the task center server so as to provide the data resource to the outside. Therefore, the at least one cache server provided by the invention can realize the real-time effect of configuration without waiting, and the operation experience is optimized.
Correspondingly, the embodiment of the present invention further provides a method for implementing CDN access, and fig. 5 shows a flowchart of the method for implementing CDN access according to an embodiment of the present invention. As shown in fig. 5, the method at least includes the following steps S502 to S512.
Step 500, the Web client receives domain name information of an origin server to be accessed to the CDN.
Step S502, the task center server obtains domain name information.
Step S504, the task center server generates a configuration task for configuring the IP address of at least one cache server for the domain name information.
Step S506, the task center server issues the configuration task to the domain name resolution server.
And step S508, the task center server sends the domain name information to at least one cache server.
Step S510, the domain name resolution server receives a configuration task issued by the task center server, and executes the configuration task to provide a domain name resolution service.
Step S512, at least one cache server receives the domain name information issued by the task center server, and resolves the domain name information to obtain the data resource from the source server, so as to provide the data resource to the outside.
According to any one or a combination of the above preferred embodiments, the following advantages can be achieved by the embodiments of the present invention:
the invention provides a system for realizing CDN access, which comprises a Web client, a task center server, a domain name resolution server and at least one cache server. In the system, a Web client receives domain name information of a source server to be accessed to a CDN, a task center server generates a configuration task for configuring the IP address of at least one cache server for the domain name information, and the configuration task is issued to a domain name resolution server; and sending the domain name information to at least one cache server. Therefore, the task center server can automatically generate the configuration task and automatically issue the configuration task, a CDN provider does not need to manually configure the task, and the efficiency of the configuration task is improved. And the domain name resolution server instantly receives the configuration task issued by the task center server and executes the configuration task to provide domain name resolution service, and the at least one cache server instantly receives the domain name information issued by the task center server and resolves the domain name information to acquire data resources from the source server, so as to externally provide the data resources, further improve the efficiency of the configuration task and embody the instant effectiveness.
Further, when the domain name resolution server receives the domain name resolution request and resolves the domain name information to be resolved, if the domain name information to be resolved is stored before the domain name resolution request is received (that is, the domain name resolution server has configured the IP address of at least one cache server for the domain name information to be resolved), then the resolution is directly performed. Otherwise, executing the extensive analysis and returning the specified extensive analysis result. Therefore, the domain name resolution server provided by the invention can realize the real-time effect of configuration without waiting, and optimizes the operation experience.
In addition, at least one cache server receives the access data request, searches for the data to be accessed corresponding to the identifier of the data to be accessed, and directly returns the search result if the data to be accessed is found (namely, at least one cache server already receives the domain name information issued by the task center server before receiving the access data request and analyzes the domain name information to obtain the data resource from the source server). Otherwise, a request for searching the domain name information is sent to the task center server, and then the data resource is obtained from the source server corresponding to the domain name information according to the domain name information returned by the task center server, so as to provide the data resource to the outside. Therefore, the at least one cache server provided by the invention can realize the real-time effect of configuration without waiting, and the operation experience is optimized.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in a system implementing CDN access in accordance with an embodiment of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Thus, it should be appreciated by those skilled in the art that while a number of exemplary embodiments of the invention have been illustrated and described in detail herein, many other variations or modifications consistent with the principles of the invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the invention. Accordingly, the scope of the invention should be understood and interpreted to cover all such other variations or modifications.

Claims (11)

1. A system for realizing CDN access of content delivery network comprises a Web client, a task center server, a domain name resolution server and at least one cache server,
the Web client is suitable for receiving domain name information of a source server to be accessed to the CDN;
the task center server is suitable for automatically generating a configuration task for configuring the IP address of at least one cache server for the domain name information and sending the configuration task to a domain name resolution server; and issuing the domain name information to the at least one cache server;
the domain name resolution server is suitable for receiving the configuration task issued by the task center server and executing the configuration task to provide domain name resolution service;
the at least one cache server is suitable for receiving the domain name information issued by the task center server and analyzing the domain name information to acquire data resources from the source server so as to provide the data resources to the outside.
2. The system of claim 1, wherein the domain name resolution server is further adapted to:
receiving a domain name resolution request, wherein the domain name resolution request carries domain name information to be resolved;
judging whether the domain name information to be analyzed is stored before receiving the domain name analysis request;
if so, analyzing the domain name information to be analyzed, and returning an analysis result;
if not, executing the extensive analysis and returning the specified extensive analysis result.
3. The system of claim 2, wherein resolving the domain name information to be resolved and returning a resolution result comprises:
searching the IP address of at least one cache server configured for the domain name information to be analyzed;
and selecting one of the IP addresses of the at least one cache server as a resolution result to return.
4. The system of claim 2, wherein performing the flood resolution, returning specified results of the flood resolution, comprises:
resolving the domain name information to be resolved to an IP address of a specified cache server;
and returning the IP address of the specified cache server as a flooding resolution result.
5. The system of any of claims 1-4, wherein the at least one cache server is further adapted to:
receiving an access data request, wherein the access data request carries an identifier of data to be accessed;
judging whether the data to be accessed corresponding to the identifier of the data to be accessed is found;
if yes, returning a search result;
and if not, sending a request for searching domain name information to the task center server, wherein the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed.
6. The system of claim 5, wherein the task center server is further adapted to:
receiving a request for searching domain name information from the at least one cache server, wherein the domain name information is the domain name information of a source server corresponding to the identifier of the data to be accessed;
and searching the domain name information and returning.
7. A method for realizing CDN access of a content delivery network is applied to a task center server and comprises the following steps:
acquiring domain name information of a source server to be accessed to the CDN, which is received by a Web client;
automatically generating a configuration task for configuring the IP address of at least one cache server for the domain name information, and issuing the configuration task to a domain name resolution server; and
and sending the domain name information to the at least one cache server.
8. The method of claim 7, further comprising:
receiving a request for searching domain name information from the at least one cache server, wherein the domain name information is the domain name information of a source server corresponding to the identifier of the data to be accessed;
and searching the domain name information and returning.
9. A method for realizing CDN access of a content delivery network comprises the following steps:
receiving domain name information of a source server to be accessed to the CDN by a Web client;
the task center server acquires the domain name information, automatically generates a configuration task for configuring the IP address of at least one cache server for the domain name information, and issues the configuration task to a domain name resolution server; and issuing the domain name information to the at least one cache server;
the domain name resolution server receives the configuration task issued by the task center server and executes the configuration task to provide domain name resolution service;
and the at least one cache server receives the domain name information issued by the task center server, analyzes the domain name information and acquires data resources from the source server so as to provide the data resources to the outside.
10. The method of claim 9, further comprising:
the cache server receives an access data request, wherein the access data request carries an identifier of data to be accessed;
the at least one cache server judges whether the data to be accessed corresponding to the identification of the data to be accessed is found;
if yes, returning a search result;
and if not, sending a request for searching domain name information to the task center server, wherein the domain name information is the domain name information of the source server corresponding to the identifier of the data to be accessed.
11. The method of claim 10, further comprising:
the task center server receives a request for searching domain name information from the at least one cache server, wherein the domain name information is domain name information of a source server corresponding to the identifier of the data to be accessed;
and the task center server searches the domain name information and returns the domain name information.
CN201410687743.0A 2014-11-25 2014-11-25 System and method for realizing CDN access Active CN105704171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410687743.0A CN105704171B (en) 2014-11-25 2014-11-25 System and method for realizing CDN access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410687743.0A CN105704171B (en) 2014-11-25 2014-11-25 System and method for realizing CDN access

Publications (2)

Publication Number Publication Date
CN105704171A CN105704171A (en) 2016-06-22
CN105704171B true CN105704171B (en) 2020-07-28

Family

ID=56942043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410687743.0A Active CN105704171B (en) 2014-11-25 2014-11-25 System and method for realizing CDN access

Country Status (1)

Country Link
CN (1) CN105704171B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623580B (en) * 2016-07-15 2021-06-29 阿里巴巴集团控股有限公司 Task processing method, device and system in content distribution network
CN108270683A (en) * 2016-12-30 2018-07-10 华为软件技术有限公司 Flow optimization method, cache server and system under DNS forthright scenes
CN107453900B (en) * 2017-07-28 2020-09-04 北京富邦智慧物联科技有限公司 Cloud analysis parameter setting management system and method for realizing parameter setting
CN110881064B (en) * 2018-09-06 2022-08-02 阿里巴巴集团控股有限公司 Domain name configuration method and device
CN113315646A (en) * 2020-02-27 2021-08-27 阿里巴巴集团控股有限公司 Exception handling method and device for content distribution network and content distribution network
CN114979283A (en) * 2021-04-27 2022-08-30 中移互联网有限公司 Data acquisition method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access
CN103491112A (en) * 2012-06-08 2014-01-01 北京百度网讯科技有限公司 Large-scale cluster task scheduling method, large-scale cluster task scheduling system and CDN node
CN103516606A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 CDN routing realization method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access
CN103491112A (en) * 2012-06-08 2014-01-01 北京百度网讯科技有限公司 Large-scale cluster task scheduling method, large-scale cluster task scheduling system and CDN node
CN103516606A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 CDN routing realization method and system

Also Published As

Publication number Publication date
CN105704171A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105704171B (en) System and method for realizing CDN access
CN103281409B (en) Based on mobile Internet domain name analytic method and the dns server of Transmission Control Protocol
CN108282489B (en) vulnerability scanning method, server and system
US9407681B1 (en) Latency measurement in resource requests
US9065865B2 (en) In-server redirection of HTTP requests
EP2985705A2 (en) Webpage access method and apparatus, and router
CN102143243B (en) Dynamic routing processing method and dynamic routing processing device and home gateway thereof
CN105100260A (en) Method and device for carrying out access through proxy server
US10735528B1 (en) Geographic relocation of content source in a content delivery network
CN104158919A (en) Webpage access implementation method, server and client
WO2015043455A1 (en) Data transmission method, device, and system
WO2020206660A1 (en) Network resource request method and apparatus, electronic device and storage medium
CN104219230B (en) Identify method and the device of malicious websites
US11695623B2 (en) Method and apparatus for binding network card in multi-network card server, and electronic device and storage medium
CN105100174A (en) Method, device and system for scheduling Internet resource
CN107566477B (en) Method and device for acquiring files in distributed file system cluster
WO2017166524A1 (en) Domain name parsing method and apparatus
CN109327559B (en) Domain name resolution method and device based on hybrid cloud platform
US11489810B2 (en) Intelligently routing a response packet along a same connection as a request packet
CN103825919A (en) Method, device and system for data resource caching
CN105610993A (en) Method, device and system for domain name resolution
WO2021057369A1 (en) Httpdns scheduling method and apparatus, medium, and device
CN105635064A (en) CSRF attack detection method and device
CN110933193B (en) Domain name resolution method and device, electronic equipment and computer readable storage medium
CN109788050B (en) Method, system, electronic device and medium for acquiring IP address of source station

Legal Events

Date Code Title Description
C06 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
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20240110

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.

TR01 Transfer of patent right