CN114448990B - Fusion CDN-based resource scheduling method, device and equipment - Google Patents

Fusion CDN-based resource scheduling method, device and equipment Download PDF

Info

Publication number
CN114448990B
CN114448990B CN202111590205.6A CN202111590205A CN114448990B CN 114448990 B CN114448990 B CN 114448990B CN 202111590205 A CN202111590205 A CN 202111590205A CN 114448990 B CN114448990 B CN 114448990B
Authority
CN
China
Prior art keywords
allocated
dividing
cache server
information
cache
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
CN202111590205.6A
Other languages
Chinese (zh)
Other versions
CN114448990A (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.)
Tianyi Cloud Technology Co Ltd
Original Assignee
Tianyi Cloud Technology 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 Tianyi Cloud Technology Co Ltd filed Critical Tianyi Cloud Technology Co Ltd
Priority to CN202111590205.6A priority Critical patent/CN114448990B/en
Publication of CN114448990A publication Critical patent/CN114448990A/en
Application granted granted Critical
Publication of CN114448990B publication Critical patent/CN114448990B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1021Server selection for load balancing based on client or server locations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1023Server selection for load balancing based on a hash applied to IP addresses or costs

Landscapes

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

Abstract

The invention provides a method, a device and equipment for scheduling resources based on a converged CDN, wherein the method comprises the following steps: acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated; extracting the demand information of resource allocation based on the service domain name DNS request instruction and the IP address information of the service domain name DNS request instruction; dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to obtain a division result; and scheduling the cache server to be allocated based on the demand information and the division result. The CDN is fused to reasonably allocate according to the resource allocation requirement information, so that the problem of deviation caused by the existing planning allocation of resources is solved.

Description

