Network resource provisioning method, system, device and storage medium for data center

CN116346608BActive Publication Date: 2026-10-23INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310392732.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-13
Publication Date
2026-10-23
Estimated Expiration
2043-04-13

AI Technical Summary

Technical Problem

这种人工实现的数据中心网络资源供给方案的人力成本较高,且供给效率较低

Benefits of technology

[0052]由以上本说明书实施例提供的技术方案可见,本说明书实施例在接收到用户端发送的针对目标应用设备的网络资源供给请求时,可以根据该请求中携带的资源需求信息及期望位置信息自动为目标应用设备供给合适的网络设备资源和连接线资源,并在完成供给后返回通知,从而实现数据中心网络资源的自动供给,与人工实现的数据中心网络资源供给方案相比,本说明书实施例提高了数据中心网络资源供给的供给效率,降低了数据中心网络资源供给的人力成本。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116346608B_ABST
    Figure CN116346608B_ABST
Patent Text Reader

Abstract

The present specification relates to the field of intelligent operation and maintenance, can be used in the field of financial technology, and provides a network resource supply method, system and device of a data center and a storage medium. The method comprises the following steps: receiving a network resource supply request for a target application device sent by a user end; the resource supply request carries resource requirement information and expected position information of the target application device in the data center; determining a target network device according to the resource requirement information; determining a target connection line according to the expected position information and position information of the target network device; generating incremental configuration information of the target network device and issuing the incremental configuration information to the target network device; and returning a notification to the user end to prompt that the network resource supply is completed. The embodiments of the present specification can improve the supply efficiency of the network resource supply of the data center and reduce the labor cost of the network resource supply of the data center.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of intelligent operation and maintenance, and can be used in the financial technology field, especially to a method, system, device and storage medium for supplying network resources to a data center. Background Technology

[0002] In data centers, network resource provisioning management typically includes network resource requests, switch resource provisioning, and network patch cable provisioning. Currently, network resource provisioning is generally done manually. Specifically, network resource provisioning usually requires communication between network operations personnel and resource requesters, data center administrators, equipment administrators, and business personnel. Simultaneously, operations personnel need to conduct on-site surveys of server locations, switches, and patch cable resources in the data center to manually develop targeted network resource provisioning plans. This manual approach to data center network resource provisioning is labor-intensive and inefficient. Summary of the Invention

[0003] The purpose of the embodiments in this specification is to provide a method, system, device and storage medium for supplying network resources in a data center, so as to improve the supply efficiency of network resources in a data center and reduce the labor cost of supplying network resources in a data center.

[0004] To achieve the above objectives, in one aspect, embodiments of this specification provide a method for supplying network resources to a data center, including:

[0005] Receive network resource supply requests sent by user terminals for target application devices; the resource supply requests carry resource demand information and the expected location information of the target application devices within the data center;

[0006] The target network device is determined based on the resource requirement information;

[0007] The target connection line is determined based on the desired location information and the location information of the target network device;

[0008] Generate incremental configuration information for the target network device and send it to the target network device;

[0009] A notification is returned to the user terminal to indicate that the network resource provision has been completed.

[0010] In the data center network resource supply method of this specification's embodiments, the resource demand information includes some or all of the following:

[0011] Network logical region;

[0012] Personalized network characteristic requirements information;

[0013] High availability requirements information.

[0014] In the data center network resource supply method of this specification embodiment, the step of determining the target network device based on the resource demand information includes:

[0015] Identify all network devices in the data center that meet the resource requirement information to form a candidate network device set;

[0016] Determine a first distance between each candidate network device in the candidate network device set and the desired location information;

[0017] Sort the first distances in ascending order;

[0018] Select one candidate network device from the list based on distance sorting;

[0019] Verify whether the selected network device is available;

[0020] When the selected network device is available, the selected network device is used as the target network device.

[0021] In the data center network resource provisioning method of this specification embodiment, after selecting the network device as the target network device, it further includes:

[0022] Determine whether the number of target network devices meets the requirements;

[0023] If the number of target network devices does not meet the requirements, continue to select target network devices until the number of target network devices meets the requirements.

[0024] In the network resource supply method for a data center according to embodiments of this specification, determining all network devices in the data center that meet the resource demand information includes:

[0025] From the network resource management system of the data center, traverse and query the status and configuration information of each network device in the data center;

