CN114666330B - Method, device, equipment and product for arranging calculation network - Google Patents

Method, device, equipment and product for arranging calculation network Download PDF

Info

Publication number
CN114666330B
CN114666330B CN202210138328.4A CN202210138328A CN114666330B CN 114666330 B CN114666330 B CN 114666330B CN 202210138328 A CN202210138328 A CN 202210138328A CN 114666330 B CN114666330 B CN 114666330B
Authority
CN
China
Prior art keywords
intention
power
preset
translation
computing power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210138328.4A
Other languages
Chinese (zh)
Other versions
CN114666330A (en
Inventor
初宇飞
常成洋
仇树卿
李泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Communication Information System Co Ltd
Original Assignee
Inspur Communication Information System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Communication Information System Co Ltd filed Critical Inspur Communication Information System Co Ltd
Priority to CN202210138328.4A priority Critical patent/CN114666330B/en
Publication of CN114666330A publication Critical patent/CN114666330A/en
Application granted granted Critical
Publication of CN114666330B publication Critical patent/CN114666330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method, a device, equipment and a product for arranging a computing power network, which relate to the technical field of cloud computing, and the method comprises the following steps: acquiring files with intention in north direction of computing power; wherein the intent characterizes service request data; when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; and judging whether the intention is sent to the southward direction of the computing power or not based on a preset rule of the southward direction of the computing power and the residual computing power resource information, and if so, distributing computing power resources to the northbound direction of the computing power by the southward direction of the computing power based on the received intention and the residual computing power resource information. The invention realizes the uniform driving arrangement under the distributed computing field scene and provides corresponding preparation for the arrangement mode of uniform driving of the computing force and the network.

Description

Method, device, equipment and product for arranging calculation network
Technical Field
The present invention relates to the field of cloud computing technologies, and in particular, to a method, an apparatus, a device, and a product for arranging a computing power network.
Background
The current cloud service providing form is also changed from the traditional central type to the distributed type gradually, namely, the cloud service providing form consists of resource pools which are positioned in different geographic positions and have different scales. The distributed cloud service may be a traditional cloud center, an edge node extending to a business site, or a data center built locally, a proprietary cloud, etc., and all of the above facilities may be referred to as a computing infrastructure.
In the operational support level, a lot of manual adjustment work is required to be performed in a series of works such as installing new data center equipment to upgrade customer field equipment. Currently, many operators are seeking to utilize software defined network (Software Defined Network, SDN) and network function virtualization (Network Functions Virtualization, NFV) technologies to increase service innovation speed, simplify interoperability and integration difficulty of devices, reduce overall asset investment and operation cost, and one of the fundamental principles of SDN and NFV technologies is to support independent design, creation and lifecycle management of products/services, i.e. new services can be released without requiring new versions of platform software and affecting existing services, and full lifecycle orchestration and service application program interface (Application Programming Interface, API) deployment for new technology dynamics.
The computing power becomes a key element for supporting the development of an intelligent society, the computing power is distributed in different network levels, including an end side, an edge side, a cloud side and the like, a large amount of services need more guaranteed computing power resources, when the computing resources are overloaded and even unavailable, the computing resources are reconnected depending on a client application layer, and the waiting time reaches the second/minute level, so that the service experience is reduced. Therefore, at present, not only a great deal of communication, adaptation, joint debugging and other works need to be performed with different factories before operation, but also the whole arrangement system needs to be synchronously adjusted even if the northbound algorithm management software and other systems of the factories are upgraded in the operation process.
Aiming at the problems, a calculation power arrangement system capable of realizing uniform driving under the distributed calculation force field is an important subject to be urgently needed in the current cloud computing field.
Disclosure of Invention
The invention provides a method, a device, equipment and a product for arranging a computing power network, which are used for solving the defect that a distributed scene arranging system is lacked in the prior art and realizing uniform driving arrangement under a distributed computing power field.
The invention provides an arrangement method of a calculation network, which comprises the following steps:
acquiring files with intention in north direction of computing power; wherein the intent characterizes service request data;
when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
and judging whether the intention is sent to the southward direction of the computing power or not based on a preset rule of the southward direction of the computing power and the residual computing power resource information, and if so, distributing computing power resources to the northbound direction of the computing power by the southward direction of the computing power based on the received intention and the residual computing power resource information.
According to the arrangement method of the computational power network provided by the invention, when the files with intents meet the preset arrangement conditions, the preset translation templates in the preset translation library are matched based on the field information of the files with intents, and the intents contained in the files with intents are extracted based on the matched preset translation templates, and the method specifically comprises the following steps:
judging whether the file with intention contains the field information corresponding to the translation corresponding relation of one type of the preset translation templates in the preset translation library; each type of preset translation templates has a unique corresponding translation corresponding relation, and the translation corresponding relations of different preset translation templates are different;
if the file with the intention is included, matching the preset translation template for the file with the intention based on the corresponding relation between the field information and the translation corresponding relation;
and extracting the intention contained in the file with the intention based on the translation corresponding relation of the matched preset translation template.
According to the method for arranging the power calculation network provided by the invention, in the step of judging whether the file with intention contains the field information corresponding to the translation corresponding relation of one type of the preset translation templates in the preset translation library, the translation corresponding relation is a conversion relation between north-order power calculation and south-order power calculation; when the translation corresponding relation is updated, the corresponding preset translation template is correspondingly updated, and when the preset translation template is updated, the preset translation template of the previous version is reserved.
According to the arrangement method of the power network provided by the invention, the preset rule and the residual power resource information based on the south direction of the power judge whether the intention is sent to the south direction of the power, and when yes, the south direction of the power allocates power resources for the north direction of the power based on the received intention and the residual power resource information, and the method specifically comprises the following steps:
determining a southbound of computing power to be distributed on the basis of the intention;
acquiring the remaining computing power resource information of the computing power southbound to be subjected to computing power resource allocation;
judging whether the residual computing power resource information meets the intention or not based on the preset rule of the computing power southbound to be subjected to computing power resource allocation; the preset rules comprise preset interface data rules and preset service rules;
and when the intention is satisfied, sending the intention to the southward direction of the computing power to be subjected to computing power resource allocation, and allocating computing power resources to the northbound direction of the computing power to be subjected to computing power resource allocation based on the intention and the residual computing power resource information.
According to the arrangement method of the power network provided by the invention, the preset rule and the residual power resource information based on the south direction of the power judge whether the intention is sent to the south direction of the power, and when yes, the south direction of the power allocates power resources for the north direction of the power based on the received intention and the residual power resource information, and the arrangement method further comprises the following steps:
when the feedback information is not satisfied, generating feedback information; the feedback information is used for indicating that the north-south computing power resource cannot meet the north-north computing power service request.
According to the arranging method of the power network provided by the invention, in the step of acquiring the files with intention in the north direction of power, the files with intention comprise the combined files and the arranging package files of the service level agreement description.
The invention also provides a device for arranging the power calculation network, which comprises:
the acquisition module is used for acquiring files with intention in north direction of calculation force; wherein the intent characterizes service request data;
the translation module is used for matching preset translation templates in a preset translation library based on field information of the files with intention when the files with intention meet preset arrangement conditions, and extracting the intention contained in the files with intention based on the matched preset translation templates; wherein, at least one type of preset translation templates are stored in the preset translation library;
the arrangement module is used for judging whether the intention is sent to the southward direction of the computing power or not based on a preset rule of the southward direction of the computing power and the residual computing power resource information, and if yes, the southward direction of the computing power allocates computing power resources to the northbound direction of the computing power based on the received intention and the residual computing power resource information.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the orchestration method of the computing network according to any one of the preceding claims when the program is executed.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the orchestration method of the computing network according to any one of the preceding.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the orchestration method of the power network according to any one of the preceding.
According to the method, the device, the equipment and the product for arranging the computing power network, unified driving arrangement is realized under the distributed computing power scene, one type of preset translation templates stored in the preset translation library are matched for files with intentions in the north direction of computing power, the matched preset translation templates are utilized for translating the files with intentions, the intentions in the files are extracted, the centralization of translation capacity is realized, if the north-south direction of computing power is regulated, only the preset translation templates are required to be maintained, then, based on the preset rules in the south-south direction of computing power and the information of residual computing power resources, whether the residual computing power resources can meet the cloud service request newly added in the north direction of computing power is judged, and when the requirement is met, computing power resources are distributed for the north direction of computing power, and corresponding preparation is made for the arrangement mode of unified driving of computing power and network.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for orchestrating a computing network provided by the present invention;
fig. 2 is a specific flowchart of step S200 in the method for arranging a computing power network according to the present invention;
fig. 3 is a specific flowchart of step S300 in the method for arranging a computing power network according to the present invention;
FIG. 4 is a schematic diagram of the arrangement of the computational power network according to the present invention;
FIG. 5 is a schematic diagram of a translation module in the arrangement device of the computing network according to the present invention;
FIG. 6 is a schematic diagram of a specific configuration of an arranging module in an arranging device of a computing power network according to the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The computing power becomes a key element for supporting the development of an intelligent society, the computing power is distributed in different network levels, including an end side, an edge side, a cloud side and the like, a large amount of services need more guaranteed computing power resources, when the computing resources are overloaded and even unavailable, the computing resources are reconnected depending on a client application layer, and the waiting time reaches the second/minute level, so that the service experience is reduced. For example, when service modes such as 2B scene-oriented computing network fusion and opening are usually performed by using a design and arrangement concept, the problems such as insufficient elastic capability and insufficient flexibility as required of products can be solved. In the design and arrangement concept, the arrangement center is used for carrying out standardized capacity packaging and management on basic resources, strategy rules, configuration issuing and the like, and carrying out precipitation solidification on various network service models, calculation network service models and opening templates, so that the reusability of service capacity is improved. The resource (computing resource) call of the infrastructure is realized by interfacing with a service API of a manufacturer of the three-party computing management software (such as a cloud management platform). Not only a great deal of communication, adaptation, joint debugging and other works are required to be carried out with different factories before operation, but also the whole arrangement system is required to be synchronously adjusted even if the northbound power management software and other systems of the factories are upgraded in the operation process.
The method of orchestration of a power network of the present invention, which may be used in a power management software/system, is described below in connection with fig. 1, the method comprising the steps of:
s100, acquiring files with intention in north direction of calculation force. In this approach, the intent characterizes the service request data, which is indicative of the north-of-force service request, i.e., the north-of-force computing resource demand.
In the power computing network, the north direction of power computing refers to interfaces between other application programs and power computing management software/system components, and the south direction of power computing refers to interfaces between power computing management software/systems and lower-layer third-party equipment manufacturer management software or hardware.
In the present embodiment, the files with intent include a combined file and an orchestrated package file (readable compressed file) described by a service level agreement (Service Level Agreement, SLA).
S200, when the files with the intents meet the preset arrangement conditions, the preset translation templates in the preset translation library are matched based on the field information of the files with the intents, and the intents contained in the files with the intents are extracted based on the matched preset translation templates. In the method, at least one type of preset translation templates are stored in a preset translation library, each type of preset translation templates has a unique corresponding translation corresponding relation, and the translation corresponding relations of different preset translation templates are different.
The files with intent meet the preset arrangement condition, namely the files with intent can be arranged, in particular, the files with intent can be translated by one type of preset translation templates in the preset translation library.
S300, judging whether the intention is sent to the southward direction of the computing power or not based on a preset rule of the southward direction of the computing power and the residual computing power resource information, and if so, distributing computing power resources to the northbound direction of the computing power based on the received intention and the residual computing power resource information.
When the intention can be sent to the southward direction of the computing power, the fact that the currently stored computing power resources of the southward direction of the computing power, namely the remaining computing power resources of the southward direction of the computing power, are sent to the southward direction of the computing power is judged, and the currently stored computing power resources of the southward direction of the computing power can meet the newly added cloud service request of the northard direction of the computing power.
In this embodiment, there may be multiple southbound domains, and when the southbound domains call the resource service, the southbound domains must be integrated with the southbound management software/system to which the method of the present invention is applied, which is a precondition. The power composer of the power management software/system applying the method of the invention uses a layered concept, the bottom layer uses an independent adaptation layer to carry out adaptation with a plurality of lower equipment manufacturer management software or hardware, the adaptation is a necessary condition for various third party manufacturer Infrastructure-as-a-Service (IaaS) resource nanotubes, and the adaptation layer can be specifically designed by adopting a micro-Service module. The adaptation layer is in butt joint with an API/SDK which is opened to the outside by equipment manufacturer management software or hardware of a third party manufacturer, and the butt joint debugging is required to be carried out according to a description document provided by the manufacturer; a check layer is arranged above the adaptation layer and can check the northbound (cloud) service request data translated by the translation layer, and the check layer also synchronizes the current available resource condition of the northbound (cloud) service request data, namely the power infrastructure, so as to compare whether enough resources are allocated to the newly added cloud service request currently; the upper layer of the check layer is a translation layer, the translation layer receives files with intention, namely main stream arrangement files (such as TOSCA type, which can be transmitted by other application programs or manually imported), and is responsible for decompressing and converting the files with intention into adaptation layer southbound identifiable (cloud) service request interface data, and transmitting the interface data to the check layer after translation.
Due to the modularity of the adaptation layer service, the overall service is not affected when a new adaptation is to be adjusted. And the influence of the distributed power management software of different manufacturers on the whole power dispatching system due to the north interface suitability or adaptation adjustment is reduced.
In this embodiment, the power composer of the power management software/system applying the method of the present invention further has a presentation layer, which presents information such as execution results, related management information, and the like, which are responsible for presenting the translation layer, the verification layer, and the adaptation layer.
According to the method for arranging the computing power network, unified driving arrangement is achieved under the distributed computing power scene, one type of preset translation templates stored in the preset translation library are matched for files with intentions in the north direction of computing power, the matched preset translation templates are utilized for translating the files with intentions, intentions in the files are extracted, the centralization of translation capacity is achieved, if the south direction and the north direction of computing power are adjusted, only the preset translation templates are needed to be maintained, then whether the residual computing power resources can meet the cloud service request newly added in the north direction of computing power is judged based on the preset rules in the south direction of computing power and the residual computing power resource information, and when the cloud service request is met, computing power resources are distributed for the north direction of computing power, and corresponding preparation is made for an arrangement mode of unified driving of computing power and network.
The following describes the arrangement method of the power network according to the present invention with reference to fig. 2, and the step S200 specifically includes the following steps:
s210, judging whether the file with the intention contains field information corresponding to the translation corresponding relation of one type of preset translation templates in a preset translation library. In the method, the preset arrangement condition is that the file with the intention comprises field information corresponding to the translation corresponding relation of one type of preset translation templates in the preset translation library, so that negotiation with the upper layer system is realized.
S220, if the corresponding field information is contained, a preset translation template is matched for the file with the intention based on the corresponding relation between the field information and the translation corresponding relation.
In this embodiment, the translation correspondence is a conversion relationship between north-order and south-order, for example, receiving resource association information in a file with intention of north-order, and translating the resource association information into resource configuration information readable by management software or hardware of a third party equipment manufacturer. When the translation corresponding relation is updated, the corresponding preset translation template is correspondingly updated, and when the preset translation template is updated, the preset translation template of the previous version is reserved. Preferably, the updating includes operations of adding, deleting and checking, the translation correspondence is the basis of matching and translation, and the translation correspondence of each type of preset translation template supports the operations of editing at any time, namely adding, deleting and checking, so that the current work is not affected when the translation correspondence of the preset translation template is edited, the translation correspondence has the copy expansion capability, copies of a plurality of preset translation templates can be simultaneously saved, and the copies are distinguished by a naming mode and a default use state, namely, the preset translation templates of all versions are saved.
S230, extracting the intents contained in the files with the intents based on the translation corresponding relation of the matched preset translation templates.
The following describes the arrangement method of the power network according to the present invention with reference to fig. 3, and the step S300 specifically includes the following steps:
s310, determining the southward direction of the computing power to be distributed on the basis of the intention. The intent will indicate that the computing power is north-bound to the requested computing power south-bound, i.e., the requested computing power infrastructure.
S320, acquiring the remaining computing power resource information of the south computing power to be distributed.
S330, judging whether the residual computing power resource information meets the intention or not based on a preset rule of the computing power southbound to be subjected to computing power resource allocation. In the method, the preset rules include preset interface data rules and preset service rules.
And S340, when the intention is met, sending the intention to the southward direction of the computing power to be subjected to computing power resource allocation, and distributing the computing power resource to the northbound direction of the computing power based on the intention and the residual computing power resource information.
And S350, when the service request is not satisfied, generating feedback information, wherein the feedback information is used for indicating that the power resource in the south direction of the power cannot satisfy the service request in the north direction of the power, and the feedback information can be displayed through a presentation layer.
The verification layer of the power management software/system receives the translated orchestration file, namely the service request data, checks the power northbound (cloud) service request data according to the interface data rule and the service rule of the adaptation layer, compares the service request data (comprising a resource demand field) with the stored current power resource information, if the power resource can meet the power northbound intention, the power resource is downwards transmitted to the corresponding power southbound, if the power resource can not meet the power northbound intention, feedback information is generated, the unsatisfied related information is fed back, the presentation layer reflects the information, in the process, the power resource information synchronizes the heterogeneous power resource data of the main synchronous power infrastructure, and the data model can refer to the CMDB of the multi-cloud environment.
The arrangement device of the power network provided by the invention is described below, and the arrangement device of the power network described below and the arrangement method of the power network described above can be correspondingly referred to each other.
An arrangement of a power network according to the invention, which arrangement can be used in a power management software/system, is described below in connection with fig. 4, the arrangement comprising:
the acquisition module 100 is configured to acquire a file with intent to the north of the computing power. In the apparatus, the service request data is intended to be characterized, which is intended to indicate a north-of-force service request, i.e. a north-of-force computing resource demand.
In the power computing network, the north direction of power computing refers to interfaces between other application programs and power computing management software/system components, and the south direction of power computing refers to interfaces between power computing management software/systems and lower-layer third-party equipment manufacturer management software or hardware.
In the present embodiment, the files having intention include a combined file and an orchestrated package file (readable compressed file) of SLA descriptions.
The translation module 200 is configured to match preset translation templates in a preset translation library based on field information of the file with intent when the file with intent satisfies a preset arrangement condition, and extract intent included in the file with intent based on the matched preset translation templates. In the device, at least one type of preset translation templates are stored in a preset translation library, each type of preset translation templates has a unique corresponding translation corresponding relation, and the translation corresponding relations of different preset translation templates are different.
The files with intent meet the preset arrangement condition, namely the files with intent can be arranged, in particular, the files with intent can be translated by one type of preset translation templates in the preset translation library.
The orchestration module 300 is configured to determine whether the intent is sent to the southward direction of the computing power based on the preset rules of the southward direction of the computing power and the remaining computing power resource information, and if so, allocate the computing power resources to the northbound direction of the computing power based on the received intent and the remaining computing power resource information.
When the intention can be sent to the southward direction of the computing power, the fact that the currently stored computing power resources of the southward direction of the computing power, namely the remaining computing power resources of the southward direction of the computing power, are sent to the southward direction of the computing power is judged, and the currently stored computing power resources of the southward direction of the computing power can meet the newly added cloud service request of the northard direction of the computing power.
In this embodiment, there may be multiple southbound domains, and when the southbound domains call resource services, the southbound domains must be integrated with the southbound management software/system to which the apparatus of the present invention is applied, which is a precondition. The power composer of the power management software/system of the device uses a layering concept, the bottom layer uses an independent adaptation layer to carry out adaptation with a plurality of lower equipment manufacturer management software or hardware, the adaptation is a necessary condition for IaaS resource nanotubes of various third party manufacturers, and the adaptation layer can be specifically designed by adopting a micro-service module. The adaptation layer is in butt joint with an API/SDK which is opened to the outside by equipment manufacturer management software or hardware of a third party manufacturer, and the butt joint debugging is required to be carried out according to a description document provided by the manufacturer; a check layer is arranged above the adaptation layer and can check the northbound (cloud) service request data translated by the translation layer, and the check layer also synchronizes the current available resource condition of the northbound (cloud) service request data, namely the power infrastructure, so as to compare whether enough resources are allocated to the newly added cloud service request currently; the upper layer of the check layer is a translation layer, the translation layer receives files with intention, namely main stream arrangement files (such as TOSCA type, which can be transmitted by other application programs or manually imported), and is responsible for decompressing and converting the files with intention into adaptation layer southbound identifiable (cloud) service request interface data, and transmitting the interface data to the check layer after translation.
Due to the modularity of the adaptation layer service, the overall service is not affected when a new adaptation is to be adjusted. And the influence of the distributed power management software of different manufacturers on the whole power dispatching system due to the north interface suitability or adaptation adjustment is reduced.
In this embodiment, the power composer of the power management software/system applying the device of the present invention further has a presentation layer for presenting information such as execution results, related management information, and the like, which are responsible for presenting the translation layer, the verification layer, and the adaptation layer.
The arrangement device of the computational power network provided by the invention realizes unified driving arrangement under the distributed computational power scene, the files with intention in the north direction of computational power are matched with one type of preset translation templates stored in a preset translation library, the matched preset translation templates are utilized to translate the files with intention, the intention in the files is extracted, the centralization of translation capability is realized, if the south direction and the north direction of computational power are regulated, only the preset translation templates are required to be maintained, then, based on the preset rule in the south direction of computational power and the information of residual computational power resources, whether the residual computational power resources can meet the newly added cloud service request in the north direction of computational power is judged, and when the cloud service request is met, the computational power resources are distributed in the north direction of computational power, and corresponding preparation is made for the arrangement mode of unified driving of computational power and network.
The following describes the arrangement of the computing network according to the present invention with reference to fig. 5, and the translation module 200 specifically includes:
the first judging unit 210 is configured to judge whether the file with intention includes field information corresponding to the translation correspondence of one type of preset translation templates in the preset translation library. In the method, the preset arrangement condition is that the file with the intention comprises field information corresponding to the translation corresponding relation of one type of preset translation templates in the preset translation library, so that negotiation with the upper layer system is realized.
The matching unit 220 is configured to match a preset translation template for the file with intention based on the corresponding relationship between the field information and the translation corresponding relationship if the corresponding field information is included.
In this embodiment, the translation correspondence is a conversion relationship between north-order and south-order, for example, receiving resource association information in a file with intention of north-order, and translating the resource association information into resource configuration information readable by management software or hardware of a third party equipment manufacturer. When the translation corresponding relation is updated, the corresponding preset translation template is correspondingly updated, and when the preset translation template is updated, the preset translation template of the previous version is reserved. Preferably, the updating includes operations of adding, deleting and checking, the translation correspondence is the basis of matching and translation, and the translation correspondence of each type of preset translation template supports the operations of editing at any time, namely adding, deleting and checking, so that the current work is not affected when the translation correspondence of the preset translation template is edited, the translation correspondence has the copy expansion capability, copies of a plurality of preset translation templates can be simultaneously saved, and the copies are distinguished by a naming mode and a default use state, namely, the preset translation templates of all versions are saved.
The translation unit 230 extracts the intention included in the file having the intention based on the translation correspondence of the matched preset translation template.
The following describes the arrangement of the power network according to the present invention with reference to fig. 6, and the step arrangement module 300 specifically includes:
the determining unit 310 is configured to determine a southbound of the computing power to be subjected to the computing power resource allocation based on the intention. The intent will indicate that the computing power is north-bound to the requested computing power south-bound, i.e., the requested computing power infrastructure.
An obtaining unit 320 is configured to obtain remaining computing power resource information of the computing power southward direction to be computing power resource allocation.
The second judging unit 330 is configured to judge whether the remaining computing power resource information satisfies the intention based on a preset rule of the computing power southbound to which the computing power resource allocation is to be performed. In the apparatus, the preset rules include preset interface data rules and preset service rules.
The first orchestration unit 340 is configured to send, when satisfied, whether the intent is to be sent to a southbound of the computing power to be assigned the computing power resource, and the southbound of the computing power to be assigned the computing power resource is assigned the northbound of the computing power based on the intent and the remaining computing power resource information.
The second arranging unit 350 is configured to generate feedback information when the feedback information is not satisfied, where the feedback information is used to indicate that the computing power resource in the southward direction of the computing power cannot satisfy the service request in the northbound direction of the computing power, and it should be noted that the feedback information may be displayed through the presentation layer.
The verification layer of the power management software/system of the device receives the translated orchestration file, namely the data of the service request, checks the north-oriented (cloud) service request data according to the interface data rule and the service rule of the adaptation layer, compares the service request data (comprising a resource demand field) with the stored current power resource information, if the power resource can meet the power north-oriented intention, the power resource is downwards transmitted to the corresponding power south-oriented, if the power resource can not meet the power north-oriented intention, feedback information is generated, the feedback information does not meet the feedback information, the presentation layer reflects the information, in the process, the power resource information synchronizes the heterogeneous power resource data of the main synchronous power infrastructure, and the data model can refer to the CMDB of the multi-cloud environment.
Fig. 7 illustrates a physical schematic diagram of an electronic device, as shown in fig. 7, which may include: processor 810, communication interface (Communications Interface) 820, memory 830, and communication bus 840, wherein processor 810, communication interface 820, memory 830 accomplish communication with each other through communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a orchestration method of a computing power network, the method comprising the steps of:
s100, acquiring files with intention in north direction of calculation force; wherein the intent characterizes service request data;
s200, when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
s300, judging whether the intention is sent to the southward direction of the power, based on a preset rule of the southward direction of the power and the residual power resource information, and if yes, distributing the power resource to the northbound direction of the power by the southward direction of the power based on the received intention and the residual power resource information.
Further, the logic instructions in the memory 830 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of performing a method of orchestrating a computational network provided by the methods described above, the method comprising the steps of:
s100, acquiring files with intention in north direction of calculation force; wherein the intent characterizes service request data;
s200, when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
s300, judging whether the intention is sent to the southward direction of the power, based on a preset rule of the southward direction of the power and the residual power resource information, and if yes, distributing the power resource to the northbound direction of the power by the southward direction of the power based on the received intention and the residual power resource information.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a method of orchestrating a computing network provided by the above methods, the method comprising the steps of:
s100, acquiring files with intention in north direction of calculation force; wherein the intent characterizes service request data;
s200, when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
s300, judging whether the intention is sent to the southward direction of the power, based on a preset rule of the southward direction of the power and the residual power resource information, and if yes, distributing the power resource to the northbound direction of the power by the southward direction of the power based on the received intention and the residual power resource information.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method of orchestrating a power network, comprising the steps of:
acquiring files with intention in north direction of computing power; wherein the intent characterizes service request data;
when the file with the intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with the intention, and extracting the intention contained in the file with the intention based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
judging whether the intention is sent to the southward direction of the power, based on a preset rule of the southward direction of the power and the residual power resource information, and if yes, distributing power resources to the northbound direction of the power by the southward direction of the power based on the received intention and the residual power resource information;
when the file with intention meets the preset arrangement condition, matching a preset translation template in a preset translation library based on field information of the file with intention, and extracting the intention contained in the file with intention based on the matched preset translation template, wherein the method specifically comprises the following steps of:
judging whether the file with intention contains the field information corresponding to the translation corresponding relation of one type of the preset translation templates in the preset translation library; each type of preset translation templates has a unique corresponding translation corresponding relation, and the translation corresponding relations of different preset translation templates are different;
if the file with the intention is included, matching the preset translation template for the file with the intention based on the corresponding relation between the field information and the translation corresponding relation;
and extracting the intention contained in the file with the intention based on the translation corresponding relation of the matched preset translation template.
2. The method according to claim 1, wherein in the step of determining whether the file with intent includes the field information corresponding to the translation correspondence of one type of the preset translation templates in the preset translation library, the translation correspondence is a conversion relationship between north-order and south-order; when the translation corresponding relation is updated, the corresponding preset translation template is correspondingly updated, and when the preset translation template is updated, the preset translation template of the previous version is reserved.
3. The method for arranging a power network according to claim 1, wherein the determining whether the intention is sent to the power south direction based on the preset rule of the power south direction and the remaining power resource information, and if yes, allocating the power resource to the power north direction based on the received intention and the remaining power resource information by the power south direction specifically comprises the following steps:
determining a southbound of computing power to be distributed on the basis of the intention;
acquiring the remaining computing power resource information of the computing power southbound to be subjected to computing power resource allocation;
judging whether the residual computing power resource information meets the intention or not based on the preset rule of the computing power southbound to be subjected to computing power resource allocation; the preset rules comprise preset interface data rules and preset service rules;
and when the intention is satisfied, sending the intention to the southward direction of the computing power to be subjected to computing power resource allocation, and allocating computing power resources to the northbound direction of the computing power to be subjected to computing power resource allocation based on the intention and the residual computing power resource information.
4. A method of orchestration of a power network according to claim 3, wherein the determining whether the intent is sent to the power southbound direction based on the power southbound preset rule and the remaining power resource information, and if yes, the power southbound allocating power resources for the power northbound based on the intent and the remaining power resource information received, further comprises the steps of:
when the feedback information is not satisfied, generating feedback information; the feedback information is used for indicating that the north-south computing power resource cannot meet the north-north computing power service request.
5. The method according to claim 1, wherein in the step of obtaining files with intention in north of the computing power, the files with intention include a combination file and a package file of a service level agreement description.
6. An orchestration device for a computing network, comprising:
the acquisition module is used for acquiring files with intention in north direction of calculation force; wherein the intent characterizes service request data;
a translation module, configured to, when it is determined that the file with intent can be arranged, match a preset translation template in a preset translation library based on field information of the file with intent, and extract the intent included in the file with intent based on the matched preset translation template; wherein, at least one type of preset translation templates are stored in the preset translation library;
the arrangement module is used for judging whether the intention is sent to the southward direction of the power and the residual power resource information based on a preset rule of the southward direction of the power, and if yes, the southward direction of the power allocates power resources to the northbound direction of the power based on the received intention and the residual power resource information;
the translation module specifically comprises:
the first judging unit is used for judging whether the file with the intention contains field information corresponding to the translation corresponding relation of one type of preset translation templates in the preset translation library; each type of preset translation templates has a unique corresponding translation corresponding relation, and the translation corresponding relations of different preset translation templates are different;
the matching unit is used for matching a preset translation template for the file with intention based on the corresponding relation between the field information and the translation corresponding relation if the corresponding field information is contained;
and the translation unit is used for extracting the intention contained in the file with the intention based on the translation corresponding relation of the matched preset translation template.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the orchestration method of the computing network according to any one of claims 1 to 5 when the program is executed.
8. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the orchestration method of the power network according to any one of claims 1 to 5.
CN202210138328.4A 2022-02-15 2022-02-15 Method, device, equipment and product for arranging calculation network Active CN114666330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210138328.4A CN114666330B (en) 2022-02-15 2022-02-15 Method, device, equipment and product for arranging calculation network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210138328.4A CN114666330B (en) 2022-02-15 2022-02-15 Method, device, equipment and product for arranging calculation network

Publications (2)

Publication Number Publication Date
CN114666330A CN114666330A (en) 2022-06-24
CN114666330B true CN114666330B (en) 2024-02-06

Family

ID=82028112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210138328.4A Active CN114666330B (en) 2022-02-15 2022-02-15 Method, device, equipment and product for arranging calculation network

Country Status (1)

Country Link
CN (1) CN114666330B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109245916A (en) * 2018-08-15 2019-01-18 西安电子科技大学 A kind of the cloud access net system and method for intention driving
CN112887121A (en) * 2019-11-29 2021-06-01 北京华为数字技术有限公司 Method, equipment and system for managing network service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9448992B2 (en) * 2013-06-04 2016-09-20 Google Inc. Natural language search results for intent queries
US20190052643A1 (en) * 2016-02-11 2019-02-14 Hewlett Packard Enterprise Development Lp Cloud access rule translation for hybrid cloud computing environments

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109245916A (en) * 2018-08-15 2019-01-18 西安电子科技大学 A kind of the cloud access net system and method for intention driving
CN112887121A (en) * 2019-11-29 2021-06-01 北京华为数字技术有限公司 Method, equipment and system for managing network service

Also Published As

Publication number Publication date
CN114666330A (en) 2022-06-24

Similar Documents

Publication Publication Date Title
US20210124576A1 (en) System and Method for Automated Microservice Source Code Generation and Deployment
US9485134B2 (en) Managing configurations of system management agents in a distributed environment
US11088914B2 (en) Migrating a monolithic software application to a microservices architecture
US8578371B2 (en) Software distribution method and system with automatic prerequisite installation
US8527980B2 (en) System and method for automatically upgrading functionalities in a distributed network
US10447814B2 (en) Joint servicing of software packages
CN111984269B (en) Method for providing application construction service and application construction platform
CN110365502A (en) A kind of method, apparatus and storage medium of service upgrade management
US20050262501A1 (en) Software distribution method and system supporting configuration management
CN109547509B (en) Cross-platform deployment method and system
JP2013522769A (en) Virtual machine image update service
CN111324571A (en) Container cluster management method, device and system
CN112333096A (en) Micro-service traffic scheduling method and related components
CN110276074B (en) Distributed training method, device, equipment and storage medium for natural language processing
CN111984270A (en) Application deployment method and system
US20210367846A1 (en) Methods and apparatus to implement cloud specific functionality in a cloud agnostic system
CN113645262A (en) Cloud computing service system and method
WO2023130978A1 (en) System and method for calling resource service application from digital middle office of enterprise
CN112035123A (en) Method for realizing no server based on kubernets platform
CN113204368B (en) Application processing method, server and storage medium
CN114666330B (en) Method, device, equipment and product for arranging calculation network
US20130346962A1 (en) Mechanism and system for deploying software over clouds
CN105592130A (en) Service deployment method and device, and service management method
CN110620754B (en) NF (NF) required resource deployment method and device, storage medium and electronic device
CN115167874B (en) Automatic driving software mirror image deployment method and device, electronic equipment and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant