CN116827770A - Intelligent acceleration equipment management method, device, equipment and medium - Google Patents

Intelligent acceleration equipment management method, device, equipment and medium Download PDF

Info

Publication number
CN116827770A
CN116827770A CN202310773996.9A CN202310773996A CN116827770A CN 116827770 A CN116827770 A CN 116827770A CN 202310773996 A CN202310773996 A CN 202310773996A CN 116827770 A CN116827770 A CN 116827770A
Authority
CN
China
Prior art keywords
intelligent acceleration
intelligent
target
cloud host
created
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.)
Pending
Application number
CN202310773996.9A
Other languages
Chinese (zh)
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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data Technology 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202310773996.9A priority Critical patent/CN116827770A/en
Publication of CN116827770A publication Critical patent/CN116827770A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an intelligent acceleration equipment management method, a device, equipment and a medium, which relate to the technical field of computers and comprise the following steps: acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration device management component; aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from an intelligent acceleration equipment management component; according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, the target cloud host is obtained, and therefore the attribute resource information of each acceleration device is automatically obtained through target driving, intelligent acceleration device management is further achieved, the attribute resource information of the acceleration device does not need to be manually configured, management efficiency is improved, and configuration error rate is reduced.

Description

Intelligent acceleration equipment management method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for managing intelligent acceleration devices.
Background
The cloud host of the intelligent acceleration device is created by configuring attribute information such as PCIe (Peripheral Component Interconnect Express, bus and interface standard) address information, manufacturer, product number information and the like of the intelligent acceleration device and by configuring metadata of the specification of the cloud host, so that management of the intelligent acceleration device is realized. In the above process, the configuration is complicated, the manual operation is easy to make mistakes, and after the configuration is finished, services such as nova-computer (nova computing node), nova-schedule (mainly completing the dispatching and distributing task of the virtual machine instance), nova-api (portal of nova component, receiving and responding to the application program interface call of the client) and the like are required to be restarted to be effective, which is very unfavorable for the use of the client and the implementation personnel.
Therefore, in the process of managing the intelligent acceleration device, how to realize the creation of the cloud host without manually configuring the attribute resource information of the acceleration device, thereby improving the management efficiency and reducing the configuration error rate is a problem to be solved in the field.
Disclosure of Invention
In view of the above, the present application aims to provide a method, an apparatus, a device and a medium for managing an intelligent acceleration device, which can automatically obtain attribute resource information of the intelligent acceleration device in the process of managing the intelligent acceleration device, and further realize creation of a cloud host, thereby improving management efficiency and reducing configuration error rate, and the specific scheme is as follows:
in a first aspect, the application discloses an intelligent acceleration device management method, which comprises the following steps:
acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component;
and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
Optionally, the obtaining, by the target driver, attribute resource information of each intelligent acceleration device includes:
based on the target timing task, attribute resource information of each intelligent acceleration device is obtained through a target driver according to a preset time interval.
Optionally, the obtaining, for the creation request of the target cloud host to be created, request specification information of the intelligent acceleration device corresponding to the target cloud host to be created from the intelligent acceleration device management component includes:
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration equipment management component.
Optionally, the obtaining the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, which is collected through a request specification input interface, includes:
and acquiring the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through a request specification input interface.
Optionally, the obtaining the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, which is collected through a request specification input interface, includes:
and acquiring request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, wherein the request specification combination information is acquired through a request specification input interface.
Optionally, after the attribute resource information of each intelligent acceleration device is obtained through the target driver, the method further includes:
and storing the attribute resource information into a target database so as to display the attribute resource information through the target database.
Optionally, the creating, according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, the creating includes:
determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created;
screening the candidate hosts to obtain target hosts, and creating the target cloud hosts according to the target hosts.
In a second aspect, the present application discloses an intelligent acceleration device management apparatus, including:
the attribute resource information reporting module is used for acquiring attribute resource information of each intelligent acceleration device through the target drive and reporting the attribute resource information to the resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
the request specification information acquisition module is used for acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component aiming at the creation request of the target cloud host to be created;
and the cloud host creation module is used for creating and obtaining a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the intelligent acceleration equipment management method disclosed by the prior art.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program; the intelligent acceleration device management method disclosed in the foregoing is implemented when the computer program is executed by a processor.
It can be seen that the present application proposes an intelligent acceleration device management method, including: acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance; aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component; and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device. In summary, the application deploys the target driver in the intelligent acceleration device management component in advance, and then automatically acquires the attribute resource information of each acceleration device through the target driver, and the application can reduce the configuration error rate because the attribute resource information of the acceleration device is not required to be manually configured. Further, the method reports the attribute resource information to the resource management module, and then establishes the target cloud host according to the attribute resource information in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be established, so that the intelligent acceleration device is managed, and the management efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an intelligent acceleration device management method disclosed by the application;
FIG. 2 is a schematic diagram of attribute resource information of an intelligent acceleration device according to the present disclosure;
FIG. 3 is a flowchart of a specific intelligent acceleration device management method disclosed in the present application;
FIG. 4 is a flow chart of creating a cloud host in accordance with the present disclosure;
FIG. 5 is a schematic diagram of a device for managing intelligent acceleration equipment according to the present application;
fig. 6 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The cloud host of the intelligent acceleration device is created by configuring attribute information such as PCIe address information, manufacturer, product number information and the like of the intelligent acceleration device and by configuring metadata of the specification of the cloud host, so that the intelligent acceleration device is managed. The configuration in the process is complex, and the manual operation is easy to make mistakes, so that the use of customers and implementation personnel is not facilitated.
Therefore, the embodiment of the application provides an intelligent acceleration equipment management scheme, which can automatically acquire attribute resource information of intelligent acceleration equipment in the process of managing the intelligent acceleration equipment, and further realize the creation of a cloud host, thereby improving the management efficiency and reducing the configuration error rate.
The embodiment of the application discloses an intelligent acceleration equipment management method, which is shown in fig. 1 and comprises the following steps:
step S11: acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target driver is pre-deployed in the intelligent acceleration device management component.
It should be noted that the intelligent acceleration device includes, but is not limited to, an intelligent network card (SmartNIC, smart Network Interface Card), which is a flexible and programmable network card, is used in cooperation with a server, has a computing capability, releases the computing power of a CPU (central processing unit, central Processing Unit Processor), is responsible for offloading data processing functions related to the CPU in network, security and storage to a programmable hardware chip for execution, reduces consumption of the CPU, enables the server to more effectively run key application programs and operating systems, and optimizes the overall efficiency of service data processing.
It should be noted that the intelligent acceleration device management component may be a cyborg component in an OpenStack cloud platform, where the OpenStack cloud platform is a cloud computing management platform item based on OpenStack open source, and is a combination of a series of software open source items.
In this embodiment, taking an intelligent device management component as an example and an intelligent acceleration device as an example, firstly, a target driver (intel_smart nic_driver) is deployed in a cyborg-agent service (also referred to as a first service) in the cyborg component, where the target driver is used to obtain attribute resource information of the intelligent acceleration device, and for the target driver, there is an enabled_drivers=like_driver, and an intel_smart nic_driver; it should be noted that, when the attribute resource information of the intelligent acceleration device is acquired, the attribute resource information of each intelligent network card is acquired through the target driver according to a preset time interval based on the target timing task, specifically, the target driver intel_smart nic_driver acquires the attribute resource information of the intelligent network card on the host through the lspc i-nn|grep-i eth|grep-i Intel command every 60s based on the timing task of the oslo_service component, including the information of the name, type, manufacturer, product number, attribute, etc. of the network card device, as shown in fig. 2, fig. 2 is a schematic diagram of the attribute resource information acquired through the lspc i-nn|grep-i Eth grep-i Intel command.
After the attribute resource information is acquired, reporting the attribute resource information to a cyborg-conductor service (also called a second service), wherein the cyborg-conductor is responsible for accessing a database, updating the attribute resource into the database, displaying the attribute resource information through the database, reporting the attribute resource information to a resource management module (displacement), and displaying the cyborg through a cyborg-api (also called a third service), wherein the process is specifically shown in fig. 3.
Step S12: and aiming at the creation request of the target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component.
In this embodiment, for a creation request of a target cloud host to be created, request specification information of an intelligent acceleration device corresponding to the target cloud host to be created is obtained from the intelligent acceleration device management component, and specifically includes: aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration equipment management component. In a specific embodiment, the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through the request specification input interface, is acquired. By way of example, the single smart acceleration device may be the Intel smart NIC 10FB, specifically, for which the request specification information includes [ { "resources: smart NIC":1, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_10FB": "required" } ]. In a second specific embodiment, request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, which is acquired through a request specification input interface, is acquired. Illustratively, the plurality of smart acceleration devices may be devices of a plurality of different vendors, PRODUCT numbers, such as 1 Intel smart NIC 10FB and 2 Intel smart NIC 37d1, specifically, for which the request specification combination information includes [ { "resources: smart NIC":1, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_10FB": "required" }; { "resources: smart NIC":2, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_37D1": "required" } ]. It can be understood that the request specification information of the single intelligent accelerator or the request specification combination information of the plurality of intelligent accelerators is the request specification information input by the user through the request specification input interface.
Step S13: and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
In this embodiment, the creating, according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, the creating includes: determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created; screening the candidate hosts to obtain target hosts, and creating the target cloud hosts according to the target hosts. The other resource information in the resource management module includes, but is not limited to, information such as a CPU, a memory, a hard disk, and the like.
It can be seen that the present application proposes an intelligent acceleration device management method, including: acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance; aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component; and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device. In summary, the application deploys the target driver in the intelligent acceleration device management component in advance, and then automatically acquires the attribute resource information of each acceleration device through the target driver, and the application can reduce the configuration error rate because the attribute resource information of the acceleration device is not required to be manually configured. Further, the method reports the attribute resource information to the resource management module, and then establishes the target cloud host according to the attribute resource information in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be established, so that the intelligent acceleration device is managed, and the management efficiency is improved.
In a specific embodiment, the process of creating the target cloud host may specifically include:
configuring intelligent network card specification (flag), namely intelligent acceleration equipment specification, accelerator specification, specifically openstack flavor set smartNIC-property "acel device_profile= < profile_name >", further, creating intelligent network card cloud host, specifically openstack server create-flag smart nic-image smart-0.3.5-x86_64-uec-wait test-smart nic, referring to fig. 4, for a cloud host creation request of intelligent network card specification, acquiring combination information of accelerator specification from a cyborg component, further, acquiring candidate hosts from a resource management module, screening to obtain available hosts, and then creating the cloud hosts based on the combination information of accelerator specification and the available hosts. Binding an intelligent network card and a cloud host through a Nova computing node, sending a binding event to the Nova control node, monitoring an event state through the Nova computing node, sending a binding completion notification to the Nova computing node through the Nova control node, further sending a binding relationship to a cyborg component through the Nova computing node, generating a configuration file of the cloud host, and starting the cloud host.
Correspondingly, the embodiment of the application also discloses an intelligent acceleration equipment management device, which is shown in fig. 5, and comprises:
the attribute resource information reporting module 11 is configured to obtain attribute resource information of each intelligent acceleration device through a target driver, and report the attribute resource information to the resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
it should be noted that the intelligent acceleration device includes, but is not limited to, an intelligent network card, is a flexible programmable network card, is used in cooperation with a server, has computing power, releases the computing power of a CPU, is responsible for unloading data processing functions related to the CPU in network, security and storage to a programmable hardware chip for execution, reduces the consumption of the CPU, enables the server to more effectively run key application programs and operating systems, and optimizes the overall efficiency of service data processing.
It should be noted that the intelligent acceleration device management component may be a cyborg component in an OpenStack cloud platform, where the OpenStack cloud platform is a cloud computing management platform item based on OpenStack open source, and is a combination of a series of software open source items.
Taking an intelligent device management component as an example and an intelligent acceleration device as an example, firstly, deploying a target driver (intel_smart NIC_driver) in a cyborg-agent service in the cyborg component, wherein the target driver is used for acquiring attribute resource information of the intelligent acceleration device, and for the target driver, an enabled_drivers=false_driver exists; it should be noted that, when the attribute resource information of the intelligent acceleration device is acquired, the attribute resource information of each intelligent network card is acquired through the target driver according to a preset time interval based on the target timing task, specifically, the target driver intel_smart nic_driver acquires the attribute resource information of the intelligent network card on the host through the lspci-nn|grep-i eth|grep-i Intel command every 60s based on the timing task of the oslo_service component, including the information of the name, type, manufacturer, product number, attribute and the like of the network card device.
After the attribute resource information is acquired, reporting the attribute resource information to a cyborg-conductor service, wherein the cyborg-conductor is responsible for accessing a database, updating the attribute resource into the database, displaying the attribute resource information through the database, reporting the attribute resource information to a resource management module, and displaying the cyborg through a cyborg-api.
The request specification information acquisition module 12 is configured to acquire, from the intelligent acceleration device management component, request specification information of an intelligent acceleration device corresponding to a target cloud host to be created, for a creation request of the target cloud host to be created;
in this embodiment, for a creation request of a target cloud host to be created, request specification information of an intelligent acceleration device corresponding to the target cloud host to be created is obtained from the intelligent acceleration device management component, and specifically includes: aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration equipment management component. In a specific embodiment, the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through the request specification input interface, is acquired. By way of example, the single smart acceleration device may be the Intel smart NIC 10FB, specifically, for which the request specification information includes [ { "resources: smart NIC":1, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_10FB": "required" } ]. In a second specific embodiment, request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, which is acquired through a request specification input interface, is acquired. Illustratively, the plurality of smart acceleration devices may be devices of a plurality of different vendors, PRODUCT numbers, such as 1 Intel smart NIC 10FB and 2 Intel smart NIC 37d1, specifically, for which the request specification combination information includes [ { "resources: smart NIC":1, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_10FB": "required" }; { "resources: smart NIC":2, "tracks: CUSTOM_smart NIC_Intel": "required", "tracks: CUSTOM_GPU_PRODUCT_ID_37D1": "required" } ]. It can be understood that the request specification information of the single intelligent accelerator or the request specification combination information of the plurality of intelligent accelerators is the request specification information input by the user through the request specification input interface.
The cloud host creation module 13 is configured to create a target cloud host according to attribute resource information of each intelligent acceleration device in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, so as to implement management of the intelligent acceleration device.
In this embodiment, the creating, according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, the creating includes: determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created; screening the candidate hosts to obtain target hosts, and creating the target cloud hosts according to the target hosts. The other resource information in the resource management module includes, but is not limited to, information such as a CPU, a memory, a hard disk, and the like.
It can be seen that the present application proposes an intelligent acceleration device management apparatus, comprising: the attribute resource information reporting module is used for acquiring attribute resource information of each intelligent acceleration device through the target drive and reporting the attribute resource information to the resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance; the request specification information acquisition module is used for acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component aiming at the creation request of the target cloud host to be created; and the cloud host creation module is used for creating and obtaining a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device. In summary, the application deploys the target driver in the intelligent acceleration device management component in advance, and then automatically acquires the attribute resource information of each acceleration device through the target driver, and the application can reduce the configuration error rate because the attribute resource information of the acceleration device is not required to be manually configured. Further, the method reports the attribute resource information to the resource management module, and then establishes the target cloud host according to the attribute resource information in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be established, so that the intelligent acceleration device is managed, and the management efficiency is improved.
In some specific embodiments, the attribute resource information reporting module 11 may specifically include:
and the attribute resource information acquisition unit is used for acquiring the attribute resource information of each intelligent acceleration device through the target drive according to a preset time interval based on the target timing task.
In some specific embodiments, the request specification information obtaining module 12 may specifically include:
the request specification information acquisition unit is used for acquiring request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration device management component aiming at the creation request of the target cloud host to be created.
In some specific embodiments, the request specification information obtaining unit may specifically be configured to:
and acquiring the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through a request specification input interface.
In some specific embodiments, the request specification information obtaining unit may specifically be configured to:
and acquiring request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, wherein the request specification combination information is acquired through a request specification input interface.
In some embodiments, after the attribute resource information reporting module 11, the method further may further include:
and the information storage unit is used for storing the attribute resource information into a target database so as to display the attribute resource information through the target database.
In some specific embodiments, the cloud host creation module 13 may specifically include:
the candidate host creation unit is used for determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created;
and the target cloud host creation unit is used for screening the target host from the candidate hosts and creating the target cloud host according to the target host.
Further, the embodiment of the application also provides electronic equipment. Fig. 6 is a block diagram of an electronic device 20, according to an exemplary embodiment, and is not intended to limit the scope of use of the present application in any way.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component;
and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
based on the target timing task, attribute resource information of each intelligent acceleration device is obtained through a target driver according to a preset time interval.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration equipment management component.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through a request specification input interface.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
and acquiring request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, wherein the request specification combination information is acquired through a request specification input interface.
In some embodiments, the processor may further implement the following steps by executing the computer program stored in the memory:
and storing the attribute resource information into a target database so as to display the attribute resource information through the target database.
In some embodiments, the processor may specifically implement the following steps by executing the computer program stored in the memory:
determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created;
screening the candidate hosts to obtain target hosts, and creating the target cloud hosts according to the target hosts.
In this embodiment, the power supply 26 is used to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 24 is used for obtaining external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application needs, which is not limited herein.
The memory 22 may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, and the resources stored thereon may include the computer program 221, which may be stored in a temporary or permanent manner. The computer program 221 may further include a computer program for performing other specific tasks in addition to the computer program for performing the intelligent acceleration device management method performed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program; the intelligent acceleration device management method disclosed in the foregoing is implemented when the computer program is executed by a processor.
For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In the present disclosure, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between the embodiments refer to each other, that is, for the device disclosed in the embodiments, since the device corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant parts refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description of the method, the device, the equipment and the storage medium for managing the intelligent acceleration equipment provided by the application applies specific examples to describe the principle and the implementation of the application, and the description of the above examples is only used for helping to understand the method and the core idea of the application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. An intelligent acceleration device management method is characterized by comprising the following steps:
acquiring attribute resource information of each intelligent acceleration device through a target driver, and reporting the attribute resource information to a resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component;
and creating a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
2. The intelligent acceleration apparatus management method according to claim 1, wherein the obtaining, by the target driver, attribute resource information of each intelligent acceleration apparatus, comprises:
based on the target timing task, attribute resource information of each intelligent acceleration device is obtained through a target driver according to a preset time interval.
3. The intelligent acceleration apparatus management method according to claim 1, wherein the obtaining, for the creation request of the target cloud host to be created, request specification information of the intelligent acceleration apparatus corresponding to the target cloud host to be created from the intelligent acceleration apparatus management component includes:
aiming at a creation request of a target cloud host to be created, acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created, acquired through a request specification input interface, from the intelligent acceleration equipment management component.
4. The intelligent acceleration apparatus management method according to claim 3, wherein the obtaining the request specification information of the intelligent acceleration apparatus corresponding to the target cloud host to be created, collected through the request specification input interface, includes:
and acquiring the request specification information of the single intelligent acceleration device corresponding to the target cloud host to be created, which is acquired through a request specification input interface.
5. The intelligent acceleration apparatus management method according to claim 3, wherein the obtaining the request specification information of the intelligent acceleration apparatus corresponding to the target cloud host to be created, collected through the request specification input interface, includes:
and acquiring request specification combination information of a plurality of intelligent acceleration devices corresponding to the target cloud host to be created, wherein the request specification combination information is acquired through a request specification input interface.
6. The intelligent acceleration apparatus management method according to claim 1, wherein after the obtaining, by the target driver, the attribute resource information of each intelligent acceleration apparatus, further comprises:
and storing the attribute resource information into a target database so as to display the attribute resource information through the target database.
7. The method for managing intelligent acceleration devices according to any one of claims 1 to 6, wherein the creating, according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created, the target cloud host includes:
determining candidate hosts according to attribute resource information of each intelligent acceleration device in the resource management module, other resource information in the resource management module and request specification information of the intelligent acceleration device corresponding to the target cloud host to be created;
screening the candidate hosts to obtain target hosts, and creating the target cloud hosts according to the target hosts.
8. An intelligent acceleration device management apparatus, characterized by comprising:
the attribute resource information reporting module is used for acquiring attribute resource information of each intelligent acceleration device through the target drive and reporting the attribute resource information to the resource management module; the target drive is deployed in the intelligent acceleration equipment management component in advance;
the request specification information acquisition module is used for acquiring request specification information of intelligent acceleration equipment corresponding to the target cloud host to be created from the intelligent acceleration equipment management component aiming at the creation request of the target cloud host to be created;
and the cloud host creation module is used for creating and obtaining a target cloud host according to the attribute resource information of each intelligent acceleration device in the resource management module and the request specification information of the intelligent acceleration device corresponding to the target cloud host to be created so as to realize the management of the intelligent acceleration device.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the intelligent acceleration device management method of any one of claims 1 to 7.
10. A computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the intelligent acceleration device management method of any one of claims 1 to 7.
CN202310773996.9A 2023-06-28 2023-06-28 Intelligent acceleration equipment management method, device, equipment and medium Pending CN116827770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310773996.9A CN116827770A (en) 2023-06-28 2023-06-28 Intelligent acceleration equipment management method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310773996.9A CN116827770A (en) 2023-06-28 2023-06-28 Intelligent acceleration equipment management method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116827770A true CN116827770A (en) 2023-09-29

Family

ID=88125314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310773996.9A Pending CN116827770A (en) 2023-06-28 2023-06-28 Intelligent acceleration equipment management method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116827770A (en)

Similar Documents

Publication Publication Date Title
CN108874558B (en) Message subscription method of distributed transaction, electronic device and readable storage medium
CN110569298B (en) Data docking and visualization method and system
CN107908521A (en) A kind of monitoring method of container performance on the server performance and node being applied under cloud environment
CN105827428A (en) Management method and device of asset information
CN105915657B (en) Data synchronization method and device and client
CN111355622A (en) Container traffic monitoring method, system and computer readable storage medium
CN112148700A (en) Log data processing method and device, computer equipment and storage medium
CN110784377A (en) Method for uniformly managing cloud monitoring data in multi-cloud environment
CN112631911A (en) Automatic testing method and device, computer equipment and storage medium
US20220236983A1 (en) Computer Implementation Method for Software Architecture Analysis and Software Architecture Analysis Apparatus
CN115392501A (en) Data acquisition method and device, electronic equipment and storage medium
US20190140894A1 (en) System and method for enabling hybrid integration platform through runtime auto-scalable deployment model for varying integration
CN111339194A (en) Automatic scheduling method and device for middleware of database access layer
CN114489954A (en) Tenant creation method based on virtualization platform, tenant access method and equipment
US20140181701A1 (en) Model-Based User Interface
WO2016078326A1 (en) Method, apparatus and system for displaying names of virtual machine
CN108965403A (en) O&amp;M monitors establishment of connection method and terminal device
CN107045452B (en) Virtual machine scheduling method and device
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN116827770A (en) Intelligent acceleration equipment management method, device, equipment and medium
US20140172955A1 (en) Distributed mobile enterprise application platform
CN112114931B (en) Deep learning program configuration method and device, electronic equipment and storage medium
CN113687908A (en) PMEM virtual machine creation method, device, equipment and readable storage medium
CN108566293B (en) Electronic device, zk node information notification method, and storage medium
CN111324374A (en) Application program registration method and device based on application performance management system

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