CN109379426B - X-CDN scheduling method, device and system based on X-DNS - Google Patents

X-CDN scheduling method, device and system based on X-DNS Download PDF

Info

Publication number
CN109379426B
CN109379426B CN201811221402.9A CN201811221402A CN109379426B CN 109379426 B CN109379426 B CN 109379426B CN 201811221402 A CN201811221402 A CN 201811221402A CN 109379426 B CN109379426 B CN 109379426B
Authority
CN
China
Prior art keywords
dns
node
cdn
domain name
server
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
CN201811221402.9A
Other languages
Chinese (zh)
Other versions
CN109379426A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811221402.9A priority Critical patent/CN109379426B/en
Publication of CN109379426A publication Critical patent/CN109379426A/en
Application granted granted Critical
Publication of CN109379426B publication Critical patent/CN109379426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an X-CDN scheduling method, equipment and a system based on an X-DNS, relates to the technical field of communication, and aims to solve the problem of low CDN scheduling accuracy. The network architecture of the X-CDN comprises a local DNS server, at least one X-DNS node and a CDN hidden authorized DNS node, and the method comprises the following steps: the local DNS server receives a domain name resolution request containing a domain name sent by user equipment, acquires a domain name record of the domain name and sends a recursion request containing the domain name record to an X-DNS node pointed by the domain name record; the method comprises the steps that an X-DNS node sends an analysis result request containing an IP (Internet protocol) of the X-DNS node and a domain name record to a CDN (content distribution network) hidden authorization DNS node, the CDN hidden authorization DNS node obtains a network corresponding to the IP of the X-DNS node according to an IP and network corresponding relation table of the X-DNS node, the IP of the CDN server node is obtained from the network according to the domain name record and returned to the X-DNS node to return to user equipment, and the user equipment obtains network content from the CDN server node according to the IP of the CDN server node. The invention is used for realizing CDN accurate scheduling.

Description

