A method and device for intelligently allocating and deploying switch resources
Through the intelligent switch resource allocation method, a computer room resource allocation plan is generated and switch resources is allocated, which solves the problem of inefficient switch resource allocation in the existing technology and improves the deployment efficiency of server network access.
Patent Information
- Application Number
- CN202111261831.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2041-10-28
AI Technical Summary
In the prior art, the allocation and deployment of network access switches mainly rely on manual judgment and configuration, resulting in inefficiency and difficulty in meeting the current requirements for server and supporting network equipment construction and deployment.
Provide a method of intelligent allocation and deployment of switch resources. By obtaining resource application information, a computer room resource allocation plan is generated, including cabinet allocation information, and determining and allocating switch resources based on the preset physical machine network access deployment strategy, thereby improving the allocation of switch resources. Deployment efficiency.
Through intelligent improvement of switch resource allocation and deployment process, the deployment efficiency of network access switches for supporting servers is improved, and the need for data center scale expansion is met.
Smart Images

Figure CN113949637B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of resource deployment, and in particular to a method and device for intelligent allocation and deployment of switch resources. Background Art
[0002] With the rapid development of the new generation of mobile communication technology, the scale of data centers in cloud environments has also expanded, and the requirements for the construction and deployment of servers and supporting network equipment have continued to increase.
[0003] At present, the allocation and deployment of network access switches mainly rely on manual judgment and configuration, resulting in inefficient allocation and deployment of switch resources, which is difficult to meet the current requirements for the construction and deployment of servers and supporting network equipment.
[0004] Therefore, how to improve the allocation and deployment efficiency of switch resources has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention
[0005] In view of the above problems, the present disclosure provides a method and device for intelligent allocation and deployment of switch resources that overcome the above problems or at least partially solve the above problems. The technical solution is as follows:
[0006] A switch resource intelligent allocation and deployment method, comprising:
[0007] Obtaining resource application information, wherein the resource application information includes network access requirement configuration information;
[0008] Generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information;
[0009] In the case where there is no physical machine resource pool model name identifier in the cabinet allocation information, determining whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information, and if not, generating a first switch resource allocation result for allocating switch resources to the target cabinet based on the network access requirement configuration information and in accordance with a preset physical machine network access deployment strategy;
[0010] Network resources are deployed based on the resource allocation result of the first switch.
[0011] Optionally, the method further includes:
[0012] When it is determined that there are switch resources in the target cabinet corresponding to the cabinet allocation information, determine whether the switch resources comply with the preset physical machine network access deployment strategy based on the network access requirement configuration information; if so, generate a second switch resource allocation result without adding switch resources to the target cabinet; if not, generate a third switch resource allocation result in which the computer room resource allocation plan does not match the requirement configuration information.
[0013] Optionally, the method further includes:
[0014] When a physical machine resource pool model name identifier exists in the cabinet allocation information, a physical machine resource pool model corresponding to the physical machine resource pool model name identifier is queried in a preset physical machine resource pool server. If the model is found, a fourth switch resource allocation result is generated without adding switch resources to the target cabinet. If the model is not found, a fifth switch resource allocation result is generated in which the computer room resource allocation plan does not match the demand configuration information.
[0015] Optionally, the performing network resource deployment based on the first switch resource allocation result includes:
[0016] The inventory switch equipment is matched based on the equipment requirements in the first switch resource allocation result, and a to-be-purchased mark is added to the equipment source item corresponding to the equipment requirement that cannot be matched to the inventory switch equipment.
[0017] Optionally, after generating a first switch resource allocation result for allocating switch resources to the target cabinet based on the network access requirement configuration information and according to a preset physical machine network access deployment strategy, the method further includes:
[0018] The resource allocation result of the first switch is sent to the device resource management end for display.
[0019] Optionally, the network access requirement configuration information includes: resource pool server access requirement configuration, physical machine access requirement configuration, and security device access requirement configuration.
[0020] A switch resource intelligent allocation and deployment device comprises: a resource application information acquisition unit, a computer room resource allocation plan generation unit, a target cabinet switch resource determination unit, a first switch resource allocation result generation unit and a network resource deployment unit.
[0021] The resource application information obtaining unit is used to obtain resource application information, wherein the resource application information includes network access requirement configuration information;
[0022] The computer room resource allocation scheme generating unit is used to generate a computer room resource allocation scheme corresponding to the network access demand configuration information, wherein the computer room resource allocation scheme includes cabinet allocation information;
[0023] The target cabinet switch resource determination unit is configured to determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information when there is no physical machine resource pool model name identifier in the cabinet allocation information, and if not, trigger the first switch resource allocation result generation unit;
[0024] The first switch resource allocation result generating unit is used to generate a first switch resource allocation result for allocating switch resources to the target cabinet according to the network access requirement configuration information and a preset physical machine network access deployment strategy;
[0025] The network resource deployment unit is used to deploy network resources based on the resource allocation result of the first switch.
[0026] Optionally, the device further includes: a deployment strategy determining unit, a second switch resource allocation result generating unit, and a third switch resource allocation result generating unit.
[0027] The deployment strategy determination unit is configured to determine, when the target cabinet switch resource determination unit determines that there is a switch resource in the target cabinet corresponding to the cabinet allocation information, whether the switch resource complies with the preset physical machine network access deployment strategy based on the network access requirement configuration information, and if so, trigger the second switch resource allocation result generation unit; if not, trigger the third switch resource allocation result generation unit;
[0028] The second switch resource allocation result generating unit is configured to generate a second switch resource allocation result without adding a switch resource to the target cabinet;
[0029] The third switch resource allocation result generating unit is used to generate a third switch resource allocation result in which the computer room resource allocation scheme does not match the demand configuration information.
[0030] Optionally, the device further includes: a resource pool model query unit, a fourth switch resource allocation result generation unit, and a fifth switch resource allocation result generation unit.
[0031] The resource pool model query unit is used to query the physical machine resource pool model corresponding to the physical machine resource pool model name identifier in the preset physical machine resource pool server when there is a physical machine resource pool model name identifier in the cabinet allocation information, and if the query finds the physical machine resource pool model, trigger the fourth switch resource allocation result generation unit; if the query fails, trigger the fifth switch resource allocation result generation unit;
[0032] The fourth switch resource allocation result generating unit is configured to generate a fourth switch resource allocation result without adding a switch resource to the target cabinet;
[0033] The fifth switch resource allocation result generating unit is used to generate a fifth switch resource allocation result in which the computer room resource allocation scheme does not match the demand configuration information.
[0034] Optionally, the network resource deployment unit is specifically configured to match inventory switch devices based on the device requirements in the first switch resource allocation result, and add a to-be-purchased mark to the device source item corresponding to the device requirement that cannot be matched to the inventory switch device.
[0035] By means of the above technical scheme, the present disclosure provides a method and device for intelligent allocation and deployment of switch resources, which can obtain resource application information, including network access demand configuration information; generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information; when there is no physical machine resource pool model name identifier in the cabinet allocation information, determine whether there are switch resources in the target cabinet corresponding to the cabinet allocation information, and if not, generate a first switch resource allocation result for allocating switch resources to the target cabinet according to the network access demand configuration information and the preset physical machine network access deployment strategy; and perform network resource deployment based on the first switch resource allocation result. The present disclosure makes intelligent improvements to the allocation and deployment process of switch resources with a high allocation and deployment frequency, which can improve the deployment efficiency of the network access switch of the supporting server.
[0036] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present disclosure. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0038] Figure 1 A schematic diagram showing a flow chart of an implementation of a method for intelligently allocating and deploying switch resources provided in an embodiment of the present disclosure;
[0039] Figure 2 A flow chart showing another implementation of the method for intelligently allocating and deploying switch resources provided in an embodiment of the present disclosure;
[0040] Figure 3 A flow chart showing another implementation of the method for intelligently allocating and deploying switch resources provided in an embodiment of the present disclosure;
[0041] Figure 4 A schematic diagram of the structure of a switch resource intelligent allocation and deployment device provided in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0042] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0043] like Figure 1 As shown, a flow chart of an implementation of a method for intelligently allocating and deploying switch resources provided by an embodiment of the present disclosure is provided. The method for intelligently allocating and deploying switch resources may include:
[0044] S100: Obtain resource application information, wherein the resource application information includes network access requirement configuration information.
[0045] Specifically, the disclosed embodiment can obtain resource application information sent by the user terminal. The network access requirement configuration information in the resource application information may include: resource pool server access requirement configuration, physical machine access requirement configuration and security device access requirement configuration. Among them, the resource pool server access requirement configuration may include the physical machine resource pool model name identifier. The physical machine access requirement configuration may include the number, type and rate of network cards. The security device access requirement configuration may include the high availability requirements corresponding to each server. The user can edit and input the resource application information on the user terminal and select each requirement configuration in the network access requirement configuration information.
[0046] S200: Generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information.
[0047] It is understandable that the switch resource intelligent allocation and deployment method provided by the embodiment of the present disclosure can be applied in a data center. A data center is composed of multiple server rooms, and the server room includes at least one server cabinet, and the server cabinet may include at least one physical server, and the physical server provides computer services to the data center. The embodiment of the present disclosure can distinguish each server room and server cabinet in advance, and record the resource information owned by each server room and server cabinet. The embodiment of the present disclosure can evaluate the resource information corresponding to each server room according to the network access demand configuration information, and generate a room resource allocation plan that can meet the network access demand configuration information.
[0048] S300. When there is no physical machine resource pool model name identifier in the cabinet allocation information, determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information; if not, execute step S400.
[0049] S400: Based on the network access requirement configuration information, generate a first switch resource allocation result for allocating switch resources to a target cabinet according to a preset physical machine network access deployment strategy.
[0050] Specifically, the embodiment of the present disclosure can determine the switch resources required to meet the various requirements in the network access requirement configuration information according to the preset physical machine network access deployment strategy, thereby generating a first switch resource allocation result for allocating switch resources to the target cabinet. The first switch resource allocation result can include device performance parameter information of the switch and the number of switches.
[0051] Optionally, the embodiment of the present disclosure can also determine whether the switch resources comply with a preset physical machine network access deployment strategy based on the network access requirement configuration information when it is determined that there are switch resources in the target cabinet corresponding to the cabinet allocation information. If so, a second switch resource allocation result is generated without adding switch resources to the target cabinet. If not, a third switch resource allocation result is generated in which the computer room resource allocation plan does not match the requirement configuration information.
[0052] In actual situations, the target cabinet may be pre-configured with switch resources. In this case, the embodiment of the present disclosure can verify whether the switch resources in the target cabinet meet the requirements of the various configuration requirements in the network access requirement configuration information. If they do, it is determined that there is no need to add a new switch to the target cabinet. If they do not meet the requirements, it is not recommended to use the computer room resource allocation plan to configure switch resources for the target cabinet.
[0053] Optionally, in an embodiment of the present disclosure, when there is a physical machine resource pool model name identifier in the cabinet allocation information, the physical machine resource pool model corresponding to the physical machine resource pool model name identifier may be queried in a preset physical machine resource pool server. If found, a fourth switch resource allocation result is generated that does not require adding new switch resources to the target cabinet. If not found, a fifth switch resource allocation result is generated that indicates that the computer room resource allocation plan does not match the required configuration information.
[0054] S500: Perform network resource deployment based on the resource allocation result of the first switch.
[0055] Optional, based on Figure 1 The method shown, such as Figure 2 As shown, a flow chart of another implementation of the switch resource intelligent allocation and deployment method provided in an embodiment of the present disclosure is provided, and step S500 may include:
[0056] S510: Match inventory switch devices based on the device requirements in the first switch resource allocation result, and add a to-be-purchased mark to the device source item corresponding to the device requirement that cannot be matched to the inventory switch device.
[0057] Optionally, the disclosed embodiment may give priority to allocating the same batch of stock switch devices to each device demand in the first switch resource allocation result. For device demands that cannot be matched with stock switch devices, a pending purchase mark may be added to the device source item on the device demand, and the information of the device source item may be supplemented after the switch device is purchased and delivered.
[0058] Optional, based on Figure 1 The method shown, such as Figure 3 As shown, a flow chart of another implementation of the method for intelligently allocating and deploying switch resources provided by an embodiment of the present disclosure is provided. After step S500, the method for intelligently allocating and deploying switch resources may further include:
[0059] S600: Send the first switch resource allocation result to the device resource management terminal for display.
[0060] Optionally, the embodiment of the present disclosure may also send any one of the second switch resource allocation result, the third switch resource allocation result, the fourth switch resource allocation result and the fifth switch resource allocation result to the device resource management end for display so that the device resource management personnel can perform confirmation operations.
[0061] Optionally, in the embodiment of the present disclosure, when generating the third switch resource allocation result or the fifth switch resource allocation result, information supporting manual filling of the switch resource allocation plan may be added to the third switch resource allocation result or the fifth switch resource allocation result, so that the equipment resource management personnel can perform confirmation operations to continue to use the third switch resource allocation result or the fifth switch resource allocation result to deploy network resources.
[0062] The present disclosure provides a method for intelligent allocation and deployment of switch resources, which can obtain resource application information, including network access demand configuration information; generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information; when there is no physical machine resource pool model name identifier in the cabinet allocation information, determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information, and if not, generate a first switch resource allocation result for allocating switch resources to the target cabinet according to the network access demand configuration information and a preset physical machine network access deployment strategy; and perform network resource deployment based on the first switch resource allocation result. The present disclosure makes intelligent improvements to the switch resource allocation and deployment process with a high allocation and deployment frequency, which can improve the deployment efficiency of the network access switch of the supporting server.
[0063] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0064] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0065] Corresponding to the above method embodiment, the embodiment of the present disclosure also provides a switch resource intelligent allocation and deployment device, whose structure is as follows: Figure 4 As shown, it may include: a resource application information obtaining unit 100, a computer room resource allocation solution generating unit 200, a target cabinet switch resource determining unit 300, a first switch resource allocation result generating unit 400 and a network resource deploying unit 500.
[0066] The resource application information obtaining unit 100 is used to obtain resource application information, wherein the resource application information includes network access requirement configuration information.
[0067] The computer room resource allocation scheme generating unit 200 is used to generate a computer room resource allocation scheme corresponding to the network access requirement configuration information, wherein the computer room resource allocation scheme includes cabinet allocation information.
[0068] The target cabinet switch resource determination unit 300 is used to determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information when there is no physical machine resource pool model name identifier in the cabinet allocation information, and if not, trigger the first switch resource allocation result generation unit 400.
[0069] The first switch resource allocation result generating unit 400 is used to generate a first switch resource allocation result for allocating switch resources to a target cabinet according to the network access requirement configuration information and a preset physical machine network access deployment strategy.
[0070] The network resource deployment unit 500 is configured to deploy network resources based on the resource allocation result of the first switch.
[0071] Optionally, the switch resource intelligent allocation and deployment device may further include: a deployment strategy determination unit, a second switch resource allocation result generation unit, and a third switch resource allocation result generation unit.
[0072] The deployment strategy determination unit is used to determine whether the switch resource complies with the preset physical machine network access deployment strategy based on the network access requirement configuration information when the target cabinet switch resource determination unit 300 determines that there is a switch resource in the target cabinet corresponding to the cabinet allocation information, and if so, trigger the second switch resource allocation result generation unit; if not, trigger the third switch resource allocation result generation unit.
[0073] The second switch resource allocation result generating unit is configured to generate a second switch resource allocation result without adding switch resources to the target cabinet.
[0074] The third switch resource allocation result generating unit is used to generate a third switch resource allocation result in which the computer room resource allocation scheme does not match the required configuration information.
[0075] Optionally, the switch resource intelligent allocation and deployment device may further include: a resource pool model query unit, a fourth switch resource allocation result generation unit, and a fifth switch resource allocation result generation unit.
[0076] The resource pool model query unit is used to query the physical machine resource pool model corresponding to the physical machine resource pool model name identifier in the preset physical machine resource pool server when there is a physical machine resource pool model name identifier in the cabinet allocation information. If the query is found, the fourth switch resource allocation result generation unit is triggered; if the query is not found, the fifth switch resource allocation result generation unit is triggered.
[0077] The fourth switch resource allocation result generating unit is configured to generate a fourth switch resource allocation result without adding switch resources to the target cabinet.
[0078] The fifth switch resource allocation result generating unit is used to generate a fifth switch resource allocation result in which the computer room resource allocation scheme does not match the required configuration information.
[0079] Optionally, the network resource deployment unit 500 is specifically configured to match inventory switch devices based on the device requirements in the first switch resource allocation result, and add a to-be-purchased mark to the device source item corresponding to the device requirement that cannot be matched to the inventory switch device.
[0080] Optionally, the switch resource intelligent allocation and deployment device may further include: a result sending unit.
[0081] The result sending unit is used to send the first switch resource allocation result to the device resource management end for display.
[0082] Optionally, the network access requirement configuration information includes: resource pool server access requirement configuration, physical machine access requirement configuration, and security device access requirement configuration.
[0083] The present disclosure provides a switch resource intelligent allocation and deployment device, which can obtain resource application information, including network access demand configuration information; generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information; when there is no physical machine resource pool model name identifier in the cabinet allocation information, determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information, and if not, generate a first switch resource allocation result for allocating switch resources to the target cabinet according to the network access demand configuration information and a preset physical machine network access deployment strategy; and perform network resource deployment based on the first switch resource allocation result. The present disclosure makes intelligent improvements to the switch resource allocation and deployment process with a high allocation and deployment frequency, which can improve the deployment efficiency of the network access switch of the supporting server.
[0084] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0085] The switch resource intelligent allocation and deployment device includes a processor and a memory. The resource application information obtaining unit 100, the computer room resource allocation plan generating unit 200, the target cabinet switch resource determining unit 300, the first switch resource allocation result generating unit 400 and the network resource deployment unit 500 are all stored in the memory as program units, and the processor executes the above program units stored in the memory to realize the corresponding functions.
[0086] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the resource allocation and deployment process of switches with high deployment frequency can be intelligently improved by adjusting kernel parameters, thereby improving the deployment efficiency of the network access switch of the supporting server.
[0087] The embodiment of the present disclosure provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for intelligent allocation and deployment of switch resources is implemented.
[0088] An embodiment of the present disclosure provides a processor, which is used to run a program, wherein the switch resource intelligent allocation and deployment method is executed when the program is run.
[0089] The embodiment of the present disclosure provides an electronic device, which includes at least one processor, at least one memory connected to the processor, and a bus; wherein the processor and the memory communicate with each other through the bus; the processor is used to call program instructions in the memory to execute the above-mentioned switch resource intelligent allocation and deployment method. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0090] The present disclosure also provides a computer program product, which, when executed on an electronic device, is suitable for executing a program that initializes the steps of the method for intelligently allocating and deploying switch resources.
[0091] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, apparatuses, electronic devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0092] In a typical configuration, an electronic device includes one or more processors (CPU), a memory, and a bus. The electronic device may also include an input / output interface, a network interface, and the like.
[0093] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0095] In the description of the present disclosure, it should be understood that the terms "up", "down", "front", "back", "left" and "right" etc. indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description. They do not indicate or imply that the positions or elements referred to must have specific directions, be constructed and operate in specific directions. Therefore, they should not be understood as limitations of the present disclosure.
[0096] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0097] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0098] The above are only embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.
Claims
1. A method for intelligent allocation and deployment of switch resources, characterized in that: include: Obtaining resource application information, wherein the resource application information includes network access requirement configuration information; Generate a computer room resource allocation plan corresponding to the network access demand configuration information, wherein the computer room resource allocation plan includes cabinet allocation information; In the case where there is no physical machine resource pool model name identifier in the cabinet allocation information, determining whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information, and if not, generating a first switch resource allocation result for allocating switch resources to the target cabinet based on the network access requirement configuration information and in accordance with a preset physical machine network access deployment strategy; Performing network resource deployment based on the resource allocation result of the first switch; When a physical machine resource pool model name identifier exists in the cabinet allocation information, a physical machine resource pool model corresponding to the physical machine resource pool model name identifier is queried in a preset physical machine resource pool server. If the model is found, a fourth switch resource allocation result is generated without adding switch resources to the target cabinet. If the model is not found, a fifth switch resource allocation result is generated in which the computer room resource allocation plan does not match the demand configuration information.
2. The method according to claim 1, characterized in that Also includes: When it is determined that there are switch resources in the target cabinet corresponding to the cabinet allocation information, determine whether the switch resources comply with the preset physical machine network access deployment strategy based on the network access requirement configuration information; if so, generate a second switch resource allocation result without adding switch resources to the target cabinet; if not, generate a third switch resource allocation result in which the computer room resource allocation plan does not match the requirement configuration information.
3. The method according to claim 1, characterized in that: The performing network resource deployment based on the first switch resource allocation result includes: The inventory switch equipment is matched based on the equipment requirements in the first switch resource allocation result, and a to-be-purchased mark is added to the equipment source item corresponding to the equipment requirement that cannot be matched to the inventory switch equipment.
4. The method according to claim 1, characterized in that: After generating a first switch resource allocation result for allocating switch resources to the target cabinet based on the network access requirement configuration information and according to a preset physical machine network access deployment strategy, the method further includes: The resource allocation result of the first switch is sent to the device resource management end for display.
5. The method according to claim 1, characterized in that The network access requirement configuration information includes: resource pool server access requirement configuration, physical machine access requirement configuration and security device access requirement configuration.
6. A switch resource intelligent allocation and deployment device, characterized in that: include: a resource application information obtaining unit, a computer room resource allocation plan generating unit, a target cabinet switch resource determining unit, a first switch resource allocation result generating unit, a network resource deployment unit, a resource pool model query unit, a fourth switch resource allocation result generating unit, and a fifth switch resource allocation result generating unit, The resource application information obtaining unit is used to obtain resource application information, wherein the resource application information includes network access requirement configuration information; The computer room resource allocation scheme generating unit is used to generate a computer room resource allocation scheme corresponding to the network access demand configuration information, wherein the computer room resource allocation scheme includes cabinet allocation information; The target cabinet switch resource determination unit is configured to determine whether there is a switch resource in the target cabinet corresponding to the cabinet allocation information when there is no physical machine resource pool model name identifier in the cabinet allocation information, and if not, trigger the first switch resource allocation result generation unit; The first switch resource allocation result generating unit is used to generate a first switch resource allocation result for allocating switch resources to the target cabinet according to the network access requirement configuration information and a preset physical machine network access deployment strategy; The network resource deployment unit is used to deploy network resources based on the resource allocation result of the first switch; The resource pool model query unit is used to query the physical machine resource pool model corresponding to the physical machine resource pool model name identifier in the preset physical machine resource pool server when there is a physical machine resource pool model name identifier in the cabinet allocation information, and if the query finds the physical machine resource pool model, trigger the fourth switch resource allocation result generation unit; if the query fails, trigger the fifth switch resource allocation result generation unit; The fourth switch resource allocation result generating unit is configured to generate a fourth switch resource allocation result without adding a switch resource to the target cabinet; The fifth switch resource allocation result generating unit is used to generate a fifth switch resource allocation result in which the computer room resource allocation scheme does not match the demand configuration information.
7. The device according to claim 6, characterized in that Also includes: a deployment strategy determining unit, a second switch resource allocation result generating unit, and a third switch resource allocation result generating unit, The deployment strategy determination unit is configured to determine, when the target cabinet switch resource determination unit determines that there is a switch resource in the target cabinet corresponding to the cabinet allocation information, whether the switch resource complies with the preset physical machine network access deployment strategy based on the network access requirement configuration information, and if so, trigger the second switch resource allocation result generation unit; if not, trigger the third switch resource allocation result generation unit; The second switch resource allocation result generating unit is configured to generate a second switch resource allocation result without adding a switch resource to the target cabinet; The third switch resource allocation result generating unit is used to generate a third switch resource allocation result in which the computer room resource allocation scheme does not match the demand configuration information.
8. The device according to claim 6, characterized in that The network resource deployment unit is specifically configured to match inventory switch devices based on the device requirements in the first switch resource allocation result, and add a to-be-purchased mark to the device source item corresponding to the device requirement that cannot be matched to the inventory switch device.
Citation Information
Cited By
POE switch and resource allocation method
CN121193549A
