Network scheduling method and apparatus, computer device, storage medium and program product
By acquiring the traffic bandwidth and network topology information of the target tenant server, determining the traffic transmission path and connecting to the target cloud host server, the problem of unstable traffic in the cloud network is solved, efficient bandwidth scheduling is achieved, and the accuracy, stability and reliability of the cloud network are improved.
Patent Information
- Application Number
- CN202411710264.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2044-11-27
AI Technical Summary
Existing cloud network control methods suffer from traffic instability issues such as network congestion and packet loss, which affect the accuracy, stability, and reliability of cloud networks and make it difficult to meet the requirements of a high-quality network environment.
By acquiring the traffic bandwidth and network topology information of the target tenant server, the traffic transmission path is determined, and the target tenant server is controlled to access the target cloud host server, thereby achieving real-time bandwidth scheduling and optimizing the quality of bandwidth allocation.
It improves the accuracy, stability, and reliability of cloud networks, enhances network performance, and ensures the speed and reliability of traffic transmission.
Smart Images

Figure CN119544516B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network scheduling, and in particular to a network scheduling method and device, computer equipment, a storage medium and a program product. BACKGROUND
[0002] With the development of cloud computing, the scale of hybrid cloud clusters is becoming larger and larger, the scale of cloud networks in the clusters is becoming larger and larger, and the traffic bandwidth in the cloud networks is also becoming larger and larger. In actual production, data shows that the computing intranet bandwidth traffic distribution on the host server of the production cloud host is very uneven.
[0003] In the existing cloud network, at the virtual interface on the cloud network, QOS (Quality of Service) and PPS (Packet Per Second) are usually set to regulate the network traffic of the cloud host, so that the network traffic of the cloud host is kept normal and stable to a certain extent. However, the existing regulation method has certain limitations and still has the risk of causing network congestion and network packet loss and other unstable traffic problems, affecting the accuracy, stability and reliability of the cloud network, so it is difficult to adapt to the high-quality network environment demand of cloud computing on the cloud network. SUMMARY
[0004] Therefore, it is necessary to provide a network scheduling method, device, computer equipment, storage medium and program product to solve the above technical problems, which can perform real-time bandwidth scheduling on the cloud network, improve the bandwidth allocation quality of the cloud host network, and further improve the accuracy, stability and reliability of the cloud network, so as to improve the network performance of the cloud network.
[0005] In a first aspect, the present application provides a network scheduling method, comprising:
[0006] obtaining a target traffic bandwidth of a target tenant server;
[0007] obtaining network topology information of a network architecture in which the target tenant server is located;
[0008] determining a traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0009] determining a target cloud host server according to the traffic transmission path;
[0010] controlling the target tenant server to access the target cloud host server.
[0011] In some embodiments, the network topology information comprises at least one of IP routing information of network devices within the network architecture, ingress interface rate of a cloud host server within the network architecture, egress interface rate of the cloud host server, IP address of the cloud host server, and IP address of the target tenant server.
[0012] In some embodiments, the determining the traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information comprises:
[0013] determining at least one first cloud host server according to the target traffic bandwidth and the network topology information, wherein an egress interface rate of the first cloud host server is greater than or equal to the target traffic bandwidth;
[0014] determining a traffic transmission path of the first cloud host server according to the network topology information;
[0015] The determining the target cloud host server according to the traffic transmission path comprises:
[0016] determining, based on a length of the traffic transmission path, that the first cloud host server corresponding to the shortest traffic transmission path is the target cloud host server.
[0017] In some embodiments, before the controlling the target tenant server to access the target cloud host server, the method further comprises:
[0018] obtaining an initial cloud host server currently accessed by the target tenant server;
[0019] judging, according to the network topology information, whether the initial cloud host server and the target cloud host server exist connection;
[0020] The controlling the target tenant server to access the target cloud host server comprises:
[0021] controlling the target tenant server to be hot migrated from the initial cloud host server to the target cloud host server in the case that the initial cloud host server and the target cloud host server exist connection.
[0022] In some embodiments, the network scheduling method further comprises:
[0023] determining at least one second cloud host server existing connection with the initial cloud host server in the case that the initial cloud host server and the target cloud host server do not exist connection;
[0024] Based on the target traffic bandwidth and the network topology information, the second cloud host server with the shortest traffic transmission path is determined as the target secondary cloud host server.
[0025] In some implementations, the network scheduling method further includes:
[0026] Control the hot migration of the target tenant server from the initial cloud host server to the target secondary cloud host server.
[0027] A second aspect of this application provides a network scheduling device, comprising:
[0028] The first acquisition module is used to acquire the target traffic bandwidth of the target tenant server;
[0029] The second acquisition module is used to acquire network topology information of the network architecture where the target tenant server is located;
[0030] The first determining module is used to determine the traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0031] The second determining module is used to determine the target cloud host server based on the traffic transmission path;
[0032] The access control module is used to control the target tenant server to access the target cloud host server.
[0033] A third aspect of this application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0034] Obtain the target traffic bandwidth of the target tenant's server;
[0035] Obtain the network topology information of the network architecture in which the target tenant server is located;
[0036] Based on the target traffic bandwidth and the network topology information, determine the traffic transmission path of the target tenant server;
[0037] Based on the traffic transmission path, determine the target cloud host server;
[0038] Control the target tenant server to access the target cloud host server.
[0039] A fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the following steps:
[0040] Obtain the target traffic bandwidth of the target tenant's server;
[0041] obtain network topology information of a network architecture in which the target tenant server is located;
[0042] determine a traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0043] determine a target cloud host server according to the traffic transmission path;
[0044] control the target tenant server to access the target cloud host server.
[0045] A fifth aspect of an embodiment of the present application provides a computer program product, comprising a computer program which, when executed by a processor, implements the following steps:
[0046] obtain a target traffic bandwidth of a target tenant server;
[0047] obtain network topology information of a network architecture in which the target tenant server is located;
[0048] determine a traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0049] determine a target cloud host server according to the traffic transmission path;
[0050] control the target tenant server to access the target cloud host server.
[0051] The network scheduling method and device, computer device, storage medium and program product provided by the embodiments of the present application can obtain a target traffic bandwidth of a target tenant server and network topology information of a network architecture in which the target tenant server is located. The target tenant server can be matched with a target cloud host server in the network architecture according to the network topology information of the target traffic bandwidth, so that the network transmission rate of the target tenant server can meet the target traffic bandwidth required by the target tenant server, and the target tenant server can be accessed to the target cloud host server through the target cloud host server which can establish a communication connection with the target tenant server through a network device in the network architecture. Therefore, the cloud network can be scheduled in real time according to the target traffic bandwidth required by the target tenant server, the bandwidth allocation quality of the cloud host network can be improved based on the traffic transmission path, the transmission speed of the cloud network can be improved, and the accuracy, stability and reliability of the cloud network can be further improved, so that the network performance of the cloud network can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the drawings needed to be used in the embodiments or the related art description will be briefly introduced. Obviously, the drawings in the following description only represent some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor based on these drawings.
[0053] Figure 1 A schematic flow chart of a network scheduling method provided by an embodiment of the present application;
[0054] Figure 2 A schematic structure diagram of a network architecture to which the network scheduling method provided by an embodiment of the present application is applied;
[0055] Figure 3 A schematic partial structure diagram of a network architecture to which the network scheduling method provided by an embodiment of the present application is applied;
[0056] Figure 4 A schematic diagram of a traffic transmission path of the network scheduling method provided by an embodiment of the present application;
[0057] Figure 5 An initial cloud server connection schematic diagram of the network scheduling method provided by an embodiment of the present application;
[0058] Figure 6 A target cloud server connection schematic diagram of the network scheduling method provided by an embodiment of the present application;
[0059] Figure 7 A schematic structure diagram of a network scheduling device provided by an embodiment of the present application;
[0060] Figure 8 A schematic structure diagram of a computer device provided by an embodiment of the present application;
[0061] Figure 9 A schematic structure diagram of a computer readable storage medium provided by an embodiment of the present application;
[0062] Figure 10 A schematic structure diagram of a computer program product provided by an embodiment of the present application. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.
[0064] With the development of cloud computing, the scale of hybrid cloud clusters is getting larger and larger, the scale of cloud networks in the cluster is getting larger and larger, and the traffic bandwidth in the cloud network is also getting larger and larger. In actual production, data shows that the computing intranet bandwidth traffic distribution on the host server of the production cloud host is very uneven.
[0065] In the existing cloud network, at the virtual interface on the cloud network, QOS (Quality of Service) and PPS (Packet Per Second) are usually set to regulate the network traffic of the cloud host, so that the network traffic of the cloud host is kept normal and stable to a certain extent. However, the existing regulation method has certain limitations and still has certain risks of causing network congestion and network packet loss and other unstable traffic problems, affecting the accuracy, stability and reliability of the cloud network, so it is difficult to adapt to the high-quality network environment demand of cloud computing on the cloud network.
[0066] Therefore, it is a technical problem to be solved at present to provide a network scheduling method that can improve the accuracy and stability of the cloud network.
[0067] As shown in Figure 1 The first aspect of the embodiment of the present application provides a network scheduling method, which comprises:
[0068] Step S110, obtaining the target traffic bandwidth of the target tenant server.
[0069] Exemplarily, the target traffic bandwidth of the target tenant server at the current time can be determined by obtaining the historical network browsing request of the target tenant server. The target traffic bandwidth of the target tenant server can also be determined according to the traffic subscription information of the target tenant server.
[0070] Exemplarily, the traffic bandwidth information of the target tenant server can be obtained periodically by using network topology perception technology to determine the target traffic bandwidth of the target tenant server.
[0071] Step S120, obtaining the network topology information of the network architecture where the target tenant server is located.
[0072] As shown in Figure 2 The network architecture where the target tenant server is located comprises the target tenant server and the cloud host server, the access layer switch and the core layer switch. The cloud host server forms network communication with the target tenant server through the access layer switch, the core layer switch and the access layer switch in turn.
[0073] Exemplarily, the network topology information of the network architecture where the target tenant server is located can be acquired through a network topology awareness technology, where the network topology awareness technology can include an SNMP (Simple Network Management Protocol) technology.
[0074] In step S130, a traffic transmission path of the target tenant server is determined based on the target traffic bandwidth and the network topology information.
[0075] Exemplarily, the network devices can be converted into a logical topology structure through the network topology awareness technology, so that the traffic transmission path can be determined according to the logical topology structure.
[0076] Exemplarily, the traffic transmission path includes all communication paths between any cloud host server and the target tenant server that can establish network communication with the target tenant server through the network devices in the network architecture.
[0077] In step S140, the target cloud host server is determined according to the traffic transmission path.
[0078] Exemplarily, the target cloud host server can be determined according to the length of the traffic transmission path. The target cloud host server can also be determined according to the transmission rate of the network devices on the traffic transmission path.
[0079] In step S150, the target tenant server is controlled to access the target cloud host server.
[0080] The network scheduling method provided by the embodiments of the present application can acquire the target traffic bandwidth of the target tenant server and the network topology information in the network architecture where the target tenant server is located. The target tenant server can be accessed by the target cloud host server that can establish a communication connection with the target tenant server through the network devices in the network architecture, according to the network topology information of the target traffic bandwidth in the network architecture where the target tenant server is located, so that the network transmission rate in the network architecture where the target tenant server is located can meet the target traffic bandwidth required by the target tenant server. The cloud network can be scheduled in real time according to the target traffic bandwidth required by the target tenant server, the bandwidth allocation quality of the cloud host network can be improved based on the traffic transmission path, the transmission speed of the cloud network can be improved, and the accuracy, stability and reliability of the cloud network can be further improved, so that the network performance of the cloud network can be improved.
[0081] In some possible implementations, the network topology information includes at least one of IP routing information of the network devices in the network architecture, an ingress interface rate of the cloud host servers in the network architecture, an egress interface rate of the cloud host servers, an IP address of the cloud host servers and an IP address of the target tenant server.
[0082] Exemplarily, the network devices in the network architecture can be converted into a logical topology structure by a network topology awareness technology. The sending bandwidth rate and the receiving bandwidth rate of each link interface and the IP routing information table of each network device in the network architecture can be obtained in the logical topology structure.
[0083] As shown in Figure 3 The network architecture includes an access layer switch entity and a core layer switch entity. As shown in Figure 4 The network device entity in the network architecture can be converted into a logical topology structure. It can be seen that there can be multiple traffic transmission paths between the same target cloud host server and the same target tenant server for establishing network connection.
[0084] As shown in Figure 4 It can be seen that the L1 switch is used as the switching starting point for accessing the switching traffic, and the Ln switch is used as the switching end point for connecting the target tenant server, and three traffic transmission paths can be obtained. Specifically, it can include: the first traffic transmission path: the L1 switch establishes network communication with the S1 switch through the sub-path 1, and the S1 switch establishes network communication with the Ln switch through the sub-path 3. The second traffic transmission path: the L1 switch establishes network communication with the Sn switch through the sub-path 2, and the Sn switch establishes network communication with the Ln switch through the sub-path 4. The third traffic transmission path: the L1 switch establishes network communication with the S1 switch through the sub-path 1, and the S1 switch establishes network communication with the Sn switch through the sub-path 5, and the Sn switch establishes network communication with the Ln switch through the sub-path 4.
[0085] The network scheduling method provided by the embodiment of the application can increase the comprehensiveness and diversity of network topology information, further facilitate the determination of the traffic transmission path according to the network topology information, reduce the difficulty of determining the traffic transmission path, and improve the objectivity of the network scheduling method. Thus, the real-time and timeliness of the network scheduling method for cloud network bandwidth scheduling can be further improved, the bandwidth allocation quality of the cloud host network can be improved, the transmission speed of the cloud network can be improved, the accuracy, stability and reliability of the cloud network can be further improved, and thus the network performance of the cloud network can be improved.
[0086] In some possible implementation manners, the traffic transmission path of the target tenant server is determined based on the target traffic bandwidth and the network topology information, including: determining at least one first cloud host server according to the target traffic bandwidth and the network topology information, where an outgoing interface rate of the first cloud host server is greater than or equal to the target traffic bandwidth; determining the traffic transmission path of the first cloud host server according to the network topology information; and determining the target cloud host server according to the traffic transmission path, including: determining the first cloud host server corresponding to the shortest traffic transmission path as the target cloud host server based on a length of the traffic transmission path.
[0087] Exemplarily, the traffic transmission path between each first cloud host server and the target tenant server can be determined according to a Dijkstra shortest path priority algorithm.
[0088] The network scheduling method provided by the embodiment of the present application can filter all cloud host servers in the network architecture where the target tenant server is located by using the outgoing interface rate related to the traffic transmission of the cloud host server in the network topology information, so as to obtain at least one first cloud host server that can meet the target traffic bandwidth requirement of the target tenant server, and can guarantee the network access quality and bandwidth requirement of the target tenant server. Further, by determining the first cloud host server corresponding to the shortest traffic transmission path as the target cloud host server, the network communication speed between the target cloud host server and the target tenant server can be improved, the network access quality of the target tenant server can be improved, and the bandwidth allocation quality of the cloud host network can be improved. Therefore, the transmission speed of the cloud network can be improved, and further, the accuracy, stability and reliability of the cloud network can be improved, so that the network performance of the cloud network can be improved.
[0089] In some possible implementation manners, before the step of controlling the target tenant server to access the target cloud host server, the method further includes: obtaining an initial cloud host server currently accessed by the target tenant server; determining, according to the network topology information, whether the initial cloud host server and the target cloud host server exist connection; and controlling the target tenant server to access the target cloud host server, including: in the case that the initial cloud host server and the target cloud host server exist connection, controlling the target tenant server to be hot migrated from the initial cloud host server to the target cloud host server.
[0090] As shown in FIG. 1, Figure 5 The initial cloud host server accessed by the target tenant server establishes network communication with the L1 switch, the L1 switch establishes network communication with the S2 switch, the S2 switch establishes network communication with the Sn switch, and the Sn switch establishes network communication with the Ln switch.
[0091] As shown in FIG. 1, Figure 6As shown, the target cloud host server accessed by the target tenant server establishes network communication with the L2 switch, the L2 switch establishes network communication with the Sn switch, and the Sn switch establishes network communication with the Ln switch.
[0092] It can be seen that the traffic transmission path between the target cloud host server and the target tenant server is obviously smaller than the traffic transmission path between the initial cloud host server and the target tenant server.
[0093] Exemplarily, in the hot migration operation, the problem of target cloud host server migration failure can occur. In the case of hot migration failure, the resource margin of the target cloud host server needs to be called. In the case of insufficient resource margin of the target cloud host server, the target cloud host server can be marked first, and then a timer is enabled until the hot migration of the target cloud host server is performed after the timer expires.
[0094] The network scheduling method provided by the embodiment of the present application can determine whether the hot migration between the initial cloud host server and the target cloud host server can be performed according to the connection relationship between the initial cloud host server and the target cloud host server, which can further improve the accuracy of the network scheduling method, avoid the problem of network disconnection of the target tenant server, improve the bandwidth allocation quality of the cloud host network, improve the fluency and stability of the target tenant server, improve the transmission speed of the cloud network, and further improve the accuracy, stability and reliability of the cloud network, thereby improving the network performance of the cloud network.
[0095] In some possible implementation manners, the network scheduling method further includes: in the case that the initial cloud host server and the target cloud host server do not exist connection, determining at least one second cloud host server that exists connection with the initial cloud host server; and determining the second cloud host server with the shortest traffic transmission path as a target secondary cloud host server according to the target traffic bandwidth and the network topology information.
[0096] The network scheduling method provided by the embodiment of the present application can ensure that the target secondary cloud host server can realize hot migration with the initial cloud host server, thereby improving the fluency and stability of the target tenant server network, and at the same time, the bandwidth and traffic transmission path of the target secondary cloud host server can also be considered, which can further meet the traffic bandwidth demand of the target tenant server, shorten the length of the traffic transmission path, improve the network transmission speed, improve the bandwidth allocation quality of the cloud host network, and further improve the accuracy, stability and reliability of the cloud network, thereby improving the network performance of the cloud network.
[0097] In some possible implementation manners, the network scheduling method further includes: controlling the target tenant server to be hot migrated from the initial cloud host server to the target secondary cloud host server.
[0098] The network scheduling method provided by the embodiments of the present application can improve the fluency and stability of the network of the target tenant server, improve the network transmission speed, improve the bandwidth allocation quality of the cloud host network, and further improve the accuracy, stability and reliability of the cloud network, so that the network performance of the cloud network can be improved.
[0099] It should be understood that, although each step in the flowchart involved in each embodiment as described above is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each embodiment as described above can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution sequence of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.
[0100] Based on the same inventive concept, the embodiments of the present application also provide a memory management device for implementing the above-mentioned memory management method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more memory management device embodiments provided below can refer to the limitations of the memory management method described above, which will not be repeated here.
[0101] As Figure 7 The second aspect of the embodiments of the present application provides a network scheduling device, which comprises:
[0102] The first acquisition module 100 is configured to acquire the target traffic bandwidth of the target tenant server.
[0103] The second acquisition module 200 is configured to acquire the network topology information of the network architecture in which the target tenant server is located.
[0104] The first determination module 300 is configured to determine the traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information.
[0105] The second determination module 400 is configured to determine the target cloud host server according to the traffic transmission path.
[0106] The access control module 500 is configured to control the target tenant server to access the target cloud host server.
[0107] Each of the modules in the memory management apparatus can be implemented wholly or partially by software, hardware, and combinations thereof. The modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in the computer device in software form, so as to be invoked by the processor to perform operations corresponding to the modules.
[0108] As shown in Figure 8 , the third aspect of the embodiments of the present application provides a computer device, which can be a device integrating multiple target applications, and a specific implementation process of a memory monitoring module in the target applications can be executed by the computer device. The computer device can be a server, and its internal structure diagram can be as shown in Figure 8 . The computer device includes a processor, a memory, an input / output interface (I / O), and a communication interface. 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. The processor of the computer device is configured 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 running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store memory data. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a memory management method.
[0109] Those skilled in the art can understand that the structure shown in the drawings is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
[0110] As shown in Figure 9 , the fourth aspect of the embodiments of the present application provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the following steps:
[0111] obtaining a target traffic bandwidth of a target tenant server;
[0112] obtaining network topology information of a network architecture in which the target tenant server is located;
[0113] determining a traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0114] determine the target cloud host server according to the traffic transmission path;
[0115] control the target tenant server to access the target cloud host server.
[0116] As Figure 10 shown, the fifth aspect of the embodiment of the present application provides a computer program product, comprising a computer program which, when executed by a processor, implements the following steps:
[0117] obtain the target traffic bandwidth of the target tenant server;
[0118] obtain the network topology information of the network architecture where the target tenant server is located;
[0119] determine the traffic transmission path of the target tenant server based on the target traffic bandwidth and the network topology information;
[0120] determine the target cloud host server according to the traffic transmission path;
[0121] control the target tenant server to access the target cloud host server.
[0122] It should be noted that the information (including but not limited to application information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric 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 but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0124] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.
[0125] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A network scheduling method, characterized by, The method comprises: obtaining a target traffic bandwidth of a target tenant server; obtaining network topology information of a network architecture in which the target tenant server is located; determining at least one first cloud host server according to the target traffic bandwidth and the network topology information, wherein an out-interface rate of the first cloud host server is greater than or equal to the target traffic bandwidth; determining a traffic transmission path of the first cloud host server according to the network topology information; determining, based on a length of the traffic transmission path, that the first cloud host server corresponding to a shortest traffic transmission path is a target cloud host server; controlling the target tenant server to access the target cloud host server.
2. The network scheduling method of claim 1, wherein, The network topology information comprises at least one of IP routing information of a network device in the network architecture, an in-interface rate of a cloud host server in the network architecture, an out-interface rate of the cloud host server, an IP address of the cloud host server, and an IP address of the target tenant server.
3. The network scheduling method of claim 1, wherein, Before the step of controlling the target tenant server to access the target cloud host server, the method further comprises: obtaining an initial cloud host server currently accessed by the target tenant server; judging, according to the network topology information, whether the initial cloud host server and the target cloud host server are connected; controlling the target tenant server to be hot-migrated from the initial cloud host server to the target cloud host server in the case that the initial cloud host server and the target cloud host server are connected. In the case that the initial cloud host server and the target cloud host server are not connected, the method further comprises:
4. The network scheduling method of claim 3, wherein, determining at least one second cloud host server connected to the initial cloud host server; determining, according to the target traffic bandwidth and the network topology information, that the second cloud host server corresponding to the shortest traffic transmission path is a target secondary cloud host server. controlling the target tenant server to be hot-migrated from the initial cloud host server to the target secondary cloud host server.
5. The network scheduling method of claim 4, wherein, The method comprises: a first obtaining module configured to obtain a target traffic bandwidth of a target tenant server; 6. A network scheduling apparatus characterized by comprising: a second obtaining module configured to obtain network topology information of a network architecture in which the target tenant server is located; a first determining module configured to determine at least one first cloud host server according to the target traffic bandwidth and the network topology information, and determine a traffic transmission path of the first cloud host server according to the network topology information, wherein an out-interface rate of the first cloud host server is greater than or equal to the target traffic bandwidth; a second determining module configured to determine, based on a length of the traffic transmission path, that the first cloud host server corresponding to a shortest traffic transmission path is a target cloud host server; an access control module configured to control the target tenant server to access the target cloud host server. The processor executes the computer program to implement the steps of the network scheduling method in any one of claims 1 to 5. The processor executes the computer program to implement the steps of the network scheduling method in any one of claims 1 to 5. 7.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-6 when the computer program is executed by the processor. 8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, which is executed by a processor, implements the steps of the network scheduling method of any one of claims 1 to 5.
9. A computer program product comprising a computer program, characterized in that, The computer program, which is executed by a processor, implements the steps of the network scheduling method of any one of claims 1 to 5.
Citation Information
Patent Citations
Display card resource allocation method and device and readable storage medium
CN115904685A
Traffic data scheduling method and device and nonvolatile storage medium
CN116887416A