[0026] Based on the status and configuration information of each network device, determine whether each network device meets the resource requirement information.

[0027] In the data center network resource supply method of this specification embodiment, determining the first distance between each candidate network device in the candidate network device set and the desired location information includes:

[0028] From the intelligent data center system of the data center, traverse and query the location information of each candidate network device;

[0029] The ranging component of the intelligent data center system is invoked to measure the first distance between the desired location information and the location information of each candidate network device.

[0030] In the data center network resource supply method of the embodiments of this specification, the resource demand information further includes the demand type and quantity of connection lines;

[0031] Determining the target connection line based on the desired location information and the location information of the target network device includes:

[0032] The ranging component of the smart data center system is invoked to measure the second distance between the desired location information and the target network device.

[0033] From the asset management system of the data center, iterate through and query the inventory quantity of connection cables in the data center that meet the conditions; the conditions include belonging to the same demand type and their length reaching the second distance;

[0034] When the inventory quantity is not less than the demand quantity, select the demand quantity as the target connection line from the connection lines that meet the conditions.

[0035] In the data center network resource supply method of the embodiments of this specification, the resource demand information also includes resource supply timeliness;

[0036] The step of determining the target connection line based on the desired location information and the location information of the target network device further includes:

[0037] When the inventory quantity is less than the demand quantity, a supply request for the target connection line is initiated to the asset management system.

[0038] Receive the estimated supply time returned by the asset management system in response to the supply request;

[0039] Determine whether the expected supply time meets the resource supply timeliness requirement;

[0040] If the expected supply time does not meet the resource supply timeliness, a new target network device shall be selected.

[0041] In the data center network resource supply method of this specification embodiment, after determining the target connection line based on the desired location information and the location information of the target network device, the method further includes:

[0042] Generate a connector label for the target connector and call a printing device to print the connector label.

[0043] On the other hand, embodiments of this specification also provide a network resource supply system for a data center, including:

[0044] The request receiving module is used to receive network resource supply requests sent by the user terminal for the target application device; the resource supply request carries resource demand information and the expected location information of the target application device in the data center;

[0045] A network device determination module is used to determine the target network device based on the resource requirement information;

[0046] A connection line determination module is used to determine a target connection line based on the desired location information and the location information of the target network device.

[0047] A configuration distribution module is used to generate incremental configuration information for the target network device and distribute it to the target network device.

[0048] The notification return module is used to return a notification to the user terminal indicating that the network resource provision has been completed.

[0049] On the other hand, embodiments of this specification also provide a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the computer program, when run by the processor, executes instructions for the above-described method.

[0050] On the other hand, embodiments of this specification also provide a computer storage medium storing a computer program thereon, which, when run by the processor of a computer device, executes instructions for the above-described method.

[0051] On the other hand, embodiments of this specification also provide a computer program product, which includes a computer program that, when run by the processor of a computer device, executes instructions for the above-described method.

[0052] As can be seen from the technical solutions provided in the embodiments of this specification above, when the embodiments of this specification receive a network resource supply request sent by the user terminal for a target application device, they can automatically supply suitable network equipment resources and connection line resources to the target application device according to the resource demand information and expected location information carried in the request, and return a notification after the supply is completed, thereby realizing the automatic supply of data center network resources. Compared with the manually implemented data center network resource supply scheme, the embodiments of this specification improve the supply efficiency of data center network resources and reduce the labor cost of data center network resource supply. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0054] Figure 1 This specification illustrates application scenarios of the network resource provisioning system for data centers in some embodiments.

[0055] Figure 2 Flowcharts of network resource provisioning methods for data centers in some embodiments of this specification are shown;

[0056] Figure 3 It shows Figure 2 The flowchart shown illustrates the method for determining the target network device based on resource requirement information.

[0057] Figure 4 It shows Figure 2 The flowchart shown illustrates the method for determining the target connection line based on the desired location information and the location information of the target network device.

[0058] Figure 5 Flowcharts of network resource provisioning methods for data centers in other embodiments of this specification are shown;

[0059] Figure 6 This specification shows a structural block diagram of a data center network resource provisioning system in some embodiments;

[0060] Figure 7 A structural block diagram of a computer device in some embodiments of this specification is shown.

[0061] [Explanation of Labels in the Attached Image]

[0062] 10. User terminal;

