CN111800506A - Edge computing node deployment method and related device - Google Patents

Edge computing node deployment method and related device Download PDF

Info

Publication number
CN111800506A
CN111800506A CN202010641178.XA CN202010641178A CN111800506A CN 111800506 A CN111800506 A CN 111800506A CN 202010641178 A CN202010641178 A CN 202010641178A CN 111800506 A CN111800506 A CN 111800506A
Authority
CN
China
Prior art keywords
edge computing
virtual machine
node
host
program
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.)
Granted
Application number
CN202010641178.XA
Other languages
Chinese (zh)
Other versions
CN111800506B (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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN202010641178.XA priority Critical patent/CN111800506B/en
Publication of CN111800506A publication Critical patent/CN111800506A/en
Application granted granted Critical
Publication of CN111800506B publication Critical patent/CN111800506B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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/45562Creating, deleting, cloning virtual machine instances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The application discloses a method for deploying edge computing nodes, which comprises the following steps: the host machine creates an edge computing virtual machine according to the acquired node configuration file; registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server; and deploying an edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes. The invention also discloses a computer device, an edge computing node deployment system, a computer readable storage medium and a computer program product. The technical scheme of the invention can deploy an edge computing node in the host machine to realize edge computing, and the node and the host machine are isolated from each other, so that hardware resources except the virtual machine cannot be occupied, and all hardware resources of the host machine are prevented from being monopolized.

Description

Edge computing node deployment method and related device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method for deploying an edge computing node, a computer apparatus, a system for deploying an edge computing node, a computer-readable storage medium, and a computer program product.
Background
With the continuous development of information technology, cloud computing technology has emerged. In the existing internet application, the dependence on hardware resources can be reduced through a cloud computing technology, and a server is moved to a cloud end. Further, in order to improve the computing power of the cloud computing platform, the application to the edge computing service is required. Therefore, with the development of edge devices and internet of things, more and more nodes begin to participate in cloud computing or edge computing services, such as a server, a personal PC, and a service node for cloud computing or edge computing, which does not utilize idle CPUs, bandwidths, and storage resources to provide services.
In the prior art, hardware equipment and resources in a service node are generally used in an edge computing or cloud computing process, which may cause performance resources of the hardware equipment to be monopolized, and equipment control right is completely given to a cloud computing or edge computing service user, which is not beneficial to the deployment of own services of a hardware equipment owner, and is poor in sharing.
Therefore, how to avoid the edge node to be exclusively accessed into the cloud computing or edge computing network is a key issue of attention of those skilled in the art.
Disclosure of Invention
The invention mainly aims to provide an edge computing node deployment method, a computer device, an edge computing node deployment system, a computer readable storage medium and a computer program product, aiming at solving the problem of how to access an edge node into an edge computing network more safely, conveniently and efficiently.
In order to achieve the above object, the present invention provides an edge computing node deployment method, including:
the host machine creates an edge computing virtual machine according to the acquired node configuration file;
registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server;
and deploying an edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes.
Preferably, the creating, by the host, the edge computing virtual machine according to the obtained node configuration file includes:
the host machine receives input configuration information through a web management system; the configuration information comprises a memory, a CPU, a storage path and a storage size;
saving the configuration information as the node configuration file;
and creating the edge computing virtual machine according to the node configuration file.
Preferably, creating the edge computing virtual machine according to the node configuration file includes:
sending the node configuration file to a virtual machine management program through a preset interface;
and controlling the virtual machine management program to execute virtual machine creation operation according to the configuration information in the node configuration file to obtain the edge computing virtual machine.
Preferably, creating the edge computing virtual machine according to the node configuration file includes:
the host machine judges whether a virtual machine program exists locally;
if so, controlling a virtual machine management program to create the edge computing virtual machine according to the node configuration file;
if not, downloading the target virtual machine program; and the control virtual machine management program creates the edge computing virtual machine according to the target virtual machine program and the node configuration file.
Preferably, the method further comprises the following steps:
before the host machine receives the unique identifier, the server calculates the unique identifier according to the integral scheduling information of the platform;
and sending the unique identification to the host machine.
Preferably, the method further comprises the following steps:
and collecting data of the edge computing service program, and uploading the data to the edge computing platform so as to monitor the edge computing nodes.
To achieve the above object, the present invention further provides a computer apparatus, which includes a memory and a processor, where the memory stores an edge computing node deployment program operable on the processor, and the edge computing node deployment program, when executed by the processor, implements the steps of the edge computing node deployment method as described above.
Preferably, the computer device is a node constituting a CDN network or a blockchain network.
In order to achieve the above object, the present invention further provides an edge computing node deployment system, including:
the virtual machine creating module is used for creating an edge computing virtual machine according to the acquired node configuration file;
the virtual machine activation module is used for registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server;
and the node deployment module is used for deploying the edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes.
To achieve the above object, the present invention further provides a computer-readable storage medium having stored thereon an edge computing node deployment program, which is executable by one or more processors to implement the steps of the edge computing node deployment method as described above.
To achieve the above object, the present invention also provides a computer program product comprising computer instructions which, when run on a computer, make the computer perform the steps of the above edge compute node deployment method.
The application provides an edge computing node deployment method, which comprises the following steps: the host machine creates an edge computing virtual machine according to the acquired node configuration file; registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server; and deploying an edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes.
Firstly, an edge computing virtual machine is created in a host machine according to a node configuration file corresponding to the host machine, then the edge computing virtual machine is registered to an edge computing platform through a unique identifier distributed by a server, instead of the host machine being integrally registered to the edge computing platform, and finally an edge computing service program is deployed to the edge computing virtual machine, so that the edge computing virtual machine has the function of the edge computing node, namely part of hardware of the host machine is deployed as the edge computing node, therefore, the edge computing is realized by deploying one edge computing node in the host machine through the virtual machine, the node and the host machine are isolated from each other, the hardware resources outside the virtual machine are not invaded, all the hardware resources exclusive of the host machine are avoided, and the virtual machine can be independently adjusted without considering the condition of the host machine, the management and control efficiency of the nodes is improved, and the edge nodes are accessed into the edge computing network more safely, conveniently and efficiently.
The computer device, the edge computing node deployment system, the computer readable storage medium and the computer program product provided by the present invention have the above advantages, which are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart of a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a process of creating a virtual machine according to a first embodiment of the present invention;
FIG. 3 is a schematic flow chart of a second embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating an internal structure of a computer device according to a first embodiment of the present invention;
fig. 5 is a block diagram of a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically 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.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
In the prior art, hardware equipment and resources in a service node are generally used in an edge computing or cloud computing process, which may cause performance resources of the hardware equipment to be monopolized, and equipment control right is completely given to a cloud computing or edge computing service user, which is not beneficial to the deployment of own services of a hardware equipment owner, and is poor in sharing.
Therefore, the present application provides an edge computing node deployment method, first creating an edge computing virtual machine in a host according to a node configuration file corresponding to the host, then registering the edge computing virtual machine in an edge computing platform through a unique identifier allocated by a server, instead of registering the host in the edge computing platform as a whole, and finally deploying an edge computing service program to the edge computing virtual machine, so that the edge computing virtual machine has a function of the edge computing node, that is, part of hardware of the host is deployed as the edge computing node, thus it is seen that an edge computing node is deployed in the host through the virtual machine, edge computing is realized, and the node and the host are isolated from each other, so that hardware resources outside the virtual machine are not occupied, and all hardware resources of the host are prevented from being monopolized, and the virtual machine can be independently adjusted without considering the condition of the host machine, so that the management and control efficiency of the nodes is improved, and the edge nodes are more safely, conveniently and efficiently accessed into the edge computing network.
Specifically, an edge computing node deployment method provided by the present application is described below by an embodiment.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of the present invention.
In a first embodiment, the method may comprise:
s101, a host machine creates an edge computing virtual machine according to an obtained node configuration file;
in this embodiment, the host computer is simply referred to as a host for convenience of description. In this step, the node configuration file may be obtained through input of a user. Specifically, after configuration information input by a user is acquired through a web management system in a host machine, the configuration information is stored to obtain a node configuration file, and then an edge computing virtual machine is created according to the node configuration file. The configuration file includes, but is not limited to, a memory, a CPU, a storage path, and a storage size.
The configuration of the edge computing virtual machine is controlled by the node configuration file. The configuration information in the node configuration file can be determined by the default configuration of the web management system, can also be determined by the web management system according to the preset proportion and the host configuration, and can also be determined by the information input by the user to the web management system. The node configuration file can affect the performance of the edge computing virtual machine, but the edge computing virtual machine is virtualized in the host machine generally, the hardware performance of the edge computing virtual machine has independence, the edge computing virtual machine is isolated from the host machine in data and does not affect the host machine, and the independent operation between the host machine and the virtual machine can be ensured.
The node configuration file may include the number of cores of the CPU of the virtual machine using the host, the size of the used storage space, and the like. For example, the processor of a PC is 8 cores and the memory space of the memory is 1 TB. When the PC is used as a host, the CPU used by the virtual machine may be set to 4 cores in the setting information, and the available storage space is 500 GB. Therefore, after the virtual machine runs, only the corresponding hardware resource is set in the setting information, and other resource hosts can run other applications or programs and the like.
It is conceivable that, in this embodiment, the performance resource and configuration of the edge computing virtual machine may be adjusted and controlled through the node configuration file, so as to form a good fit between the virtual machine and the host.
S102, registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server;
based on S101, this step needs to register the edge computing virtual machine in the edge computing platform, instead of registering the entire host device in the edge computing platform. It should be noted that, in the process of registering the edge computing virtual machine in the edge computing platform in this step, similar to activating the edge computing virtual machine in the edge computing platform, the edge computing virtual machine is recorded in the edge computing platform through the unique identifier, so that the edge computing platform operates the edge computing virtual machine through the unique identifier or other identifiers.
Specifically, the unique identifier in this step is obtained by sending the server to the host. The unique identifier can be sent to the host by the server after the host creates the edge computing virtual machine and sends the unique identifier to the server. Or after the host sends the unique identifier request to the server during the creation of the edge computing virtual machine, the server sends the unique identifier to the host. The unique identification request can also be sent to the server before the edge computing virtual machine is created, so that the server sends the unique identification to the host. The unique identifier request is sent before the edge computing virtual machine is created, specifically, the unique identifier request may be sent while the node configuration file is acquired, or the unique identifier request may be sent while the virtual machine is downloaded. Therefore, the manner of acquiring the unique identifier in this step is not unique, and the corresponding acquisition manner can be selected according to the actual situation. As long as the edge computing virtual machine is successfully registered to the unique identifier acquisition scheme of the edge computing platform, the unique identifier acquisition scheme may be used as the acquisition scheme in this embodiment, which is not described herein again.
Preferably, the step may further include:
and before the host machine receives the unique identifier, the server calculates the unique identifier according to the integral scheduling information of the platform and sends the unique identifier to the host machine.
Therefore, in the alternative, how the host acquires the unique identifier is mainly explained. Specifically, in the step, the server is mainly used for calculating the overall scheduling information of the platform to obtain the unique identifier, and then the unique identifier is sent to the host machine. Generally, when a server receives a unique identifier request sent by a host, the unique identifier is calculated according to the overall platform scheduling information.
S103, deploying the edge computing service program to the edge computing virtual machine, so that the virtual machine becomes a computing node.
On the basis of S102, this step is intended to deploy the edge computing service program to the edge computing virtual machine, that is, to make the edge computing virtual machine have a function of performing edge computing.
Generally speaking, a plurality of plug-in modules are required to work together to realize the corresponding functions. Taking the IaaS (infrastructure as a Service) Service function as an example, the edge computing Service program may include a base plug-in module and an IaaS Service plug-in module. The basic plug-in module comprises a service management system and is used for storage isolation, storage management, flow monitoring, process isolation, network isolation and various safety monitoring. The functional modules can be executed according to the needs, and the execution mode can be selected to be executed in parallel or in sequence. For example, traffic monitoring is performed on the network, and processes are isolated. And the service management system in the basic plug-in module can schedule, deploy and manage IaaS service plug-ins so as to deploy new IaaS services in the edge computing virtual machine, schedule the new IaaS services according to requirements and manage the existing IaaS services. The service management system mainly manages the IaaS service through the IaaS service plug-in module. The IaaS service plug-in module comprises various service plug-in programs and is used for executing different IaaS services.
It is conceivable that programs of other service functions may also be deployed in this step, so as to implement different service functions, which is not described herein in detail.
Preferably, the step may further include:
and collecting data of the edge computing service program, and uploading the data to an edge computing platform so as to monitor the edge computing nodes.
Therefore, the edge computing node can be well monitored and managed through the alternative scheme. The acquired data includes, but is not limited to, performance data, network data, and data processing status data of the edge computing service program.
Meanwhile, the edge computing virtual machine does not monopolize all hardware resources of the host machine, and unused hardware resources exist in the host machine. Thus, the edge computing virtual machines can be adjusted without regard to the hardware usage of the host machine.
In this embodiment, first, an edge computing virtual machine is created in a host according to a configuration file, then the edge computing virtual machine is registered in an edge computing platform through a unique identifier allocated by a server, instead of integrally registering the host in the edge computing platform, and finally an edge computing service program is deployed to the edge computing virtual machine, so that the edge computing virtual machine has a function of an edge computing node, instead of deploying all hardware of the host as the edge computing node, it is apparent that an edge computing node is deployed in the host in a virtual machine manner to implement edge computing, and data and the like between the node and the host are isolated from each other, so that hardware resources outside the virtual machine are not occupied, all hardware resources of the host are prevented from being occupied, and the virtual machine can be independently adjusted without considering the situation of the host, the management and control efficiency of the nodes is improved, and the edge nodes are accessed into the edge computing network more safely, conveniently and efficiently.
Referring to fig. 2 as a preferred embodiment, fig. 2 is a schematic flowchart illustrating a process of creating a virtual machine according to a first embodiment of the present invention.
The process of creating the edge computing virtual machine according to the obtained node configuration file may include:
s201, a host machine receives input configuration information through a web management system; the configuration information comprises an internal memory, a CPU, a storage path and a storage size; saving the configuration information as a node configuration file;
this step is intended to receive configuration information input by a user through a web management system, that is, through a web-based management system, and save the configuration information as a node configuration file, that is, a local disk of a server is saved to a corresponding node configuration file. The configuration information includes a memory, a CPU, a storage path and a storage size.
The input mode of the configuration information can be that a user directly inputs the configuration information through computer equipment, the configuration information is sent to the web management system after the user remotely inputs the configuration information, and the configuration information can be sent from opposite-end equipment through a network.
It is conceivable that, in this embodiment, the user may further manage and adjust the edge computing virtual machine in the host through the web management system. Thus, the web management system includes, but is not limited to, a virtual machine configuration management page, a virtual machine data presentation page, and a virtual machine control management page.
S202, sending the node configuration file to a virtual machine management program through a preset interface;
on the basis of S201, this step is intended to send the node configuration file from the web management system to the virtual machine manager in the host through a preset interface. The preset Interface may be an API (application programming Interface) Interface, which is opened in a server form after the host creates the virtual machine management program.
S203, controlling the virtual machine management program to execute virtual machine creation operation according to the configuration information in the node configuration file to obtain the edge computing virtual machine.
On the basis of S202, this step is intended to control the virtual machine management program to execute a virtual machine creation operation according to the configuration information in the node configuration file, so as to obtain an edge computing virtual machine. That is, in this step, the edge computing virtual machine is created mainly through the operation of the virtual machine management program. The virtual machine management program may be any one of the virtual machine management programs provided in the prior art, and is not specifically limited herein.
Preferably, the step may include:
step 1, a host machine judges whether a virtual machine program exists locally; if yes, executing step 2; if not, executing the step 3;
step 2, controlling a virtual machine management program to establish an edge computing virtual machine according to the node configuration file;
step 3, downloading a target virtual machine program; and the control virtual machine management program creates an edge computing virtual machine according to the target virtual machine program and the node configuration file.
Therefore, in the alternative scheme, whether the virtual machine program exists in the host machine is mainly judged. The virtual machine programs include, but are not limited to, vitrualbox, vmware, hyper-v. If so, the edge computing virtual machine can be created directly. And if the virtual machine does not exist, the corresponding target virtual machine needs to be downloaded, and finally the virtual machine management program is controlled to create the edge computing virtual machine according to the target virtual machine program and the node configuration file.
As can be seen, in the embodiment, an edge computing virtual machine is created in a host according to a node configuration file corresponding to the host, so that it is ensured that an edge computing node is deployed in the edge computing virtual machine, so as to ensure isolation and security between the host and the edge computing node.
Based on the above embodiments, the present invention provides a more specific edge computing node deployment method.
Referring to fig. 3, fig. 3 is a flow chart of a second embodiment of the invention.
In a second embodiment, a specific scenario to which the present solution is applied includes a host, a virtual machine management program, a virtual machine, an edge computing service program, and a web management system.
The host machine, namely the node needing to be accessed at present, comprises a personal pc computer, an idle server, a professional mining machine and other equipment, can be used as a shared node to be accessed into an edge computing web management system through a virtualization technology, and provides a virtual machine operation entrance for a user, wherein the virtual machine operation entrance comprises virtual machine starting and stopping, input configuration setting, income checking and the like; the virtual machine management program downloads and installs different virtual machines and virtual machine images according to different host machine operating systems, and completes operations such as creation, start-stop, speed limit, disk management and the like of the virtual machines; the virtual machine module comprises a virtualbox, a vmware, a hyper-v and other virtualization schemes and a matched virtual machine image package.
The edge computing service program comprises a basic plug-in module and an IaaS service plug-in module. The basic plug-in module comprises a service management system, storage isolation and storage management, flow monitoring, process isolation, network isolation and various safety monitoring; the IaaS service plug-in module comprises various service plug-in programs, and a service management system in the basic module plug-in can schedule, deploy and manage the IaaS service plug-in.
On this basis, the method in this embodiment may include:
s301, a host machine receives configuration information input by a user through a web management system; the configuration information comprises an internal memory, a CPU, a storage path and a storage size; and saving the configuration information as a node configuration file;
s302, the web management system automatically downloads and installs the virtual machine management program and guides the user to start the virtual machine management program;
s303, after the virtual machine management program is started, a preset interface is opened to the outside in a server mode, and the web management system sends the stored node configuration file to the virtual machine management program;
s304, after the virtual machine management program receives the node configuration file, automatically downloading the virtual machine, and then creating and starting an edge computing virtual machine according to the virtual machine configuration information;
s305, inputting a device activation code through a web management system, and calling an activation interface provided by an edge computing virtual machine by a virtual machine management program so as to activate the edge computing virtual machine, so that the edge computing virtual machine becomes an edge computing node with a unique identifier;
s306, after the edge computing virtual machine is started, deploying the edge computing and starting a basic plug-in module;
s307, after the basic plug-in module is started, an IaaS service program is dispatched and deployed from the server side, and meanwhile, various IaaS service plug-in data are collected.
It can be seen that, in this embodiment, an edge computing virtual machine is first created in a host according to a node configuration file corresponding to the host, then the edge computing virtual machine is registered in an edge computing platform through a unique identifier allocated by a server, instead of the host being registered in its entirety in the edge computing platform, and finally an edge computing service program is deployed in the edge computing virtual machine, so that the edge computing virtual machine has a function of an edge computing node, instead of deploying all hardware of the host as the edge computing node, it can be seen that an edge computing is implemented by deploying an edge computing node in the host through the virtual machine, and the node and the host are isolated from each other, so that hardware resources outside the virtual machine are not encroached, all hardware resources of the host are prevented from being monopolized, and the virtual machine can be adjusted independently without considering the situation of the host, the management and control efficiency of the nodes is improved, and the edge nodes are accessed into the edge computing network more safely, conveniently and efficiently.
Referring to fig. 4, fig. 4 is a schematic diagram of an internal structure of a computer device according to a first embodiment of the disclosure.
In this embodiment, the Computer apparatus 1 may be a PC (Personal Computer), a smart phone, a tablet Computer, a palm Computer, a portable Computer, an intelligent router, an ore machine, a network storage device, and a terminal device.
The computer device 1 may include a memory 11, a processor 12, and a bus 13.
The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the computer device 1, for example a hard disk of the computer device 1. The memory 11 may also be an external storage device of the computer apparatus 1 in other embodiments, such as a plug-in hard disk provided on the computer apparatus 1, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 11 may also include both an internal storage unit and an external storage device of the computer apparatus 1. The memory 11 can be used not only to store application software installed in the computer apparatus 1 and various types of data such as codes of data communication programs, etc., but also to temporarily store data that has been output or is to be output.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for executing program codes stored in the memory 11 or Processing data, such as executing an edge computing node deployment program.
The bus 13 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Alternatively, the computer device 1 may be a node constituting a CDN (Content Delivery Network) or a blockchain Network.
Further, the computer apparatus 1 may further include a network interface, which may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), and is generally used for establishing a communication connection between the computer apparatus 1 and other electronic devices.
Optionally, the computer device 1 may further comprise a user interface, the user interface may comprise a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface may further comprise a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the computer device 1 and for displaying a visualized user interface.
While fig. 4 shows only computer device 1 with components 11-13 and an edge compute node deployment program, those skilled in the art will appreciate that the configuration shown in fig. 4 does not constitute a limitation of computer device 1, and may include fewer or more components than shown, or some components in combination, or a different arrangement of components.
The invention provides an edge computing node deployment system.
Referring to fig. 5, fig. 5 is a block diagram illustrating a third embodiment of the present invention.
In a fourth embodiment, the data communication system may comprise:
a virtual machine creating module 100, configured to create an edge computing virtual machine according to the obtained node configuration file;
a virtual machine activation module 200, configured to register the edge computing virtual machine to the edge computing platform according to the unique identifier received from the server;
the node deployment module 300 is configured to deploy an edge computing service program to an edge computing virtual machine, so as to deploy part of hardware performance of a host machine as an edge computing node.
Embodiments of the present invention also provide a computer-readable storage medium, on which a data communication program is stored, where the data communication program is executable by one or more processors to implement the steps of the edge computing node deployment method according to any one of the above embodiments.
Embodiments of the present invention further provide a computer program product, where the computer program product includes computer instructions, and when the computer program product runs on a computer, the computer is enabled to execute the steps of the edge computing node deployment method according to any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatus and system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus, system, and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or 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, devices or units, and may be in an electrical, mechanical 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 application 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 application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in 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 application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments. And the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method 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, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.