X-CDN scheduling method, device and system based on X-DNS
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an X-CDN scheduling method, equipment and a system based on an X-DNS.
Background
A CDN (Content Delivery Network) is a novel Network Content service system, and a basic idea is to enable an internet user to obtain accessed Network Content from a node server nearby by deploying a node server and setting a scheduling algorithm, so as to solve a problem of a slow response speed of the user to access the Network Content due to congestion of an internet backbone circuit, and enable transmission of the Network Content to be faster and more stable.
At present, traditional CDN scheduling is implemented on an intelligent DNS of a CDN manufacturer based on an IP of a local DNS server or an IP of a user equipment. In practical situations, however, whether the IP based on the local DNS server or the IP of the user equipment, the operator may not provide the CDN manufacturer with the accurate IP range of the metro network for security risk; meanwhile, due to frequent change of the operator network, the CDN manufacturer obtains the IP through various channels with large errors, so that the CDN scheduling accuracy is low, and the response speed of the user for accessing the network content is low.
Disclosure of Invention
The embodiment of the invention provides an X-CDN scheduling method, equipment and a system based on an X-DNS (X-Domain name System), which are used for solving the technical problem of low CDN scheduling accuracy in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, an X-CDN scheduling method based on an X-DNS is provided, where a network architecture of the X-CDN includes a local DNS server, at least one X-DNS node, and a CDN hidden authorized DNS node, and the method includes:
a local DNS server receives a domain name resolution request sent by user equipment; the domain name resolution request comprises a domain name input by a user;
the local DNS server acquires the domain name record of the domain name, and sends a recursion request containing the domain name record to the X-DNS node according to a preset rule; wherein the domain name in the preset rule points to the X-DNS node;
the method comprises the steps that an X-DNS node receives a recursion request containing a domain name record and sent by a local DNS server, and sends an analysis result request to a CDN hidden authorization DNS node according to a preset rule; wherein the analysis result request comprises the IP of the X-DNS node and the domain name record; the domain name record in the preset rule points to a CDN hidden authorized DNS node;
the CDN hidden authorization DNS node receives an analysis result request sent by an X-DNS node, obtains a network corresponding to the IP of the X-DNS node in the analysis result request according to the corresponding relation table of the IP of the X-DNS node and the network, and obtains the IP of a CDN server node of a domain name from the network according to the domain name record;
the CDN hidden authorization DNS node returns the IP of the CDN server node to the X-DNS node;
the X-DNS node returns the IP of the CDN server node to the local DNS server to return the user equipment, so that the user equipment can obtain the network content from the CDN server node according to the IP of the CDN server node.
According to the X-CDN scheduling method based on the X-DNS, at least one X-DNS node and a CDN hidden authorized DNS node can be established in a network architecture of the X-CDN as an accurate scheduling node, when a local DNS server receives a domain name resolution request sent by user equipment, the local DNS server obtains a domain name record of a domain name, a recursion request containing the domain name record is transferred to the X-DNS node according to a preset rule, the X-DNS node serves as the accurate scheduling node, and an IP containing the X-DNS node and a resolution result request of the domain name record of the domain name can be sent to the CDN hidden authorized DNS node according to the preset rule; the CDN hides the authorized DNS node as an accurate scheduling node, can acquire a network corresponding to the IP of the X-DNS node according to the corresponding relation table of the IP of the X-DNS node and the network, and acquires the IP of the CDN server node of the domain name from the network according to the domain name record and returns the IP to the user equipment, so that the user equipment can acquire network content from the CDN server node according to the IP of the CDN server node. The corresponding relation number of the IP of the X-DNS node and the corresponding relation table of the network is small and stable, compared with the traditional CDN scheme, the IP range is more accurate, and the CDN scheduling accuracy is effectively improved.
Optionally, the X-CDN scheduling method based on the X-DNS further includes: the local DNS server judges whether the domain name is a preset domain name; if the judgment result is yes, the local DNS server acquires the domain name record of the domain name, and sends the recursion request containing the domain name record to the X-DNS node according to a preset rule.
Optionally, the IP-to-network correspondence table of the X-DNS node includes: the corresponding relation table of the IP of the X-DNS node and the metropolitan area network to which the IP of the X-DNS node belongs; and/or, the IP of the X-DNS node and the business network corresponding relation table to which the IP of the X-DNS node belongs.
In a second aspect, there is provided an X-DNS node comprising:
the receiving module is used for receiving a recursion request containing a domain name record sent by a local DNS server;
the processing module is used for sending an analysis result request according to a preset rule CDN hidden authorization DNS node; the analysis result request comprises the IP and the domain name record of the X-DNS node; the domain name record is pointed to a CDN hidden authorized DNS node in a preset rule;
and the sending module is used for returning the IP of the CDN server node returned by the CDN hidden authorization DNS node to the local DNS server so as to return the user equipment, so that the user equipment can conveniently obtain the network content from the CDN server node according to the IP of the CDN server node.
Optionally, the X-DNS node is embodied as a DNS server.
In a third aspect, a CDN hidden authoritative DNS node is provided, including:
the receiving module is used for receiving an analysis result request sent by the X-DNS node; the analysis result request comprises the IP and the domain name record of the X-DNS node;
the processing module is used for acquiring a network matched with the IP of the X-DNS node in the analysis result request according to the IP of the X-DNS node and a network corresponding relation table, and acquiring the IP of the CDN server node of the domain name from the network according to the domain name record;
and the sending module is used for returning the IP of the CDN server node to the X-DNS node so that the X-DNS node can return the IP of the CDN server node to the local DNS server to return the user equipment, and the user equipment can obtain the network content from the CDN server node according to the IP of the CDN server node.
Optionally, the preset correspondence table between the X-DNS node IP and the network is specifically: the corresponding relation table of the IP of the X-DNS node and the metropolitan area network to which the IP of the X-DNS node belongs; and/or, the IP of the X-DNS node and the business network corresponding relation table to which the IP of the X-DNS node belongs.
In a fourth aspect, an X-CDN scheduling system based on an X-DNS is provided, including: a local DNS server, any of the X-DNS nodes, and any of the CDN hidden authoritative DNS nodes.
In a fifth aspect, there is provided an X-DNS node comprising: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions for the X-DNS node to perform the X-CDN scheduling method based on X-DNS as described above.
In a sixth aspect, a CDN hidden authoritative DNS node is provided, including: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions for the CDN hidden authoritative DNS node to perform the X-CDN scheduling method based on X-DNS as described above.
In a seventh aspect, a storage medium is provided, where instruction codes are stored, and the instruction codes are used for executing the X-CDN scheduling method based on the X-DNS.
In an eighth aspect, a computer program product is provided, which comprises instruction codes for executing the X-CDN scheduling method based on X-DNS as described above.
It can be understood that any one of the X-DNS node, the CDN hidden authorized DNS node, the X-CDN scheduling system based on the X-DNS, the storage medium, and the computer program product provided above is used to execute the method corresponding to the first aspect provided above, and therefore, the beneficial effects that can be achieved by the method according to the first aspect above and the beneficial effects of the solutions corresponding to the following specific embodiments are referred to, and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and the drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention.
Fig. 1 is a schematic diagram of a network architecture of an X-CDN scheduling system based on an X-DNS according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for scheduling an X-CDN based on an X-DNS according to an embodiment of the present invention;
fig. 3 is a flowchart of a step execution process in an X-CDN scheduling method based on an X-DNS according to an embodiment of the present invention;
fig. 4 is a functional structure diagram of an X-DNS node according to an embodiment of the present invention;
fig. 5 is a functional structure diagram of a CDN hidden authorized DNS node according to an embodiment of the present invention;
fig. 6 is a functional structure diagram of an X-DNS node according to an embodiment of the present invention;
fig. 7 is a functional structure diagram of a CDN hidden authorized DNS node according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Before describing the embodiment of the present invention, a description will be given to a conventional CDN operation manner. The traditional CDN works as follows: a user inputs an accessed domain name to user equipment, an operating system of the user equipment requests a local DNS server to query an IP (Internet protocol) of the domain name, the local DNS server obtains a domain name record (such as CNAME) of the domain name through query, and sends the domain name record to an intelligent DNS server of a CDN (content delivery network) manufacturer to request to query the IP of the domain name; the intelligent DNS server of the CDN manufacturer responds to the request for inquiring the IP of the domain name, the IP of the matched CDN node server is obtained according to the domain name record, information such as the node deployment position, the network bandwidth and the network load capacity of the CDN node server, the user source IP (such as the IP of user equipment or the IP of a local DNS server, which is used for determining the geographical position of the user), and the IP of the CDN node server is returned to the user equipment, and the user equipment accesses the CDN node server of the IP of the CDN node server to obtain the network content from the CDN node server. Therefore, in the traditional CDN scheduling, the user equipment is guided to access the corresponding CDN node server through an intelligent DNS server of the CDN manufacturer. However, in practical situations, due to security risk considerations, an operator may not provide the accurate IP range of the metro network to the CDN manufacturer, so that the CDN scheduling accuracy of the intelligent DNS server of the CDN manufacturer is low, which causes a slow response speed for a user to access network content, and damages user experience.
In order to solve the existing problems, the embodiment of the invention provides an X-CDN scheduling method based on an X-DNS (namely, an X-DNS node), and compared with the working mode of the traditional CDN, the method is realized in an X-CDN scheduling system based on the X-DNS. Specifically, referring to fig. 1, fig. 1 shows a schematic diagram of a network architecture of an X-CDN scheduling system based on an X-DNS (X-CDN network architecture for short), which includes: a local DNS server 110, at least one X-DNS node 120, and a CDN hidden authoritative DNS node 130. Wherein the at least one X-DNS node 120 and the CDN hidden authoritative DNS node 130 are precisely scheduled nodes in the network architecture of the X-CDN. At least one X-DNS node 120 may be deployed in an operator metropolitan area network (hereinafter referred to as a metropolitan area network) where the local DNS server 110 is located or an operator service network (hereinafter referred to as a service network) where the local DNS server is located, the CDN hidden authorized DNS node 130 is deployed on a user side (i.e., in a user network), and the X-DNS node and the CDN hidden authorized DNS node communicate with each other through the internet.
The local DNS server 110 is configured to receive a domain name resolution request sent by user equipment (corresponding to a user in fig. 1), where the domain name resolution request includes a domain name input by the user; the local DNS server 110 obtains a domain name record of the domain name, and sends a recursive request including the domain name record to the X-DNS node 120 according to a preset rule; wherein the domain name record points to the X-DNS node 120.
The X-DNS node 120 receives a recursive request containing the domain name record sent by the local DNS server 110, and sends an analysis result request to the CDN hidden authorized DNS node; wherein the analysis result request comprises the IP of the X-DNS node and the domain name record; meanwhile, the X-DNS node 120 is further configured to return the IP of the CDN server node returned by the CDN hidden authorization DNS node to the local DNS server to return the user equipment, so that the user equipment obtains the network content from the CDN server node according to the IP of the CDN server node.
The CDN hidden authorized DNS node is used for receiving an analysis result request which is sent by the X-DNS node and contains the IP of the X-DNS node and a domain name record of the domain name, obtaining a network corresponding to the IP of the X-DNS node according to the corresponding relation table of the IP of the X-DNS node and the network, obtaining the IP of the CDN server node of the domain name from the network according to the domain name record, and returning the IP of the CDN server node to the X-DNS node, so that the X-DNS node returns the IP of the CDN server node to a local DNS server to return to the user equipment, and the user equipment obtains network content from the CDN server node according to the IP of the CDN server node.
The following embodiment will explain the X-CDN scheduling method based on X-DNS in detail. As shown in fig. 2, an embodiment of the present invention provides an X-CDN scheduling method based on an X-DNS, including:
step S210: a local DNS server receives a domain name resolution request sent by user equipment; the domain name resolution request comprises a domain name input by a user.
The user equipment may be a mobile terminal, a PC (personal computer) terminal, or the like. For example, if the user inputs a domain name www.abc.com to the PC terminal, the local DNS server receives a domain name resolution request www.abc.com sent by the PC terminal.
Step S220: the local DNS server acquires the domain name record of the domain name, and sends a recursion request containing the domain name record to an X-DNS node according to a preset rule; wherein, the domain name in the preset rule points to the X-DNS node.
The local DNS server may obtain the domain name record of the domain name in a query manner such as iterative query.
The preset rule may specifically be: preset rules for pointing domain names to X-DNS nodes are preset, for example, all domain names received on the local DNS server may be pointed to X-DNS nodes of the metropolitan area network or the service network where the local DNS server is located, and the like. Through the step, after receiving the domain name resolution request, the local DNS server does not request the intelligent DNS server of the CDN manufacturer for the domain name resolution result of the query, but transfers the domain name resolution request to the X-DNS node to request the X-DNS node for the resolution result of the domain name of the query. After this step is completed, the subsequent step S230 is performed.
In addition, referring to fig. 3, before executing this step, the embodiment of the present invention may further execute the following steps:
step S310: the local DNS server determines whether the domain name is a preset domain name, and if the determination result is yes, step S220 is executed; otherwise, step S320 is executed.
The preset domain name can be a related domain name such as a cooperation domain name cooperating with the X-CDN.
Step S320: and the local DNS server carries out domain name iterative query on the domain name and returns a query result to the user equipment.
Step S230: the X-DNS node receives a recursive request containing a domain name record sent by a local DNS server and sends a resolution result request to the CDN hidden authorization DNS node.
The resolution result request comprises an IP of the X-DNS node and a domain name record of the domain name, and the domain name record points to the CDN hidden authorized DNS node in a preset rule.
In this step, a request configuration of an analysis result of the IP including the domain name record and the X-DNS node is forwarded to the CDN hidden authorized DNS node, so as to request the analysis result of the domain name from the CDN hidden authorized DNS node.
In a specific implementation, taking the example in step S210 as an example, the X-DNS node receives www.abc.com sent by the local DNS server, and forwards www.abc.com to the CDN hidden authorized DNS node to request www.abc.com a resolution result from the CDN hidden authorized DNS node.
Step S240: and the CDN hidden authorization DNS node receives an analysis result request sent by the X-DNS node, acquires a network matched with the IP of the X-DNS node in the analysis result request according to the corresponding relation table of the IP of the X-DNS node and the network, and acquires the IP of the CDN server node of the domain name from the network according to the domain name record.
And the corresponding relation between the IP of the X-DNS node and the network is stored in the corresponding relation table of the IP of the X-DNS node and the network. The method specifically comprises the following steps: and/or the corresponding relation table of the IP of the X-DNS node and the business network to which the IP of the X-DNS node belongs. Wherein the service network may be a smaller network than the metropolitan network. In a specific implementation, the correspondence between the IP of the X-DNS node and the network may be a one-to-one mapping relationship between the IP of the X-DNS node and the network, and the like.
Compared with the traditional CDN to determine the matched CDN node server IP according to the user source IP, the corresponding relation between the IP of the X-DNS node and the network in the corresponding relation table can be reduced to a metropolitan area network or even a smaller-range network, the corresponding relation is more accurate, the information quantity is more stable, and the sensitivity is lower, so that an operator can easily provide the information.
In specific implementation, the implementation manner of obtaining a network corresponding to the IP of the X-DNS node according to the IP of the X-DNS node and network correspondence table may be various, for example, the CDN hidden authorization DNS node may sequentially determine whether the IP of the X-DNS node in the X-DNS node and network correspondence table is the IP of the X-DNS node in the resolution result request according to the ranking order of the IP of the X-DNS node and the IP of the X-DNS node in the network correspondence table; if the judgment result is yes, acquiring a network matched with the IP of the X-DNS node in the analysis result request according to the IP of the X-DNS node and network corresponding relation table, and acquiring the IP of the CDN server node of the domain name from the network according to the domain name record; and if the judgment result is negative, continuously judging whether the IP of the next X-DNS node in the corresponding relation table of the IP of the X-DNS node and the network is the X-DNS node in the analysis result request or not until the IP of the X-DNS node in the corresponding relation table of the IP of the X-DNS node and the network is found out to be the IP of the X-DNS node in the analysis result request.
Of course, it is understood that the above manner of obtaining the network corresponding to the IP of the X-DNS node according to the table of correspondence between the IP of the X-DNS node and the network is only an example, and in a specific implementation, the present invention is not limited to this, as long as the network corresponding to the IP of the X-DNS node can be obtained according to the table of correspondence between the IP of the X-DNS node and the network.
Step S250: and the CDN hidden authorized DNS node returns the IP of the CDN server node to the X-DNS node.
Step S260: the X-DNS node returns the IP of the CDN server node to the local DNS server to return the user equipment, so that the user equipment can obtain the network content from the CDN server node according to the IP of the CDN server node.
According to the X-CDN scheduling method based on the X-DNS, at least one X-DNS node and a CDN hidden authorized DNS node can be established in a traditional CDN network architecture as an accurate scheduling node, when a local DNS server receives a domain name resolution request sent by user equipment, the local DNS server obtains a domain name record of a domain name in the domain name resolution request, a recursive request containing the domain name record is transferred to the X-DNS node according to a preset rule, the X-DNS node serves as the accurate scheduling node, and an IP containing the X-DNS node and a resolution result request containing the domain name record can be sent to the CDN hidden authorized DNS node; the CDN hides the authorized DNS node as an accurate scheduling node, can acquire a network corresponding to the IP of the X-DNS node according to the IP of the X-DNS node and a network corresponding relation table, acquires the IP of the CDN server node of the domain name from the network according to the domain name record and returns the IP to the X-DNS node, and the X-DNS node returns the IP of the CDN server node to a local DNS server to return to the user equipment, so that the user equipment can acquire network content from the CDN server node according to the IP of the CDN server node. The number of corresponding relations in the corresponding relation table of the IP of the X-DNS node and the network is small and stable, compared with the traditional CDN scheme, the IP range is more accurate, the CDN scheduling accuracy is effectively improved, and therefore the response speed of a user for accessing network content is improved; meanwhile, the CDN scheduling accuracy is improved, so that the CDN flow can be effectively increased, the relay flow at the outlet of an operator is saved, and a great deal of convenience is provided for users and operators.
Fig. 4 is a functional structure diagram of an X-DNS node 400 provided in the present invention, and as shown in fig. 4, the X-DNS node includes:
a receiving module 41, configured to receive a recursive request containing a domain name record sent by a local DNS server; the domain name resolution request comprises a domain name input by a user;
the processing module 42 is configured to send an analysis result request to the CDN hidden authorization DNS node according to a predetermined rule; the resolution result request comprises the IP of the X-DNS node and the domain name record of the domain name. The domain name record is pointed to a CDN hidden authorized DNS node in a preset rule;
the sending module 43 is configured to return the IP of the CDN server node returned by the CDN hidden authorization DNS node to the local DNS server to return to the user equipment, so that the user equipment obtains the network content from the CDN server node according to the IP of the CDN server node.
The X-DNS node may be a DNS server, such as a DNS-dedicated server or a high-performance DNS server.
Of course, it can be understood that the above module division is only used for better showing the corresponding functions of the X-DNS node, and in a specific implementation, the functions of the above function modules may be split or combined according to an actual situation, for example, the function of the sending module 43 is combined into the processing module 42, as long as the corresponding functions of the X-DNS node can be implemented.
All relevant contents of each step related to the above method embodiment can be referred to the functional description of the functional module corresponding to the X-DNS node, and the role thereof is not described herein again.
Fig. 5 is a functional structure diagram of a CDN hidden authorized DNS node 500 provided in the present invention, and as shown in fig. 5, the CDN hidden authorized DNS node includes:
a receiving module 51, configured to receive an analysis result request sent by an X-DNS node; the resolution result request comprises the IP of the X-DNS node and the domain name record of the domain name.
And the processing module 52 is configured to obtain a network corresponding to the IP of the X-DNS node according to the table of correspondence between the IP of the X-DNS node and the network, and obtain the IP of the CDN server node of the domain name from the network according to the domain name record.
The sending module 53 is configured to return the IP of the CDN server node to the X-DNS node, so that the X-DNS node returns the IP of the CDN server node to the local DNS server to return to the user equipment, and the user equipment obtains the network content from the CDN server node according to the IP of the CDN server node.
The preset correspondence table between the X-DNS node IP and the network may specifically be: the corresponding relation table of the IP of the X-DNS node and the metropolitan area network to which the IP of the X-DNS node belongs; and/or, the IP of the X-DNS node and the business network corresponding relation table to which the IP of the X-DNS node belongs.
Of course, it can be understood that the above module division is only used for better showing the corresponding function of the CDN hidden authorized DNS node, and in a specific implementation, the functions of the above function modules may be split or combined according to an actual situation, for example, the function of the sending module 53 is combined into the processing module 52, as long as the corresponding function of the CDN hidden authorized DNS node can be realized.
All the relevant contents of the steps related to the above method embodiment may be referred to the functional description of the functional module corresponding to the CDN hidden authorized DNS node, and the role thereof is not described herein again.
It can be understood that the X-DNS node 400, the CDN hidden authorized DNS node 500, and the X-CDN scheduling system based on the X-DNS provided in the embodiments of the present invention are all used to execute the X-CDN scheduling method based on the X-DNS provided in the embodiments of the present invention, and therefore, the beneficial effects that can be achieved by the X-DNS scheduling method according to the embodiments of the present invention can refer to the beneficial effects of the scheme corresponding to the X-CDN scheduling method based on the X-DNS in the embodiments of the present invention, and details are not described here.
In case of an integrated module, the X-DNS node comprises: the device comprises a storage unit, a processing unit and an interface unit. The processing unit is configured to control and manage an action of the X-DNS node, for example, the processing unit is configured to execute each step in fig. 2 and fig. 3 by the X-DNS node. The interface unit is used for interaction of the X-DNS node and other devices; and the storage unit is used for storing the X-DNS node codes and data.
For example, the processing unit is a processor, the storage unit is a memory, and the interface unit is a communication interface. The X-DNS node is shown in fig. 6, and includes a communication interface 601, a processor 602, a memory 603, and a bus 604, where the communication interface 601 and the processor 602 are connected to the memory 603 through the bus 604.
Processor 602 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 603 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 603 is used for storing application program codes for executing the scheme of the application, and the processor 602 controls the execution. The communication interface 601 is used to support the interaction of the X-DNS node with other devices. The processor 602 is configured to execute the application program code stored in the memory 603, thereby implementing the method in the embodiment of the present invention.
With integrated modules, CDN hidden authoritative DNS nodes include: the device comprises a storage unit, a processing unit and an interface unit. The processing unit is configured to control and manage an action of the CDN hidden authorized DNS node, for example, the processing unit is configured to execute each step in fig. 2 and fig. 3 by the CDN hidden authorized DNS node. The interface unit is used for the interaction between the CDN hidden authorized DNS node and other devices; and the storage unit is used for storing the code and the data of the terminal transmission power control device based on the NB-IoT system.
For example, the processing unit is a processor, the storage unit is a memory, and the interface unit is a communication interface. The CDN hidden authorized DNS node is shown in fig. 7, and includes a communication interface 701, a processor 702, a memory 703 and a bus 704, where the communication interface 701 and the processor 702 are connected to the memory 703 through the bus 704.
The processor 702 may be a general-purpose Central Processing Unit (CPU), a microprocessor, an Application-Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to control the execution of programs in accordance with the teachings of the present disclosure.
The Memory 703 may be a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, optical disk storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these. The memory may be self-contained and coupled to the processor via a bus. The memory may also be integral to the processor.
The memory 703 is used for storing application program codes for executing the present application, and is controlled by the processor 702. The communication interface 701 is used to support interaction between the CDN hidden authoritative DNS node and other devices. The processor 702 is configured to execute application program code stored in the memory 703 to implement the methods of embodiments of the present invention.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied in hardware or in software instructions executed by a processor. For example: the processing module may be implemented by a processor, and the receiving module may be implemented by a transceiver or other circuits with signal receiving function. An embodiment of the present invention further provides a storage medium, where the storage medium may include a memory, configured to store computer software instructions for an X-DNS node and a CDN hidden authorized DNS node, and include program codes designed to execute an X-CDN scheduling method based on an X-DNS. Specifically, the software instructions may be composed of corresponding software modules, and the software modules may be stored in a Random Access Memory (RAM), a flash Memory, a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a register, a hard disk, a removable hard disk, a compact disc Read Only Memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor.
The embodiment of the invention also provides a computer program which can be directly loaded into the memory and contains software codes, and the computer program can realize the X-CDN scheduling method based on the X-DNS after being loaded and executed by the computer.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. An X-CDN scheduling method based on X-DNS, wherein a network architecture of the X-CDN comprises a local DNS server, at least one X-DNS node and a CDN hidden authorized DNS node, and the method comprises the following steps:
the local DNS server receives a domain name resolution request sent by user equipment; the domain name resolution request comprises a domain name input by a user;
the local DNS server acquires a domain name record of the domain name, and sends a recursive request containing the domain name record to an X-DNS node according to a preset rule; wherein the domain name record in the preset rule points to the X-DNS node;
the X-DNS node receives a recursion request containing the domain name record sent by the local DNS server and sends an analysis result request to the CDN hidden authorization DNS node according to a preset rule; wherein the resolution result request comprises the IP of the X-DNS node and the domain name record; the domain name record is pointed to the CDN hidden authorized DNS node in the preset rule;
the CDN hidden authorized DNS node receives the analysis result request sent by the X-DNS node, obtains a network corresponding to the IP of the X-DNS node in the analysis result request according to a corresponding relation table of the IP of the X-DNS node and the network, and obtains the IP of a CDN server node from the network according to the domain name record; the table of correspondence between the IP of the X-DNS node and the network comprises: the corresponding relation table of the IP of the X-DNS node and the metropolitan area network to which the IP of the X-DNS node belongs; and/or, the IP of the X-DNS node and the business network corresponding relation table to which the IP of the X-DNS node belongs;
the CDN hidden authorized DNS node returns the IP of the CDN server node to the X-DNS node;
and the X-DNS node returns the IP of the CDN server node to the local DNS server to return the user equipment, so that the user equipment can obtain network content from the CDN server node according to the IP of the CDN server node.
2. The X-CDN scheduling method based on X-DNS of claim 1 wherein the method further comprises:
the local DNS server judges whether the domain name is a preset domain name;
and if so, the local DNS server acquires the domain name record of the domain name and sends the domain name record to an X-DNS node according to a preset rule.
3. An X-DNS node, comprising:
the receiving module is used for receiving a recursion request containing a domain name record sent by a local DNS server;
the processing module is used for sending an analysis result request to the CDN hidden authorization DNS node according to a preset rule; wherein, the resolution result request comprises the IP of the X-DNS node and the domain name record; the domain name record is pointed to the CDN hidden authorized DNS node in the preset rule;
the sending module is used for returning the IP of the CDN server node returned by the CDN hidden authorization DNS node to the local DNS server so as to return the user equipment, so that the user equipment can obtain network content from the CDN server node according to the IP of the CDN server node;
the X-DNS node is specifically a DNS server.
4. A CDN hidden authoritative DNS node, the CDN hidden authoritative DNS node comprising:
the receiving module is used for receiving an analysis result request sent by the X-DNS node; wherein the resolution result request comprises the IP and domain name record of the X-DNS node;
the processing module is used for acquiring a network matched with the IP of the X-DNS node in the analysis result request according to the corresponding relation table of the IP of the X-DNS node and the network, and acquiring the IP of the CDN server node of the domain name from the network according to the domain name record; the preset corresponding relation table of the X-DNS node IP and the network is specifically as follows: the corresponding relation table of the IP of the X-DNS node and the metropolitan area network to which the IP of the X-DNS node belongs; and/or, the IP of the X-DNS node and the business network corresponding relation table to which the IP of the X-DNS node belongs;
and the sending module is used for returning the IP of the CDN server node to the X-DNS node so that the X-DNS node can return the IP of the CDN server node to a local DNS server to return the IP of the CDN server node to the user equipment, and the user equipment can obtain the network content from the CDN server node according to the IP of the CDN server node.
5. An X-CDN scheduling system based on X-DNS, characterized in that the system comprises a local DNS server, an X-DNS node according to claim 3, and a CDN hidden authoritative DNS node according to claim 4.
6. An X-DNS node, comprising: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions to the X-DNS node to perform the X-DNS based X-CDN scheduling method according to any one of claims 1-2.
7. A CDN hidden authoritative DNS node, comprising: one or more processors; the processor is configured to execute computer program code in the memory, the computer program code comprising instructions to the CDN hidden authoritative DNS node to perform the X-DNS based X-CDN scheduling method as recited in any one of claims 1-2.
8. A storage medium characterized in that it stores instruction codes for executing the X-CDN scheduling method based on the X-DNS according to any one of claims 1-2.
CN201811221402.9A 2018-10-19 2018-10-19 X-CDN scheduling method, device and system based on X-DNS Active CN109379426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811221402.9A CN109379426B (en) 2018-10-19 2018-10-19 X-CDN scheduling method, device and system based on X-DNS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811221402.9A CN109379426B (en) 2018-10-19 2018-10-19 X-CDN scheduling method, device and system based on X-DNS

