Data center interconnection method and device, computer equipment, readable storage medium and program product
By acquiring and analyzing the network equipment information and communication mechanism information of the data center, and automatically determining and screening the interconnection solution, the problem of insufficient reliability of data center interconnection in the existing technology is solved, and more efficient and reliable data center interconnection is achieved.
Patent Information
- Application Number
- CN202411691802.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-25
AI Technical Summary
In the prior art, the interconnection between data centers relies on manual formulation of interconnection policies, resulting in insufficient reliability of interconnection.
By obtaining network equipment information and communication mechanism information of multiple data centers, candidate interconnection schemes are determined, and target interconnection schemes are screened according to interconnection needs, and target network equipment is controlled to interconnect according to target communication mechanisms.
It improves the reliability and accuracy of data center interconnection, avoids the phenomenon of poor interconnection effect or even failure, thereby improving the efficiency of data center interconnection.
Smart Images

Figure CN119484205A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of the Internet, and in particular to a data center interconnection method, apparatus, computer equipment, readable storage medium and program product. Background Art
[0002] With the rapid development of Internet technology, an enterprise can include many data centers, which can be said to be a data center cluster. These data centers are located in different locations and have different configurations. If they want to operate in coordination, they need to exchange information with each other, which leads to the need for interconnection between data centers.
[0003] Currently, data centers are usually interconnected by manually formulating interconnection strategies. However, this method that relies on human subjective consciousness cannot guarantee the reliability of data center interconnection. Summary of the invention
[0004] Based on this, it is necessary to provide a data center interconnection method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the reliability of data center interconnection in response to the above technical problems.
[0005] In a first aspect, the present application provides a data center interconnection method, comprising: in response to an interconnection instruction between multiple data centers, respectively obtaining network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; based on the information of each network device and each communication mechanism information, determining at least one candidate interconnection scheme between each data center; obtaining the interconnection demand indicated by the interconnection instruction, and screening out a target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; controlling each target network device to be interconnected according to the target communication mechanism, and obtaining the interconnection result between each data center.
[0006] In one of the embodiments, based on information of each network device and information of each communication mechanism, at least one candidate interconnection scheme between each data center is determined, including: based on information of each network device, network devices of different data centers are combined to obtain interconnection device combinations; based on information of each communication mechanism, at least one interconnection mechanism common to each data center is screened out from each communication mechanism; each interconnection device combination and each interconnection mechanism together constitute a candidate interconnection scheme between each data center.
[0007] In one embodiment, the method further includes: scoring each candidate interconnection scheme based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator; screening out a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme, including: determining a first target indicator with the highest priority among each evaluation indicator based on the interconnection requirement; screening out a first target score of each candidate interconnection scheme under the first target indicator from each first indicator score; and selecting the candidate interconnection scheme with the highest first target score as the target interconnection scheme.
[0008] In one of the embodiments, the method further includes: when the interconnection requirement includes a backup link requirement, eliminating the target interconnection solution from each candidate interconnection solution to obtain multiple remaining interconnection solutions; respectively obtaining the second indicator score of each remaining interconnection solution under each evaluation indicator; based on the backup link requirement, determining the second target indicator with the highest priority in each evaluation indicator; from each second indicator score, screening out the second target score of each remaining interconnection solution under the second target indicator; and using the remaining interconnection solution with the highest second target score as the backup interconnection solution matching the backup link requirement.
[0009] In one embodiment, each candidate interconnection scheme is scored based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator, including: matching scoring methods for each evaluation indicator to obtain scoring methods that match each evaluation indicator; scoring each candidate interconnection scheme according to each scoring method to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator.
[0010] In one of the embodiments, in response to an interconnection instruction between multiple data centers, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism used by each data center when performing network communication are obtained respectively, including: in response to an interconnection instruction between multiple data centers, a performance test is performed on each data center to obtain a performance test result of each data center; when each performance test result meets an interconnection condition, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism used by each data center when performing network communication are obtained respectively.
[0011] In a second aspect, the present application also provides a data center interconnection device, including: an information acquisition module, which is used to respond to an interconnection instruction between multiple data centers, and respectively obtain network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; an interconnection scheme determination module, which is used to determine at least one candidate interconnection scheme between each data center based on each network device information and each communication mechanism information; an interconnection scheme screening module, which is used to obtain the interconnection requirements indicated by the interconnection instruction, and screen out a target interconnection scheme that matches the interconnection requirements from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism used for interconnection in each communication mechanism; an interconnection module, which is used to control each target network device to be interconnected according to the target communication mechanism, and obtain the interconnection result between each data center.
[0012] In a third aspect, the present application also provides a computer device, comprising a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program: in response to an interconnection instruction between multiple data centers, obtaining network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; based on the information of each network device and each communication mechanism information, determining at least one candidate interconnection scheme between each data center; obtaining the interconnection demand indicated by the interconnection instruction, and screening out a target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; controlling each target network device to be interconnected according to the target communication mechanism to obtain the interconnection result between each data center.
[0013] In a fourth aspect, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the following steps when the computer program is executed by a processor: in response to an interconnection instruction between multiple data centers, respectively obtain network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; based on the information of each network device and each communication mechanism information, determine at least one candidate interconnection scheme between each data center; obtain the interconnection requirement indicated by the interconnection instruction, and select a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; control each target network device to be interconnected according to the target communication mechanism, and obtain the interconnection result between each data center.
[0014] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the following steps when executed by a processor: in response to an interconnection instruction between multiple data centers, respectively obtain network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; based on the information of each network device and each communication mechanism information, determine at least one candidate interconnection scheme between each data center; obtain the interconnection demand indicated by the interconnection instruction, and screen out a target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; control each target network device to be interconnected according to the target communication mechanism, and obtain the interconnection result between each data center.
[0015] The above-mentioned data center interconnection method, device, computer equipment, computer-readable storage medium and computer program product, in response to the interconnection instruction between multiple data centers, first obtain the network equipment information deployed in each data center and the communication mechanism information of each data center. Based on the network equipment information and the communication mechanism information, at least one candidate interconnection scheme between each data center is generated. The interconnection scheme is generated from the perspective of network equipment and communication mechanism, which can effectively improve the accuracy and reliability of the interconnection scheme and provide data support for subsequent interconnection operations. Then, the interconnection demand indicated by the interconnection instruction is obtained to screen out the target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme, that is, the best interconnection scheme. Finally, by controlling each target network device in the target interconnection scheme, the target communication mechanism in the target interconnection scheme is interconnected to achieve the interconnection between each data center. Therefore, the present application generates an accurate and reliable interconnection scheme based on the network equipment information and the communication mechanism information, and selects an optimal interconnection scheme according to actual needs, which not only improves the reliability of data center interconnection, but also avoids the phenomenon of poor interconnection effect or even failure, thereby improving the efficiency of data center interconnection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0017] FIG1 is a diagram of an application environment of a data center interconnection method according to an embodiment;
[0018] FIG2 is a schematic diagram of a flow chart of a data center interconnection method in one embodiment;
[0019] FIG3 is a schematic diagram of a process for determining a candidate interconnection solution in one embodiment;
[0020] FIG4 is a schematic diagram of a process for determining a target interconnection solution in one embodiment;
[0021] FIG5 is a schematic diagram of a process for determining a backup interconnection solution in one embodiment;
[0022] FIG6 is a schematic diagram of a process flow of program scoring in one embodiment;
[0023] FIG7 is a schematic diagram of a detection process of a data center in one embodiment;
[0024] FIG8 is an architecture diagram of data center interconnection in a specific embodiment;
[0025] FIG9 is a schematic diagram of a process of interconnecting data centers in a specific embodiment;
[0026] FIG10 is a structural block diagram of a data center interconnection device in one embodiment;
[0027] FIG. 11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0029] With the rapid development of Internet technology, the SDN (Software Defined Network) network architecture separates control from forwarding, centralizes the control logic of each device in the network on a computing device, and thus improves the network management and configuration capabilities. Based on this, enterprise data centers gradually adopt SDN architecture deployment, that is, each data center can have a server for deploying SDN controllers. These data centers are located in different locations and have different SDN configurations. To achieve coordinated operation, they need to exchange information with each other, which leads to the need for interconnection between data centers. At present, the interconnection between data centers is usually achieved by manually formulating interconnection strategies. However, this method that relies on human subjective consciousness cannot guarantee the comprehensiveness and accuracy of the interconnection plan, and thus cannot guarantee the reliability of the interconnection between data centers.
[0030] Therefore, the embodiment of the present application provides a data center interconnection method, which can be applied in the application environment shown in FIG1. It includes a general control center 102 of the SDN network, and the general control center 102 can be connected to the SDN controller 106 deployed in each data center 104. Multiple network devices 108 can be deployed under the data center 104, and the interconnection between data centers can also be understood as the interconnection between network devices under the data center. Among them, the network device 108 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and Internet of Things devices.
[0031] Exemplarily, in response to the user-initiated interconnection instruction between multiple data centers 104, the general control center 102 can first instruct each SDN controller 106 to obtain the network device information of each network device 108 deployed in its corresponding data center 104, as well as the communication mechanism information of each communication mechanism of the data center 104 when performing network communication, and exchange information with other SDN controllers 106. Each SDN controller 106 negotiates the interconnection plan based on the information of each network device and each communication mechanism information to obtain multiple candidate interconnection plans. Then each SDN controller 106 further obtains the interconnection requirements indicated by the interconnection instruction, and selects the target interconnection plan that matches the interconnection requirements from each candidate interconnection plan. Finally, each SDN controller 106 sends the target interconnection plan to the corresponding target network device, instructing the target network device to interconnect based on the target communication mechanism in the target interconnection plan, thereby realizing the interconnection between multiple data centers 104.
[0032] In an exemplary embodiment, as shown in FIG. 2 , a data center interconnection method is provided, which is described by taking the method applied to the general control center 102 in FIG. 1 as an example, including:
[0033] Step S202, in response to the interconnection instruction between multiple data centers, respectively obtain the network device information of each network device deployed in each data center and the communication mechanism information of each communication mechanism of each data center when performing network communication.
[0034] Among them, the interconnection instruction refers to the instruction for at least two data centers to connect. Each data center can deploy at least one network device. The network device refers to the terminal device deployed in the data center. The network device information can refer to the basic information of the network device, such as device model, device type, memory, device location, device performance, etc. The communication mechanism refers to the mechanism or protocol that the data center can support when conducting network communication. It can also be understood as the communication capability of the data center, such as BGP (Border Gateway Protocol), IPSEC (Internet Protocol Security), VXLAN (Virtual Extensible Local Area Network), NAT (Network Address Translation), etc. The communication mechanism information can refer to the basic information of the communication mechanism, such as usage scenarios, types, usage rules, etc.
[0035] Exemplarily, a user initiates an instruction to instruct at least two data centers to interconnect. When the general control center of the SDN network detects the instruction, it can send an information exchange instruction to the SDN controllers of these data centers to instruct the SDN controllers to obtain and exchange information. After receiving the information exchange instruction, each SDN controller can first obtain the network equipment information and communication mechanism information of the corresponding data center, and exchange this information with the SDN controller that needs to be interconnected, so that each interconnected data center can have the relevant information of each other. In one example, the SDN controller can exchange information by registering the network address of the other data center.
[0036] For example, taking the interconnection between data center 1 and data center 2 as an example, data center 1 is deployed with SDN controller 1, whose network address is IP1, and data center 2 is deployed with SDN controller 2, whose network address is IP2. The general control center sends information exchange instructions to both SDN controller 1 and SDN controller 2. SDN controller 1 and SDN controller 2 register each other's network addresses, that is, IP2 is distributed on SDN controller 1, and IP1 is configured on SDN controller 2. In this way, SDN controller 1 can obtain the network equipment information and communication mechanism information of data center 2, and SDN controller 2 can obtain the network equipment information and communication mechanism information of data center 1, so as to realize information exchange between the two parties and facilitate the subsequent formulation of the interconnection plan.
[0037] Step S204: determining at least one candidate interconnection scheme between data centers based on the information of each network device and the information of each communication mechanism.
[0038] The candidate interconnection scheme refers to multiple candidate schemes for interconnecting data centers. It should be noted that the interconnection scheme includes network devices for interconnecting data centers and the communication mechanism used for interconnection. Of course, in actual applications, other information such as interconnection duration, interconnection frequency, etc. can be configured in the interconnection scheme according to actual needs.
[0039] For example, after completing the information exchange, the SDN controllers of each data center can negotiate the interconnection plan based on the information of each network device and each communication mechanism. The interconnection plan negotiation can be understood as the process of each SDN controller negotiating an interconnection plan acceptable to each party through exchanging information. The candidate interconnection plan is the interconnection plan agreed upon by each SDN controller. It can be understood that the candidate interconnection plan is the interconnection plan generated from the perspective of each data center.
[0040] In one example, when the network device information and / or communication mechanism information of one party is updated, each candidate interconnection scheme will also be updated synchronously, that is, each SDN controller will re-exchange information and re-negotiate the interconnection scheme.
[0041] Step S206, obtaining the interconnection requirement indicated by the interconnection instruction, and selecting a target interconnection solution that matches the interconnection requirement from each candidate interconnection solution.
[0042] The interconnection requirements refer to the requirements for interconnection between data centers, such as backup link requirements, security, encryption, low cost, tenant isolation, etc. The target interconnection solution includes target network devices for interconnection among network devices, and target communication mechanisms for interconnection among communication mechanisms. What is interconnected is a network device under each data center.
[0043] Exemplarily, when the user initiates the interconnection instruction, the interconnection demand can be sent to the general control center simultaneously. It should be noted that this interconnection demand may include the interconnection demand of each data center side, that is, each data center may have a corresponding interconnection demand. Based on the interconnection demand, the general control center can screen out the target interconnection solution that matches the interconnection demand from the multiple candidate interconnection solutions negotiated by each SDN controller, and send it to each SDN controller. Of course, the general control center can also send the interconnection demand to each SDN controller, and each SDN controller will continue to select the optimal target interconnection solution directly based on the interconnection demand after negotiating multiple candidate interconnection solutions. The target interconnection solution is an interconnection solution that is agreed upon between the SDN controllers and meets the user's needs. It can be understood that the target interconnection solution is an interconnection solution selected from the perspective of interconnection demand or user demand. In one example, when the interconnection demand is updated, the general control center will also re-screen the target interconnection solution.
[0044] Step S208, controlling each target network device to interconnect according to the target communication mechanism, and obtaining the interconnection result between each data center.
[0045] The interconnection of data centers can essentially be the interconnection of network devices under the data center. Therefore, when the interconnection between the network devices is completed, the data centers are naturally interconnected. The interconnection result can be used to characterize whether the interconnection between the data centers is successful, which can include successful interconnection and interconnection failure. Of course, in actual applications, the interconnection result can also include other information such as interconnection duration, interconnection failure reasons, etc.
[0046] Exemplarily, after acquiring the target interconnection plan, each SDN controller may send the target interconnection plan to each target network device indicated in the target interconnection plan, so that each target network device can interconnect according to the target communication mechanism indicated in the target interconnection plan, thereby realizing the interconnection of each data center.
[0047] In this embodiment, the general control center responds to the interconnection instruction between multiple data centers, and first obtains the network device information deployed in each data center and the communication mechanism information of each data center. Based on the network device information and the communication mechanism information, at least one candidate interconnection scheme between each data center is generated. The interconnection scheme is generated from the perspective of network devices and communication mechanisms, which can effectively improve the accuracy and reliability of the interconnection scheme and provide data support for subsequent interconnection operations. Then, the interconnection demand indicated by the interconnection instruction is obtained to screen out the target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme, that is, the best interconnection scheme. Finally, by controlling each target network device in the target interconnection scheme, the interconnection is carried out according to the target communication mechanism in the target interconnection scheme, thereby realizing the interconnection between each data center. Therefore, this embodiment generates an accurate and reliable interconnection scheme based on the network device information and the communication mechanism information, and selects an optimal interconnection scheme according to actual needs, which not only improves the reliability of data center interconnection, but also avoids the phenomenon of poor interconnection effect or even failure, thereby improving the efficiency of data center interconnection.
[0048] In an exemplary embodiment, as shown in FIG3 , based on the information of each network device and the information of each communication mechanism, determining at least one candidate interconnection scheme between each data center includes:
[0049] Step S302: Based on the information of each network device, network devices of different data centers are combined to obtain each interconnected device combination.
[0050] The interconnected device combination refers to the combination between various network devices. Take data center 1 and data center 2 as an example. For ease of understanding, the network devices and communication mechanisms are represented in the form of data sets. Assuming that data center 1 has network devices {A1, A2} and data center 2 has network devices {B1, B2}, then the interconnected device combinations are {A1, B1}, {A1, B2}, {A2, B1}, {A2, B2}.
[0051] For example, after completing the information exchange, each SDN controller can select network devices that can be combined from multiple network devices based on the information of each network device. The basis for combining can be that the network device information is normal, that is, there is no abnormal data. Then, each network device is combined to obtain multiple interconnected device combinations.
[0052] Step S304: based on the information of each communication mechanism, at least one interconnection mechanism common to each data center is selected from each communication mechanism.
[0053] The interconnection mechanism refers to the communication mechanism shared by all data centers. For example, if data center 1 supports the communication mechanism {BGP, IPSEC, VXLAN} and data center 2 supports the communication mechanism {IPSEC, NAT}, then the interconnection mechanism is {IPSEC}. If data center 1 supports the communication mechanism {BGP, IPSEC, VXLAN, NAT} and data center 2 supports the communication mechanism {IPSEC, NAT}, then the interconnection mechanism is {IPSEC}, {NAT}. There can be multiple interconnection mechanisms.
[0054] For example, similar to the network device combination, after completing the information exchange, each SDN controller can also select the communication mechanism shared by each data center from the communication mechanisms according to the information of each communication mechanism as the interconnection mechanism. In addition to the consistent name of the communication mechanism, the communication mechanism information of the shared communication mechanism also needs to be consistent. The obtained interconnection mechanism can be further combined with each interconnection device combination. It should be noted that the network device combination and communication mechanism screening do not distinguish the order of execution, and can be executed in the set order or simultaneously.
[0055] Step S306: The interconnection device combinations and the interconnection mechanisms together constitute candidate interconnection solutions between the data centers.
[0056] Exemplarily, after obtaining each interconnected device combination and the interconnection mechanism shared by each data center, each SDN controller can combine each interconnected device combination and the interconnection mechanism again to obtain a candidate interconnection solution.
[0057] For example, the interconnection device combinations are {A1, B1}, {A1, B2}, {A2, B1}, {A2, B2}, and the interconnection mechanisms are {IPSEC}, {NAT}, then the candidate interconnection schemes can be: <{A1, B1}, {IPSEC}>, <{A1, B1}, {NAT}>, <{A1, B2}, {IPSEC}>, <{A1, B2}, {NAT}>, <{A2, B1}, {IPSEC}>, <{A2, B1}, {NAT}>, <{A2, B2}, {{A2, B2}}>, <{A2, B2}, {NAT}>.
[0058] In this embodiment, by combining various network devices to obtain an interconnection device combination, and screening out a communication mechanism common to each data center as an interconnection mechanism, multiple candidate interconnection schemes are generated based on the interconnection device combination and the interconnection mechanism, thereby improving the accuracy and reliability of the candidate interconnection schemes, and further improving the reliability of the entire data center interconnection.
[0059] In an exemplary embodiment, the data center interconnection method further includes: scoring each candidate interconnection scheme based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator.
[0060] The evaluation index may be a predefined index for scoring the candidate interconnection schemes, such as location, performance, capacity, etc. The first index score may refer to the score of the candidate interconnection scheme under each evaluation index, which may be a specific value.
[0061] For example, taking the candidate interconnection schemes <{A1, B1}, {IPSEC}> and <{A1, B2}, {NAT}> as examples, assuming that the candidate interconnection scheme <{A1, B1}, {IPSEC}> scores 100 points under the security index, indicating that the scheme has a high level of security and can ensure the security of data center interconnection. The score under the performance index is 48 points, indicating that the interconnection performance under this scheme is at a medium-low level. Assuming that the candidate interconnection scheme <{A1, B2}, {NAT}> also scores 100 points under the security index, the security level is also very high. The score under the performance index is 32 points. Compared with the previous candidate interconnection scheme, the interconnection performance of this scheme is lower. When determining the target interconnection scheme in the future, the previous candidate interconnection scheme can be given priority.
[0062] Exemplarily, after each SDN controller negotiates multiple candidate interconnection schemes, the general control center can score each candidate interconnection scheme according to pre-defined evaluation indicators, and calculate the indicator score of each candidate interconnection scheme under each evaluation indicator, so as to subsequently screen out the target interconnection scheme based on the indicator score and improve the accuracy of the target interconnection scheme.
[0063] In an exemplary embodiment, as shown in FIG4 , selecting a target interconnection solution that matches the interconnection requirement from each candidate interconnection solution includes:
[0064] Step S402: determining a first target indicator with the highest priority among the evaluation indicators based on the interconnection requirements.
[0065] Among them, priority refers to the priority of the evaluation indicator, or the priority of determining the target interconnection solution. The first target indicator is the evaluation indicator with the highest priority. For example, assuming that the interconnection requirements are high security and high performance. Then the highest priority among the evaluation indicators is the security indicator, followed by the performance indicator.
[0066] Exemplarily, the general control center determines the first target indicator with the highest priority among various evaluation indicators according to the interconnection demand, which serves as the main basis for subsequently determining the target interconnection solution.
[0067] Step S404: Filter out the first target score of each candidate interconnection solution under the first target indicator from the first indicator scores.
[0068] The first target score refers to the score of the candidate interconnection solution under the first target indicator.
[0069] Exemplarily, after the general control center determines the first target indicator with the highest priority, it can filter out the indicator scores of each candidate interconnection solution under the first target indicator from the first indicator scores calculated previously.
[0070] Step S406: taking the candidate interconnection solution with the highest first target score as the target interconnection solution.
[0071] Exemplarily, the general control center selects the one with the highest score from each first target score, and the corresponding candidate interconnection scheme is the target interconnection scheme. Of course, if the first target scores of all candidate interconnection schemes are the same, for example, when the scores of candidate interconnection schemes <{A1, B1}, {IPSEC}> and <{A1, B2}, {NAT}> under the security index are both 100, then the second priority, that is, the performance index, needs to be considered, and the candidate interconnection scheme with the highest performance index score is used as the target interconnection scheme, that is, <{A1, B1}, {IPSEC}> is the target interconnection scheme.
[0072] In this embodiment, by calculating the score of each candidate interconnection scheme under each evaluation indicator, the optimal target interconnection scheme is screened out according to the score, thereby improving the accuracy and reliability of the target interconnection scheme, thereby improving the reliability and accuracy of the entire data center interconnection.
[0073] In an exemplary embodiment, as shown in FIG5 , the data center interconnection method further includes:
[0074] Step S502: when the interconnection requirement includes a backup link requirement, the target interconnection solution is eliminated from each candidate interconnection solution to obtain a plurality of remaining interconnection solutions.
[0075] The backup link requirement refers to the need for a backup link in the interconnection, that is, a backup interconnection solution needs to be selected as a backup link. The remaining interconnection solutions refer to the candidate interconnection solutions after the target interconnection solution is eliminated from the candidate interconnection solutions.
[0076] For example, when there is a backup link requirement in the interconnection requirement, it means that the general control center also needs to select a backup interconnection solution as a backup link. Therefore, after determining the target interconnection solution, the general control center uses the target interconnection solution as the main link. Then, the target interconnection solution is eliminated from each candidate interconnection solution to obtain multiple remaining interconnection solutions, that is, the target interconnection solution is not within the screening range of the backup interconnection solution.
[0077] Step S504, respectively obtain the second indicator score of each remaining interconnection solution under each evaluation indicator.
[0078] The second indicator score refers to the score of the remaining interconnection schemes under the evaluation indicator. It is understandable that when selecting the backup interconnection schemes, in order to ensure the accuracy of the backup interconnection schemes, the remaining interconnection schemes also need to be re-scored. This process is the same as the scoring process of the target interconnection scheme, and will not be repeated here.
[0079] Exemplarily, the general control center re-scores each remaining interconnection solution and calculates an indicator score of each remaining interconnection solution under each evaluation indicator.
[0080] Step S506: Determine a second target indicator with the highest priority among the evaluation indicators based on the backup link requirement.
[0081] The backup link requirement refers to the requirement for the backup link, that is, the requirement for the backup interconnection solution, which is the same as the interconnection requirement of the target interconnection solution, and the backup interconnection solution may also have corresponding requirements. The second target indicator refers to the highest priority evaluation indicator for the backup interconnection solution.
[0082] Exemplarily, the general control center determines the second target indicator with the highest priority among various evaluation indicators according to the backup link requirements, which serves as the main basis for subsequently determining the backup interconnection solution.
[0083] Step S508: Filter out the second target score of each remaining interconnection solution under the second target indicator from the second indicator scores.
[0084] The second target score refers to the score of the remaining interconnection solutions under the second target indicator.
[0085] Exemplarily, after the general control center determines the second target indicator with the highest priority, it can filter out the indicator scores of each remaining interconnection scheme under the second target indicator from the second indicator scores calculated previously.
[0086] Step S510: taking the remaining interconnection scheme with the highest second target score as a backup interconnection scheme matching the backup link requirement.
[0087] Exemplarily, the general control center selects the one with the highest score from among the second target scores, and the remaining interconnection schemes corresponding to the one are the backup interconnection schemes.
[0088] In this embodiment, by calculating the scores of the remaining interconnection schemes except the target interconnection scheme under each evaluation indicator, the optimal backup interconnection scheme is screened out according to the scores, thereby improving the accuracy and reliability of the backup interconnection schemes, and further improving the reliability and accuracy of the entire data center interconnection.
[0089] In an exemplary embodiment, as shown in FIG6 , each candidate interconnection scheme is scored based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator, including:
[0090] Step S602 , matching scoring methods for each evaluation indicator is performed to obtain scoring methods that match each evaluation indicator.
[0091] Here, scoring method matching refers to the process of matching the best scoring method for each evaluation indicator. It is understandable that for each evaluation indicator, there may be multiple different scoring methods.
[0092] For example, when scoring each candidate interconnection solution, the general control center may first match the scoring method for each evaluation indicator to match the optimal scoring method, thereby improving the efficiency and accuracy of the scoring.
[0093] For example, taking the performance index as an example, the score of the performance index can be calculated by capacity. For example, assuming that the capacity of network device A1 is 80% and the capacity of network device B1 is 60%, then the score of the candidate interconnection scheme <{A1, B1}, {IPSEC}> under the performance index can be (80%*60%) / 100=48 points, which is a scoring method. It can also be based on the communication rate between network device A1 and network device B1 to evaluate the performance, which is also a scoring method. The capacity index can be directly determined according to the capacity size. The larger the capacity, the higher the score of the capacity index, and vice versa. The location index can be scored based on the location distance between each network device. The closer the distance is, the higher the location score is. Of course, in actual applications, other evaluation indicators and corresponding scoring methods can be defined according to actual conditions, and this embodiment does not limit this.
[0094] Step S604: score each candidate interconnection solution according to each scoring method to obtain a first indicator score of each candidate interconnection solution under each evaluation indicator.
[0095] Exemplarily, after the general control center matches the optimal scoring method corresponding to each evaluation indicator, each candidate interconnection scheme can be scored according to these scoring methods to obtain the first indicator score of each candidate interconnection scheme under each evaluation indicator.
[0096] In this embodiment, the most appropriate scoring method is screened out through scoring method matching, thereby improving the accuracy of indicator scoring, and further improving the accuracy of the target interconnection solution.
[0097] In an exemplary embodiment, as shown in FIG. 7 , in response to an interconnection instruction between multiple data centers, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained, including:
[0098] Step S702, in response to the interconnection instruction between the multiple data centers, a performance test is performed on each data center to obtain a performance test result of each data center.
[0099] The performance test results may be results used to characterize the performance of a data center, such as the stability, response speed, and security of the data center.
[0100] For example, in order to further ensure the reliability of data center interconnection, before the data center interconnection is carried out, the main control center may send a performance test instruction to the SDN controller of each data center to instruct the SDN controller to perform a performance test on the data center to obtain the performance test results of the data center.
[0101] Step S704, when each performance test result meets the interconnection condition, obtain the network device information of each network device deployed in each data center and the communication mechanism information of each communication mechanism of each data center when performing network communication.
[0102] The interconnection conditions may refer to the preconditions pre-defined for data center interconnection, such as each data center needs to have a certain stability, fast response speed, high security, etc.
[0103] For example, after receiving the performance test results of the data center fed back by each SDN controller, the general control center can determine whether these performance test results meet the predefined interconnection conditions. If they meet, an information exchange instruction is sent to the SDN controller to instruct each SDN controller to obtain and exchange information. If not, the general control center can reject the data center interconnection request.
[0104] In this embodiment, performance testing is performed on each data center that needs to be interconnected to ensure that each data center meets the interconnection conditions, thereby improving the reliability of the data center interconnection.
[0105] In a specific embodiment, the architecture diagram of data center interconnection is shown in FIG8 , which includes data center 1 and data center 2. Data center 1 includes SDN controller 1, and data center 2 includes SDN controller 2. Network device information and communication mechanism information are exchanged between SDN controller 1 and SDN controller 2. Finally, an optimal target interconnection scheme is obtained and sent to the corresponding network device 1 and network device 2. Network device 1 and network device 2 are interconnected according to the target communication mechanism in the target interconnection scheme, thereby realizing the interconnection between data center 1 and data center 2.
[0106] FIG9 shows a flow chart of data center interconnection. In response to the interconnection instruction between data center 1 and data center 2, the SDN controllers of both parties register each other's network addresses to exchange network device information and communication mechanism information. The SDN controllers of both parties negotiate based on this information to obtain multiple candidate interconnection schemes. According to the interconnection requirements and multiple evaluation indicators, each candidate interconnection scheme is scored, and the target interconnection scheme that matches the interconnection requirements is screened out from each candidate interconnection scheme. The target interconnection scheme is sent to network device 1 and network device 2, instructing network device 1 and network device 2 to interconnect according to the target communication mechanism, thereby completing the interconnection between data center 1 and data center 2.
[0107] In this embodiment, the general control center responds to the interconnection instruction between multiple data centers, and first obtains the network device information deployed in each data center and the communication mechanism information of each data center. Based on the network device information and the communication mechanism information, at least one candidate interconnection scheme between each data center is generated. The interconnection scheme is generated from the perspective of network devices and communication mechanisms, which can effectively improve the accuracy and reliability of the interconnection scheme and provide data support for subsequent interconnection operations. Then, the interconnection demand indicated by the interconnection instruction is obtained to screen out the target interconnection scheme that matches the interconnection demand from each candidate interconnection scheme, that is, the best interconnection scheme. Finally, by controlling each target network device in the target interconnection scheme, the interconnection is carried out according to the target communication mechanism in the target interconnection scheme, thereby realizing the interconnection between each data center. Therefore, this embodiment generates an accurate and reliable interconnection scheme based on the network device information and the communication mechanism information, and selects an optimal interconnection scheme according to actual needs, which not only improves the reliability of data center interconnection, but also avoids the phenomenon of poor interconnection effect or even failure, thereby improving the efficiency of data center interconnection.
[0108] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0109] Based on the same inventive concept, the embodiment of the present application also provides a data center interconnection device for implementing the data center interconnection method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more data center interconnection device embodiments provided below can refer to the limitations of the data center interconnection method above, and will not be repeated here.
[0110] In an exemplary embodiment, as shown in FIG. 10 , a data center interconnection device is provided, including: an information acquisition module 1002, for responding to an interconnection instruction between multiple data centers, and respectively acquiring network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication; an interconnection scheme determination module 1004, for determining at least one candidate interconnection scheme between each data center based on each network device information and each communication mechanism information; an interconnection scheme screening module 1006, for acquiring the interconnection requirement indicated by the interconnection instruction, and screening out a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected among each network device, and a target communication mechanism for interconnection among each communication mechanism; an interconnection module 1008, for controlling each target network device to be interconnected according to the target communication mechanism, and obtaining an interconnection result between each data center.
[0111] In one embodiment, the interconnection scheme determination module 1004 is further used to: based on the information of each network device, combine the network devices of different data centers to obtain each interconnection device combination; based on the information of each communication mechanism, filter out at least one interconnection mechanism shared by each data center from each communication mechanism; each interconnection device combination and each interconnection mechanism together constitute a candidate interconnection scheme between each data center.
[0112] In one embodiment, the device is also used to: score each candidate interconnection scheme based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator; the interconnection scheme screening module 1006 is also used to: determine the first target indicator with the highest priority among the evaluation indicators based on the interconnection requirements; screen out the first target score of each candidate interconnection scheme under the first target indicator from the first indicator scores; and use the candidate interconnection scheme with the highest first target score as the target interconnection scheme.
[0113] In one of the embodiments, the device is also used to: when the interconnection requirement includes a backup link requirement, eliminate the target interconnection solution from each candidate interconnection solution to obtain multiple remaining interconnection solutions; obtain the second indicator score of each remaining interconnection solution under each evaluation indicator respectively; based on the backup link requirement, determine the second target indicator with the highest priority in each evaluation indicator; from each second indicator score, screen out the second target score of each remaining interconnection solution under the second target indicator; and use the remaining interconnection solution with the highest second target score as the backup interconnection solution matching the backup link requirement.
[0114] In one of the embodiments, the device is also used to: match the scoring method for each evaluation indicator respectively to obtain the scoring method that matches each evaluation indicator respectively; score each candidate interconnection scheme according to each scoring method to obtain the first indicator score of each candidate interconnection scheme under each evaluation indicator.
[0115] In one embodiment, the information acquisition module 1002 is also used to: in response to an interconnection instruction between multiple data centers, perform performance testing on each data center to obtain a performance test result for each data center; when each performance test result meets the interconnection conditions, obtain network device information of each network device deployed in each data center, and communication mechanism information of each communication mechanism of each data center when performing network communication.
[0116] Each module in the above-mentioned data center interconnection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0117] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG11. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data center interconnection data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data center interconnection method is implemented.
[0118] Those skilled in the art will understand that the structure shown in FIG. 11 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0119] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: in response to an interconnection instruction between multiple data centers, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained; based on the information of each network device and the information of each communication mechanism, at least one candidate interconnection scheme between each data center is determined; an interconnection requirement indicated by the interconnection instruction is obtained, and a target interconnection scheme matching the interconnection requirement is screened out from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected among each network device, and a target communication mechanism used for interconnection in each communication mechanism; and each target network device is controlled to be interconnected according to the target communication mechanism to obtain an interconnection result between each data center.
[0120] In one embodiment, when the processor executes the computer program, the following steps are also implemented: based on the information of each network device, the network devices of different data centers are combined to obtain each interconnection device combination; based on the information of each communication mechanism, at least one interconnection mechanism common to each data center is screened out from each communication mechanism; each interconnection device combination and each interconnection mechanism together constitute a candidate interconnection scheme between each data center.
[0121] In one embodiment, when the processor executes the computer program, the following steps are further implemented: scoring each candidate interconnection scheme based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator; screening out a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme, including: determining a first target indicator with the highest priority among each evaluation indicator based on the interconnection requirement; screening out a first target score of each candidate interconnection scheme under the first target indicator from each first indicator score; and using the candidate interconnection scheme with the highest first target score as the target interconnection scheme.
[0122] In one embodiment, when the processor executes the computer program, the following steps are further implemented: when the interconnection requirement includes the backup link requirement, the target interconnection solution is eliminated from each candidate interconnection solution to obtain a plurality of remaining interconnection solutions; the second indicator score of each remaining interconnection solution under each evaluation indicator is respectively obtained; based on the backup link requirement, the second target indicator with the highest priority is determined in each evaluation indicator; from each second indicator score, the second target score of each remaining interconnection solution under the second target indicator is screened; and the remaining interconnection solution with the highest second target score is used as the backup interconnection solution matching the backup link requirement.
[0123] In one embodiment, when the processor executes the computer program, the following steps are further implemented: matching the scoring method for each evaluation indicator respectively to obtain the scoring method that matches each evaluation indicator respectively; scoring each candidate interconnection scheme according to each scoring method to obtain the first indicator score of each candidate interconnection scheme under each evaluation indicator.
[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: in response to the interconnection instruction between multiple data centers, performance testing is performed on each data center to obtain the performance testing result of each data center; when each performance testing result meets the interconnection condition, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained.
[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: in response to an interconnection instruction between multiple data centers, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained; based on each network device information and each communication mechanism information, at least one candidate interconnection scheme between each data center is determined; an interconnection requirement indicated by the interconnection instruction is obtained, and a target interconnection scheme matching the interconnection requirement is screened out from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; and each target network device is controlled to be interconnected according to the target communication mechanism to obtain an interconnection result between each data center.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the information of each network device, the network devices of different data centers are combined to obtain each interconnection device combination; based on the information of each communication mechanism, at least one interconnection mechanism common to each data center is screened out from each communication mechanism; each interconnection device combination and each interconnection mechanism together constitute a candidate interconnection scheme between each data center.
[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the interconnection requirements, determining the first target indicator with the highest priority among the evaluation indicators; from the first indicator scores, screening out the first target score of each candidate interconnection scheme under the first target indicator; and taking the candidate interconnection scheme with the highest first target score as the target interconnection scheme.
[0128] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the interconnection requirement includes the backup link requirement, the target interconnection solution is eliminated from each candidate interconnection solution to obtain a plurality of remaining interconnection solutions; the second indicator score of each remaining interconnection solution under each evaluation indicator is obtained respectively; based on the backup link requirement, the second target indicator with the highest priority is determined in each evaluation indicator; from each second indicator score, the second target score of each remaining interconnection solution under the second target indicator is screened; and the remaining interconnection solution with the highest second target score is used as the backup interconnection solution matching the backup link requirement.
[0129] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: scoring methods are matched for each evaluation indicator to obtain scoring methods that match each evaluation indicator; and each candidate interconnection scheme is scored according to each scoring method to obtain a first indicator score for each candidate interconnection scheme under each evaluation indicator.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to an interconnection instruction between multiple data centers, performance testing is performed on each data center to obtain a performance test result for each data center; when each performance test result meets the interconnection conditions, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained.
[0131] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: in response to an interconnection instruction between multiple data centers, respectively obtain network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication; based on each network device information and each communication mechanism information, determine at least one candidate interconnection scheme between each data center; obtain an interconnection requirement indicated by the interconnection instruction, and select a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme; the target interconnection scheme includes each target network device to be interconnected in each network device, and a target communication mechanism for interconnection in each communication mechanism; control each target network device to be interconnected according to the target communication mechanism, and obtain an interconnection result between each data center.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: based on the information of each network device, the network devices of different data centers are combined to obtain each interconnection device combination; based on the information of each communication mechanism, at least one interconnection mechanism common to each data center is screened out from each communication mechanism; each interconnection device combination and each interconnection mechanism together constitute a candidate interconnection scheme between each data center.
[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: scoring each candidate interconnection scheme based on multiple evaluation indicators to obtain a first indicator score of each candidate interconnection scheme under each evaluation indicator; screening out a target interconnection scheme that matches the interconnection requirement from each candidate interconnection scheme, including: determining a first target indicator with the highest priority among each evaluation indicator based on the interconnection requirement; screening out a first target score of each candidate interconnection scheme under the first target indicator from each first indicator score; and using the candidate interconnection scheme with the highest first target score as the target interconnection scheme.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: when the interconnection requirement includes the backup link requirement, the target interconnection solution is eliminated from each candidate interconnection solution to obtain a plurality of remaining interconnection solutions; the second indicator score of each remaining interconnection solution under each evaluation indicator is obtained respectively; based on the backup link requirement, the second target indicator with the highest priority is determined in each evaluation indicator; from each second indicator score, the second target score of each remaining interconnection solution under the second target indicator is screened; and the remaining interconnection solution with the highest second target score is used as the backup interconnection solution matching the backup link requirement.
[0135] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: scoring methods are matched for each evaluation indicator to obtain scoring methods that match each evaluation indicator; and each candidate interconnection scheme is scored according to each scoring method to obtain a first indicator score for each candidate interconnection scheme under each evaluation indicator.
[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: in response to an interconnection instruction between multiple data centers, performance testing is performed on each data center to obtain a performance test result for each data center; when each performance test result meets the interconnection conditions, network device information of each network device deployed in each data center and communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained.
[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0140] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data center interconnection method, characterized in that: The method comprises: In response to an interconnection instruction between multiple data centers, network device information of each network device deployed in each of the data centers and communication mechanism information of each communication mechanism of each of the data centers when performing network communication are respectively obtained; Determine at least one candidate interconnection scheme between the data centers based on the network device information and the communication mechanism information; Obtaining the interconnection requirement indicated by the interconnection instruction, and selecting a target interconnection solution matching the interconnection requirement from each of the candidate interconnection solutions; the target interconnection solution includes each of the target network devices to be interconnected in each of the network devices, and a target communication mechanism for interconnection in each of the communication mechanisms; The target network devices are controlled to interconnect with each other according to the target communication mechanism, so as to obtain the interconnection result between the data centers.
2. The method according to claim 1, characterized in that The determining, based on the network device information and the communication mechanism information, at least one candidate interconnection scheme between the data centers includes: Based on the network device information, network devices of different data centers are combined to obtain interconnected device combinations; Based on the information of each communication mechanism, at least one interconnection mechanism common to each data center is selected from each communication mechanism; The interconnection device combinations and the interconnection mechanisms together constitute candidate interconnection schemes between the data centers.
3. The method according to claim 1, characterized in that The method further comprises: Based on multiple evaluation indicators, score each of the candidate interconnection solutions to obtain a first indicator score of each of the candidate interconnection solutions under each of the evaluation indicators; The step of selecting a target interconnection solution matching the interconnection requirement from the candidate interconnection solutions includes: Based on the interconnection requirements, determining a first target indicator with the highest priority among the evaluation indicators; Filtering out a first target score of each candidate interconnection solution under the first target indicator from the first indicator scores; The candidate interconnection solution with the highest first target score is used as the target interconnection solution.
4. The method according to claim 3, characterized in that The method further comprises: In the case where the interconnection requirements include a standby link requirement, eliminating the target interconnection solution from each of the candidate interconnection solutions to obtain a plurality of remaining interconnection solutions; Respectively obtaining a second indicator score of each of the remaining interconnection schemes under each of the evaluation indicators; Based on the standby link requirement, determining a second target indicator with the highest priority among the evaluation indicators; Filtering out the second target score of each of the remaining interconnection schemes under the second target indicator from the second indicator scores; The remaining interconnection scheme with the highest second objective score is used as a backup interconnection scheme matching the backup link requirement.
5. The method according to claim 3, characterized in that: Scoring each of the candidate interconnection schemes based on multiple evaluation indicators to obtain a first indicator score of each of the candidate interconnection schemes under each of the evaluation indicators includes: Matching the scoring method for each evaluation indicator respectively to obtain a scoring method that matches each evaluation indicator respectively; Each of the candidate interconnection schemes is scored according to each of the scoring methods to obtain a first indicator score of each of the candidate interconnection schemes under each of the evaluation indicators.
6. The method according to claim 1, characterized in that The step of respectively acquiring network device information of each network device deployed in each of the data centers and communication mechanism information of each communication mechanism of each of the data centers when performing network communication in response to an interconnection instruction between the plurality of data centers includes: In response to the interconnection instruction between the plurality of data centers, a performance test is performed on each of the data centers to obtain a performance test result of each of the data centers; When the performance test results meet the interconnection conditions, the network device information of each network device deployed in each data center and the communication mechanism information of each communication mechanism of each data center when performing network communication are respectively obtained.
7. A data center interconnection device, characterized in that: The device comprises: An information acquisition module, configured to respectively acquire network device information of each network device deployed in each of the data centers and communication mechanism information of each communication mechanism of each of the data centers when performing network communication in response to an interconnection instruction between the plurality of data centers; An interconnection scheme determination module, configured to determine at least one candidate interconnection scheme between the data centers based on the network device information and the communication mechanism information; an interconnection scheme screening module, used for obtaining the interconnection requirement indicated by the interconnection instruction, and screening out a target interconnection scheme matching the interconnection requirement from each of the candidate interconnection schemes; the target interconnection scheme includes each of the target network devices to be interconnected in each of the network devices, and a target communication mechanism for interconnection in each of the communication mechanisms; The interconnection module is used to control each of the target network devices to interconnect according to the target communication mechanism to obtain the interconnection results between the data centers.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
SDN (Software Defined Network) based data center interconnection method and device
CN107508730A
A two-layer intercommunication method and device for SDN data centers
CN108574613A
Energy Internet CPS flexible scheduling method and system and storage medium thereof
CN114221901A
Network interconnection and intercommunication method and device between data centers, equipment and medium
CN115529339A