CN111343244B - Cloud distribution network scheduling method and device and computer readable storage medium - Google Patents
Cloud distribution network scheduling method and device and computer readable storage medium Download PDFInfo
- Publication number
- CN111343244B CN111343244B CN202010090983.8A CN202010090983A CN111343244B CN 111343244 B CN111343244 B CN 111343244B CN 202010090983 A CN202010090983 A CN 202010090983A CN 111343244 B CN111343244 B CN 111343244B
- Authority
- CN
- China
- Prior art keywords
- address
- ipv4
- ipv6
- bandwidth
- mixed
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/659—Internet protocol version 6 [IPv6] addresses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/686—Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks
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 cloud distribution network scheduling method and device and a computer readable storage medium. The cloud distribution network scheduling method comprises the following steps: determining schedulable mixed address type server address information according to available bandwidth carrying capacity when receiving access requests of different target address types; providing the determined schedulable mixed address type server address information to the scheduling means. The disclosed technical scheme can perform accurate scheduling for different types of IP addresses.
Description
The application is a divisional application of a Chinese patent application with the application number of 201810967689.3 and the invented name of 'a cloud distribution network scheduling system and method', which is submitted by the patent office of the Chinese intellectual Property office in 2018, 8 months and 23 days.
Technical Field
The invention relates to the field of computer network and server load balancing, in particular to a cloud distribution network scheduling method and a computer readable storage medium.
Background
With the continuous expansion of the internet, the address pool of the IPv4 is facing exhaustion, which will hinder the development of the internet to some extent, and therefore, the IETF has made an IPv6 protocol. IPv6 will be rapidly popularized as an IP layer address identifier of next generation internet devices, and will face the problem of sharing IPv4 and IPv6 in the current and future internet development processes, and a network service provider (e.g., CDN manufacturer) will face the problem of traffic scheduling where IPv4 and IPv6 coexist, so how to reasonably and conveniently make IPv4 and IPv6 coexist and make the scheduling of coexistence reasonable, efficient and automatic becomes an important research topic for people today.
In the prior art, in order to implement coexistence scheduling in the process of IPv 4-to-IPv 6 transition, a network service provider often needs to establish an IPv4 virtual machine and an IPv6 virtual machine on a network server, and a scheduler or an equalizer determines whether to use the IPv6 virtual machine for service or use the IPv4 virtual machine for providing network service according to the format of a server IP address in an access request, and then selects a corresponding IPv4 virtual machine or IPv6 virtual machine (for example, located in a CDN edge node). However, since the physical servers are only used to cache resources, the resources accessed by the two virtual machines in this manner are virtually indistinguishable. In addition, the method does not respectively count two different bandwidths (quantity or magnitude) corresponding to the accessed IPv4 address and the IPv6 address, and does not respectively schedule, so that the problem that the bandwidth bearing capacity of the whole server is possibly overloaded due to the fact that the IP addresses of different types cannot be accurately scheduled exists.
That is, in the prior art, in order to accelerate IPV6, a network service provider generally sets IPV4 and IPV6 virtual machines, respectively, then performs resource pool allocation by classification, and determines whether to use IPV4 service or a virtual machine corresponding to an IPV6 service allocation server based on the format of a server IP address in an access request. In the process, the server is divided into two virtual machines, the same file needs two spaces, the operation is complex, and the installation needs to be repeated twice. In addition, when the resource pools are allocated in a classified manner, the problem of redundancy of resources of the server or the machine room is not considered, the coexistence scheduling allocation is uneven, more manual intervention operations are needed, and automation and high efficiency cannot be realized.
In order to solve the above problems, new technical solutions need to be proposed.
Disclosure of Invention
The cloud distribution network scheduling system according to the present invention includes:
scheduling means for receiving the access request, determining a target address type in the access request, generating a scheduling instruction for scheduling a hybrid address type server corresponding to the target address type to provide a service,
the target address type comprises an IPv4 address and an IPv6 address.
The cloud distribution network scheduling system according to the present invention further includes:
a hybrid address type server for providing a service according to the scheduling instruction,
the mixed address type server comprises a first type server provided with a network card supporting an IPv4 address protocol, a second type server provided with a network card supporting an IPv6 address protocol, a third type server provided with a network card supporting the IPv4 address protocol and a network card supporting the IPv6 address protocol at the same time or a third type server provided with a network card supporting the IPv4 address protocol and the IPv6 address protocol at the same time.
The cloud distribution network scheduling system according to the present invention further includes:
schedulable mixed address type server address information obtaining means for obtaining and providing schedulable mixed address type server address information to the scheduling means for use by the scheduling means in making scheduling decisions,
wherein, the schedulable mixed address type server address information includes: IP address information of a first type of server that can be scheduled, IP address information of a second type of server that can be scheduled, and IP address information of a third type of server that can be scheduled.
According to the cloud distribution network scheduling system, the schedulable mixed address type server address information acquisition device comprises:
the load capacity calculation module is used for calculating the available bandwidth load capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type in real time;
an address pool association module, which is used for obtaining address information of schedulable mixed address type servers based on available bandwidth carrying capacity when each mixed address type server and each machine room node receive access requests of IPv4 address and/or IPv6 address types,
wherein, the schedulable mixed address type server address information includes:
the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or
Addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
According to the cloud distribution network scheduling system of the invention, the scheduling device comprises:
a scheduling decision module for generating a scheduling instruction based on schedulable mixed address type server address information,
wherein the scheduling instruction includes an address of the scheduled mixed address type server.
The cloud distribution network scheduling method comprises the following steps:
receiving an access request through a scheduling device, determining a target address type in the access request, generating a scheduling instruction for scheduling a hybrid address type server corresponding to the target address type to provide service,
the target address type comprises an IPv4 address and an IPv6 address.
The cloud distribution network scheduling method further comprises the following steps:
providing services according to the scheduling instructions via the mixed address type server,
the mixed address type server comprises a first type server provided with a network card supporting an IPv4 address protocol, a second type server provided with a network card supporting an IPv6 address protocol, a third type server provided with a network card supporting the IPv4 address protocol and a network card supporting the IPv6 address protocol at the same time or a third type server provided with a network card supporting the IPv4 address protocol and the IPv6 address protocol at the same time.
The cloud distribution network scheduling method further comprises the following steps:
the address information of the schedulable mixed address type server is obtained by the schedulable mixed address type server address information obtaining device and is provided for the scheduling device to use when the scheduling device makes scheduling decision,
wherein, the schedulable mixed address type server address information includes: IP address information of a first type of server that can be scheduled, IP address information of a second type of server that can be scheduled, and IP address information of a third type of server that can be scheduled.
According to the cloud distribution network scheduling method, the schedulable mixed address type server address information obtaining device obtains and provides the schedulable mixed address type server address information for the scheduling device, and the scheduling device performs scheduling decision using the steps further comprising:
calculating the available bandwidth carrying capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type in real time through a carrying capacity calculation module;
obtaining schedulable mixed address type server address information based on available bandwidth carrying capacity when each mixed address type server and each machine room node receive access requests of IPv4 address and/or IPv6 address type through an address pool correlation module,
wherein, the schedulable mixed address type server address information includes:
the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or
Addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
According to the cloud distribution network scheduling method, the scheduling device receives an access request aiming at a mixed address type server, determines a target address type in the access request, and generates a scheduling instruction for scheduling the mixed address type server corresponding to the target address type to provide services, wherein the scheduling instruction comprises the following steps:
generating a scheduling instruction based on schedulable hybrid address type server address information via a scheduling decision module,
wherein the scheduling instruction includes an address of the scheduled mixed address type server.
According to the technical scheme of the invention, the IP addresses of different types can be accurately scheduled.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings, like reference numerals are used to indicate like elements. The drawings in the following description are directed to some, but not all embodiments of the invention. For a person skilled in the art, other figures can be derived from these figures without inventive effort.
Fig. 1 schematically shows a schematic diagram of a cloud distribution network scheduling system according to the present invention.
Fig. 2 schematically shows an embodiment of the cloud distribution network scheduling system according to the present invention.
Fig. 3 is a schematic diagram schematically illustrating exemplary steps that may be performed by a bearer calculation module in the schedulable hybrid address type server address information obtaining apparatus according to the present invention.
Fig. 4 exemplarily shows a schematic flow chart of a cloud distribution network scheduling method according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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 invention. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 schematically shows a schematic diagram of a cloud distribution network scheduling system according to the present invention.
As shown in a solid line box of fig. 1, a cloud distribution network scheduling system 100 according to the present invention includes:
a dispatching device 101 for receiving the access request, determining the target address type in the access request, generating a dispatching instruction for dispatching the mixed address type server 103 corresponding to the target address type to provide service,
the target address type comprises an IPv4 address and an IPv6 address.
For example, the access request is sent by the user 107 through the personal client 109 to the scheduling device 101 via the network.
For example, the scheduling device 101 may automatically perform the replacement scheduling of the address for different address types according to a scheduling task that is set in advance and needs to be executed. Optionally, specific information of each scheduling (e.g., whether the scheduling was successful, other returned results of the scheduling execution) may be recorded into the database.
For example, a MySQL database may be used, and a primary key "node" is set in the table according to the service software type, time, and problem type as unique identifiers, and the fields are mainly: "time", "IPv4 address", "IPv6 address", "classification bandwidth", "classification bearer", "scheduling result", and the like. And data operation is supported, and the content in the data can be synchronously modified when a new use case is changed. The storage can be carried out for a long time, and the reason can be inquired or the failure can be recovered when needed in the later period.
Optionally, as shown in a dashed box of fig. 1, the cloud distribution network scheduling system 100 according to the present invention further includes:
a hybrid address type server 103 for providing a service according to a scheduling instruction,
the mixed address type server 103 includes a first type server installed with a network card supporting an IPv4 address protocol, a second type server installed with a network card supporting an IPv6 address protocol, a third type server installed with a network card supporting an IPv4 address protocol and a network card supporting an IPv6 address protocol at the same time, or a third type server installed with a network card supporting an IPv4 address protocol and an IPv6 address protocol at the same time.
For example, the first type server, the second type server, and the third type server may be a plurality of servers located in the same room node or located in different room nodes. One area may have one or more room nodes, and multiple mixed address type servers 103 in one room node or multiple mixed address type servers 103 in multiple room nodes may provide the same network service.
For example, the mixed address type server 103 includes an IPv6 address automatic addition module (not shown in fig. 1), and the IPv6 address automatic addition module may add the second type server or the third type server by:
s1: when applying for an IPv6 address to the computer room, the network department may fill in an IPv6 address automatic addition module (e.g., an entry page module for inputting an IPv6 address).
S2: when an independent network card configured to support the IPv6 address protocol does not need to be additionally installed, for example, the IPv6 address can be acquired by the IPv6 address automatic adding module, and automatically sent to the IPv4 server, and the IPv6 address is automatically added to the network card where the IPv4 of the node server is located according to the IPv4 address from small to large.
Optionally, as shown in a dashed box of fig. 1, the cloud distribution network scheduling system 100 according to the present invention further includes:
schedulable hybrid address type server address information obtaining means 105 for obtaining and providing schedulable hybrid address type server address information to the scheduling means 101 for use by the scheduling means 101 in making scheduling decisions,
wherein, the schedulable mixed address type server address information includes: IP address information of a first type of server that can be scheduled, IP address information of a second type of server that can be scheduled, and IP address information of a third type of server that can be scheduled.
That is, the schedulable mixed address type server address information obtaining device 105 can perform data statistics and analysis respectively for the actual bandwidth amount of the coexisting address server (i.e., the mixed address type server) and the machine room node networking type from the actual access (i.e., based on the user access request), so as to provide a data basis for accurate coexistence scheduling.
For example, schedulable mixed address type server address information may be obtained by:
s3: and acquiring the bandwidth value accessed by different network card types (namely the target address types) on each server according to the address types of the network cards.
S4: the monitoring system acquires the IPv6 address added by the network card and automatically monitors http, tcp and icmp in a related manner, and the addresses of the two types (namely, the target address type) need to be monitored separately mainly because the machine room has different network routes for IPv4 and IPv 6.
S5: alternatively, bandwidth data of the machine (i.e., server), monitoring data for different address types, may be stored in a database (e.g., database 111 shown in FIG. 1).
That is, as described above, the above-described coexistence scheduling system 100 including the hybrid address type server 103 (including the IPv6 address automatic addition module) and the schedulable hybrid address type server address information acquiring apparatus 105 is mainly used to: the method comprises the steps of automatically adding new IPv6 addresses, collecting real-time machine bandwidth and node classification and aggregation bandwidth of IPv4 and IPv6, and carrying out necessary availability monitoring on the IPv6 addresses.
Fig. 2 schematically shows an embodiment of the cloud distribution network scheduling system according to the present invention.
As shown in fig. 2, the embodiment includes an IPv6 address automatic adding module, a schedulable mixed address type server address information obtaining apparatus, and a database.
The IPv6 address automatic adding module is used for executing the step S2; the schedulable mixed address type server address information acquisition device is used for executing the steps S3-S4; the database is used for storing the bandwidth data and the monitoring data involved in the step S5.
Optionally, the schedulable mixed address type server address information obtaining means 105 comprises (not shown in fig. 1):
the load capacity calculation module is used for calculating the available bandwidth load capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type in real time;
an address pool association module, which is used for obtaining address information of schedulable mixed address type servers based on available bandwidth carrying capacity when each mixed address type server and each machine room node receive access requests of IPv4 address and/or IPv6 address types,
wherein, the schedulable mixed address type server address information includes:
the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or alternatively
Addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
That is, the load calculation module (i.e., the basic data acquisition module) may calculate the available (egress or downlink) bandwidth load of each type (which is divided into two types, i.e., IPv4 and IPv6, according to the type of the bandwidth egress of the machine room) by calculating the peak bandwidth value and the used bandwidth value of the coexistence of the real-time single machine (i.e., a single server), the machine room node, and IPv4 and IPv 6. The address pool association module associates the address type with the machine room node in the area, the bandwidth outlet type with the corresponding real-time bandwidth and the bearing capacity, for example, address information of a schedulable mixed address type server can be obtained and used as a data basis of scheduling decision.
Fig. 3 is a schematic diagram schematically illustrating exemplary steps that may be performed by a bearer calculation module in the schedulable hybrid address type server address information obtaining apparatus according to the present invention.
As shown in fig. 3, the bearer calculation module may obtain the available bandwidth bearer by:
s1: the method comprises the steps of automatically acquiring the IPv4 and IPv6 bandwidth outlet types of nodes of a computer room, judging whether the bandwidth outlets are the same bandwidth outlets, the peak value of the outlet bandwidth and the peak value of the network card bandwidth of a server (most of the peak values of the bandwidth outlets of the computer room are defined by computer room charging, most of the peak values of the network card bandwidth of the server are related to the network card hardware information, for example, the peak value of the network card bandwidth outlet of 10G is positioned by 7G).
S2: corresponding to the "bandwidth value calculation" step in fig. 3, the real-time IPv4 and IPv6 bandwidth values of the machine room node (i.e., corresponding to the "(2) classification type node IPv4 and IPv6 bandwidth values in fig. 3), and the real-time IPv4 and IPv6 bandwidth values of the individual (i.e., corresponding to the" (1) classification type individual IPv4 and IPv6 bandwidth values in fig. 3) are automatically acquired.
S3: if the IPv4 and IPv6 are the same bandwidth egress (i.e., corresponding to the "IPv4/IPv6 same bandwidth egress" in fig. 3), the available bandwidth carrying capacity of the node is: this bandwidth egress peak minus (IPv 4 and IPv6 bandwidth sum (i.e., corresponding to "calculate node total bandwidth carrying capacity from (4)" in fig. 3)). If the IPv4 and IPv6 different bandwidth outlets (i.e. corresponding to the "IPv4/IPv6 different bandwidth outlet" in fig. 3), the available bandwidth carrying capacity of the node is: different bandwidth egress peak value minus (corresponding to the sum of address type bandwidths (i.e., corresponding to "calculating IPv4 and IPv6 node bearers, respectively, according to (2)" in fig. 3)).
S4: calculating the stand-alone available capacity (i.e. corresponding to "calculating the server bandwidth capacity according to (3)" in fig. 3), for example, since the third type server installs a network card supporting the IPv4 address protocol and a network card supporting the IPv6 address protocol at the same time, or binds IPv4 and IPv6 to the original network card (the latter reduces the cost relative to the former), the stand-alone available bandwidth capacity is equal to the bandwidth peak value of a single server minus (the sum of IPv4 and IPv6 bandwidths that are currently used).
S5: by differentiating the access log, the partitioned bandwidth of IPv4 and IPv6 (corresponding to "(5) partitioned bandwidth of IPv4 and IPv6 in fig. 3) is calculated, respectively. For example, since one server in a CDN node is often used to serve multiple regions, for example, the total current bandwidth of an IPv6 address on one CDN server in one machine room node of a building is 2G, the bandwidth of a sub-region is 1G in fujian, 500M in zhejiang, and 500M in west of jiang.
S6: calculating the stand-alone bandwidth ratio of the two addresses of the current server according to the IPv4 and IPv6 bandwidth values of the stand-alone server (i.e. corresponding to the "IPv4/IPv6 stand-alone bandwidth ratio" in fig. 3 obtained according to (1) and (3) "in fig. 3), the corresponding data can be stored in the database.
For example, the address pool association module may derive schedulable mixed address type server address information as a data basis for scheduling decisions by:
s1: all the nodes of the CDN are divided according to regional operators, a set (namely a regional address pool) of server addresses contained in each regional node is constructed, and the addresses which are monitored abnormally are removed automatically. The scheduling means 101 performs scheduling by a local address pool by default.
S2: and counting the nodes in each area, the current bandwidth carrying capacity of the nodes, the number of node machines, the carrying capacity of the bandwidth of each machine and the bandwidth proportion of IPv4 and IPv6 of each machine.
S3: firstly, classifying according to the machine room bandwidth outlet types (IPv 4 and IPv6 are same bandwidth outlets, IPv4 and IPv6 are different bandwidth outlets), then sequencing according to the IPv4 and IPv6 bandwidth bearing capacity of the nodes from large to small, and sequencing the single machine bearing capacity in each node from large to small to obtain the schedulable mixed address type server address information.
S4: alternatively, the corresponding data (i.e., the schedulable hybrid address type server address information described above) may be stored in a database.
Optionally, the scheduling means 101 comprises (not shown in fig. 1):
a scheduling decision module for generating a scheduling instruction based on schedulable mixed address type server address information,
wherein the scheduling instruction includes an address of the scheduled mixed address type server.
For example, for different scheduling scenarios a and B, the corresponding scheduling instructions may be generated through the following different steps:
1. scheduling scenario a: when a client newly accesses a domain name in a certain area and accelerates the CDN, some basic information is filled before acceleration, the peak value and the address type of the accelerated area are obtained, and then the optimal node of the address pool of the corresponding area is selected for covering.
Com needs to speed up in the foghbuilding telecommunications area, for example, and is expected to have a 20G peak, IPv6 type address.
S1: the decision-making system automatically obtains the information.
S2: and automatically judging whether the current IPv6 bandwidth carrying capacity of the machine room in the Fujian telecommunication area is 20G or not, if so, carrying out the next step, and if not, selecting the machine room in the province of other same operators in the same district.
S3: preferentially selecting machine room nodes with different IPv4 bandwidth outlets and IPv6 bandwidth outlets, and if preferentially selecting the machine room nodes with the same bandwidth outlets, the bandwidth load of the machine room bandwidth outlets is easily overhigh.
S4: and selecting nodes with the load larger than 20G according to the load capacity, and selecting the first servers with the load sizes of the servers and servers close to 20G in the nodes as coverage edges (namely, generating scheduling instructions) in order to avoid excessive distribution.
2. Scheduling scenario B: the customer area magnitude is an expected value, and the overload of the current single machine or machine room node often occurs due to burst or node abnormality.
S1: the single machine or node overload is discovered through monitoring.
S2: when the single machine is overloaded, the single machine bandwidth proportion of the single machines IPv4 and IPv6 is automatically obtained, the address type with higher proportion is preferentially called, judgment is carried out according to the server sub-region bandwidth (for example, the step S5 for obtaining the available bandwidth bearing capacity can be referred), and the non-local bandwidth value is obtained.
S3: the non-local corresponding regional address pool is automatically selected, for example, the addresses of the same type capable of bearing network services can be preferentially selected according to the principle that nodes of machine rooms with different bandwidth exits have priority and large bearing capacity has priority, if the machine rooms with IPv4 and IPv6 with the same bandwidth exits are selected, a single machine with large bearing capacity is preferentially selected, and then the address with the smallest address type ratio is selected for scheduling.
S4: the dispatch system is reported in real time with the need to dispatch (i.e., generate a dispatch instruction) and the corresponding socket address.
Fig. 4 exemplarily shows a schematic flow chart of a cloud distribution network scheduling method according to the present invention.
As shown in a solid line box of fig. 1, the cloud distribution network scheduling method according to the present invention includes:
step S402: receiving an access request through a scheduling device, determining a target address type in the access request, generating a scheduling instruction for scheduling a hybrid address type server corresponding to the target address type to provide service,
the target address type comprises an IPv4 address and an IPv6 address.
Optionally, as shown in a dashed line box of fig. 4, the cloud distribution network scheduling method according to the present invention further includes:
step S404: providing a service according to the scheduling instructions via the mixed address type server,
the mixed address type server comprises a first type server provided with a network card supporting an IPv4 address protocol, a second type server provided with a network card supporting an IPv6 address protocol, a third type server provided with a network card supporting the IPv4 address protocol and a network card supporting the IPv6 address protocol at the same time or a third type server provided with a network card supporting the IPv4 address protocol and the IPv6 address protocol at the same time.
Optionally, as shown in a dashed line box of fig. 4, the cloud distribution network scheduling method according to the present invention further includes:
step S406: the address information of the schedulable mixed address type server is obtained by the schedulable mixed address type server address information obtaining device and is provided for the scheduling device to use when the scheduling device makes scheduling decision,
the schedulable mixed address type server address information comprises: IP address information of a first type of server that can be scheduled, IP address information of a second type of server that can be scheduled, and IP address information of a third type of server that can be scheduled.
Optionally, step S406 further comprises (not shown in fig. 4):
calculating the available bandwidth carrying capacity of each mixed address type server and each machine room node when receiving an access request of an IPv4 address type and/or an IPv6 address type in real time through a carrying capacity calculation module;
obtaining schedulable mixed address type server address information based on available bandwidth carrying capacity when each mixed address type server and each machine room node receive access requests of IPv4 address and/or IPv6 address type through an address pool correlation module,
wherein, the schedulable mixed address type server address information includes:
the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or
Addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
Optionally, step S402 comprises (not shown in fig. 4):
generating a scheduling instruction based on schedulable hybrid address type server address information via a scheduling decision module,
wherein the scheduling instruction includes an address of the scheduled mixed address type server.
According to the technical scheme of the invention, the method has the following advantages:
1. the coexistence mode in the transition process from the IPv4 address to the IPv6 address is optimized. For example, the scheduling can be accurately performed for different types of IP addresses, so that the problem of bandwidth carrying capacity overload scheduling of the whole server is avoided.
2. The problem of unreasonable bandwidth utilization in the coexistence process of the IPv4 address and the IPv6 address is solved, and manual operation (for example, manual operation without installing a virtual machine) is greatly reduced.
3. By integrating IPv4 and IPv6 scheduling through automated access scheduling and overload scheduling, adverse effects of coexistence issues on customers are reduced (e.g., without requiring changes to software used by the customers).
That is, according to the above technical solution of the present invention, through a way that IPv4 and IPv6 coexist more reasonably, service addresses of IPv4 and IPv6 are bound to one machine at the same time, and through accurate judgment on the server and the machine room under the condition that IPv4 and IPv6 coexist, reasonable scheduling is performed, so that coexistence scheduling is more intelligent and efficient. According to the technical scheme of the invention, different accesses are scheduled differently, and the accesses to the network resources in the server or the machine room are scheduled accurately based on different types of IP addresses under the condition of reducing personnel investment.
The above-described embodiments can be implemented individually or in various combinations, and such variations are within the scope of the present invention.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above examples are only for illustrating the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A cloud distribution network scheduling method is characterized by comprising the following steps:
determining schedulable mixed address type server address information according to available bandwidth carrying capacity when each mixed address type server and each machine room node receive access requests of IPv4 addresses and/or IPv6 address types; the mixed address type server comprises a first type server provided with a network card supporting an IPv4 address protocol, a second type server provided with a network card supporting an IPv6 address protocol, a third type server provided with a network card supporting the IPv4 address protocol and a network card supporting the IPv6 address protocol at the same time or a third type server provided with a network card supporting the IPv4 address protocol and the IPv6 address protocol at the same time; the mixed address type server comprises an IPv6 address automatic adding module which is used for adding an IPv6 address to a network card where the node server IPv4 is located;
providing the determined schedulable mixed address type server address information to the scheduling means.
2. The cloud distribution network scheduling method of claim 1, wherein the determining address information of the schedulable hybrid address type server according to available bandwidth carrying capacity when each hybrid address type server and each machine room node receive an access request of an IPv4 address and/or an IPv6 address type includes:
calculating the available bandwidth carrying capacity of each mixed address type server and each machine room node when receiving an access request of an IPv4 address and/or an IPv6 address type in real time;
and obtaining the address information of the schedulable mixed address type server based on the available bandwidth carrying capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type.
3. The cloud distribution network scheduling method according to claim 2, wherein the calculating available bandwidth carrying capacity of each mixed address type server and each machine room node in real time when receiving an access request of an IPv4 address and/or an IPv6 address type includes:
and obtaining the real-time peak bandwidth value and the used bandwidth value of the coexistence of the single machine, the machine room node, the IPv4 address and the IPv6 address to calculate the available bandwidth carrying capacity of the IPv4 address and the IPv6 address.
4. The cloud distribution network scheduling method according to claim 2, wherein the calculating available bandwidth carrying capacity of each mixed address type server and each machine room node when receiving the access request of the IPv4 address and/or the IPv6 address type in real time specifically includes the following steps:
acquiring IPv4 addresses and IPv6 address bandwidth outlet types of the machine room nodes, acquiring whether the machine room nodes are identical bandwidth outlets or not, and acquiring outlet bandwidth peak values and server network card bandwidth peak values;
acquiring real-time IPv4 and IPv6 bandwidth values of machine room nodes and real-time IPv4 and IPv6 bandwidth values of a single machine;
if the IPv4 and the IPv6 are the same bandwidth outlet, the available bandwidth carrying capacity of the machine room node is: subtracting the sum of IPv4 and IPv6 bandwidth values from the peak value of the outlet bandwidth;
if the IPv4 and the IPv6 are different bandwidth outlets, the available bandwidth carrying capacity of the machine room node is: subtracting the sum of the bandwidths of the corresponding address types from the different bandwidth outlet peak values;
and calculating the available bearing capacity of the single machine, wherein the available bearing capacity of the single machine is equal to the sum of the bandwidth peak value of the single machine minus the currently used IPv4 and IPv6 bandwidth values.
5. The cloud distribution network scheduling method according to claim 4, wherein the calculating of available bandwidth carrying capacity when each mixed address type server and each machine room node receive an access request of an IPv4 address and/or an IPv6 address type in real time further includes:
respectively calculating partition zone bandwidth values of IPv4 and IPv 6;
and calculating the single machine bandwidth ratio of the IPv4 address and the IPv6 address of the current server according to the IPv4 bandwidth value and the IPv6 bandwidth value of the single machine of the server.
6. The cloud distribution network scheduling method according to claim 2, wherein the obtaining of the schedulable hybrid address type server address information based on the available bandwidth carrying capacity when each hybrid address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type includes:
dividing all nodes according to regional operators, constructing a set of server addresses contained in each regional node, and automatically removing addresses with abnormal monitoring;
counting the nodes in each area, the current bandwidth carrying capacity of the nodes, the number of node servers, the carrying capacity of the bandwidth of each server and the bandwidth proportion of IPv4 and IPv6 of each server;
after classification is carried out according to the bandwidth outlet types of the machine rooms, sorting is carried out according to the descending of the bearing capacity of IPv4 and IPv6 bandwidths of the nodes, and the bearing capacity of a single machine in each node is sorted from descending to ascending to descending to obtain the address information of the schedulable mixed address type server.
7. The cloud distribution network scheduling method of claim 1, wherein the schedulable mixed address type server address information comprises:
the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or
Addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
8. A cloud distribution network scheduling apparatus, comprising:
the schedulable mixed address type server address information acquisition device is used for determining schedulable mixed address type server address information according to the available bandwidth bearing capacity when each mixed address type server and each machine room node receive an access request of an IPv4 address and/or an IPv6 address type; and providing the determined schedulable hybrid address type server address information to a scheduling device, the schedulable hybrid address type server address information comprising: the address of the mixed address type server with the maximum available bandwidth bearing capacity or the address of the mixed address type server with the maximum available bandwidth bearing capacity in the machine room node with the maximum available bandwidth bearing capacity respectively corresponds to the access request of the IPv4 address and/or the IPv6 address type; or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity respectively corresponding to access requests of IPv4 addresses and/or IPv6 address types or addresses of a plurality of mixed address type servers with large available bandwidth bearing capacity in a plurality of machine room nodes with large available bandwidth bearing capacity.
9. The cloud distribution network scheduling apparatus according to claim 8, wherein the schedulable mixed address type server address information obtaining apparatus includes:
the load capacity calculation module is used for calculating the available bandwidth load capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type in real time;
and the address pool association module is used for obtaining schedulable mixed address type server address information based on the available bandwidth bearing capacity when each mixed address type server and each machine room node receive the access request of the IPv4 address and/or the IPv6 address type.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the authentication method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010090983.8A CN111343244B (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling method and device and computer readable storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810967689.3A CN110858849A (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling system and method |
CN202010090983.8A CN111343244B (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling method and device and computer readable storage medium |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810967689.3A Division CN110858849A (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111343244A CN111343244A (en) | 2020-06-26 |
CN111343244B true CN111343244B (en) | 2023-01-31 |
Family
ID=69635203
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010090983.8A Active CN111343244B (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling method and device and computer readable storage medium |
CN201810967689.3A Pending CN110858849A (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling system and method |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810967689.3A Pending CN110858849A (en) | 2018-08-23 | 2018-08-23 | Cloud distribution network scheduling system and method |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN111343244B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117112236B (en) * | 2023-10-23 | 2024-02-20 | 山东曙光照信息技术股份有限公司 | Jurisdictional server configuration method and system based on data inrush current and volatility prediction |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585376A (en) * | 2003-08-20 | 2005-02-23 | 华为技术有限公司 | Addressing converting method and mixed addressing converting router for realizing it |
CN101237410A (en) * | 2008-03-04 | 2008-08-06 | 中山大学 | A method for realizing communication of mobile node in IPv4/v6 mixed network |
CN102255982A (en) * | 2011-07-21 | 2011-11-23 | 电子科技大学 | Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method |
CN102771083A (en) * | 2009-12-23 | 2012-11-07 | 思杰系统有限公司 | Systems and methods for mixed mode of IPv6 and IPv4 DNS of global server load balancing |
CN104104599A (en) * | 2013-04-10 | 2014-10-15 | 华耀(中国)科技有限公司 | System and method for simultaneously supporting IPv4 and IPv6 main/standby switching |
CN104935521A (en) * | 2014-03-18 | 2015-09-23 | 中国电信股份有限公司 | Global load balancing method and server for realizing hybrid scheduling |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010062757A (en) * | 2008-09-02 | 2010-03-18 | Panasonic Corp | Dns proxy apparatus and dns relay method |
US9054943B2 (en) * | 2009-12-23 | 2015-06-09 | Citrix Systems, Inc. | Systems and methods for mixed mode handling of IPv6 and IPv4 traffic by a virtual server |
JP5745169B2 (en) * | 2011-07-22 | 2015-07-08 | ▲ホア▼▲ウェイ▼技術有限公司 | Content processing method, content processing device, and content processing system |
CN103747023A (en) * | 2011-12-31 | 2014-04-23 | 华茂云天科技(北京)有限公司 | Elastic network bandwidth service system |
CN104394441B (en) * | 2014-11-27 | 2019-06-14 | 北京奇艺世纪科技有限公司 | A kind of dispatching method, the apparatus and system of video content distribution |
CN107465708B (en) * | 2016-06-02 | 2020-02-28 | 腾讯科技(深圳)有限公司 | CDN bandwidth scheduling system and method |
-
2018
- 2018-08-23 CN CN202010090983.8A patent/CN111343244B/en active Active
- 2018-08-23 CN CN201810967689.3A patent/CN110858849A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585376A (en) * | 2003-08-20 | 2005-02-23 | 华为技术有限公司 | Addressing converting method and mixed addressing converting router for realizing it |
CN101237410A (en) * | 2008-03-04 | 2008-08-06 | 中山大学 | A method for realizing communication of mobile node in IPv4/v6 mixed network |
CN102771083A (en) * | 2009-12-23 | 2012-11-07 | 思杰系统有限公司 | Systems and methods for mixed mode of IPv6 and IPv4 DNS of global server load balancing |
CN102255982A (en) * | 2011-07-21 | 2011-11-23 | 电子科技大学 | Internet protocol version 4 (IPv4)/IPv6 translation gateway and translation method |
CN104104599A (en) * | 2013-04-10 | 2014-10-15 | 华耀(中国)科技有限公司 | System and method for simultaneously supporting IPv4 and IPv6 main/standby switching |
CN104935521A (en) * | 2014-03-18 | 2015-09-23 | 中国电信股份有限公司 | Global load balancing method and server for realizing hybrid scheduling |
Also Published As
Publication number | Publication date |
---|---|
CN110858849A (en) | 2020-03-03 |
CN111343244A (en) | 2020-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108293004B (en) | System and method for network slice management | |
CN109547517B (en) | Method and device for scheduling bandwidth resources | |
Chiha et al. | Network slicing cost allocation model | |
US20150081902A1 (en) | Connectivity service orchestrator | |
US20190034244A1 (en) | Resource allocation method for vnf and apparatus | |
CN111858054B (en) | Resource scheduling system and method based on edge computing in heterogeneous environment | |
CN106657287A (en) | Data access method and system | |
CN108512672B (en) | Service arranging method, service management method and device | |
CN108243110B (en) | Resource adjusting method, device and system | |
CN113596863A (en) | Method, apparatus and medium for determining user plane function and providing information | |
CN111082960A (en) | Data processing method and device | |
CN109618003B (en) | Server planning method, server and storage medium | |
CN107733805B (en) | Service load scheduling method and device | |
CN116340005B (en) | Container cluster scheduling method, device, equipment and storage medium | |
CN106452842A (en) | Network function virtualization (NFV) intermediate system framework | |
CN111343244B (en) | Cloud distribution network scheduling method and device and computer readable storage medium | |
Rankothge et al. | On the scaling of virtualized network functions | |
US10666742B2 (en) | Software defined network controller and network service allocating system and method | |
CN115865930A (en) | MEC dynamic adjustment method based on 5G power Internet of things | |
Masoumi et al. | Dynamic online VNF placement with different protection schemes in a MEC environment | |
CN110888734A (en) | Fog computing resource processing method and device, electronic equipment and storage medium | |
CN112887224A (en) | Traffic scheduling processing method and device, electronic equipment and storage medium | |
CN114554504B (en) | Method for planning network slice and related equipment | |
CN115643299A (en) | Service deployment method and device and electronic equipment | |
CN116112420A (en) | Automatic opening method and device for SPN data private line service |
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 |