Publications (2)

Publication Number Publication Date
CN109379426A CN109379426A (en) 2019-02-22
CN109379426B true CN109379426B (en) 2021-08-31

Family

ID=65400496

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811221402.9A Active CN109379426B (en) 2018-10-19 2018-10-19 X-CDN scheduling method, device and system based on X-DNS

Country Status (1)

Country Link
CN (1) CN109379426B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110460652B (en) * 2019-07-26 2021-09-14 网宿科技股份有限公司 Resource acquisition method and edge computing scheduling server
CN111541793B (en) * 2020-04-03 2021-10-22 北京市天元网络技术股份有限公司 Content distribution network scheduling process analysis method and device and electronic equipment
CN115208766B (en) * 2022-07-29 2023-11-03 天翼云科技有限公司 CDN bandwidth scheduling method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592248A (en) * 2003-08-29 2005-03-09 华为技术有限公司 Layered content distributing network and method thereof
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100470493B1 (en) * 2001-06-01 2005-02-07 니트젠테크놀러지스 주식회사 Method for the Service resolving special domain name

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592248A (en) * 2003-08-29 2005-03-09 华为技术有限公司 Layered content distributing network and method thereof
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network
CN104519146A (en) * 2013-09-29 2015-04-15 中国电信股份有限公司 Method and system for domain name service based on user position

Also Published As

Publication number Publication date
CN109379426A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109561141B (en) CDN node selection method and equipment
CN109547286B (en) CDN node selection method, device and storage medium
CN109379426B (en) X-CDN scheduling method, device and system based on X-DNS
CN110677405B (en) Data processing method and device, electronic equipment and storage medium
CN106937362B (en) Network slice management device and network slice management method
CN109361526B (en) Policy-controlled routing method, PCRF/PCF and DRA
CN110113744B (en) Communication method, device, equipment and storage medium
EP3860095A1 (en) Methods for information drainage, requesting transmission and communication acceleration, and drainage and node server
CN110677492B (en) Access request processing method and device, electronic equipment and storage medium
CN110740191B (en) Resource access method, device, electronic equipment and storage medium
CN111885216B (en) DNS query method, device, equipment and storage medium
CN110413845B (en) Resource storage method and device based on Internet of things operating system
CN109982152B (en) P2P CDN service processing method, intelligent gateway and CDN platform
EP3163946A1 (en) Information transmission method and apparatus, device, computer program and recording medium
CN105359562A (en) Control apparatus, control method, communication system and program
CN109831494A (en) User data management and equipment
CN110809317A (en) Multi-source dynamic grid network RTK positioning method, system, terminal and storage medium
CN113821307B (en) Method, device and equipment for quickly importing virtual machine images
CN112235433A (en) Domain name access method and device
CN108810092B (en) Network access method and device, electronic equipment and computer readable storage medium
US8180857B2 (en) Method for downloading file in parallel
CN113067853A (en) Data pushing method and device, electronic equipment and storage medium
US20210176301A1 (en) Method and apparatus for multi-vendor gtm fabric
CN110958278B (en) API gateway-based data processing method and system and API gateway
CN115021831A (en) Weak network testing method, device, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 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