CN109657471B - Cloud equipment management system and method - Google Patents

Cloud equipment management system and method Download PDF

Info

Publication number
CN109657471B
CN109657471B CN201710943742.1A CN201710943742A CN109657471B CN 109657471 B CN109657471 B CN 109657471B CN 201710943742 A CN201710943742 A CN 201710943742A CN 109657471 B CN109657471 B CN 109657471B
Authority
CN
China
Prior art keywords
board card
type
data processing
control module
physical
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
CN201710943742.1A
Other languages
Chinese (zh)
Other versions
CN109657471A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710943742.1A priority Critical patent/CN109657471B/en
Publication of CN109657471A publication Critical patent/CN109657471A/en
Application granted granted Critical
Publication of CN109657471B publication Critical patent/CN109657471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/76Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information in application-specific integrated circuits [ASIC] or field-programmable devices, e.g. field-programmable gate arrays [FPGA] or programmable logic devices [PLD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45587Isolation or security of virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention discloses a cloud equipment management system and a cloud equipment management method. Wherein, this cloud equipment management system includes: the data processing board card is accessed to the corresponding virtual machine through the first type of physical function unit and is used for data interaction with the virtual machine; the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit and is used for managing the data processing board card through the control module. The invention solves the technical problem of insecurity caused by the control operation of each physical function PF by the user in the prior art.

Description

Cloud equipment management system and method
Technical Field
The invention relates to the field of internet technology application, in particular to a cloud equipment management system and a cloud equipment management method.
Background
With the popularization of cloud technology, the requirement on cloud service computing is also improved, as a Field-Programmable Gate Array (FPGA) is a system structure of a heterogeneous computing platform, computing performance, energy efficiency ratio and computing real-time are improved through design means such as parallel and flow, and hardware acceleration processing is performed on applications; on the other hand, a cloud service mode is adopted to provide services with high added values for users, so that the users can focus on service integration and solution. The method saves many links such as hardware development board research and development and test while enjoying performance advantages, but the traditional mode leads a plurality of users to be forbidden due to high hardware development threshold, high cost and long time.
In recent years, with the continuous development of chip process, the performance of the FPGA is also continuously improved, and the FPGA has the capabilities of ultralow delay, high throughput and quick response, and is widely used in the fields of genes, big data, artificial intelligence, finance and the like.
In a Field-Programmable Gate Array (FPGA) cloud product, a platform provider provides an FPGA board card on a physical Machine NC to a customer for use through a Virtual Machine (VM). Each NC may have one or more FPGA boards, and may also have one or more virtual machines. Because the NC is very easily influenced during the development of the FPGA, each physical function PF is in the same virtual machine or the same physical machine in the same domain, and a user easily causes a physical crash or accesses data of other users and destroys firmware of the FPGA by controlling and operating each PF, there is a very serious potential safety hazard in the process of developing the FPGA in the prior art because each NC may have a plurality of clients.
In view of the above-mentioned insecurity problem caused by the user through the control operation of each physical function PF in the prior art, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a cloud equipment management system and a cloud equipment management method, which at least solve the technical problem of insecurity caused by the control operation of each physical function PF by a user in the prior art.
According to an aspect of an embodiment of the present invention, there is provided a cloud device management system including: the data processing board card is accessed to the corresponding virtual machine through the first type of physical function unit and is used for data interaction with the virtual machine; the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit and is used for managing the data processing board card through the control module.
Optionally, the data processing board card includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: the physical functional units are managed.
Further, optionally, the field programmable gate array board card is accessed to the corresponding virtual machine through the user physical function unit, and is used for performing data interaction with the virtual machine.
Optionally, the field programmable gate array board cards are configured corresponding to at least one virtual machine respectively.
Optionally, the field programmable gate array board card is accessed to the control module through the management physical function unit, and is used for managing the field programmable gate array board card through the control module.
According to another aspect of the embodiments of the present invention, there is also provided a cloud device management method, including: the data processing board is accessed to the corresponding virtual machine through the first type physical function unit to carry out data interaction; and the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit, so that the control module controls the data processing board card according to the control program.
Optionally, the data processing board card includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: the physical functional units are managed.
Further, optionally, accessing the data processing board card to the corresponding virtual machine through the first type of physical function unit to perform data interaction includes: performing data interaction with the field programmable gate array board card through the user physical function unit according to a host program received by the virtual machine; wherein, the host program comprises: pre-stored programs and or user-entered programs.
Optionally, the data processing board card is accessed to the control module through the second type of physical function unit, so that the control module controls the data processing board card according to the control program, and the control module includes: and the control module manages the field programmable gate array board card through the management physical function unit.
Further, optionally, the step of managing, by the control module, the field programmable gate array board card through the management physical function unit includes: and performing partial reconfiguration on the field programmable gate array board card, updating firmware control logic in the field programmable gate array board card, or setting the clock frequency of an accelerator functional unit.
According to still another aspect of the embodiments of the present invention, there is also provided a terminal including: a processor; the memory is connected with the processor and is used for accessing the data processing board card to the corresponding virtual machine through the first type of physical function unit for data interaction; and the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit, so that the control module controls the data processing board card according to the control program.
According to an aspect of another embodiment of the present invention, a storage medium is further provided, where the storage medium includes a stored program, and when the program runs, the device where the storage medium is located is controlled to execute the cloud device management method.
According to an aspect of another embodiment of the present invention, a processor is further provided, where the processor is configured to execute a program, and the program executes the cloud device management method when running.
In the embodiment of the invention, the data processing board is accessed to the corresponding virtual machine through the first type of physical function unit and is used for data interaction with the virtual machine; the data processing board card is accessed to the control module in the virtual machine through the second type physical function unit and used for managing the data processing board card through the control module, and the purpose of safety problems caused by direct access of users to the management PF is achieved, so that the cloud platform is safely operated, the technical effect of maintenance and management of a cloud platform service provider is facilitated, and the technical problem of insecurity caused by control operation of each physical function PF by users in the prior art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a structural diagram of a cloud device management system according to a first embodiment of the present invention;
fig. 2 is a structural diagram of a cloud device management system according to a first embodiment of the present invention;
fig. 3 is a block diagram of a hardware structure of a computer terminal of a cloud device management method according to an embodiment of the present invention;
fig. 4 is a flowchart of a cloud device management method according to a second embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical terms provided by the application are as follows:
PF: physical Functions, physical Functions;
FPGA: field-Programmable Gate Array;
VM: virtual Machine, virtual Machine.
Example 1
The application provides a cloud device management system as shown in fig. 1. Fig. 1 is a structural diagram of a cloud device management system according to a first embodiment of the present invention.
The data processing board 12 is accessed to the corresponding virtual machine 14 through the first type of physical functional unit, and is used for performing data interaction with the virtual machine 14; the data processing board 12 is accessed to the control module 16 in the virtual machine through the second type of physical function unit, and is used for managing the data processing board through the control module 16.
Specifically, data processing integrated circuit board 12 among the cloud equipment management system that this application provided can be the FPGA integrated circuit board, wherein, every FPGA integrated circuit board can be according to self data computing capacity distribution connection at least one virtual machine 14, be different from prior art, user Usr PF is connected with corresponding virtual machine 14 respectively in every FPGA's PF in the cloud equipment management system that this application provided, FPGA's management Mgmt PF is connected with control module 16, the separation of Usr PF and Mgmt PF has been realized, avoided because user through the control operation to every physical function PF in the prior art, the safety problem that leads to. The first type of physical functional unit in this application may include: usr PF, a second type of physical functional unit may include: mgmt PF. Here, the control module 16 may be a management module constructed in the virtual machine 14 or on the same cloud platform as the virtual machine 14, and configured to manage each FPGA board through Mgmt PF, or a management device on the cloud platform, where the management device may be a device controlled by a cloud platform provider, so that the limited operation resources and storage resources of the virtual machine or the cloud platform are not occupied by independent operation capability and storage capability.
Two PCIe PFs (physical function, PF for short) are used in the FPGA to provide services, and manage a PF (i.e., mgmt PF) and a user PF (i.e., usr PF). The management PF realizes the management and control functions of the partially programmable area, such as partially programmable programming and debugging functions. The PF of the user realizes data interaction between the application and the FPGA, and realizes the function of accelerating the host application by the logic of the user-defined property right in a Partial Reconfiguration PR (Partial Reconfiguration, referred to as PR for short) area.
Through the separation with Usr PF and Mgmt PF, avoid the user to visit the safety problem that management PF brought, and be connected Mgmt PF with control module 16, through control module 16 to FPGA's management, made things convenient for the management of platform to FPGA.
In the embodiment of the invention, the data processing board is accessed to the corresponding virtual machine through the first type of physical function unit and is used for data interaction with the virtual machine; the data processing board card is accessed to the control module in the virtual machine through the second type physical function unit and used for managing the data processing board card through the control module, and the purpose of safety problems caused by direct access of users to the management PF is achieved, so that the cloud platform is safely operated, the technical effect of maintenance and management of a cloud platform service provider is facilitated, and the technical problem of insecurity caused by control operation of each physical function PF by users in the prior art is solved.
Specifically, fig. 2 is a structural diagram of a cloud device management system according to an embodiment of the present invention, and as shown in fig. 2, the cloud device management system provided in the present application specifically includes:
optionally, the data processing board card includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: the physical functional units are managed.
Further, optionally, the field programmable gate array board card is accessed to the corresponding virtual machine 14 through the user physical function unit, and is used for performing data interaction with the virtual machine 14.
Optionally, the field programmable gate array boards are configured to correspond to the at least one virtual machine 14, respectively. Each FPGA card can be connected to at least one virtual machine 14 according to its own data computation capability.
Optionally, the field programmable gate array board card is accessed to the control module 16 through a management physical function unit, and is used for managing the field programmable gate array board card through the control module 16.
Specifically, as shown in fig. 2, each FPGA (e.g., FPGA0 and FPGA1 in fig. 2) has two PFs, one Usr PF (i.e., the user physical function unit provided in this application) and one Mgmt PF (i.e., the management physical function unit provided in this application). The user PF is used for a host program of a user to perform data interaction with an FPGA in a virtual machine (as shown in fig. 2, VM0 and VM 1), the Mgmt PF is used for managing the FPGA, for example, partial Reconfiguration (PR for short), updating a firmware shell (for example, firmware in the FPGA, which is referred to herein as logic of a relevant part of the FPGA on a physical interface (PCIe, DDR, network, etc.), and being not user-modifiable), and setting a clock frequency (AFU for user-programmable logic) of A Functional Unit (AFU) of an Accelerator. According to the cloud equipment management method, the Usr PF is directly communicated to the virtual machine of the client, and then the Mgmt PF is uniformly managed for the manager on the NC. Therefore, data and management are isolated, a user can only interact data with the FPGA, and management is controlled by a cloud platform provider.
After the cloud equipment management system provided by the application introduces the double-PF separation structure, the PF of the user is directly communicated to the virtual machine, the management PF is left in the NC, and the user cannot directly access the management PF. The safety problem caused by the fact that a user can access the management PF is avoided, the cloud equipment management system provided by the application can solve the safety problem caused by the fact that the user directly accesses the management PF, and management of the platform on the FPGA is facilitated.
In addition, a control module 16 is mapped on the cloud platform through the physical machine, wherein the control module 16 and the virtual machine 14 are respectively allocated with a management physical function unit and a user physical function unit of the data processing board 12, the data processing board 12 is accessed to the control module 16 through the management physical function unit, and the data processing board 12 is accessed to the virtual machine 14 through the user physical function unit.
The data processing board card comprises: the first type of physical functional unit in the FPGA board card of this application can include: usrPF, the second type of physical functional unit may include: mgmt PF. The control module may be a management device mapped at the cloud end of the physical machine 32, and in this case, the management device may be a device controlled by a cloud platform provider.
According to the cloud equipment management system, the control module is set to be the virtual terminal equipment in the control authority of the physical machine 32, the cost for arranging entity equipment is saved in the whole cloud equipment management system (the cost needs to be supplemented, if the function of the control module is realized by the virtual terminal equipment, the physical equipment corresponding to the virtual terminal equipment needs to have extremely high data operation capacity, and the point can be determined by a cloud platform provider or a customer requirement of customized service), and in addition, the separation of Usr PF and MgmtPF is realized based on the above, and the safety problem caused by the fact that a user can access the management PF is avoided.
It should be noted that, the cloud device management system according to the embodiment of the present application is only described in the above case that the cloud device management system is applicable to PCIE devices, and particularly, an FPGA board card is built in the PCIE devices, so that the cloud device management system according to the present application is implemented, and is not particularly limited.
Example 2
There is also provided, in accordance with an embodiment of the present invention, an embodiment of a cloud device management method, it should be noted that the steps illustrated in the flowchart of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be executed in an order different from that described herein.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the operation on a computer terminal as an example, fig. 3 is a hardware structure block diagram of a computer terminal of the cloud device management method according to the embodiment of the present invention. As shown in fig. 3, the computer terminal 30 may include one or more (only one shown) processors 302 (the processors 302 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 304 for storing data, and a transmission device 306 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 3 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computer terminal 30 may also include more or fewer components than shown in FIG. 3, or have a different configuration than shown in FIG. 3.
The memory 304 may be used to store software programs and modules of application software, such as program instructions/modules corresponding to the cloud device management method in the embodiment of the present invention, and the processor 302 executes various functional applications and data processing by running the software programs and modules stored in the memory 304, that is, implementing the cloud device management method of the application program. The memory 304 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 304 may further include memory located remotely from the processor 302, which may be connected to the computer terminal 30 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 306 is used for receiving or sending data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission device 306 includes a Network Interface Controller (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 306 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the foregoing operating environment, the present application provides a cloud device management method as shown in fig. 4. Fig. 4 is a flowchart of a cloud device management method according to a second embodiment of the present invention.
S402, accessing the data processing board card to a corresponding virtual machine through a first type physical function unit to perform data interaction;
step S404, the data processing board card is accessed to the control module in the virtual machine through the second type physical function unit, so that the control module controls the data processing board card according to the control program.
Specifically, corresponding to the cloud device management system provided in embodiment 1, based on the cloud device management system, in combination with steps S402 to S404, two PCIe PFs (physical function, PF for short) are used in the FPGA: management PF (namely Mgmt PF) and user PF (namely Usr PF) are separated, so that the safety problem caused by the fact that a user can access the management PF is avoided, the Mgmt PF is connected with the control module, and management of the platform on the FPGA is facilitated through the control module.
In the embodiment of the invention, the data processing board is accessed to the corresponding virtual machine through the first type of physical function unit to carry out data interaction; the data processing board card is accessed to the control module in the virtual machine through the second type physical function unit, so that the control module controls the data processing board card according to the control program, the purpose of safety problems caused by direct access and management of the PF by a user is achieved, the safe operation of the cloud platform is achieved, the technical effect of maintenance and management of a cloud platform service provider is facilitated, and the technical problem of insecurity caused by the fact that the user controls and operates each physical function PF in the prior art is solved.
Optionally, the data processing board card includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: the physical functional units are managed.
Further, optionally, the step S402 of accessing the data processing board to the corresponding virtual machine through the first type of physical function unit for data interaction includes:
step S4021, performing data interaction with the field programmable gate array board card through the user physical function unit according to the host program received by the virtual machine; wherein, the host program comprises: pre-stored programs and or user-entered programs.
Optionally, in step S404, the data processing board card is accessed to the control module through the second type of physical function unit, so that the control module controls the data processing board card according to the control program, and the control module includes: and the control module manages the field programmable gate array board card through the management physical function unit.
Further, optionally, the step S5041 of managing, by the control module through the management physical function unit, the field programmable gate array board card includes: and performing partial reconfiguration on the field programmable gate array board card, updating firmware control logic in the field programmable gate array board card, or setting the clock frequency of an accelerator functional unit.
Specifically, the cloud device management method provided by the present application specifically includes:
first, for an end point device (or, child node) (EP) device in a Peripheral Component interconnect express (PCIE for short), each Physical Function (PF) has its corresponding Bar space, and an upper layer user can only access its corresponding Bar space.
As shown in fig. 2 in embodiment 1, each FPGA has two PFs, one Usr PF (i.e., the user physical function unit provided by the present application) and one Mgmt PF (i.e., the management physical function unit provided by the present application). The user PF is used for interacting a host program of a user with an FPGA, the Mgmt PF is used for managing the FPGA, for example, partial Reconfiguration (PR for short), updating a firmware shell (for example, firmware in the FPGA, which refers to logic of relevant parts of the FPGA to a physical interface (PCIe, DDR, network, etc.), and not changeable by the user), and setting a clock frequency of an Accelerator function unit (AFU for short) (where the AFU is user programmable logic). According to the cloud equipment management method, the Usr PF is directly communicated to the virtual machine of the client, and then the Mgmt PF is uniformly managed for the manager on the NC. Therefore, data and management are isolated, a user can only interact data with the FPGA, and management is controlled by a cloud platform provider.
After the cloud equipment management method provided by the application introduces the double-PF separation structure, the PF of the user is directly communicated to the virtual machine, the management PF is left in the NC, and the user cannot directly access the management PF. The safety problem caused by the fact that a user can access the management PF is avoided, the cloud equipment management method provided by the application can solve the safety problem caused by the fact that the user directly accesses the management PF, and management of the platform on the FPGA is facilitated.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the description of the foregoing embodiments, it may be clearly understood by those skilled in the art that the cloud device management method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and may of course be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the present invention or portions thereof contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 3
According to still another aspect of the embodiments of the present invention, there is also provided a terminal including: a processor; the memory is connected with the processor and is used for accessing the data processing board card to the corresponding virtual machine for data interaction through the first type of physical function unit; and the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit, so that the control module controls the data processing board card according to the control program.
Example 4
According to an aspect of another embodiment of the present invention, a storage medium is further provided, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to execute the cloud device management method in embodiment 2.
Example 5
According to an aspect of another embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes the cloud device management method in embodiment 2.
Example 6
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store a program code executed by the cloud device management method provided in the first embodiment.
Optionally, in this embodiment, the storage medium may be located in any one of computer terminals in a computer terminal group in a computer network, or in any one of mobile terminals in a mobile terminal group.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the data processing board is accessed to a corresponding virtual machine through a first type physical function unit to carry out data interaction; and the data processing board card is accessed to the control module in the virtual machine through the second type of physical function unit, so that the control module controls the data processing board card according to the control program.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the data processing board card includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: the physical functional units are managed.
Further, optionally, in the present embodiment, the storage medium is configured to store program code for performing the following steps: the step of accessing the data processing board card to the corresponding virtual machine through the first type of physical function unit for data interaction comprises the following steps: performing data interaction with the field programmable gate array board card through the user physical function unit according to a host program received by the virtual machine; wherein, the host program comprises: pre-stored programs and or user-entered programs.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the data processing board card is accessed to the control module through the second type of physical function unit, so that the control module controls the data processing board card according to the control program, and the control module comprises: and the control module manages the field programmable gate array board card through the management physical function unit.
Further optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: the control module manages the field programmable gate array board card through the management physical function unit, and the management comprises the following steps: and performing partial reconfiguration on the field programmable gate array board card, updating firmware control logic in the field programmable gate array board card, or setting the clock frequency of an accelerator functional unit.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A cloud device management system, comprising:
the data processing board is accessed to the corresponding virtual machine through the first type physical function unit and is used for carrying out data interaction with the virtual machine;
the data processing board card is accessed to a control module in the virtual machine through a second type of physical function unit and used for managing the data processing board card through the control module;
wherein, the data processing integrated circuit board includes: a field programmable gate array board card; the first type physical function unit comprises: a user physical function unit; the second type of physical functional unit comprises: managing a physical functional unit;
the field programmable gate array board card is accessed to the control module through the management physical function unit and is used for managing the field programmable gate array board card through the control module;
wherein the first type of physical functional unit and the second type of physical functional unit are separate from each other.
2. The cloud device management system of claim 1, wherein the field programmable gate array board card accesses the corresponding virtual machine through the user physical function unit, and is configured to perform data interaction with the virtual machine.
3. The cloud device management system of claim 2, wherein the field programmable gate array boards are respectively configured to correspond to at least one virtual machine.
4. A cloud device management method, comprising:
the data processing board is accessed to a corresponding virtual machine through a first type physical function unit to carry out data interaction;
the data processing board card is accessed to a control module in the virtual machine through a second type of physical function unit, so that the control module controls the data processing board card according to a control program;
wherein, the data processing integrated circuit board includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: managing a physical functional unit;
wherein, the accessing of the data processing board card to the control module through the second type of physical function unit enables the control module to control the data processing board card according to the control program, and the accessing of the data processing board card to the control module includes: the control module manages the field programmable gate array board card through the management physical function unit;
wherein the first type of physical functional unit and the second type of physical functional unit are separated from each other.
5. The cloud device management method of claim 4, wherein the accessing of the data processing board to the corresponding virtual machine through the first type of physical function unit for data interaction comprises:
according to a host program received by the virtual machine, performing data interaction with the field programmable gate array board card through the user physical function unit; wherein the host program comprises: pre-stored programs and or user-entered programs.
6. The cloud device management method according to claim 4, wherein the step of the control module managing the field programmable gate array board card through the management physical function unit includes: and carrying out partial reconfiguration on the field programmable gate array board card, updating firmware control logic in the field programmable gate array board card, or setting the clock frequency of an accelerator functional unit.
7. A terminal, characterized in that the terminal comprises:
a processor; and
the memory is connected with the processor and is used for accessing the data processing board card to the corresponding virtual machine through the first type of physical function unit for data interaction; the data processing board card is accessed to a control module in the virtual machine through a second type of physical function unit, so that the control module controls the data processing board card according to a control program;
wherein, the data processing integrated circuit board includes: a field programmable gate array board card; the first type of physical functional unit comprises: a user physical function unit; the second type of physical functional unit comprises: managing a physical functional unit;
the field programmable gate array board card is accessed to the control module through the management physical function unit and is used for managing the field programmable gate array board card through the control module;
wherein the first type of physical functional unit and the second type of physical functional unit are separated from each other.
8. A storage medium, characterized in that the storage medium includes a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the cloud device management method according to any one of claims 4 to 6.
9. A processor, configured to execute a program, wherein the program executes the cloud device management method according to any one of claims 4 to 6.
CN201710943742.1A 2017-10-11 2017-10-11 Cloud equipment management system and method Active CN109657471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710943742.1A CN109657471B (en) 2017-10-11 2017-10-11 Cloud equipment management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710943742.1A CN109657471B (en) 2017-10-11 2017-10-11 Cloud equipment management system and method

Publications (2)

Publication Number Publication Date
CN109657471A CN109657471A (en) 2019-04-19
CN109657471B true CN109657471B (en) 2023-02-28

Family

ID=66109676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710943742.1A Active CN109657471B (en) 2017-10-11 2017-10-11 Cloud equipment management system and method

Country Status (1)

Country Link
CN (1) CN109657471B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111209086A (en) * 2020-01-13 2020-05-29 山东超越数控电子股份有限公司 Bare metal virtualization implementation method based on autonomous platform

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520738A (en) * 2008-02-27 2009-09-02 黄歆媚 Virtual machine system based on the management technology of equipment access storage and equipment access control method thereof
CN101719873A (en) * 2009-12-11 2010-06-02 曙光信息产业(北京)有限公司 Kilomega virtual network card
CN102576349A (en) * 2009-08-18 2012-07-11 弗森-艾奥公司 Communicating between host computers and peripheral resources in an input/output (I/O) virtualization system
CN102591702A (en) * 2011-12-31 2012-07-18 华为技术有限公司 Virtualization processing method, related device and computer system
CN102946366A (en) * 2012-11-12 2013-02-27 杭州华为数字技术有限公司 In-band management method and system
CN106095563A (en) * 2015-04-27 2016-11-09 阿尔特拉公司 Physical function and virtual functions map flexibly
CN106537340A (en) * 2014-07-16 2017-03-22 戴尔产品有限公司 Input/output acceleration device and method for virtualized information handling systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103810B2 (en) * 2008-05-05 2012-01-24 International Business Machines Corporation Native and non-native I/O virtualization in a single adapter
US8880771B2 (en) * 2012-10-25 2014-11-04 Plx Technology, Inc. Method and apparatus for securing and segregating host to host messaging on PCIe fabric
US9892037B2 (en) * 2014-12-29 2018-02-13 International Business Machines Corporation Efficient and secure direct storage device sharing in virtualized environments
US20170075706A1 (en) * 2015-09-16 2017-03-16 Red Hat Israel, Ltd. Using emulated input/output devices in virtual machine migration
US10048977B2 (en) * 2015-12-22 2018-08-14 Intel Corporation Methods and apparatus for multi-stage VM virtual network function and virtual service function chain acceleration for NFV and needs-based hardware acceleration
CN106959927B (en) * 2016-01-08 2020-08-25 阿里巴巴集团控股有限公司 Method and device for acquiring position information of logical partitions in virtual machine

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520738A (en) * 2008-02-27 2009-09-02 黄歆媚 Virtual machine system based on the management technology of equipment access storage and equipment access control method thereof
CN102576349A (en) * 2009-08-18 2012-07-11 弗森-艾奥公司 Communicating between host computers and peripheral resources in an input/output (I/O) virtualization system
CN101719873A (en) * 2009-12-11 2010-06-02 曙光信息产业(北京)有限公司 Kilomega virtual network card
CN102591702A (en) * 2011-12-31 2012-07-18 华为技术有限公司 Virtualization processing method, related device and computer system
CN102946366A (en) * 2012-11-12 2013-02-27 杭州华为数字技术有限公司 In-band management method and system
CN106537340A (en) * 2014-07-16 2017-03-22 戴尔产品有限公司 Input/output acceleration device and method for virtualized information handling systems
CN106095563A (en) * 2015-04-27 2016-11-09 阿尔特拉公司 Physical function and virtual functions map flexibly

Also Published As

Publication number Publication date
CN109657471A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
CN109845303B (en) Management method and management unit for network slices
CN103810020B (en) Virtual machine elastic telescopic method and device
KR101981334B1 (en) Mobile communication system and method applying distributed data packet handling
CN107807852B (en) Application program performance control method, device and computer readable storage medium
US11409819B2 (en) Method and device for recommending social user
CN109344126B (en) Method and device for processing map, storage medium and electronic device
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN109634720B (en) Method, system and device for sharing FPGA (field programmable Gate array) board card by multiple virtual machines
CN104216761A (en) Method for using shared device in device capable of operating two operation systems
CN106851779A (en) A kind of method and mobile terminal for recognizing access point and focus
DE102018118061A1 (en) VIRTUAL MACHINE MONITOR INTERRUPT SUPPORT FOR COMPUTER PROCESSING UNIT (CPU)
EP3702915B1 (en) Data processing method and device, storage medium, processor, and system
CN111984557A (en) Data processing method, device and system
CN114257551A (en) Distributed current limiting method and system and storage medium
CN114816738A (en) Method, device and equipment for determining calculation force node and computer readable storage medium
CN108022126A (en) Definite method, apparatus, server and the storage medium of prize drawing qualification
CN112596768A (en) Device updating method and device, storage medium and electronic device
CN109657471B (en) Cloud equipment management system and method
US9720852B2 (en) Universal serial bus (USB) key functioning as multiple USB keys so as to efficiently configure different types of hardware
CN107979863A (en) A kind of WiFi automatic connection methods, system and terminal device
CN105635312A (en) Method for realizing communication of multiple local area networks based on WinCE system and single network card
CN111683372A (en) Processing method and device of attribute information, processor and terminal
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
CN103077078A (en) Method of defining state transitions in a software and application control management object
CN111367648A (en) Resource allocation method and device

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