[0063] 20. Network resource supply system;

[0064] 51. Request receiving module;

[0065] 52. Network device determination module;

[0066] 53. Connector line determination module;

[0067] 54. Configure the distribution module;

[0068] 55. Notification return module;

[0069] 702. Computer equipment;

[0070] 704, Processor;

[0071] 706. Memory;

[0072] 708. Drive mechanism;

[0073] 710. Input / output interfaces;

[0074] 712. Input devices;

[0075] 714. Output devices;

[0076] 716. Presentation equipment;

[0077] 718. Graphical User Interface;

[0078] 720. Network interface;

[0079] 722. Communication link;

[0080] 724. Communication bus. Detailed Implementation

[0081] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this specification.

[0082] Figure 1 The diagram illustrates application scenarios of a data center network resource supply system in some embodiments of this specification. The network resource supply system 20 can receive network resource supply requests for target application devices sent by the user terminal 10. The resource supply request carries resource demand information and the desired location information of the target application device within the data center. The system determines the target network device based on the resource demand information; determines the target connection line based on the desired location information and the location information of the target network device; generates incremental configuration information for the target network device and sends it to the target network device; and returns a notification to the user terminal 10 indicating that the network resource supply is complete. This enables the data center to automatically allocate and supply network resources to the target application device.

[0083] In some embodiments, the user terminal 10 can be a self-service terminal device, a mobile terminal (i.e., a smartphone), a display, a desktop computer, a tablet computer, a laptop computer, a digital assistant, or a smart wearable device, etc. Smart wearable devices can include smart bracelets, smartwatches, smart glasses, or smart helmets, etc. Of course, the user terminal 10 is not limited to the above-mentioned physical electronic devices; it can also be software running on the aforementioned electronic devices.

[0084] In some embodiments, the network resource supply system 20 may be an electronic device with computing and network interaction functions; or it may be software running on the electronic device that provides business logic for data processing and network interaction.

[0085] In addition, it should be noted that, Figure 1 The example shown is merely one application environment provided in this specification. In actual applications, there can be multiple user terminals 10, and this specification does not impose any restrictions.

[0086] In the embodiments of this specification, the target network device can be any network device ultimately selected in the data center (e.g., switch, repeater, bridge, router, gateway, firewall, etc.). For example, in some embodiments of this specification, the target network device can be a target switch. Therefore, the use of a target switch as the target network device in the embodiments of this specification is merely illustrative and should not be construed as the only limitation on the target network device.

[0087] This specification provides a method for supplying network resources to a data center, which can be applied to the network resource supply system described above. (Refer to...) Figure 2 As shown, in some embodiments, the network resource provisioning method for a data center may include the following steps:

[0088] Step 201: Receive a network resource supply request sent by the user terminal for the target application device; the resource supply request carries resource demand information and the expected location information of the target application device in the data center.

[0089] Step 202: Determine the target switch based on the resource requirement information.

[0090] Step 203: Determine the target connection line based on the desired location information and the location information of the target switch.

[0091] Step 204: Generate incremental configuration information for the target switch and send it to the target switch.

[0092] Step 205: Return a notification to the user terminal indicating that the network resource provision has been completed.

[0093] In the embodiments of this specification, when the network resource supply system receives a network resource supply request for a target application device sent by a user terminal, it can automatically supply suitable switch resources and connection line resources to the target application device according to the resource demand information and desired location information carried in the request, and return a notification after completing the supply. This achieves automatic supply of data center network resources. Compared with manually implemented data center network resource supply schemes, the embodiments of this specification improve the supply efficiency of data center network resources and reduce the labor costs of data center network resource supply. For example, when a user adds a server to the data center and needs to apply for network resources for that server, the user terminal can initiate a network resource supply request for that server.

[0094] In the embodiments described in this specification, application devices refer to devices available to users in a data center, such as servers, virtual machines, encryption machines, and industrial control computers. Target application devices refer to application devices specified by the user that require network resources.

[0095] In some embodiments, the resource requirement information includes network logical areas, personalized network feature requirement information, and / or high availability requirement information. Personalized network feature requirement information refers to network feature requirements selected by the user on demand (e.g., port binding, traffic replication, etc.) to meet the user's personalized network feature needs. High availability requirement information refers to the user's selection of whether to enable or disable high availability. For example, under high availability, the target application device needs to connect to two or more switches in the same area (i.e., the same network logical area) to ensure that services are not affected when one or more switches fail.

