Heterogeneous computing resource-based network element instance deployment method and device and electronic equipment
By parsing user requests in a heterogeneous computing cloud platform and matching computing resources using network element metadata and license information sets, the problem of low deployment efficiency of network element instances in a heterogeneous computing environment is solved, achieving efficient, secure, and compliant resource scheduling and deployment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA TOWER CO LTD
- Filing Date
- 2025-06-25
- Publication Date
- 2026-05-15
AI Technical Summary
In a heterogeneous computing cloud platform environment, the deployment efficiency of network element instances is low due to the different computing resource structures and scattered license information provided by different vendors.
By receiving users' computing power scheduling requests, parsing computing power configuration information and operations, matching network element metadata sets and license information sets, determining the computing power resources to be scheduled, and scheduling and deploying resources according to computing power scheduling operations, including expanding or creating new network element instances, to ensure the legal authorization and compliance of resources.
It improves the efficiency and accuracy of computing resource scheduling, optimizes resource allocation, avoids ineffective scheduling, enhances user experience, and achieves efficient, secure, and compliant automated computing resource scheduling.
Smart Images

Figure CN120499273B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cloud computing, and more specifically, to a method, apparatus, and electronic device for deploying network element instances based on heterogeneous computing resources. Background Technology
[0002] The rapid development of cloud computing and big data has driven enterprise IT infrastructure to evolve rapidly towards multi-cloud hybrid architectures and the integration of heterogeneous computing power. Against this backdrop, security network elements, as a crucial component for ensuring the security of cloud computing environments, face unprecedented challenges in management and deployment. For example, modern cloud platforms encompass diverse computing architectures, such as x86, ARM (Advanced RISC Machines), and MIPS (Microprocessor without Interlocked Pipened Stages), and the heterogeneity of resources from different vendors leads to significant differences in the deployment, configuration, and operation and maintenance management of security network elements across different platforms. This makes it difficult to implement a unified orchestration strategy and increases management complexity. Furthermore, security network element licenses are often tied to equipment from specific vendors. When security network elements in heterogeneous computing environments need to be flexibly migrated and expanded across different platforms, the cross-platform compatibility and resource pooling capabilities of licenses become limiting factors, hindering elastic resource allocation and increasing the difficulty of license management and operational costs.
[0003] There is currently no effective solution to the problem of low deployment efficiency of network element instances in heterogeneous computing cloud platform environments due to the different computing resource structures and scattered license information provided by different vendors. Summary of the Invention
[0004] The main purpose of this application is to provide a method, apparatus and electronic device for deploying network element instances based on heterogeneous computing power resources, so as to solve the problem of low deployment efficiency of network element instances in the heterogeneous computing power cloud platform environment due to the different computing power resource structures and scattered license information provided by different manufacturers.
[0005] To achieve the above objectives, according to one aspect of this application, a method for deploying network element instances based on heterogeneous computing power resources is provided. The method includes: receiving a user's computing power scheduling request; parsing the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; matching the computing power configuration information with a set of network element metadata to obtain a matching result, wherein the set of network element metadata contains multiple network element metadata, which is constructed based on network element information corresponding to various heterogeneous computing power resources in the cluster; determining the computing power resources to be scheduled in the cluster based on the matching result and a set of license information; wherein the set of license information contains authorized access information of vendors in the cluster for various heterogeneous computing power resources in the cluster; scheduling the computing power resources to be scheduled according to the computing power scheduling operation, and returning the scheduling result to the user.
[0006] Furthermore, the computing power scheduling operation is to expand network element instances. Based on the computing power scheduling operation, the computing power resources to be scheduled are scheduled, and the scheduling result is returned to the user. This includes: collecting indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; triggering a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the corresponding warning threshold; determining the computing power resources to be expanded from the computing power resources to be scheduled based on the indicator information, creating network element instances based on the computing power resources to be expanded; deploying and configuring the network element instances using a preset set of network element execution instructions based on the cloud platform interface, generating the scheduling result, and returning the scheduling result to the user.
[0007] Furthermore, the computing power scheduling operation involves creating a new network element instance, scheduling the computing power resources to be scheduled according to the computing power scheduling operation, and returning the scheduling result to the user. This includes: obtaining the load information of each node in the cluster, determining the target computing power node based on the load information of each node; scheduling the computing power resources to be scheduled using a preset set of network element execution instructions based on the cloud platform interface, so as to deploy and configure the network element instance in the target computing power node; generating the scheduling result based on the deployment result, and returning the scheduling result to the user.
[0008] Further, determining the computing resources to be scheduled in the cluster based on the matching results and the license information set includes: if the matching result indicates a successful match, determining the target computing resources based on the matching results; determining whether the target computing resources have authorized access information from the vendor based on the license information set; and if the target computing resources have authorized access information from the vendor, determining the computing resources to be scheduled based on the target computing resources.
[0009] Furthermore, before matching the computing power configuration information with the network element metadata set, the method further includes: determining the network element information of the various heterogeneous computing power resources in the cluster, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; determining the functions of the various heterogeneous computing power resources, and generating executable instructions based on the functions of the various heterogeneous computing power resources, establishing a mapping relationship between the functions of the various heterogeneous computing power resources and the executable instructions, thereby obtaining the mapping relationship corresponding to the various heterogeneous computing power resources; and constructing the network element metadata set based on the network element information of the various heterogeneous computing power resources and the mapping relationship corresponding to the various heterogeneous computing power resources.
[0010] Further, the computing power configuration information is matched with the network element metadata set to obtain a matching result, including: parsing first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data represents the function corresponding to the computing power required by the user; matching the first data with the network element information of each network element metadata in the network element metadata set; if the first data is successfully matched, matching the at least one piece of second data with the mapping relationship corresponding to the various heterogeneous computing power resources in the network element metadata set to obtain a matching success rate; if the matching success rate is greater than or equal to a preset threshold, determining the matching result.
[0011] Furthermore, after matching the at least one piece of second data with the mapping relationships corresponding to the various heterogeneous computing resources in the network element metadata set to obtain the matching success rate, the method further includes: generating a prompt message based on the first data and the at least one piece of second data when the matching success rate is less than the preset threshold or the first data fails to match; sending the prompt message to the user and receiving the modified computing power scheduling request returned by the user; parsing the modified computing power scheduling request again and matching the parsing result with the network element metadata set to obtain the matching result.
[0012] To achieve the above objectives, according to another aspect of this application, a network element instance deployment device based on heterogeneous computing power resources is provided. The device includes: a parsing unit, configured to receive a user's computing power scheduling request and parse the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; a matching unit, configured to match the computing power configuration information with a network element metadata set to obtain a matching result, wherein the network element metadata set contains multiple network element metadata, and the network element metadata is constructed based on network element information corresponding to various heterogeneous computing power resources in the cluster; a first determining unit, configured to determine the computing power resources to be scheduled in the cluster based on the matching result and a license information set; wherein the license information set contains authorized access information of vendors in the cluster for various heterogeneous computing power resources in the cluster; and a scheduling unit, configured to schedule the computing power resources to be scheduled according to the computing power scheduling operation and return the scheduling result to the user.
[0013] Further, the computing power scheduling operation is to expand network element instances. The scheduling unit includes: a collection subunit, used to collect indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; a triggering subunit, used to trigger a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the warning threshold corresponding to the indicator; a creation subunit, used to determine the computing power resources to be expanded from the computing power resources to be scheduled based on the indicator information, and create network element instances based on the computing power resources to be expanded; and a first generation subunit, used to deploy and configure the network element instances using a preset set of network element execution instructions based on the cloud platform interface, generate the scheduling result, and return the scheduling result to the user.
[0014] Furthermore, the computing power scheduling operation involves creating a new network element instance. The scheduling unit includes: an acquisition subunit, used to acquire the load information of each node in the cluster and determine the target computing power node based on the load information of each node; a scheduling subunit, used to schedule the computing power resources to be scheduled using a preset set of network element execution instructions based on the cloud platform interface, so as to deploy and configure the network element instance in the target computing power node; and a second generation subunit, used to generate the scheduling result based on the deployment result and return the scheduling result to the user.
[0015] Further, the determining unit includes: a first determining subunit, configured to determine the target computing power resource based on the matching result when the matching result indicates a successful match; a judging subunit, configured to judge whether the target computing power resource has authorized access information from a vendor based on the license information set; and a second determining subunit, configured to determine the computing power resource to be scheduled based on the target computing power resource when the target computing power resource has authorized access information from a vendor.
[0016] Furthermore, the apparatus further includes: a second determining unit, configured to determine the network element information of the various heterogeneous computing resources in the cluster before matching the computing power configuration information with the network element metadata set, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; a first constructing unit, configured to determine the functions of the various heterogeneous computing resources, and generate executable instructions based on the functions of the various heterogeneous computing resources, establish a mapping relationship between the functions of the various heterogeneous computing resources and the executable instructions, and obtain the mapping relationship corresponding to the various heterogeneous computing resources; and a second constructing unit, configured to construct the network element metadata set based on the network element information of the various heterogeneous computing resources and the mapping relationship corresponding to the various heterogeneous computing resources.
[0017] Further, the matching unit includes: a parsing subunit, configured to parse first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data represents the function corresponding to the computing power required by the user; a first matching subunit, configured to match the first data with the network element information of each network element metadata in the network element metadata set; a second matching subunit, configured to match the at least one piece of second data with the mapping relationship corresponding to the various heterogeneous computing power resources in the network element metadata set when the first data is successfully matched, to obtain a matching success rate; and a third determining subunit, configured to determine the matching result when the matching success rate is greater than or equal to a preset threshold.
[0018] Furthermore, the matching unit further includes: a third generation subunit, configured to, after matching the at least one piece of second data with the mapping relationships corresponding to the various heterogeneous computing power resources in the network element metadata set to obtain a matching success rate, generate a prompt message based on the first data and the at least one piece of second data if the matching success rate is less than the preset threshold or if the first data fails to match; a receiving subunit, configured to send the prompt message to the user and receive the modified computing power scheduling request returned by the user; and a third matching subunit, configured to parse the modified computing power scheduling request again and match the parsing result of the second parsing with the network element metadata set to obtain the matching result.
[0019] To achieve the above objectives, according to one aspect of this application, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the network element instance deployment method based on heterogeneous computing resources as described in any of the above-described methods, and when executed by a processor, implements the steps of the network element instance deployment method based on heterogeneous computing resources as described in various embodiments of this application.
[0020] To achieve the above objectives, according to one aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including stored computer instructions, wherein, when the computer instructions are executed by a processor, the network element instance deployment method based on heterogeneous computing resources described above is implemented.
[0021] To achieve the above objectives, according to one aspect of this application, an electronic device is provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the network element instance deployment method based on heterogeneous computing resources as described in any one of the above claims.
[0022] This application employs the following steps: receiving a user's computing power scheduling request; parsing the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; matching the computing power configuration information with a set of network element metadata to obtain a matching result, wherein the set of network element metadata contains multiple network element metadata, which is constructed based on network element information corresponding to various heterogeneous computing power resources in the cluster; determining the computing power resources to be scheduled in the cluster based on the matching result and a set of license information; wherein the set of license information contains authorized access information of vendors in the cluster for various heterogeneous computing power resources in the cluster; scheduling the computing power resources to be scheduled based on the computing power scheduling operation, and returning the scheduling result to the user. This solves the problem of low network element instance deployment efficiency in heterogeneous computing power cloud platform environments due to different computing power resource structures and scattered license information provided by different vendors.
[0023] By receiving and parsing user computing power scheduling requests, and matching the parsed computing power configuration information with the network element metadata set, this not only determines the compatibility of the user request with existing computing power resources and accurately obtains the computing power configuration parameters and scheduling type required by the user, but also enables the selection of suitable secure network element resources in a heterogeneous computing power environment. This further optimizes resource allocation and avoids ineffective scheduling. Furthermore, by combining the matching results with the license information set, it ensures that the resources to be scheduled have obtained legal authorization from the vendor, enabling resource scheduling based on license management rules and avoiding scheduling failures due to authorization issues, thus ensuring the compliance of resource scheduling. Finally, based on the computing power scheduling operation, corresponding deployment or scaling actions are executed on the selected computing power resources, and the scheduling results are promptly fed back to the user. This not only improves the efficiency and accuracy of computing power resource scheduling but also enhances the user experience, achieving the technical effect of efficient, secure, and compliant automated computing power scheduling. Attached Figure Description
[0024] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0025] Figure 1 This is a flowchart of a method for deploying network element instances based on heterogeneous computing resources, according to Embodiment 1 of this application;
[0026] Figure 2 This is an overall architecture diagram of an optional heterogeneous computing cloud platform based on heterogeneous computing resources, provided according to Embodiment 1 of this application;
[0027] Figure 3This is a dynamic scheduling flowchart for the automated orchestration of secure network elements based on the optional heterogeneous computing cloud platform provided in Embodiment 1 of this application;
[0028] Figure 4 This is a schematic diagram of a network element instance deployment device based on heterogeneous computing resources according to Embodiment 2 of this application;
[0029] Figure 5 This is a schematic diagram of deploying electronic devices based on network element instances with heterogeneous computing resources, according to Embodiment 5 of this application. Detailed Implementation
[0030] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0031] It should be noted that the user information (including but not limited to user device information, user personal information, collected data, used data, generated data, processed data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, collected information, used information, generated information, processed information, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with the relevant laws, regulations, and standards of the relevant countries and regions, and necessary confidentiality measures have been taken. These measures do not violate public order and good morals, and corresponding operation entry points are provided for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information needs to be sent to the aforementioned user or organization through the interface, and the relevant information is obtained only after receiving consent from the aforementioned user or organization.
[0032] It should be noted that this application provides users with a corresponding entry point for choosing to agree to or reject the automated decision-making results; if the user chooses to reject, the process will proceed to the expert decision-making process.
[0033] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0034] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0035] Example 1
[0036] The present invention will now be described in conjunction with preferred implementation steps. Figure 1 This is a flowchart of a network element instance deployment method based on heterogeneous computing resources according to Embodiment 1 of this application, as shown below. Figure 1 As shown, the method includes the following steps:
[0037] Step S101: Receive the user's computing power scheduling request, and parse the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request.
[0038] In this first embodiment, the system receives user requests for deploying or adjusting security network elements in JSON format, i.e., the aforementioned computing power scheduling requests, through a unified management interface. Next, it extracts computing power configuration information from the request, such as computing power architecture type, runtime support methods, target vendors, and security network element function categories, and parses the computing power scheduling operation to determine whether the user request is to deploy a new security network element or to scale and adjust an existing network element.
[0039] Step S102: Match the computing power configuration information with the network element metadata set to obtain the matching result. The network element metadata set contains multiple network element metadata, which are constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster.
[0040] In this first embodiment, after receiving the computing power configuration information submitted by the user, this information needs to be matched with the pre-stored network element metadata set. The aforementioned network element metadata set covers the network element information corresponding to all heterogeneous computing power resources in the cluster, including but not limited to attributes such as computing power architecture type, runtime environment, vendor identifier, and functional category.
[0041] For example, the matching process calls a verification function to check whether the user's request matches the attributes of available resources within the cluster, based on various parameters in the computing power configuration information, such as the requested computing power architecture and vendor, and compared with the metadata information stored in the network element metadata set. If all parameters in the computing power configuration information can find corresponding matches in the network element metadata set, a successful match result will be returned, allowing subsequent computing power scheduling operations to be executed, such as the deployment or adjustment of security network element instances. Conversely, if any parameter cannot be matched, a matching failure message will be returned, indicating that the user's requested computing power configuration is incompatible or mismatched with the cluster resources and needs to be corrected. This matching mechanism ensures that the user's requested computing power configuration can be achieved within existing resource constraints, laying the foundation for subsequent automated orchestration and scheduling.
[0042] Step S103: Determine the computing resources to be scheduled in the cluster based on the matching results and the license information set; wherein, the license information set contains the authorized access information of vendors in the cluster to various heterogeneous computing resources in the cluster.
[0043] In this first embodiment, after matching the computing power configuration information with the network element metadata set, the computing power resources to be scheduled are determined based on the matching results and the license information set. The aforementioned license information set details the authorized access information of various vendors in the cluster for multiple heterogeneous computing power resources, including the license's availability status, quota, and validity period. The process of determining the computing power resources to be scheduled involves assessing the computing power resources required by the user's requested security network element, and combining this with the authorization data in the license information set to ensure that the selected resources have been authorized by the corresponding vendor.
[0044] Step S104: Schedule the computing resources to be scheduled according to the computing power scheduling operation, and return the scheduling result to the user.
[0045] In this first embodiment, in order to respond to a user's computing power scheduling request, the user request is first parsed to determine the required operation, namely, the deployment or elastic scaling of computing power resources. Subsequently, based on the matching results of computing power configuration information and the license information set, computing power resources that meet the conditions are selected.
[0046] For example, for new operations, a secure network element instance is created, and the standardized configuration and security policies are converted into vendor-specific instructions via the adapter layer to achieve the initial setup and license allocation of the network element. For elastic scaling operations, the number of instances is automatically adjusted based on real-time monitoring data of the secure network element, and the license status is updated synchronously to ensure the reasonable allocation and use of resources. Finally, the scheduling results are returned to the user, including but not limited to the instance ID, operation status, and any potential error messages, thus forming a closed-loop feedback, enabling users to understand the execution status of their computing power scheduling requests in real time.
[0047] In summary, the network element instance deployment method based on heterogeneous computing resources provided in Embodiment 1 of this application, by receiving a user's computing power scheduling request, parsing the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; matching the computing power configuration information with a set of network element metadata to obtain a matching result, wherein the set of network element metadata contains multiple network element metadata, which is constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster; determining the computing power resources to be scheduled in the cluster based on the matching result and a set of license information; wherein the set of license information contains the authorized access information of vendors in the cluster for various heterogeneous computing power resources in the cluster; scheduling the computing power resources to be scheduled according to the computing power scheduling operation, and returning the scheduling result to the user, solves the problem of low network element instance deployment efficiency in the heterogeneous computing power cloud platform environment in related technologies due to the different computing power resource structures provided by different vendors and the scattered license information.
[0048] By receiving and parsing user computing power scheduling requests, and matching the parsed computing power configuration information with the network element metadata set, this not only determines the compatibility of the user request with existing computing power resources and accurately obtains the computing power configuration parameters and scheduling type required by the user, but also enables the selection of suitable secure network element resources in a heterogeneous computing power environment. This further optimizes resource allocation and avoids ineffective scheduling. Furthermore, by combining the matching results with the license information set, it ensures that the resources to be scheduled have obtained legal authorization from the vendor, enabling resource scheduling based on license management rules and avoiding scheduling failures due to authorization issues, thus ensuring the compliance of resource scheduling. Finally, based on the computing power scheduling operation, corresponding deployment or scaling actions are executed on the selected computing power resources, and the scheduling results are promptly fed back to the user. This not only improves the efficiency and accuracy of computing power resource scheduling but also enhances the user experience, achieving the technical effect of efficient, secure, and compliant automated computing power scheduling.
[0049] Optionally, in the network element instance deployment method based on heterogeneous computing resources provided in Embodiment 1 of this application, the above-mentioned computing power scheduling operation is to expand network element instances. The computing power resources to be scheduled are scheduled according to the computing power scheduling operation, and the scheduling result is returned to the user. This includes: collecting indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; triggering a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the warning threshold corresponding to that indicator; determining the computing power resources to be expanded from the computing power resources to be scheduled based on the indicator information, and creating network element instances based on the computing power resources to be expanded; deploying and configuring the network element instances using a preset set of network element execution instructions based on the cloud platform interface, generating scheduling results, and returning the scheduling results to the user.
[0050] In this first embodiment, in order to respond to the user's request for scaling up computing resources, i.e. the aforementioned expansion of network element instances, it is necessary to monitor various operating indicators of computing resources in the cloud platform in real time, including but not limited to CPU utilization, memory utilization, storage utilization, and traffic information related to security network elements.
[0051] Then, analyze these reported indicator data, assess the load status of the current security network element instance based on the preset warning threshold, and automatically trigger resource expansion instructions once any indicator is found to exceed the threshold in order to deal with the performance bottleneck or traffic surge of the security network element.
[0052] Secondly, based on the indicator information when the expansion command is triggered, the specific resource to be expanded is accurately located among the computing resources to be scheduled, and a matching computing node is selected to create a new security network element instance.
[0053] Finally, the newly created network element instance receives and executes configuration instructions issued by the dynamic orchestration engine through the adapter layer, according to the standard security capability interface specification. This includes setting security policies and injecting licenses, completing the initial deployment and configuration of the instance. Subsequently, the results of the expansion operation, including the status of the network element instance and the operation response, are fed back to the user, forming a closed-loop scheduling process.
[0054] Through the above steps, the load changes of security network element instances can be automatically identified and responded to, enabling rapid resource expansion when indicators exceed limits. This not only enhances the stability and responsiveness of security network elements, but also ensures the efficient utilization and unified management of security network element resources in heterogeneous computing environments through dynamic scheduling and adapter mechanisms. Ultimately, this achieves the technical effects of improving the intelligence level of resource scheduling, ensuring the security performance of the cloud platform, and enhancing the user experience.
[0055] Optionally, in the network element instance deployment method based on heterogeneous computing power resources provided in Embodiment 1 of this application, the above-mentioned computing power scheduling operation is to create a new network element instance, schedule the computing power resources to be scheduled according to the computing power scheduling operation, and return the scheduling result to the user, including: obtaining the load information of each node in the cluster, determining the target computing power node based on the load information of each node; scheduling the computing power resources to be scheduled using a preset set of network element execution instructions based on the cloud platform interface, so as to deploy and configure the network element instance in the target computing power node; generating the scheduling result based on the deployment result, and returning the scheduling result to the user.
[0056] In this first embodiment, the user's request to create new computing resources indicates the need to create a new security network element instance with specific functions, i.e., the aforementioned new network element instance. After receiving the user's request to create new computing resources, it is necessary to query the load information of each node in the current cluster, including the usage of CPU, memory, and storage, as well as the number of ongoing tasks. Through comparative analysis, one or more target computing nodes with sufficient remaining resources to support the new instance are determined.
[0057] Then, after identifying the target computing node, specific scheduling instructions are generated. These instructions cover the hardware requirements, software configuration, and security policies of the network element instance. Through the cloud platform interface, the scheduling instructions are transmitted to the target computing node, triggering the deployment process of the network element instance on the target computing node. Simultaneously, the standardized scheduling instructions need to be converted into specific configuration instructions that can be recognized by various security network element vendors to ensure the correct configuration of the network element instance on the target node, the accurate distribution of security policies, and the legitimate injection of licenses.
[0058] Finally, after the network element instance is deployed and configured, a scheduling result is generated based on the deployment results, including but not limited to the network element instance ID, status information, and any possible error reports. This scheduling result is then returned to the user terminal through a unified user interface, completing the closed-loop processing of the computing power scheduling request.
[0059] Through the above steps, the automation and standardization of creating new security network element instances in a heterogeneous computing environment are realized. This not only improves deployment efficiency and simplifies operation and maintenance processes, but also ensures the compliance of license management and enables cross-architecture and cross-vendor security network elements to be intelligently deployed according to user needs and resource status. Ultimately, this achieves the technical effects of improving the rationality of resource scheduling, enhancing the security protection capabilities of the cloud platform, and optimizing the user service experience.
[0060] Optionally, in the network element instance deployment method based on heterogeneous computing resources provided in Embodiment 1 of this application, determining the computing resources to be scheduled in the cluster based on the matching results and the license information set includes: if the matching result indicates a successful match, determining the target computing resources based on the matching results; determining whether the target computing resources have authorized access information from the vendor based on the license information set; and if the target computing resources have authorized access information from the vendor, determining the computing resources to be scheduled based on the target computing resources.
[0061] In this first embodiment, to determine the computing resources to be scheduled, it is necessary to receive and parse the user's computing resource scheduling request, extracting the functional, architectural, and performance requirements of the required security network element. Then, these requirements are compared and analyzed against a pre-built set of network element metadata. This set contains detailed attributes of the computing resources and their current status, including data on computing architecture, runtime environment, vendor identifier, and network element type. If the parsed user requirements perfectly match the attributes of a computing resource in the metadata set, a precise match between requirements and resources is achieved. In this case, the successfully matched resource is marked as the target computing resource.
[0062] Secondly, it is crucial to further verify whether the target computing resources have the necessary license information to ensure that the vendor has officially authorized the use of the resources. This verification process is essential as it directly relates to the legality and security of subsequent resource scheduling operations.
[0063] Finally, once the license status of the target computing resource is confirmed to be valid, that is, the system determines that the resource has the authorized access information of the vendor, the resource is identified as a computing resource to be scheduled, providing a clear resource basis for subsequent computing resource scheduling operations, whether it is creating a new instance or performing elastic scaling.
[0064] Through the above steps, intelligent screening and compliance verification of security network element computing resources can be achieved in heterogeneous computing environments. This ensures that all scheduling decisions are based on accurate matching of resources and needs and effective license authorization. It not only improves the accuracy of resource scheduling but also strengthens the standardization of license management, avoiding security risks caused by unauthorized resource access and improper configuration. This achieves dual optimization of resource scheduling and license management, and realizes the technical effect of improving the deployment efficiency and operational compliance of cloud platform security network elements.
[0065] Optionally, in the network element instance deployment method based on heterogeneous computing power resources provided in Embodiment 1 of this application, before matching the computing power configuration information with the network element metadata set, the method further includes: determining the network element information of multiple heterogeneous computing power resources in the cluster, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; determining the functions of multiple heterogeneous computing power resources, and generating executable instructions based on the functions of multiple heterogeneous computing power resources, establishing a mapping relationship between the functions of multiple heterogeneous computing power resources and the executable instructions, and obtaining the mapping relationship corresponding to multiple heterogeneous computing power resources; and constructing a network element metadata set based on the network element information of multiple heterogeneous computing power resources and the mapping relationship corresponding to multiple heterogeneous computing power resources.
[0066] In this first embodiment, to accurately manage various heterogeneous computing resources within the cluster, it is necessary to collect runtime support information for each resource, i.e., the types of applications that the resource can run, such as virtual machines, containers, or bare metal. Simultaneously, the vendor identifier of the computing resource, i.e., the manufacturer information, and the network element category, i.e., the specific security functions performed by the resource, such as firewalls and intrusion detection systems, are recorded.
[0067] Then, for each heterogeneous computing resource's functional characteristics, a series of corresponding executable instructions are generated. These instructions can be accurately identified and executed by the resources, ensuring that the resources can provide security services as expected. Based on this, a mapping relationship between resource functions and executable instructions is established. This mapping relationship is dynamically generated according to the specific functions and instruction set characteristics of the resources, providing a basis for instruction conversion in subsequent resource scheduling.
[0068] Finally, based on the collected network element information and the constructed mapping relationships, a network element metadata set is generated. This set not only contains the basic attributes of the resources but also integrates the functional descriptions of the resources and their corresponding instruction set information, forming a comprehensive database reflecting the security capabilities of heterogeneous computing resources. The network element metadata set is used to provide decision-making support. By matching it with user requests, it can quickly identify and schedule resources that match the requests. Simultaneously, by converting instructions through mapping relationships, it ensures that computing resources are configured and operated according to the user-specified security policies, thereby achieving efficient resource management and utilization.
[0069] Through the above steps, unified management and intelligent scheduling of various heterogeneous computing resources are achieved. The constructed network element metadata set and mapping relationship provide a solid foundation for the automation and precision of resource scheduling, achieving the technical effects of improving resource scheduling efficiency, simplifying operation and maintenance processes, and enhancing the security protection capabilities of the cloud platform.
[0070] Optionally, in the network element instance deployment method based on heterogeneous computing power resources provided in Embodiment 1 of this application, the computing power configuration information is matched with the network element metadata set to obtain a matching result, including: parsing first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data in the at least one piece of second data represents the function corresponding to the computing power required by the user; matching the first data with the network element information of each network element metadata in the network element metadata set; if the first data is successfully matched, matching the at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing power resources in the network element metadata set to obtain a matching success rate; and determining the matching result if the matching success rate is greater than or equal to a preset threshold.
[0071] In this first embodiment, to accurately respond to user computing power scheduling requests, the received user computing power scheduling requests need to be parsed. These requests carry detailed computing power configuration information, including the specific requirements of the computing power resources needed by the user, such as computing power architecture and performance parameters. This information is considered the first data. In addition, the request also includes the security functions that the user wishes to perform on the computing power resources, such as firewall rule settings and intrusion detection, which is the second data mentioned above. Each function requested by the user corresponds to one piece of second data.
[0072] Then, the first data in the request is compared one by one with the network element metadata set to find computing resources that are completely consistent with the user's needs. This process involves matching multiple dimensions, including computing architecture, runtime environment, vendor information, and security function type, to ensure that the selection of resources is accurate.
[0073] Secondly, for the successfully matched computing resources, each piece of second data in the user request, i.e. the specific security function requirement, is cross-validated with the mapping relationship in the resource mapping relationship database. The degree of matching between each piece of second data and the actual function supported by the resource is calculated. The result of this matching process is quantified as the matching success rate, which is used to evaluate the coverage and execution capability of the resource for the user's security function requirements.
[0074] Finally, by using a pre-set threshold, the matching success rate is measured to see if it meets the user's needs. Only when the matching success rate of all second data exceeds or equals this threshold will the matching result be considered successful. Subsequently, relevant information about the target computing power resources, including resource identifier, location, and license status, will be fed back to the user as the basis for the next scheduling operation.
[0075] Through the above steps, a deep understanding and detailed analysis of user computing power scheduling requests were achieved. This not only ensured the accuracy of computing power resource selection, but also further verified whether computing power resources could meet user expectations at the functional level by quantitatively evaluating the matching degree of security functions. Ultimately, this achieved the technical effect of improving the quality of scheduling decisions and ensuring the effective deployment of security functions, effectively avoiding problems caused by resource mismatch and functional deficiencies, and ensuring the efficiency and reliability of automated orchestration of security network elements in heterogeneous computing power environments.
[0076] Optionally, in the network element instance deployment method based on heterogeneous computing resources provided in Embodiment 1 of this application, after matching at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing resources in the network element metadata set to obtain the matching success rate, the above method further includes: generating a prompt message based on the first data and at least one piece of second data when the matching success rate is less than a preset threshold or the first data fails to match; sending the prompt message to the user and receiving the modified computing power scheduling request returned by the user; parsing the modified computing power scheduling request again, and matching the parsing result of the second parsing with the network element metadata set to obtain the matching result.
[0077] In this first embodiment, if, during the process of matching computing resources, it is found that the first data parsed from the user's computing request—that is, the basic specifications of the required computing resources—fail to match any resource information in the existing network element metadata set, or if at least one piece of second data, representing the security function the user needs to perform, has a matching success rate with the actual function mapping relationship of the computing resources that is lower than a preset minimum threshold, then a set of prompt messages is immediately generated. These prompt messages clearly indicate the unmatched portion of the user's computing power scheduling request, along with recommended solutions or alternative options, to help the user understand why the request was not fulfilled.
[0078] Then, this set of prompts is sent back to the user through a unified user interface or API channel, while keeping the communication channels open to receive modified computing power scheduling requests made by the user based on the prompts. Users have the opportunity to adjust their initial requests based on the provided shortcomings and suggestions, increasing the likelihood of matching with available resources in the system.
[0079] Secondly, once the user returns the modified request, the request parsing process is restarted to conduct a detailed analysis of the modified computing power configuration information again, extracting the updated first and second data. This aims to ensure that the modified request can more accurately reflect the user's real needs, while complying with the system's resource limits and license constraints.
[0080] Finally, the request data, after secondary parsing, is matched again with the network element metadata set. This round of matching focuses more on whether the user's modified request has reached a preset threshold, i.e., whether all security function requirements can be effectively covered by resources in the system. If, after modification, the matching result between the request and the resource indicates a successful match—that is, the first data completely matches the network element information, and the matching success rate of the second data and the function mapping relationship is not lower than the preset threshold—then the final matching result will be generated and fed back to the user, notifying the user that the scheduling request has been accepted or completed.
[0081] Through the above steps, not only can problems in computing power scheduling requests be identified and reported in a timely manner, but a dynamic adjustment and optimization cycle is also provided. This allows users to gradually correct their requests under the guidance of the system until they find computing power resources that meet their needs. This significantly improves the success rate of computing power scheduling and user satisfaction, while reducing scheduling failures caused by non-standard requests or resource incompatibility. It achieves a high degree of coordination between computing power resource scheduling and user needs, and improves the overall operational efficiency and service quality of the heterogeneous computing power cloud platform.
[0082] Optionally, in this first embodiment, Figure 2 This is an overall architecture diagram of an optional heterogeneous computing cloud platform based on heterogeneous computing resources, provided according to Embodiment 1 of this application. (See diagram below.) Figure 2 As shown, the cloud platform comprises a user layer, a control plane, and a data plane. First, the user layer displays computing power scheduling requests submitted by users via a JSON API. These requests directly point to the system's core component—the unified management interface—indicating that the user's initial interaction with the system is conducted in a standardized API format, ensuring consistent request formatting and ease of processing.
[0083] Then, in the control plane, after receiving the request, the unified management interface performs preliminary parsing and forwards the relevant information to the unified resource abstraction model. This model is used to standardize and abstract the computing resource requirements and security policies in the request, forming a unified description language to facilitate the understanding and operation of subsequent modules.
[0084] Next, the unified resource abstraction model transmits the processed information to the policy-capability mapping matrix. This matrix is responsible for mapping abstract security policies to specific security network element capabilities, providing a decision-making basis for the dynamic orchestration engine. The dynamic orchestration engine is the core of the entire architecture. It receives data from the mapping matrix, combines it with real-time resource status, makes intelligent scheduling decisions, and maintains close interaction with the elastic scaling module and license management unit to achieve dynamic resource expansion and effective license management.
[0085] Finally, in the data plane, the dynamic orchestration engine communicates with the heterogeneous computing power resource scheduling module through the resource scheduling engine to issue specific scheduling instructions. After receiving the instructions, the adapter layer converts the standard instructions into specific configurations that can be understood by various security network element vendors through application A plugin, application B plugin, etc., and finally completes the deployment and configuration of actual resources such as application A network element instances.
[0086] Optionally, in this first embodiment, Figure 3 This is a dynamic scheduling flowchart for the automated orchestration of secure network elements based on an optional heterogeneous computing cloud platform provided in Embodiment 1 of this application. For example... Figure 3As shown, firstly, the dynamic orchestration engine starts, receiving computing power scheduling requests from the user layer. These requests are divided into two categories: scaling and creating new instances, reflecting the system's different responses to dynamic management needs of security network element resources. Then, for scaling requests, the dynamic orchestration engine applies elastic scaling logic, actively collecting real-time monitoring data of the target network element to assess whether its performance indicators have exceeded preset thresholds. If so, when key indicators such as CPU utilization and memory usage of the network element reach or exceed the set thresholds, a scaling operation is triggered. The dynamic orchestration engine sends an instruction to the cloud resource scheduler to create a new network element instance. Next, the adapter layer intervenes, converting standard security policies and configuration parameters into specific instructions that the new instance can recognize and execute, injecting the necessary configuration information into the scaled instance to ensure it can be put into use immediately. Simultaneously, the system updates the topology database to reflect the latest resource status and network structure. If not, meaning all indicators are within the normal range, the current network element configuration remains unchanged to avoid unnecessary resource consumption and system jitter, ensuring the stable operation of the cloud platform.
[0087] Finally, for new requests, the dynamic orchestration engine executes a license scheduling process to ensure that the target computing resources have been authorized by the vendor, preventing unauthorized deployment. Through the selection of the heterogeneous computing cloud resource scheduler, computing nodes that meet the request conditions are determined, and then the corresponding cloud platform interface is called to initiate the deployment of the network element instance. After successful deployment of the network element instance, the adapter layer again plays a role, converting standardized configuration information into configuration instructions specific to the network element vendor, completing the initial configuration of the new instance, ensuring that it meets user requirements in terms of security policies and license compliance. The configured instance is then added to the cloud platform's resource pool for subsequent business traffic forwarding and security service provision.
[0088] Through the above process, rapid response to user requests and intelligent resource scheduling are achieved. Whether it is scaling or creating new requests, accurate resource matching and configuration injection can be performed based on real-time monitoring data, resource status, and user needs. This effectively improves resource utilization and the response speed of network element services, while ensuring license compliance and unified management of cross-vendor security network elements. This achieves the technical effect of improving the security, flexibility, and efficiency of the cloud platform.
[0089] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0090] Example 2
[0091] Embodiment 2 of this application also provides a network element instance deployment device based on heterogeneous computing resources. It should be noted that the network element instance deployment device based on heterogeneous computing resources in Embodiment 2 of this application can be used to execute the network element instance deployment method based on heterogeneous computing resources provided in Embodiment 1 of this application. The following describes the network element instance deployment device based on heterogeneous computing resources provided in Embodiment 2 of this application.
[0092] Figure 4 This is a schematic diagram of a network element instance deployment device based on heterogeneous computing resources, provided in Embodiment 2 of this application. Figure 4 As shown, the device includes: a parsing unit 401, a matching unit 402, a first determining unit 403, and a scheduling unit 404.
[0093] Specifically, the parsing unit 401 is used to receive the user's computing power scheduling request and parse the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request.
[0094] The matching unit 402 is used to match the computing power configuration information with the network element metadata set to obtain the matching result. The network element metadata set contains multiple network element metadata, which are constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster.
[0095] The first determining unit 403 is used to determine the computing resources to be scheduled in the cluster based on the matching results and the license information set; wherein, the license information set contains the authorized access information of vendors in the cluster to various heterogeneous computing resources in the cluster.
[0096] The scheduling unit 404 is used to schedule the computing resources to be scheduled according to the computing power scheduling operation and return the scheduling results to the user.
[0097] The network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application includes a parsing unit 401 that receives a user's computing power scheduling request and parses the computing power configuration information and computing power scheduling operation required by the user according to the computing power scheduling request; a matching unit 402 that matches the computing power configuration information with the network element metadata set to obtain a matching result, wherein the network element metadata set contains multiple network element metadata, which are constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster; a first determining unit 403 that determines the computing power resources to be scheduled in the cluster based on the matching result and the license information set; wherein the license information set contains the authorized access information of the vendors in the cluster to various heterogeneous computing power resources in the cluster; and a scheduling unit 404 that schedules the computing power resources to be scheduled according to the computing power scheduling operation and returns the scheduling result to the user. This solves the problem of low network element instance deployment efficiency in the heterogeneous computing power cloud platform environment due to the different computing power resource structures and scattered license information provided by different vendors in the related technology.
[0098] By receiving and parsing user computing power scheduling requests, and matching the parsed computing power configuration information with the network element metadata set, this not only determines the compatibility of the user request with existing computing power resources and accurately obtains the computing power configuration parameters and scheduling type required by the user, but also enables the selection of suitable secure network element resources in a heterogeneous computing power environment. This further optimizes resource allocation and avoids ineffective scheduling. Furthermore, by combining the matching results with the license information set, it ensures that the resources to be scheduled have obtained legal authorization from the vendor, enabling resource scheduling based on license management rules and avoiding scheduling failures due to authorization issues, thus ensuring the compliance of resource scheduling. Finally, based on the computing power scheduling operation, corresponding deployment or scaling actions are executed on the selected computing power resources, and the scheduling results are promptly fed back to the user. This not only improves the efficiency and accuracy of computing power resource scheduling but also enhances the user experience, achieving the technical effect of efficient, secure, and compliant automated computing power scheduling.
[0099] Optionally, in the network element instance deployment device based on heterogeneous computing resources provided in Embodiment 2 of this application, the above-mentioned computing power scheduling operation is to expand network element instances. The above-mentioned scheduling unit 404 includes: a collection subunit, used to collect the indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; a triggering subunit, used to trigger a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the warning threshold corresponding to the indicator; a creation subunit, used to determine the computing power resources to be expanded from the computing power resources to be scheduled based on the indicator information, and create network element instances based on the computing power resources to be expanded; and a first generation subunit, used to deploy and configure the network element instances based on the cloud platform interface using a preset set of network element execution instructions, generate scheduling results, and return the scheduling results to the user.
[0100] Optionally, in the network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application, the above-mentioned computing power scheduling operation is to create a new network element instance. The above-mentioned scheduling unit 404 includes: an acquisition subunit, used to acquire the load information of each node in the cluster and determine the target computing power node based on the load information of each node; a scheduling subunit, used to schedule the computing power resources to be scheduled based on the cloud platform interface using a preset set of network element execution instructions, so as to deploy and configure the network element instance in the target computing power node; and a second generation subunit, used to generate a scheduling result based on the deployment result and return the scheduling result to the user.
[0101] Optionally, in the network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application, the first determining unit 403 includes: a first determining subunit, used to determine the target computing power resource based on the matching result when the matching result indicates successful matching; a judging subunit, used to judge whether the target computing power resource has the manufacturer's authorized access information based on the license information set; and a second determining subunit, used to determine the computing power resource to be scheduled based on the target computing power resource when the target computing power resource has the manufacturer's authorized access information.
[0102] Optionally, in the network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application, the device further includes: a second determining unit, used to determine the network element information of multiple heterogeneous computing power resources in the cluster before matching the computing power configuration information with the network element metadata set, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; a first constructing unit, used to determine the functions of multiple heterogeneous computing power resources, and generate executable instructions based on the functions of multiple heterogeneous computing power resources, establish a mapping relationship between the functions of multiple heterogeneous computing power resources and the executable instructions, and obtain the mapping relationship corresponding to multiple heterogeneous computing power resources; and a second constructing unit, used to construct the network element metadata set based on the network element information of multiple heterogeneous computing power resources and the mapping relationship corresponding to multiple heterogeneous computing power resources.
[0103] Optionally, in the network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application, the matching unit 402 includes: a parsing subunit, used to parse first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data represents the function corresponding to the computing power required by the user; a first matching subunit, used to match the first data with the network element information of each network element metadata in the network element metadata set; a second matching subunit, used to match at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing power resources in the network element metadata set when the first data is successfully matched, to obtain the matching success rate; and a third determining subunit, used to determine the matching result when the matching success rate is greater than or equal to a preset threshold.
[0104] Optionally, in the network element instance deployment device based on heterogeneous computing power resources provided in Embodiment 2 of this application, the matching unit 402 further includes: a third generation subunit, used to generate a prompt message based on the first data and at least one second data after matching at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing power resources in the network element metadata set to obtain a matching success rate; a receiving subunit, used to send the prompt message to the user and receive the modified computing power scheduling request returned by the user; and a third matching subunit, used to parse the modified computing power scheduling request again and match the parsing result of the second parsing with the network element metadata set to obtain a matching result.
[0105] The network element instance deployment device based on heterogeneous computing resources includes a processor and a memory. The parsing unit 401, matching unit 402, first determination unit 403 and scheduling unit 404 mentioned above are all stored in the memory as program units. The processor executes the program units stored in the memory to realize the corresponding functions.
[0106] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the deployment efficiency of network element instances in a heterogeneous computing cloud platform.
[0107] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0108] Embodiment 3 of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements a method for deploying network element instances based on heterogeneous computing resources.
[0109] Embodiment 4 of the present invention provides a processor for running a program, wherein the program executes a method for deploying network element instances based on heterogeneous computing resources.
[0110] Figure 5 This is a schematic diagram illustrating the deployment of electronic devices based on network element instances using heterogeneous computing resources, according to Embodiment 5 of this application. For example... Figure 5As shown, Embodiment 5 of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: receiving a user's computing power scheduling request; parsing the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; matching the computing power configuration information with a set of network element metadata to obtain a matching result, wherein the set of network element metadata contains multiple network element metadata, which is constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster; determining the computing power resources to be scheduled in the cluster based on the matching result and a set of license information; wherein the set of license information contains the authorized access information of manufacturers in the cluster for various heterogeneous computing power resources in the cluster; scheduling the computing power resources to be scheduled according to the computing power scheduling operation, and returning the scheduling result to the user.
[0111] When the processor executes the program, it also performs the following steps: The above-mentioned computing power scheduling operation is to expand network element instances. According to the computing power scheduling operation, the computing power resources to be scheduled are scheduled, and the scheduling results are returned to the user. This includes: collecting the indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; triggering a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the warning threshold corresponding to that indicator; determining the computing power resources to be expanded from the computing power resources to be scheduled according to the indicator information, and creating network element instances based on the computing power resources to be expanded; deploying and configuring the network element instances using a preset set of network element execution instructions based on the cloud platform interface, generating scheduling results, and returning the scheduling results to the user.
[0112] When the processor executes the program, it also performs the following steps: The above-mentioned computing power scheduling operation creates a new network element instance, schedules the computing power resources to be scheduled according to the computing power scheduling operation, and returns the scheduling result to the user, including: obtaining the load information of each node in the cluster, determining the target computing power node based on the load information of each node; scheduling the computing power resources to be scheduled using a preset set of network element execution instructions based on the cloud platform interface, so as to deploy and configure the network element instance in the target computing power node; generating the scheduling result based on the deployment result, and returning the scheduling result to the user.
[0113] When the processor executes the program, it also performs the following steps: determining the computing resources to be scheduled in the cluster based on the matching results and the license information set, including: if the matching result indicates a successful match, determining the target computing resources based on the matching result; determining whether the target computing resources have the manufacturer's authorized access information based on the license information set; and determining the computing resources to be scheduled based on the target computing resources if the target computing resources have the manufacturer's authorized access information.
[0114] When the processor executes the program, it also performs the following steps: Before matching the computing power configuration information with the network element metadata set, the above method further includes: determining the network element information of various heterogeneous computing power resources in the cluster, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; determining the functions of various heterogeneous computing power resources, and generating executable instructions based on the functions of various heterogeneous computing power resources, establishing a mapping relationship between the functions of various heterogeneous computing power resources and the executable instructions, and obtaining the mapping relationship corresponding to various heterogeneous computing power resources; constructing a network element metadata set based on the network element information of various heterogeneous computing power resources and the mapping relationship corresponding to various heterogeneous computing power resources.
[0115] When the processor executes the program, it also performs the following steps: matching the computing power configuration information with the network element metadata set to obtain a matching result, including: parsing first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data in the at least one piece of second data represents the function corresponding to the computing power required by the user; matching the first data with the network element information of each network element metadata in the network element metadata set; if the first data is successfully matched, matching at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing power resources in the network element metadata set to obtain a matching success rate; if the matching success rate is greater than or equal to a preset threshold, determining the matching result.
[0116] When the processor executes the program, it also performs the following steps: After matching at least one piece of second data with the mapping relationship corresponding to various heterogeneous computing resources in the network element metadata set to obtain the matching success rate, the above method further includes: if the matching success rate is less than a preset threshold, or if the first data fails to match, generating a prompt message based on the first data and at least one piece of second data; sending the prompt message to the user and receiving the modified computing power scheduling request returned by the user; parsing the modified computing power scheduling request again, and matching the parsing result of the second parsing with the network element metadata set to obtain the matching result.
[0117] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0118] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: receiving a user's computing power scheduling request; parsing the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; matching the computing power configuration information with a set of network element metadata to obtain a matching result, wherein the set of network element metadata contains multiple network element metadata, which is constructed based on network element information corresponding to various heterogeneous computing power resources in the cluster; determining the computing power resources to be scheduled in the cluster based on the matching result and a set of license information; wherein the set of license information contains authorized access information of vendors in the cluster for various heterogeneous computing power resources in the cluster; scheduling the computing power resources to be scheduled according to the computing power scheduling operation, and returning the scheduling result to the user.
[0119] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: The above-mentioned computing power scheduling operation is to expand network element instances. The computing power resources to be scheduled are scheduled according to the computing power scheduling operation, and the scheduling results are returned to the user. This includes: collecting indicator information of the computing power resources in the cluster, wherein the indicator information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; triggering a resource expansion instruction when the indicator value of any indicator in the indicator information is higher than the corresponding warning threshold; determining the computing power resources to be expanded from the computing power resources to be scheduled based on the indicator information, and creating network element instances based on the computing power resources to be expanded; deploying and configuring the network element instances using a preset set of network element execution instructions based on the cloud platform interface, generating scheduling results, and returning the scheduling results to the user.
[0120] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: the above-mentioned computing power scheduling operation creates a new network element instance, schedules the computing power resources to be scheduled according to the computing power scheduling operation, and returns the scheduling result to the user, including: obtaining the load information of each node in the cluster, determining the target computing power node based on the load information of each node; scheduling the computing power resources to be scheduled using a preset set of network element execution instructions based on the cloud platform interface, so as to deploy and configure the network element instance in the target computing power node; generating the scheduling result based on the deployment result, and returning the scheduling result to the user.
[0121] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: determining the computing resources to be scheduled in the cluster based on the matching results and the license information set, including: if the matching results indicate a successful match, determining the target computing resources based on the matching results; determining whether the target computing resources have the vendor's authorized access information based on the license information set; and if the target computing resources have the vendor's authorized access information, determining the computing resources to be scheduled based on the target computing resources.
[0122] When executed on a data processing device, it is also suitable to execute an initialization program with the following method steps: Before matching the computing power configuration information with the network element metadata set, the above method further includes: determining the network element information of various heterogeneous computing power resources in the cluster, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; determining the functions of various heterogeneous computing power resources, and generating executable instructions based on the functions of various heterogeneous computing power resources, establishing a mapping relationship between the functions of various heterogeneous computing power resources and the executable instructions, and obtaining the mapping relationship corresponding to various heterogeneous computing power resources; constructing a network element metadata set based on the network element information of various heterogeneous computing power resources and the mapping relationship corresponding to various heterogeneous computing power resources.
[0123] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: matching computing power configuration information with a set of network element metadata to obtain a matching result, including: parsing first data and at least one piece of second data from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each piece of second data in the at least one piece of second data represents the function corresponding to the computing power required by the user; matching the first data with the network element information of each network element metadata in the set of network element metadata; if the first data is successfully matched, matching at least one piece of second data with the mapping relationship corresponding to multiple heterogeneous computing power resources in the set of network element metadata to obtain a matching success rate; if the matching success rate is greater than or equal to a preset threshold, determining the matching result.
[0124] When executed on a data processing device, it is also suitable to execute an initialization program with the following steps: after matching at least one piece of second data with the mapping relationships corresponding to various heterogeneous computing resources in the network element metadata set to obtain the matching success rate, the above method further includes: if the matching success rate is less than a preset threshold, or if the first data fails to match, generating a prompt message based on the first data and at least one piece of second data; sending the prompt message to the user and receiving the modified computing power scheduling request returned by the user; parsing the modified computing power scheduling request again, and matching the parsing result of the second parsing with the network element metadata set to obtain the matching result.
[0125] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied 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.
[0126] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. 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 processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0127] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device 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.
[0128] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment 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.
[0129] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0130] Memory may include non-persistent memory 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.
[0131] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0132] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0133] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied 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.
[0134] The above are merely embodiments of this application and are 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 deploying network element instances based on heterogeneous computing resources, characterized in that, include: Receive a user's computing power scheduling request, and parse the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; The computing power configuration information is matched with the network element metadata set to obtain a matching result. The network element metadata set contains multiple network element metadata, which are constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster. Based on the matching results and the license information set, the computing resources to be scheduled are determined in the cluster; wherein, the license information set contains the authorized access information of vendors in the cluster to various heterogeneous computing resources in the cluster; The computing resources to be scheduled are scheduled according to the computing power scheduling operation, and the scheduling result is returned to the user; Before matching the computing power configuration information with the network element metadata set, the method further includes: Determine the network element information of the various heterogeneous computing resources in the cluster, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; The functions of the various heterogeneous computing resources are determined, and executable instructions are generated based on the functions of the various heterogeneous computing resources. A mapping relationship is established between the functions of the various heterogeneous computing resources and the executable instructions to obtain the mapping relationship corresponding to the various heterogeneous computing resources. The network element metadata set is constructed based on the network element information of the various heterogeneous computing resources and the corresponding mapping relationship of the various heterogeneous computing resources.
2. The method according to claim 1, characterized in that, The computing power scheduling operation is an instance of expanding network elements. Based on the computing power scheduling operation, the computing power resources to be scheduled are scheduled, and the scheduling result is returned to the user, including: Collect the index information of the computing resources in the cluster, wherein the index information includes at least one of the following indicators: CPU utilization, memory utilization, storage utilization, and traffic information; If the value of any indicator in the indicator information is higher than the warning threshold corresponding to that indicator, a resource expansion command is triggered. Based on the aforementioned indicator information, determine the computing resources to be expanded from the computing resources to be scheduled, and create network element instances based on the computing resources to be expanded. Based on the cloud platform interface, the network element instance is deployed and configured using a preset set of network element execution instructions, the scheduling result is generated, and the scheduling result is returned to the user.
3. The method according to claim 1, characterized in that, The computing power scheduling operation involves creating a new network element instance, scheduling the computing power resources to be scheduled according to the operation, and returning the scheduling result to the user, including: Obtain the load information of each node in the cluster, and determine the target computing power node based on the load information of each node; Based on the cloud platform interface, a preset set of network element execution instructions is used to schedule the computing resources to be scheduled, so as to deploy and configure network element instances in the target computing node; The scheduling result is generated based on the deployment result and then returned to the user.
4. The method according to claim 1, characterized in that, Based on the matching results and the set of license information, the computing resources to be scheduled in the cluster are determined, including: If the matching result indicates a successful match, the target computing power resources are determined based on the matching result. Based on the set of license information, determine whether the target computing power resource has authorized access information from the vendor; If the target computing resources have authorized access information from the vendor, the computing resources to be scheduled are determined based on the target computing resources.
5. The method according to claim 1, characterized in that, The computing power configuration information is matched with the network element metadata set to obtain the matching results, including: The first data and at least one second data are parsed from the computing power configuration information, wherein the first data represents the computing power resource information required by the user, and each second data in the at least one second data represents the function corresponding to the computing power required by the user; The first data is matched with the network element information of each network element metadata in the network element metadata set; If the first data is successfully matched, the at least one piece of second data is matched with the mapping relationship corresponding to the various heterogeneous computing resources in the network element metadata set to obtain the matching success rate; If the matching success rate is greater than or equal to a preset threshold, the matching result is determined.
6. The method according to claim 5, characterized in that, After matching the at least one piece of second data with the mapping relationships corresponding to the various heterogeneous computing resources in the network element metadata set to obtain the matching success rate, the method further includes: If the matching success rate is less than the preset threshold, or if the first data fails to match, a prompt message is generated based on the first data and the at least one piece of second data. The system sends the prompt message to the user and receives the modified computing power scheduling request returned by the user. The modified computing power scheduling request is parsed again, and the parsing result is matched with the network element metadata set to obtain the matching result.
7. A network element instance deployment device based on heterogeneous computing resources, characterized in that, include: The parsing unit is used to receive a user's computing power scheduling request and parse the computing power configuration information and computing power scheduling operation required by the user based on the computing power scheduling request; A matching unit is used to match the computing power configuration information with the network element metadata set to obtain a matching result. The network element metadata set contains multiple network element metadata, which are constructed based on the network element information corresponding to various heterogeneous computing power resources in the cluster. The first determining unit is used to determine the computing resources to be scheduled in the cluster based on the matching results and the license information set; wherein, the license information set includes the authorized access information of vendors in the cluster to various heterogeneous computing resources in the cluster; The scheduling unit is used to schedule the computing power resources to be scheduled according to the computing power scheduling operation, and return the scheduling result to the user; The apparatus further includes: a second determining unit, configured to determine the network element information of the various heterogeneous computing resources in the cluster before matching the computing power configuration information with the network element metadata set, wherein the network element information includes at least one of the following: computing power runtime support, vendor identifier, and network element category; a first constructing unit, configured to determine the functions of the various heterogeneous computing resources, and generate executable instructions based on the functions of the various heterogeneous computing resources, establish a mapping relationship between the functions of the various heterogeneous computing resources and the executable instructions, and obtain the mapping relationship corresponding to the various heterogeneous computing resources; and a second constructing unit, configured to construct the network element metadata set based on the network element information of the various heterogeneous computing resources and the mapping relationship corresponding to the various heterogeneous computing resources.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes stored computer instructions, wherein, when the computer instructions are executed by a processor, the network element instance deployment method based on heterogeneous computing resources as described in any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the network element instance deployment method based on heterogeneous computing resources as described in any one of claims 1 to 6.