Fusion CDN-based resource scheduling method, device and equipment
Technical Field
The invention relates to the technical field of network communication, in particular to a method, a device and equipment for scheduling resources based on a converged CDN.
Background
The content delivery network (Content Delivery Network, CDN) is a new network content service architecture that is built based on an IP network to provide delivery and services of content based on the efficiency requirements, quality requirements, and content order of content access and applications. CDNs can obviously relieve source station pressure and improve content delivery and service speeds, and are widely applied to scenes such as website acceleration, live broadcast, game acceleration and the like. The fusion CDN integrates high-quality CDN manufacturer resources on the basis of the traditional CDN, and fusion management for accelerating further optimization of the data network is achieved through fusion technology, meanwhile, the problems of multi-CDN disaster recovery, bandwidth consumption and the like are solved perfectly, and high-quality acceleration experience is provided for enterprises to use CDN services.
With the popularity of CDN technology, DNS resolution is becoming increasingly important. The performance of DNS resolution and the accuracy of scheduling thereof will directly affect the experience of internet users, however, in the current complex domestic network environment, the preferred policy of the operator recursive domain name resolution server, i.e. the local domain name DNS (service domain name DNS), will also directly affect the efficiency and stability of DNS resolution. In the actual working process, through the converged CDN system, enterprises respectively analyze the service flow to different CDN manufacturers, and each CDN manufacturer respectively analyzes and dispatches the content according to the service condition, but when a preferred strategy of an operator LOCALDNS filters out some servers at a far distance from the current LOCALDNS, the converged CDN can cause deviation to the planning and distribution of the service flow.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that the planning and the distribution of the service flow are caused by the fusion CDN in the prior art, so as to provide a resource scheduling method, a device and equipment based on the fusion CDN.
According to a first aspect, an embodiment of the present invention provides a method for scheduling resources based on a converged CDN, including the following steps: acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated; extracting the demand information of resource allocation based on the service domain name DNS request instruction and the IP address information of the service domain name DNS request instruction; dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to be allocated to obtain a division result; and scheduling the cache server to be allocated based on the demand information and the division result.
Optionally, the dividing the area of the cache server based on the area of the IP address information and the cache server IP resource to obtain a division result includes: acquiring a first IP number of to-be-allocated cache servers belonging to the same area as the area to which the IP address information belongs, or acquiring a second IP number of to-be-allocated cache servers belonging to a different area from the area to which the IP address information belongs; dividing the cache servers to be allocated based on the first IP number or the second IP number to obtain the division result.
Optionally, the partitioning the cache server to be allocated based on the first IP number includes: acquiring the first IP number duty ratio based on the first IP number and the IP address information; dividing the cache servers to be allocated based on the first IP number duty ratio.
Optionally, the partitioning the cache server to be allocated based on the second IP number includes: acquiring the second IP number duty ratio based on the second IP number and the IP address information; dividing the cache servers to be allocated based on the second IP number duty ratio.
Optionally, the dividing the area of the cache server based on the area of the IP address information and the cache server IP resource to obtain a division result includes: acquiring the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area in preset resource information based on the IP address information; and dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the division result.
Optionally, the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the division result includes: acquiring the IP number in the preset resource information; calculating to obtain the duty ratio of the third IP number in the preset resource information based on the third IP number and the IP number in the preset resource information; calculating to obtain the duty ratio of the fourth IP number in the preset resource information based on the fourth IP number and the IP number in the preset resource information; dividing the cache server to be allocated based on the ratio of the third IP number to the IP number in the preset resource information and the ratio of the fourth IP number to the IP number in the preset resource information to obtain the division result.
Optionally, the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the division result includes: and equally dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the dividing result.
According to a second aspect, an embodiment of the present invention further provides a converged CDN-based resource scheduling device, including: the acquisition module is used for acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated; the extraction module is used for extracting the demand information of resource allocation and the IP address information of the service domain name DNS request instruction based on the service domain name DNS request instruction; the division module is used for dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to obtain a division result; and the scheduling module is used for scheduling the cache server to be allocated based on the demand information and the division result.
According to a third aspect, an embodiment of the present invention further provides a converged CDN-based resource scheduling device, including: the communication unit, the memory and the processor are in communication connection with each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the steps of the method according to the first aspect or any optional implementation manner.
According to a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, wherein the computer readable storage medium stores computer instructions for causing the computer to perform the steps of the method according to the first aspect or any of the alternative embodiments.
The technical scheme of the invention has the following advantages:
the embodiment of the invention provides a method, a device and equipment for scheduling resources based on a fusion CDN, wherein the method comprises the following steps: acquiring a service domain name DNS request instruction and IP resources of a cache server to be allocated, extracting IP address information according to the service domain name DNS request instruction, acquiring resource allocation requirement information, dividing the area of the cache server according to the area of the IP address information and the IP resources of the cache server, and dispatching and allocating the cache server to be allocated according to the resource allocation requirement information and the division result. And extracting IP information and demand information in a service domain name DNS request instruction to perform optimal scheduling allocation, so as to realize accurate allocation of service traffic.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a specific example of a method for scheduling resources based on a converged CDN in an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a specific example of a converged CDN-based resource scheduler in an embodiment of the present invention;
fig. 3 is a block diagram illustrating a specific example of a converged CDN-based resource scheduling device in an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made apparent and fully in view of the accompanying drawings, in which some, but not all embodiments of the invention are shown. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
The embodiment of the invention carries out dispatching and distribution on the service flow by fusing the CDN according to the IP information and the demand information extracted from the service domain name DNS. In practical application, the fusion CDN accelerates further fusion management on the data network through a fusion technology, and in the following embodiments, only CDN manufacturers are taken as examples, and the present invention is also applicable to other fields, but the present invention is not limited thereto.
Fig. 1 shows a method for scheduling resources based on a converged CDN according to an embodiment of the present invention, where the method includes the following steps:
s100: and acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated.
Specifically, a service domain name DNS (local DNS) request instruction is acquired through the converged CDN, and the cache server IP resources to be allocated are allocated. In practical application, after receiving a service domain name DNS request instruction, searching the to-be-allocated cache server IP resources covered by the corresponding area of the converged CDN according to the service domain name DNS.
S200: and extracting the demand information of resource allocation based on the service domain name DNS request instruction and the IP address information of the service domain name DNS request instruction.
Specifically, the resource allocation requirement information and the cache server IP address information contained in the service domain name DNS request instruction are extracted from the service domain name DNS request instruction. In practical application, acquiring a domain name set analysis group requiring similar acceleration service, acquiring cache server IP address information contained in the group based on the analysis group, and acquiring planning of network operator granularity based on the cache server IP address information.
S300: and dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to be allocated to obtain a division result.
Specifically, according to the region to which the cache server IP address information contained in the service domain name DNS request instruction belongs and the region corresponding to the cache server IP resource to be allocated, the region division result is obtained.
S400: and scheduling the cache server to be allocated based on the demand information and the division result.
Specifically, according to the division result and the requirement information, the cache server to be allocated performs resource scheduling allocation according to the divided areas and the requirements.
According to the resource scheduling method based on the converged CDN, a service domain name DNS request instruction and an IP resource of a cache server to be allocated are obtained, IP address information is extracted according to the service domain name DNS request instruction, meanwhile, demand information of resource allocation is obtained, the area of the cache server is divided according to the area of the IP address information and the IP resource of the cache server, and the cache server to be allocated is scheduled and allocated according to the demand information of the resource allocation and the division result. By extracting the IP information and the demand information in the service domain name DNS request instruction and carrying out optimal scheduling distribution, the problem of inaccurate scheduling cut-out when the distribution difference of the cache servers contained in the fusion CDN system is large at present is solved, and the accurate distribution of the service flow can be realized in the resource scheduling process.
In an optional embodiment of the present invention, step S300, a specific process of dividing the area of the cache server based on the area of the IP address information and the cache server IP resource to obtain a division result, mainly includes the following steps:
(1) And acquiring the first IP number of the to-be-allocated cache servers belonging to the same area as the area to which the IP address information belongs, or acquiring the second IP number of the to-be-allocated cache servers belonging to the different area as the area to which the IP address information belongs.
Specifically, according to the region to which the IP address information belongs and the IP resources of the to-be-allocated cache servers, the first IP number of the to-be-allocated cache servers with the IP address belonging to the same region is obtained, or the second IP number of the to-be-allocated cache servers with the IP address not belonging to the same region is obtained. In practical application, a domain name set analysis group requiring similar acceleration service is obtained, and based on the cache server IP address information contained in the domain name set analysis group, the first IP number of the cache servers to be allocated in the same area or the second IP number of the cache servers to be allocated in the same area is obtained. In practical application, for example, there may be 5 to-be-allocated cache server IP resources in a region under the jurisdiction of CDN vendor a, where IP address information of 2 IP and service domain name DNS request instructions belong to the same region, and IP address information of 3 IP and service domain name DNS request instructions do not belong to the same region; the CDN manufacturer B can have 8 cache server IP resources to be allocated in the region under jurisdiction, wherein the IP address information of 4 IP and service domain name DNS request instructions belong to the same region, and the IP address information of 4 IP and service domain name DNS request instructions do not belong to the same region; for example, the CDN vendor C may have 12 to-be-allocated cache server IP resources in the region, wherein 5 IP addresses and the IP address information of the service domain name DNS request instruction belong to the same region, and 7 IP addresses and the IP address information of the service domain name DNS request instruction do not belong to the same region, and the number of the first IP is 11, and the number of the second IP is 14.
(2) Dividing the cache servers to be allocated based on the first IP number or the second IP number to obtain the division result.
Specifically, the cache servers to be allocated are divided according to the acquired first IP number of the cache servers to be allocated in the same area or the acquired second IP number of the cache servers to be allocated in the same area, so as to obtain the number of the cache servers in the same area or the number of the cache servers in the same area.
In the embodiment of the invention, the first IP number of the to-be-allocated cache servers with the IP addresses belonging to the same area or the second IP number of the to-be-allocated cache servers with the IP addresses not belonging to the same area are obtained based on the area to which the IP address information belongs and the to-be-allocated cache server IP resources, and the to-be-allocated cache servers are divided based on the first IP number or the second IP number to obtain the number of the to-be-allocated cache servers in the same area and the number of the to-be-allocated cache servers in the non-same area. The cache servers to be allocated are divided into areas through the IP addresses, so that the resources can be reasonably scheduled and allocated more accurately according to the demand information.
In an optional embodiment of the present invention, the dividing the cache server to be allocated based on the first IP number includes the following steps:
(1) Acquiring the first IP number duty ratio based on the first IP number and the IP address information;
(2) Dividing the cache servers to be allocated based on the first IP number duty ratio.
In the embodiment of the invention, the first IP number and all the IP address information are used for calculation to obtain the duty ratio of the first IP number in all the IP addresses, and the cache servers to be allocated are divided based on the duty ratio of the first IP number, so that the resources belonging to the same area can be more accurately allocated in a dispatching way. In practical application, for example, the total number of cache servers under the jurisdiction of the CDN vendor A, CDN vendor B and the CDN vendor C may be 25, and the number of cache servers IP in the same area as the IP address information of the service domain name DNS request instruction is 11, where the first IP number is the ratio of
Figure BDA0003429613150000091
The cache servers to be allocated are partitioned based on this ratio.
In an optional embodiment of the present invention, the dividing the cache server to be allocated based on the second IP number includes the following steps:
(1) Acquiring the second IP number duty ratio based on the second IP number and the IP address information;
(2) Dividing the cache servers to be allocated based on the second IP number duty ratio.
In the embodiment of the present invention, the second IP number and all the IP address information are calculated to obtain the second IP numberThe ratio of the IP numbers in all the IP addresses is divided based on the second IP number ratio, so that resources which do not belong to the same area can be more accurately scheduled and allocated. In practical application, for example, the total number of cache servers under the jurisdiction of the CDN vendor A, CDN vendor B and the CDN vendor C may be 25, and the number of cache servers IP in the same area as the IP address information of the service domain name DNS request instruction is 14, where the first IP number is the ratio of
Figure BDA0003429613150000101
The cache servers to be allocated are partitioned based on this ratio.
In an optional embodiment of the present invention, step 300, a process of dividing the area of the cache server based on the area of the IP address information and the IP resource of the cache server to obtain a division result mainly includes the following steps:
(1) And acquiring the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area in preset resource information based on the IP address information.
Specifically, the number of the to-be-allocated cache servers contained in the preset resource information is obtained, and the to-be-allocated cache servers are divided into the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area based on the IP address information. In practical application, the preset resource information may be, for example, IP address information of 2 IP and service domain name DNS request instructions in the 5 to-be-allocated cache server IP resources included in the CDN vendor a belong to the same area, and IP address information of 3 IP and service domain name DNS request instructions do not belong to the same area, so that the third IP number of the CDN vendor a is 2, and the fourth IP number is 3; among the 8 to-be-allocated cache server IP resources contained in the CDN manufacturer B, the IP address information of 4 IP and service domain name DNS request instructions belong to the same area, and the IP address information of 4 IP and service domain name DNS request instructions do not belong to the same area, so that the third IP number of the CDN manufacturer B is 4, and the fourth IP number is 4; among the 12 to-be-allocated cache server IP resources contained in the CDN manufacturer C, the IP address information of 5 IP and service domain name DNS request instructions belong to the same area, and the IP address information of 7 IP and service domain name DNS request instructions do not belong to the same area, so that the third IP number of the CDN manufacturer C is 5, and the fourth IP number is 7.
(2) And dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the division result.
Specifically, the cache servers to be allocated are reasonably divided based on the third IP number and the fourth IP number, and a division result is obtained.
In the embodiment of the invention, the number of the to-be-allocated cache servers contained in the preset resource information is obtained, the to-be-allocated cache servers are divided into the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area based on the IP address information, and the to-be-allocated cache servers are reasonably divided based on the third IP number and the fourth IP number, so that the cache servers belonging to the same preset resource information can be reasonably scheduled, special planning of the cache servers covered by the same preset resource due to the IP address information is avoided, and the working efficiency is improved.
In an optional embodiment of the present invention, the dividing the to-be-allocated cache server based on the third IP number and the fourth IP number, to obtain the dividing result, includes the following steps:
(1) Acquiring the IP number in the preset resource information;
(2) Calculating to obtain the duty ratio of the third IP number in the preset resource information based on the third IP number and the IP number in the preset resource information;
(3) Calculating to obtain the duty ratio of the fourth IP number in the preset resource information based on the fourth IP number and the IP number in the preset resource information;
(4) Dividing the cache server to be allocated based on the ratio of the third IP number to the IP number in the preset resource information and the ratio of the fourth IP number to the IP number in the preset resource information to obtain the division result.
Specifically, the total number of the cache servers in the preset resource information is obtained, the ratio of the third number of the IPs in the preset resource information is calculated and obtained based on the third number of the IPs and the total number of the cache servers in the preset resource information, the allocation probability of the third number of the IPs in the preset resource information is obtained through the ratio of the third number of the IPs, the cache servers to be allocated are divided into the same area according to the allocation probability, the ratio of the fourth number of the IPs in the preset resource information is calculated and obtained based on the fourth number of the IPs and the total number of the cache servers in the preset resource information, the allocation probability of the fourth number of the IPs in the preset resource information is obtained through the ratio of the fourth number of the IPs, and the cache servers to be allocated are divided into different areas according to the allocation probability. In practical applications, the preset resource information may be that, for example, CDN vendor a has 5 to-be-allocated cache server IP resources, IP address information of 2 IP and service domain name DNS request instructions belong to the same area, IP address information of 3 IP and service domain name DNS request instructions do not belong to the same area, the third IP number is 2, the fourth IP number is 3, the probability of allocating resources to the third IP cache server is 100% by 2/5=40%, and the probability of allocating resources to the fourth IP cache server is 100% by 3/5=60%.
In an optional embodiment of the present invention, the dividing the to-be-allocated cache server based on the third IP number and the fourth IP number, to obtain the dividing result, includes the following steps:
(1) And equally dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the dividing result.
In the embodiment of the invention, the cache servers to be allocated are divided into the areas and the non-areas by the third IP number and the fourth IP number, and the resources are reasonably scheduled and allocated to the corresponding cache servers according to the equal proportion of the third IP number and the fourth IP number, so that the cache servers belonging to the same area and the cache servers not belonging to the same area of the same operator can be respectively scheduled and allocated, and the working efficiency is greatly improved.
As shown in fig. 2, an embodiment of the present invention provides a resource scheduling device based on a converged CDN, which is characterized by comprising an acquisition module 1, an extraction module 2, a division module 3, and a scheduling module 4, where,
the acquiring module 1 is configured to acquire a service domain name DNS request instruction and an IP resource of a cache server to be allocated, and details can be seen from the description related to step S100 of any of the foregoing method embodiments;
an extracting module 2, configured to extract, based on the service domain name DNS request instruction, the requirement information of resource allocation and the IP address information of the service domain name DNS request instruction, and for details, see the description related to step S200 of any of the above method embodiments;
the dividing module 3 is configured to divide the area of the cache server based on the area of the IP address information and the IP resource of the cache server to obtain a division result, and details can be seen from the description related to step S300 of any method embodiment;
the scheduling module 4 is configured to schedule the cache server to be allocated based on the requirement information and the division result, and details can be referred to in the description of step S400 in any of the above method embodiments.
According to the resource scheduling device based on the fusion CDN, a service domain name DNS request instruction and an IP resource of a cache server to be allocated are obtained, IP address information is extracted according to the service domain name DNS request instruction, meanwhile, demand information of resource allocation is obtained, the area of the cache server is divided according to the area of the IP address information and the IP resource of the cache server, and the cache server to be allocated is scheduled and allocated according to the demand information of the resource allocation and the division result. By extracting the IP information and the demand information in the service domain name DNS request instruction and carrying out optimal scheduling distribution, the problem of inaccurate scheduling cut-out when the distribution difference of the cache servers contained in the fusion CDN system is large at present is solved, and the accurate distribution of the service flow can be realized in the resource scheduling process.
For specific limitations and beneficial effects of the converged CDN-based resource scheduling device, reference may be made to the above limitation of the converged CDN-based resource scheduling method, which is not described herein. The above-described respective modules of the converged CDN-based resource scheduling device may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or independent of a processor in the electronic device, or may be stored in software in a memory in the electronic device, so that the processor may call and execute operations corresponding to the above modules.
The embodiment of the present invention further provides a converged CDN-based resource scheduling device, as shown in fig. 3, fig. 3 is a schematic structural diagram of a converged CDN-based resource scheduling device provided by an alternative embodiment of the present invention, where the converged CDN-based resource scheduling device may include at least one processor 41, at least one communication interface 42, at least one communication bus 43, and at least one memory 44, where the communication interface 42 may include a Display screen (Display), a Keyboard (Keyboard), and the optional communication interface 42 may further include a standard wired interface and a wireless interface. The memory 44 may be a high-speed RAM memory (Random Access Memory, volatile random access memory) or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 44 may alternatively be at least one memory device located remotely from the aforementioned processor 41. Wherein the processor 41 may be in conjunction with the apparatus described in fig. 2, the application program is stored in the memory 44, and the processor 41 invokes the program code stored in the memory 44 for performing the steps of the converged CDN-based resource scheduling method of any of the method embodiments described above.
The communication bus 43 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, an extended industry standard architecture (extended industry standard architecture, EISA) bus, or the like. The communication bus 43 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
Wherein the memory 44 may include volatile memory (English) such as random-access memory (RAM); the memory may also include a nonvolatile memory (english: non-volatile memory), such as a flash memory (english: flash memory), a hard disk (english: hard disk drive, abbreviated as HDD) or a solid state disk (english: solid-state drive, abbreviated as SSD); memory 44 may also include a combination of the types of memory described above.
The processor 41 may be a central processor (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP.
The processor 41 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof (English: programmable logic device). The PLD may be a complex programmable logic device (English: complex programmable logic device, abbreviated: CPLD), a field programmable gate array (English: field-programmable gate array, abbreviated: FPGA), a general-purpose array logic (English: generic array logic, abbreviated: GAL), or any combination thereof.
Optionally, the memory 44 is also used for storing program instructions. Processor 41 may invoke program instructions to implement the fusion CDN-based resource scheduling method as shown in the fig. 1 embodiment of the present invention.
The embodiment of the invention also provides a non-transitory computer storage medium, which stores computer executable instructions, and the computer executable instructions can execute the fusion CDN-based resource scheduling method in any of the method embodiments. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
It is apparent that the above examples are given by way of illustration only and are not limiting of the embodiments. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. While still being apparent from variations or modifications that may be made by those skilled in the art are within the scope of the invention.

Claims (7)

1. The resource scheduling method based on the fusion CDN is characterized by comprising the following steps:
acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated;
extracting the demand information of resource allocation based on the service domain name DNS request instruction and the IP address information of the service domain name DNS request instruction;
dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to be allocated to obtain a division result;
scheduling the cache server to be allocated based on the demand information and the division result;
the dividing the area of the cache server based on the area of the IP address information and the cache server IP resource to obtain a division result includes:
acquiring the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area in preset resource information based on the IP address information;
dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the division result;
the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the dividing result includes:
acquiring the IP number in the preset resource information;
calculating to obtain the duty ratio of the third IP number in the preset resource information based on the third IP number and the IP number in the preset resource information;
calculating to obtain the duty ratio of the fourth IP number in the preset resource information based on the fourth IP number and the IP number in the preset resource information;
dividing the cache server to be allocated based on the ratio of the third IP number to the IP number in the preset resource information and the ratio of the fourth IP number to the IP number in the preset resource information to obtain the division result;
the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the dividing result includes:
and equally dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the dividing result.
2. The method for scheduling resources based on converged CDN as claimed in claim 1, wherein the dividing the area of the cache server by the area of the cache server IP resource based on the IP address information, to obtain the division result, includes:
acquiring a first IP number of the cache servers to be allocated, which belongs to the same area as the area to which the IP address information belongs, or,
acquiring a second IP number of the cache servers to be allocated, which belongs to a non-same area as the area to which the IP address information belongs;
dividing the cache servers to be allocated based on the first IP number or the second IP number to obtain the division result.
3. The converged CDN-based resource scheduling method of claim 2, wherein the partitioning the cache servers to be allocated based on the first IP number includes:
acquiring the first IP number duty ratio based on the first IP number and the IP address information;
dividing the cache servers to be allocated based on the first IP number duty ratio.
4. The converged CDN-based resource scheduling method of claim 2, wherein the partitioning the cache servers to be allocated based on the second IP count includes:
acquiring the second IP number duty ratio based on the second IP number and the IP address information;
dividing the cache servers to be allocated based on the second IP number duty ratio.
5. A converged CDN-based resource scheduling device, comprising:
the acquisition module is used for acquiring a service domain name DNS request instruction and an IP resource of a cache server to be allocated;
the extraction module is used for extracting the demand information of resource allocation and the IP address information of the service domain name DNS request instruction based on the service domain name DNS request instruction;
the division module is used for dividing the region of the cache server based on the region of the IP address information and the IP resource of the cache server to obtain a division result;
the scheduling module is used for scheduling the cache servers to be allocated based on the demand information and the division result;
the dividing module is specifically configured to:
acquiring the third IP number of the to-be-allocated cache servers in the same area and the fourth IP number of the to-be-allocated cache servers in the non-same area in preset resource information based on the IP address information;
dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the division result;
the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the dividing result includes:
acquiring the IP number in the preset resource information;
calculating to obtain the duty ratio of the third IP number in the preset resource information based on the third IP number and the IP number in the preset resource information;
calculating to obtain the duty ratio of the fourth IP number in the preset resource information based on the fourth IP number and the IP number in the preset resource information;
dividing the cache server to be allocated based on the ratio of the third IP number to the IP number in the preset resource information and the ratio of the fourth IP number to the IP number in the preset resource information to obtain the division result;
the dividing the cache server to be allocated based on the third IP number and the fourth IP number to obtain the dividing result includes:
and equally dividing the cache servers to be allocated based on the third IP number and the fourth IP number to obtain the dividing result.
6. A converged CDN-based resource scheduling device, comprising:
a communication unit, a memory and a processor, said memory and said processor being communicatively connected to each other, said memory having stored therein computer instructions, said processor executing the steps of the method according to any of claims 1-4 by executing said computer instructions.
7. A computer readable storage medium having stored thereon computer instructions for causing the computer to perform the steps of the method of any of claims 1-4.
CN202111590205.6A 2021-12-23 2021-12-23 Fusion CDN-based resource scheduling method, device and equipment Active CN114448990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111590205.6A CN114448990B (en) 2021-12-23 2021-12-23 Fusion CDN-based resource scheduling method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111590205.6A CN114448990B (en) 2021-12-23 2021-12-23 Fusion CDN-based resource scheduling method, device and equipment

Publications (2)

Publication Number Publication Date
CN114448990A CN114448990A (en) 2022-05-06
CN114448990B true CN114448990B (en) 2023-06-23

Family

ID=81363468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111590205.6A Active CN114448990B (en) 2021-12-23 2021-12-23 Fusion CDN-based resource scheduling method, device and equipment

Country Status (1)

Country Link
CN (1) CN114448990B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150469A (en) * 2022-07-21 2022-10-04 天翼云科技有限公司 Storage method and device for domain name resolution result, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2450394A1 (en) * 2000-05-26 2001-12-06 Akamai Technologies, Inc. Global load balancing across mirrored data centers
WO2013053785A1 (en) * 2011-10-13 2013-04-18 Telefonica, S.A. A method and a system to perform a distributed content acquisition process for a content delivery network
CN103873604A (en) * 2014-03-24 2014-06-18 成都博宇科技有限公司 Network access method based on analysis of CDN data
US8819227B1 (en) * 2012-03-19 2014-08-26 Narus, Inc. Discerning web content and services based on real-time DNS tagging
CN106412063A (en) * 2016-09-29 2017-02-15 赛尔网络有限公司 CDN node detection and resource scheduling system and method in education network
CN109167674A (en) * 2018-07-24 2019-01-08 网宿科技股份有限公司 Methods of marking, domain name system DNS dispatching method and the server of service node
CN110460652A (en) * 2019-07-26 2019-11-15 网宿科技股份有限公司 A kind of resource acquiring method and edge calculations dispatch server
CN111614736A (en) * 2020-04-30 2020-09-01 北京金山云网络技术有限公司 Network content resource scheduling method, domain name scheduling server and electronic equipment
CN111917898A (en) * 2020-07-24 2020-11-10 网宿科技股份有限公司 Resource scheduling policy adjusting method and device
CN112202906A (en) * 2020-10-09 2021-01-08 安徽极玩云科技有限公司 CDN access optimization method and system
CN112583952A (en) * 2020-12-09 2021-03-30 北京金山云网络技术有限公司 Redirection scheduling processing method, device and system, related equipment and storage medium
CN113037878A (en) * 2021-05-26 2021-06-25 北京拓课网络科技有限公司 CDN data access method, system and electronic equipment
CN113452808A (en) * 2021-06-29 2021-09-28 百果园技术(新加坡)有限公司 Domain name resolution method, device, equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017185006A1 (en) * 2016-04-22 2017-10-26 Level 3 Communications, Llc Anycast routing techniques in a network

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2450394A1 (en) * 2000-05-26 2001-12-06 Akamai Technologies, Inc. Global load balancing across mirrored data centers
WO2013053785A1 (en) * 2011-10-13 2013-04-18 Telefonica, S.A. A method and a system to perform a distributed content acquisition process for a content delivery network
US8819227B1 (en) * 2012-03-19 2014-08-26 Narus, Inc. Discerning web content and services based on real-time DNS tagging
CN103873604A (en) * 2014-03-24 2014-06-18 成都博宇科技有限公司 Network access method based on analysis of CDN data
CN106412063A (en) * 2016-09-29 2017-02-15 赛尔网络有限公司 CDN node detection and resource scheduling system and method in education network
CN109167674A (en) * 2018-07-24 2019-01-08 网宿科技股份有限公司 Methods of marking, domain name system DNS dispatching method and the server of service node
CN110460652A (en) * 2019-07-26 2019-11-15 网宿科技股份有限公司 A kind of resource acquiring method and edge calculations dispatch server
CN111614736A (en) * 2020-04-30 2020-09-01 北京金山云网络技术有限公司 Network content resource scheduling method, domain name scheduling server and electronic equipment
CN111917898A (en) * 2020-07-24 2020-11-10 网宿科技股份有限公司 Resource scheduling policy adjusting method and device
CN112202906A (en) * 2020-10-09 2021-01-08 安徽极玩云科技有限公司 CDN access optimization method and system
CN112583952A (en) * 2020-12-09 2021-03-30 北京金山云网络技术有限公司 Redirection scheduling processing method, device and system, related equipment and storage medium
CN113037878A (en) * 2021-05-26 2021-06-25 北京拓课网络科技有限公司 CDN data access method, system and electronic equipment
CN113452808A (en) * 2021-06-29 2021-09-28 百果园技术(新加坡)有限公司 Domain name resolution method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"DNS Traffic Analysis: Issues of IPv6 and CDN";K. Fujiwara;《012 IEEE/IPSJ 12th International Symposium on Applications and the Internet》;全文 *
崔子琦." 业务特征感知的CDN网络资源调度的研究".《中国优秀硕士学位论文信息科技辑》.2021,全文. *

Also Published As

Publication number Publication date
CN114448990A (en) 2022-05-06

Similar Documents

Publication Publication Date Title
CN110798360B (en) NWDAF network element selection method and device, electronic equipment and readable storage medium
CN109845303B (en) Management method and management unit for network slices
CN108881448B (en) API request processing method and device
EP3664372B1 (en) Network management method and related device
US11863439B2 (en) Method, apparatus and storage medium for application identification
CN107070709B (en) NFV (network function virtualization) implementation method based on bottom NUMA (non uniform memory Access) perception
CN110224943B (en) Flow service current limiting method based on URL, electronic equipment and computer storage medium
CN114302429B (en) NWDAF network element determination method, device, equipment and storage medium
CN111966289A (en) Partition optimization method and system based on Kafka cluster
CN114448990B (en) Fusion CDN-based resource scheduling method, device and equipment
CN105357267A (en) Method, device and system for obtaining server information
CN111628878A (en) Fault positioning method, device and system based on multi-stage network nodes
CN106095511A (en) A kind of server updating method and apparatus
WO2018023966A1 (en) Method and device for determining caching strategy
CN106294457B (en) Network information pushing method and device
CN112003743B (en) Service data processing method and device
CN113132891A (en) Passenger flow statistical method and system based on mobile signaling
CN106681894B (en) Monitoring method and monitoring device of intelligent equipment
US20230161634A1 (en) Mapping an application signature to designated cloud resources
CN114422404A (en) Flow statistical method, device, equipment and storage medium
CN113596105A (en) Content acquisition method, edge node and computer-readable storage medium
CN115373831A (en) Data processing method, device and computer readable storage medium
CN106385385B (en) Resource allocation method and device
CN107180042B (en) Search engine flow statistical method, device and system
CN112217852A (en) Platform-as-a-service system and method based on workflow engine

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