Claims (11)

1. A method for deploying edge computing nodes, the method comprising:
the host machine creates an edge computing virtual machine according to the acquired node configuration file;
registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server;
and deploying an edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes.
2. The edge computing node deployment method of claim 1, wherein the host creates an edge computing virtual machine according to the obtained node configuration file, comprising:
the host machine receives input configuration information through a web management system; the configuration information comprises a memory, a CPU, a storage path and a storage size;
saving the configuration information as the node configuration file;
and creating the edge computing virtual machine according to the node configuration file.
3. The edge computing node deployment method of claim 2, wherein creating the edge computing virtual machine from the node profile comprises:
sending the node configuration file to a virtual machine management program through a preset interface;
and controlling the virtual machine management program to execute virtual machine creation operation according to the configuration information in the node configuration file to obtain the edge computing virtual machine.
4. The edge computing node deployment method of claim 2, wherein creating the edge computing virtual machine from the node profile comprises:
the host machine judges whether a virtual machine program exists locally;
if so, controlling a virtual machine management program to create the edge computing virtual machine according to the node configuration file;
if not, downloading the target virtual machine program; and the control virtual machine management program creates the edge computing virtual machine according to the target virtual machine program and the node configuration file.
5. The edge computing node deployment method of claim 1, further comprising:
before the host machine receives the unique identifier, the server calculates the unique identifier according to the integral scheduling information of the platform;
and sending the unique identification to the host machine.
6. The edge computing node deployment method of claim 1, further comprising:
and collecting data of the edge computing service program, and uploading the data to the edge computing platform so as to monitor the edge computing nodes.
7. A computer apparatus, characterized in that the apparatus comprises a memory and a processor, the memory having stored thereon an edge computing node deployment program operable on the processor, the edge computing node deployment program, when executed by the processor, implementing the steps of the edge computing node deployment method according to any one of claims 1 to 6.
8. The apparatus of claim 7, wherein the computer apparatus is a node that constitutes a CDN network or a blockchain network.
9. An edge computing node deployment system, the system comprising:
the virtual machine creating module is used for creating an edge computing virtual machine according to the acquired node configuration file;
the virtual machine activation module is used for registering the edge computing virtual machine to an edge computing platform according to the unique identifier received from the server;
and the node deployment module is used for deploying the edge computing service program to the edge computing virtual machine so as to deploy part of hardware performance of the host machine as edge computing nodes.
10. A computer-readable storage medium having stored thereon an edge computing node deployment program executable by one or more processors to implement the steps of the edge computing node deployment method of any one of claims 1 to 6.
11. A computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the steps of the edge computing node deployment method of any preceding claim 1 to 6.
CN202010641178.XA 2020-07-06 2020-07-06 Edge computing node deployment method and related device Active CN111800506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010641178.XA CN111800506B (en) 2020-07-06 2020-07-06 Edge computing node deployment method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010641178.XA CN111800506B (en) 2020-07-06 2020-07-06 Edge computing node deployment method and related device

Publications (2)

Publication Number Publication Date
CN111800506A true CN111800506A (en) 2020-10-20
CN111800506B CN111800506B (en) 2023-09-19

Family

ID=72811263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010641178.XA Active CN111800506B (en) 2020-07-06 2020-07-06 Edge computing node deployment method and related device

Country Status (1)

Country Link
CN (1) CN111800506B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422352A (en) * 2021-01-25 2021-02-26 华东交通大学 Edge computing node deployment method based on user data hotspot distribution
CN112506659A (en) * 2020-12-10 2021-03-16 腾讯科技(深圳)有限公司 Management method of edge device and related device
CN113595899A (en) * 2021-06-30 2021-11-02 上海云轴信息科技有限公司 Method and system for realizing multi-node point cloud routing
CN113726547A (en) * 2021-07-14 2021-11-30 阿里巴巴新加坡控股有限公司 Network system, network configuration method and equipment
CN113821009A (en) * 2021-11-24 2021-12-21 北京和利时***工程有限公司 Edge controller and quality detection system
CN114090246A (en) * 2021-11-17 2022-02-25 苏州和氏设计营造股份有限公司 Method and device for processing data of exhibition and display artwork based on big data
CN114339727A (en) * 2021-12-29 2022-04-12 中国联合网络通信集团有限公司 Edge platform, configuration method, device, terminal and storage medium
CN114513770A (en) * 2020-10-29 2022-05-17 伊姆西Ip控股有限责任公司 Method, system and computer program product for deploying applications

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239987A1 (en) * 2006-03-31 2007-10-11 Amazon Technologies, Inc. Managing communications between computing nodes
US20120072910A1 (en) * 2010-09-03 2012-03-22 Time Warner Cable, Inc. Methods and systems for managing a virtual data center with embedded roles based access control
CN102611704A (en) * 2012-03-20 2012-07-25 广东电子工业研究院有限公司 Cloud computing node registering system and cloud computing node registering method
CN102929687A (en) * 2012-10-12 2013-02-13 山东省计算中心 Energy-saving virtual machine placement method for cloud computing data center
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103389909A (en) * 2012-05-09 2013-11-13 上海幻维数码创意科技有限公司 Rendering farm node virtualization deployment system and application thereof
CN103780433A (en) * 2014-02-18 2014-05-07 成都致云科技有限公司 Self-healing type virtual resource configuration management data architecture
CN104410699A (en) * 2014-12-04 2015-03-11 武汉邮电科学研究院 Resource management method and system of open type cloud computing
CN104767741A (en) * 2015-03-24 2015-07-08 杭州安恒信息技术有限公司 Calculation service separating and safety protecting system based on light virtual machine
US20150381711A1 (en) * 2014-06-26 2015-12-31 Vmware, Inc. Methods and apparatus to scale application deployments in cloud computing environments
CN106445733A (en) * 2016-08-30 2017-02-22 广州鼎甲计算机科技有限公司 KVM virtualization-based agency mode-free backup method and system
CN109471714A (en) * 2017-09-07 2019-03-15 龙芯中科技术有限公司 Platform deployment method, apparatus, equipment and storage medium
CN110517138A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Intelligent contract processing method, device, computer equipment and storage medium
CN110784361A (en) * 2019-10-31 2020-02-11 国网河南省电力公司电力科学研究院 Virtualized cloud honey network deployment method, device, system and computer-readable storage medium
US20200059403A1 (en) * 2018-08-20 2020-02-20 Vmware, Inc. Service chaining of virtual network functions in a cloud computing system
US20200145337A1 (en) * 2019-12-20 2020-05-07 Brian Andrew Keating Automated platform resource management in edge computing environments
WO2020116223A1 (en) * 2018-12-04 2020-06-11 日本電信電話株式会社 Ict resource management device, ict resource management method and ict resource management program
WO2020116221A1 (en) * 2018-12-04 2020-06-11 日本電信電話株式会社 Ict resource management device, ict resource management method and ict resource management program

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070239987A1 (en) * 2006-03-31 2007-10-11 Amazon Technologies, Inc. Managing communications between computing nodes
US20120072910A1 (en) * 2010-09-03 2012-03-22 Time Warner Cable, Inc. Methods and systems for managing a virtual data center with embedded roles based access control
CN102958166A (en) * 2011-08-29 2013-03-06 华为技术有限公司 Resource allocation method and resource management platform
CN102611704A (en) * 2012-03-20 2012-07-25 广东电子工业研究院有限公司 Cloud computing node registering system and cloud computing node registering method
CN103389909A (en) * 2012-05-09 2013-11-13 上海幻维数码创意科技有限公司 Rendering farm node virtualization deployment system and application thereof
CN102929687A (en) * 2012-10-12 2013-02-13 山东省计算中心 Energy-saving virtual machine placement method for cloud computing data center
CN103037002A (en) * 2012-12-21 2013-04-10 中标软件有限公司 Method and system for arranging server cluster in cloud computing cluster environment
CN103780433A (en) * 2014-02-18 2014-05-07 成都致云科技有限公司 Self-healing type virtual resource configuration management data architecture
US20150381711A1 (en) * 2014-06-26 2015-12-31 Vmware, Inc. Methods and apparatus to scale application deployments in cloud computing environments
CN104410699A (en) * 2014-12-04 2015-03-11 武汉邮电科学研究院 Resource management method and system of open type cloud computing
CN104767741A (en) * 2015-03-24 2015-07-08 杭州安恒信息技术有限公司 Calculation service separating and safety protecting system based on light virtual machine
CN106445733A (en) * 2016-08-30 2017-02-22 广州鼎甲计算机科技有限公司 KVM virtualization-based agency mode-free backup method and system
CN109471714A (en) * 2017-09-07 2019-03-15 龙芯中科技术有限公司 Platform deployment method, apparatus, equipment and storage medium
US20200059403A1 (en) * 2018-08-20 2020-02-20 Vmware, Inc. Service chaining of virtual network functions in a cloud computing system
WO2020116223A1 (en) * 2018-12-04 2020-06-11 日本電信電話株式会社 Ict resource management device, ict resource management method and ict resource management program
WO2020116221A1 (en) * 2018-12-04 2020-06-11 日本電信電話株式会社 Ict resource management device, ict resource management method and ict resource management program
CN110517138A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Intelligent contract processing method, device, computer equipment and storage medium
CN110784361A (en) * 2019-10-31 2020-02-11 国网河南省电力公司电力科学研究院 Virtualized cloud honey network deployment method, device, system and computer-readable storage medium
US20200145337A1 (en) * 2019-12-20 2020-05-07 Brian Andrew Keating Automated platform resource management in edge computing environments

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周伟林;杨芫;徐明伟;: "网络功能虚拟化技术研究综述", 计算机研究与发展, no. 04 *
王展;安学军;: "云数据中心I/O资源池化", 集成技术, no. 01 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513770B (en) * 2020-10-29 2024-01-30 伊姆西Ip控股有限责任公司 Method, system and medium for deploying application
CN114513770A (en) * 2020-10-29 2022-05-17 伊姆西Ip控股有限责任公司 Method, system and computer program product for deploying applications
CN112506659A (en) * 2020-12-10 2021-03-16 腾讯科技(深圳)有限公司 Management method of edge device and related device
CN112506659B (en) * 2020-12-10 2023-09-22 腾讯科技(深圳)有限公司 Management method of edge equipment and related device
CN112422352B (en) * 2021-01-25 2021-04-20 华东交通大学 Edge computing node deployment method based on user data hotspot distribution
CN112422352A (en) * 2021-01-25 2021-02-26 华东交通大学 Edge computing node deployment method based on user data hotspot distribution
CN113595899A (en) * 2021-06-30 2021-11-02 上海云轴信息科技有限公司 Method and system for realizing multi-node point cloud routing
CN113726547B (en) * 2021-07-14 2023-08-15 阿里巴巴新加坡控股有限公司 Network system, network configuration method and device
CN113726547A (en) * 2021-07-14 2021-11-30 阿里巴巴新加坡控股有限公司 Network system, network configuration method and equipment
CN114090246A (en) * 2021-11-17 2022-02-25 苏州和氏设计营造股份有限公司 Method and device for processing data of exhibition and display artwork based on big data
CN114090246B (en) * 2021-11-17 2022-10-18 苏州和氏设计营造股份有限公司 Method and device for processing data of displayed and aged artwork based on big data
CN113821009A (en) * 2021-11-24 2021-12-21 北京和利时***工程有限公司 Edge controller and quality detection system
CN114339727B (en) * 2021-12-29 2023-08-15 中国联合网络通信集团有限公司 Edge platform, configuration method, device, terminal and storage medium
CN114339727A (en) * 2021-12-29 2022-04-12 中国联合网络通信集团有限公司 Edge platform, configuration method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN111800506B (en) 2023-09-19

Similar Documents

Publication Publication Date Title
CN111800506A (en) Edge computing node deployment method and related device
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
EP3764220B1 (en) Automatic application updates
CN108717379B (en) Electronic device, distributed task scheduling method and storage medium
CN111506386A (en) Virtual machine online migration method, device, equipment and computer readable storage medium
CN109960575B (en) Computing capacity sharing method, system and related equipment
US20180314832A1 (en) Information processing apparatus and computer readable storage medium
KR102140730B1 (en) Method and system for providing develop environment of deep learning based gpu
JP5346405B2 (en) Network system
CN110764913B (en) Data calculation method based on rule calling, client and readable storage medium
CN101821729A (en) Remote auto provisioning and publication of applications
CN106170763A (en) A kind of software check method and apparatus
CN110708366A (en) Plug-in process management method, related method and related device
CN111427773A (en) Web application resource monitoring method, electronic device and computer readable storage medium
CN112491980B (en) Cloud host service management method, system, terminal and storage medium
CN110855746A (en) Middleware management method, electronic device and storage medium
CN113127150A (en) Rapid deployment method and device of cloud native system, electronic equipment and storage medium
WO2021018267A1 (en) Live migration method for virtual machine and communication device
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN110647739A (en) Software installation detection method, device, terminal and storage medium
CN104636159A (en) Method and device for upgrading software in virtual machines
US20180203726A1 (en) Virtual machine migration method and apparatus
CN111475172A (en) Bare machine deployment method and device
US11658868B2 (en) Mixed mode management
CN112256989A (en) Page loading method and device based on offline package, terminal equipment and storage medium

Legal Events

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