[0096] refer to Figure 3 As shown, in some embodiments, determining the target switch based on the resource requirement information may include the following steps:

[0097] Step 2021: Determine all switches in the data center that meet the resource requirement information to form a candidate switch set.

[0098] In some embodiments, determining all switches in the data center that meet the resource requirements may include: traversing and querying the status and configuration information (e.g., the network logical area corresponding to the switch, the number of idle ports (various fiber optic interfaces, network cable interfaces, etc.)) of each switch in the data center from the network resource management system; and then determining whether each switch meets the resource requirements based on its status and configuration information. The network resource management system is an external system of the data center, primarily responsible for managing network equipment within the data center's server room.

[0099] For example, taking resource demand information including network logical area A and the number of idle fiber optic ports X as an example, it can be determined whether each switch is located in network logical area A and whether the number of idle ports satisfies YR≥X; where Y is the total number of idle ports of the switch and R is the number of non-fiber optic type idle ports; if a switch is located in network logical area A and satisfies YR≥X, then the switch can be used as a candidate switch.

[0100] Step 2022: Determine the first distance between each candidate switch in the candidate switch set and the desired location information.

[0101] In some embodiments, determining the first distance between each candidate switch in the candidate switch set and the desired location information may include: traversing and querying the location information of each candidate switch from the smart data center system; and invoking the ranging component of the smart data center system to measure the first distance between the desired location information and the location information of each candidate switch. The smart data center system is also an external system of the data center. It displays a panoramic view of the data center and records information such as the location, name, and identifier of each installed device in the data center. Furthermore, the smart data center system provides functional modules (such as ranging components and query components) for adding, modifying, and deleting panoramic views and implementing specific functions.

[0102] Step 2023: Sort the first distances from smallest to largest.

[0103] Step 2024: Sort by distance and select one candidate switch as the selected switch.

[0104] By selecting a candidate switch from those sorted by distance, it is advantageous to obtain the nearest target switch, thereby saving on cabling and improving the quality of data communication.

[0105] Step 2025: Verify whether the selected switch is available. If it is available, proceed to step 2026; if it is not available, proceed to step 2024.

[0106] In the embodiments of this specification, verifying the selected switch mainly refers to confirming whether the selected switch port is available. In an exemplary embodiment, the verification content may include: checking the port status, checking the port configuration, etc.; for cases where the port status is "UP" but is set to available, or the port status is "DOWN" but there are still configurations under the port that have not been deleted, the administrator can be notified (e.g., a message can be sent to the administrator's client) for secondary confirmation to avoid allocating the ports that are in use or reserved for other purposes due to technical or management reasons; at the same time, if the idle rate of the switch port is lower than a set value, an early warning can also be issued to the administrator (e.g., an early warning message can be sent to the administrator's client).

[0107] By verifying the availability of the selected switch, the success rate and efficiency of data center network resource provisioning can be improved.

[0108] Step 2026: Select the chosen switch as the target switch.

[0109] Step 2027: Determine if the number of target switches meets the requirement. If the number of target switches meets the requirement, the processing logic for determining the target switches ends; if the number of target switches does not meet the requirement, proceed to step 2024 to continue adding target switches until the number of target switches meets the requirement.

[0110] Determining whether the number of target switches meets the requirements is mainly for scenarios where the resource requirement information includes a high availability option. In this scenario, it is necessary to select two or more target switches. If the currently determined number of target switches is less than two or more, additional target switches need to be selected.

[0111] Of course, if the resource requirement information does not include the high availability option, then step 2027 does not need to be performed (i.e., step 2027 is an optional step).

[0112] By querying the status and configuration information of switches from the network resource management system and obtaining the location information of candidate switches from the smart data center system, the automation level of network resource provisioning can be improved, the implementation cost of network resource provisioning can be reduced, and the utilization rate of the original system in the data center can be increased.

[0113] In some embodiments, resource demand information may further include: the type and quantity of connection cables required, resource supply timeliness, etc. Here, connection cables refer to data communication cables such as fiber optic cables, patch cords, and / or twisted-pair cables used to connect the target switch and the target application device. Resource supply timeliness refers to the latest timeframe for resource supply expected by the user. For example, in an exemplary embodiment, resource supply timeliness may be within three days from the date the supply request is initiated.

[0114] Correspondingly, refer to Figure 4 As shown, determining the target connection line based on the desired location information and the location information of the target switch may include the following steps:

[0115] Step 2031: Invoke the ranging component of the smart data center system to measure the second distance between the desired location information and the target switch.

[0116] Step 2032: From the asset management system of the data center, iterate through and query the inventory quantity of connection cables in the data center that meet the conditions. The conditions include belonging to the same demand type and having a length that reaches the second distance.

[0117] Step 2033: Determine whether the inventory quantity is less than the demand quantity. If the inventory quantity is less than the demand quantity, proceed to step 2034; if the inventory quantity is not less than the demand quantity, proceed to step 2037.

[0118] Step 2034: Initiate a supply request for the target connection line to the asset management system.

[0119] The asset management system is an external system of the data center, primarily used for the unified management of data center assets, including asset inventory, asset procurement, asset issuance, and asset receipt. When the inventory quantity of a target connection cable is lower than the required quantity, relevant personnel need to be notified to procure the target connection cable. This can be achieved by initiating a supply request for the target connection cable into the asset management system, which will then issue the procurement requirement (including the object, quantity, and specifications of the cable) to the relevant personnel (i.e., to their user terminals).

[0120] Step 2035: Receive the estimated supply time returned by the asset management system in response to the supply request.

[0121] After receiving a procurement request, relevant personnel can report the estimated time for completing the procurement and warehousing to the asset management system. This estimated time is the expected supply time. In response to the supply request, the asset management system can return this expected supply time.

[0122] Step 2036: Determine whether the expected supply time meets the resource supply timeliness. If the expected supply time meets the resource supply timeliness, proceed to step 2037; if the expected supply time does not meet the resource supply timeliness, proceed to step 2038.

[0123] Step 2037: When the inventory quantity is not less than the demand quantity, select the demand quantity as the target connection line from the connection lines that meet the conditions.

[0124] Step 2038: Reselect the target switch.

[0125] Reselecting a target switch means abandoning the currently selected target switch and selecting a new one. For detailed selection procedures, please refer to [link to relevant documentation]. Figure 3 The steps shown will not be repeated. When the inventory quantity is less than the demand quantity, the problem of the target application equipment being unable to be put into production in a timely manner due to the lack of target connection cables can be avoided by reselecting the target switch.

[0126] In the embodiments of this specification, the network resource provisioning system can generate incremental configuration information (such as VLAN number, IP address, port, etc.) for the target switch based on user operation commands. In the embodiments of this specification, incremental configuration information refers to the switch configuration information that needs to be added this time. By sending the incremental configuration information to the target switch, the target switch can perform configuration information updates and take effect immediately or in due course.

[0127] This specification provides another method for supplying network resources to a data center, which can be applied to the network resource supply system described above. (Refer to...) Figure 5 As shown, in some embodiments, the network resource provisioning method for a data center may include the following steps:

[0128] Step 501: Receive a network resource supply request sent by the user terminal for the target application device; the resource supply request carries resource demand information and the expected location information of the target application device in the data center.

[0129] Step 502: Determine the target switch based on the resource requirement information.

[0130] Step 503: Determine the target connection line based on the desired location information and the location information of the target switch.

[0131] Step 504: Generate the connection label for the target connection line and call the printing device to print the connection label.

[0132] Step 505: Generate incremental configuration information for the target switch and send it to the target switch.

[0133] Step 506: Return a notification to the user terminal indicating that the network resource provision has been completed.

[0134] and Figure 2 Compared to the network resource provisioning methods shown, Figure 5 The network resource provisioning method shown has been augmented with step 504. This further reduces the level of human intervention in data center network resource provisioning, thereby improving the automation level of data center network resource provisioning.

[0135] Although the process described above includes multiple operations that occur in a specific order, it should be clearly understood that these processes may include more or fewer operations, which may be executed sequentially or in parallel (e.g., using parallel processors or a multithreaded environment).

[0136] refer to Figure 6 As shown, in some embodiments, corresponding to the above-described data center network resource supply method, the data center network resource supply system may include:

[0137] The request receiving module 61 is used to receive a network resource supply request sent by the user terminal for a target application device; the resource supply request carries resource demand information and the expected location information of the target application device in the data center.

[0138] Switch determination module 62 is used to determine the target switch based on the resource requirement information;

[0139] The connection line determination module 63 is used to determine the target connection line based on the desired location information and the location information of the target switch.

[0140] Configuration distribution module 64 is used to generate incremental configuration information for the target switch and distribute it to the target switch;

[0141] The notification return module 65 is used to return a notification to the user terminal to indicate that the network resource provision has been completed.

[0142] For ease of description, the above devices are described in terms of function, divided into various units. Of course, in implementing this specification, the functions of each unit can be implemented in one or more software and / or hardware components.

[0143] 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 the embodiments of this specification are all information and data authorized and agreed upon by the user and fully authorized by all parties.

[0144] Embodiments of this specification also provide a computer device. For example... Figure 7As shown, in some embodiments of this specification, the computer device 702 may include one or more processors 704, such as one or more central processing units (CPUs) or graphics processing units (GPUs), each of which may implement one or more hardware threads. The computer device 702 may also include any memory 706 for storing information of any kind, such as code, settings, data, etc. In one specific embodiment, a computer program is stored on the memory 706 and can run on the processor 704. When the computer program is run by the processor 704, it can execute instructions for the network resource provisioning method for a data center as described in any of the above embodiments. Without limitation, for example, the memory 706 may include any type of RAM, any type of ROM, flash memory, hard disk, optical disk, etc. More generally, any memory can use any technology to store information. Further, any memory can provide volatile or non-volatile retention of information. Further, any memory may represent a fixed or removable component of the computer device 702. In one case, when the processor 704 executes associated instructions stored in any memory or combination of memories, the computer device 702 can perform any operation of the associated instructions. The computer device 702 also includes one or more drive mechanisms 708 for interacting with any memory, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.

[0145] Computer device 702 may also include an input / output interface 710 (I / O) for receiving various inputs (via input device 712) and providing various outputs (via output device 714). A specific output mechanism may include a presentation device 716 and an associated graphical user interface 718 (GUI). In other embodiments, the input / output interface 710 (I / O), input device 712, and output device 714 may be omitted, and the device may function solely as a computer device within a network. Computer device 702 may also include one or more network interfaces 720 for exchanging data with other devices via one or more communication links 722. One or more communication buses 724 couple the components described above together.

[0146] Communication link 722 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. Communication link 722 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.

[0147] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), computer-readable storage media, and computer program products according to some embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processor to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processor, create a mechanism for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0148] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processor to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0149] These computer program instructions may also be loaded onto a computer or other programmable data processor, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0150] In a typical configuration, a computer device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0151] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0152] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. 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 technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by computer equipment. As defined in this specification, computer-readable media does not include transient media, such as modulated data signals and carrier waves.

[0153] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of computer program products 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.

[0154] The embodiments described in this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. The embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processors connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0155] It should also be understood that, in the embodiments of this specification, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0156] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0157] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the embodiments of this specification. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0158] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for supplying network resources in a data center, characterized in that, include: Receive network resource supply requests sent by user terminals for target application devices; the resource supply requests carry resource demand information and the expected location information of the target application devices within the data center; The resource requirement information includes some or all of the following: network logical area, personalized network characteristic requirement information, and high availability requirement information; the personalized network characteristic requirement information is the network characteristic requirement selection item chosen by the user as needed; the high availability requirement information is the selection item chosen by the user as needed to enable or disable high availability. The target network device is determined based on the resource requirement information; The target connection line is determined based on the desired location information and the location information of the target network device; Generate incremental configuration information for the target network device and send it to the target network device; Return a notification to the user terminal indicating that network resource provisioning is complete; The step of determining the target network device based on the resource requirement information includes: Identify all network devices in the data center that meet the resource requirement information to form a candidate network device set; Determine a first distance between each candidate network device in the candidate network device set and the desired location information; Sort the first distances in ascending order; Select one candidate network device from the list based on distance sorting; Verify whether the selected network device is available; When the selected network device is available, the selected network device shall be used as the target network device; Determine whether the number of target network devices meets the requirements; If the number of target network devices is insufficient, continue to select target network devices until the number of target network devices meets the requirements. The resource requirement information also includes the type and quantity of the connection lines required; Determining the target connection line based on the desired location information and the location information of the target network device includes: The ranging component of the smart data center system is invoked to measure the second distance between the desired location information and the target network device. From the asset management system of the data center, iterate through and query the inventory quantity of connection cables in the data center that meet the conditions; the conditions include belonging to the same demand type and their length reaching the second distance; When the inventory quantity is not less than the demand quantity, select the demand quantity as the target connection line from the connection lines that meet the conditions; The step of generating incremental configuration information for the target network device and sending it to the target network device includes: Incremental configuration information for the target network device is generated based on the user's operation instructions, and the incremental configuration information is sent to the target network device so that the target network device can update the configuration information and make it effective immediately or in due course.

2. The data center network resource supply method as described in claim 1, characterized in that, The process of determining all network devices in the data center that meet the resource requirement information includes: From the network resource management system of the data center, traverse and query the status and configuration information of each network device in the data center; Based on the status and configuration information of each network device, determine whether each network device meets the resource requirement information.

3. The data center network resource supply method as described in claim 1, characterized in that, Determining the first distance between each candidate network device in the candidate network device set and the desired location information includes: From the intelligent data center system, traverse and query the location information of each candidate network device; The ranging component of the intelligent data center system is invoked to measure the first distance between the desired location information and the location information of each candidate network device.

4. The network resource supply method for a data center as described in claim 1, characterized in that, The resource demand information also includes the timeliness of resource supply; The step of determining the target connection line based on the desired location information and the location information of the target network device further includes: When the inventory quantity is less than the demand quantity, a supply request for the target connection line is initiated to the asset management system. Receive the estimated supply time returned by the asset management system in response to the supply request; Determine whether the expected supply time meets the resource supply timeliness requirement; If the expected supply time does not meet the resource supply timeliness, a new target network device shall be selected.

5. The network resource supply method for a data center as described in claim 1, characterized in that, After determining the target connection line based on the desired location information and the location information of the target network device, the method further includes: Generate a connector label for the target connector and call a printing device to print the connector label.

6. A network resource supply system for a data center, characterized in that, include: The request receiving module is used to receive network resource supply requests sent by the user terminal for the target application device. The resource supply request carries resource demand information and the desired location information of the target application device within the data center. The resource requirement information includes some or all of the following: network logical area, personalized network characteristic requirement information, and high availability requirement information; the personalized network characteristic requirement information is the network characteristic requirement selection item chosen by the user as needed; the high availability requirement information is the selection item chosen by the user as needed to enable or disable high availability. A network device determination module is used to determine the target network device based on the resource requirement information; A connection line determination module is used to determine a target connection line based on the desired location information and the location information of the target network device. A configuration distribution module is used to generate incremental configuration information for the target network device and distribute it to the target network device. The notification return module is used to return a notification to the user terminal indicating that the network resource provision has been completed. The network device determination module is specifically used for: Identify all network devices in the data center that meet the resource requirement information to form a candidate network device set; Determine a first distance between each candidate network device in the candidate network device set and the desired location information; Sort the first distances in ascending order; Select one candidate network device from the list based on distance sorting; Verify whether the selected network device is available; When the selected network device is available, the selected network device shall be used as the target network device; Determine whether the number of target network devices meets the requirements; If the number of target network devices is insufficient, continue to select target network devices until the number of target network devices meets the requirements. The resource requirement information also includes the type and quantity of the connection lines required. Specifically, the connection line determination module is used to call the ranging component of the smart data center system of the data center to measure the second distance between the desired location information and the target network device; to traverse and query the inventory quantity of connection lines that meet the conditions in the data center from the asset management system of the data center; the conditions include belonging to the same demand type and their length reaching the second distance; when the inventory quantity is not less than the demand quantity, the demand quantity is selected from the connection lines that meet the conditions as the target connection lines; Specifically, the configuration distribution module is used to generate incremental configuration information for the target network device based on the user's operation instructions, distribute the incremental configuration information to the target network device, and enable the target network device to perform configuration information updates and take effect immediately or in due course.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory, characterized in that, When the computer program is run by the processor, it executes the instructions of the method according to any one of claims 1-5.

8. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is run by the processor of the computer device, it executes the instructions of the method according to any one of claims 1-5.

9. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, performs instructions according to any one of claims 1-5.

Citation Information

Patent Citations

  • Resource configuration method and device, electronic equipment and storage medium

    CN115225504A