CN111897537A - Application deployment method, device and system and electronic equipment - Google Patents

Application deployment method, device and system and electronic equipment Download PDF

Info

Publication number
CN111897537A
CN111897537A CN202010607063.9A CN202010607063A CN111897537A CN 111897537 A CN111897537 A CN 111897537A CN 202010607063 A CN202010607063 A CN 202010607063A CN 111897537 A CN111897537 A CN 111897537A
Authority
CN
China
Prior art keywords
sub
target
edge node
edge
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010607063.9A
Other languages
Chinese (zh)
Inventor
刘武明
沈寓实
汝聪翀
姚正斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fenomen Array Beijing Technology Co ltd
Original Assignee
Fenomen Array Beijing 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 Fenomen Array Beijing Technology Co ltd filed Critical Fenomen Array Beijing Technology Co ltd
Priority to CN202010607063.9A priority Critical patent/CN111897537A/en
Publication of CN111897537A publication Critical patent/CN111897537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an application deployment method, an application deployment device, an application deployment system and electronic equipment, which belong to the field of edge computing, and the method comprises the following steps: acquiring regional information of M edge nodes in the same cluster; dividing the M edge nodes into N sub-clusters according to the regional information of the M edge nodes; determining a target edge node in each sub-cluster, wherein the target edge node is used for carrying out application deployment on the edge nodes in the sub-cluster to which the target edge node belongs; wherein M, N are positive integers, and M is more than or equal to N. According to the scheme, each updated sub-group only needs one application downloading and deploying process, and each updated sub-group only occupies one time of data consumption of the public network, so that the data consumption of the public network is saved.

Description

Application deployment method, device and system and electronic equipment
Technical Field
The application belongs to the technical field of edge computing, and particularly relates to an application deployment method, device and system and electronic equipment.
Background
The existing edge computing deployment scheme is the same as the cloud computing application deployment scheme, application deployment is carried out by traversing each controlled node, all nodes to be deployed are polled, and specified applications are downloaded and deployed from an application warehouse.
The traditional application deployment scheme is only suitable for a cloud computing mode, and in the cloud computing, an application warehouse and computing nodes are concentrated in one data center, the nodes to the application warehouse are mostly internal private networks, and the link states are similar. However, when the scheme is applied to edge computing, there are very different situations, edge nodes are scattered at different positions outside the cloud computing environment of the application repository and the computing nodes, the link situation of the edge nodes to the application repository is also variable, and it is highly likely that the edge nodes need to pass through a public network. If the applications are acquired from an application warehouse of a centralized center when the applications are deployed on each edge node, a large amount of bandwidth consumption is caused, and the bandwidth utilization rate is high.
Disclosure of Invention
An object of the embodiments of the present application is to provide an application deployment method, apparatus, system and electronic device, which can solve the problem of large amount of public network data consumption caused by application deployment to each edge node.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application deployment method, which is applied to a control center, and the method includes:
acquiring regional information of M edge nodes in the same cluster;
dividing the M edge nodes into N sub-clusters according to the regional information of the M edge nodes;
determining a target edge node in each sub-cluster, wherein the target edge node is used for carrying out application deployment on the edge nodes in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
Optionally, the determining a target edge node in each of the sub-clusters includes:
acquiring load information of all edge nodes in each sub-cluster;
and determining a target edge node in each sub-cluster according to the load information of the edge node in each sub-cluster.
Optionally, the determining a target edge node in each of the sub-clusters according to the load information of the edge node in each of the sub-clusters includes:
and determining the edge node with the lowest load in the load information of each sub-cluster as the target edge node according to the load information of the edge node in each sub-cluster.
Optionally, the area information includes: network status information and/or geographical location information.
In a second aspect, an embodiment of the present application provides an application deployment method, applied to a target edge node, including:
receiving an application deployment request;
sending the application deployment request to a central node, establishing connection with the central node, and downloading a target application to be deployed;
and distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
In a third aspect, an embodiment of the present application provides an application deployment apparatus, which is applied to a control center, and includes:
the acquisition module is used for acquiring the regional information of M edge nodes in the same cluster;
the first processing module is used for dividing the M edge nodes into N sub-clusters according to the area information of the M edge nodes;
determining a target edge node in each sub-cluster, wherein the target edge node is used for carrying out application deployment on the edge nodes in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
In a fourth aspect, an embodiment of the present application provides an application deployment apparatus, applied to a target edge node, including:
a receiving module, configured to receive an application deployment request;
the second processing module is used for sending the application deployment request to a central node, establishing connection with the central node and downloading a target application to be deployed;
and the distribution module is used for distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
In a fifth aspect, an embodiment of the present application provides an application deployment system, including the application deployment apparatus as described above, further including a central node, a plurality of edge nodes, and a control center, where the plurality of edge nodes are connected to the central node through a gateway, and the control center is connected to the central node and the plurality of edge nodes respectively; the edge nodes are divided into a plurality of sub-clusters according to the area information, the central node comprises an application warehouse, the control center controls target edge nodes in the sub-clusters to download target applications to be deployed from the application warehouse of the central node, and the target edge nodes distribute the target applications to other edge nodes in the sub-clusters to which the target edge nodes belong.
In a sixth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the application deployment method as described above.
In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the application deployment method described above.
In the embodiment of the application, the M edge nodes are divided into N sub-clusters through the acquired regional information of the M edge nodes in the same cluster, and a target edge node in each sub-cluster is determined, wherein the target edge node is used for application deployment of the edge nodes in the sub-cluster to which the target edge node belongs, each updated sub-cluster only needs one application downloading and deployment process, only once data consumption of a public network is occupied, and the data consumption of the public network is saved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic structural diagram of an application deployment system according to an embodiment of the present application;
FIG. 2 is a flowchart of an application deployment method according to an embodiment of the present application;
FIG. 3 is a second flowchart of an application deployment method according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an application deployment apparatus according to an embodiment of the present application;
FIG. 5 is a second schematic structural diagram of an application deployment apparatus according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application 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 embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In making the description of the embodiments of the present invention, some concepts used in the following description will first be explained.
Edge computing is a new generation development direction of cloud computing, computing resources of traditional cloud computing are concentrated in a data center, all computer servers are concentrated in a large computer room, and edge computing refers to external equipment which is light and independent of computing equipment of the data center and equipment measured at the edge. Application deployment refers to an administrator deploying a specified application onto a specified computer or server, allocating its specified computing resources.
The embodiment of the application deployment method, device and system and electronic equipment can solve the problem that application deployment is performed on each edge node to cause consumption of a large amount of public network data, so that each updated sub-cluster only needs one application downloading and deploying process and only occupies one time of public network data consumption, and data consumption of a public network is saved.
As shown in fig. 1, an application deployment system provided in an embodiment of the present application includes a central node, a plurality of edge nodes, and a control center, where the plurality of edge nodes are connected to the central node through a gateway, and the control center is connected to the central node and the plurality of edge nodes respectively; the edge nodes are divided into a plurality of sub-clusters according to the area information, the central node comprises an application warehouse, the control center controls target edge nodes in the sub-clusters to download target applications to be deployed from the application warehouse of the central node, and the target edge nodes distribute the target applications to other edge nodes in the sub-clusters to which the target edge nodes belong.
For example: the control center divides a plurality of edge nodes into a first sub-cluster 11 and a second sub-cluster 12 through regional information of the plurality of edge nodes, the first sub-cluster 11 includes a first edge node 111, a second edge node 112 and a third edge node 113, and the first edge node 111, the second edge node 112 and the third edge node 113 are all connected with an application warehouse 14 in a central node 16 through a first gateway 13; the second sub-cluster 12 includes a fourth edge node 121, a fifth edge node 122, and a sixth edge node 123, where the fourth edge node 121, the fifth edge node 122, and the sixth edge node 123 are all connected to the application repository 14 in the central node 16 through the second gateway 15. The control center controls a target edge node (one of the first edge node 111, the second edge node 112, and the third edge node 113, for example, the first edge node 111) in the first sub-cluster 11 to download a target application to be deployed from the application repository 14 of the central node 16, and the target edge node distributes the target application to other edge nodes in the first sub-cluster 11 to which the target edge node belongs. The control center controls a target edge node (one of the fourth edge node 121, the fifth edge node 122 and the sixth edge node 123, for example, the fourth edge node 121) in the second sub-cluster 12 to download a target application to be deployed from the application repository 14 of the central node 16, and the target edge node distributes the target application to other edge nodes in the second sub-cluster 12 to which the target edge node belongs. The application deployment method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 2, an embodiment of the present application provides an application deployment method, applied to a control center, including:
step 201, obtaining the area information of M edge nodes in the same cluster.
Optionally, the area information includes but is not limited to: network status information and/or geographical location information.
Specifically, one cluster includes M edge nodes, and the control center respectively obtains network state information and/or geographical location information of the M edge nodes, in other words, the control center respectively obtains a current network status (i.e., network state information) and/or a physical location (i.e., geographical location information) of each edge node of the M edge nodes.
It should be noted that, the control center establishes communication connection with the M edge nodes. The information such as the network state information and/or the geographical location information of the M edge nodes may be directly obtained by the control center, or each edge node of the M edge nodes obtains the information such as the network state information and/or the geographical location information of itself, and sends the obtained information such as the network state information and/or the geographical location information of itself to the control center. The manner in which the control center obtains the information such as the network state information and/or the geographical location information of the M edge nodes is not limited.
Step 202, dividing the M edge nodes into N sub-clusters according to the area information of the M edge nodes.
Specifically, the control center may divide the M edge nodes into different update domains according to information such as network state information and geographical location information of the M edge nodes, where one update domain is a sub-cluster, and one sub-cluster includes one or more edge nodes.
Step 203, determining a target edge node in each sub-cluster, where the target edge node is used to perform application deployment on the edge nodes in the sub-cluster to which the target edge node belongs; wherein M, N are positive integers, and M is more than or equal to N.
Specifically, the control center determines that one edge node in each sub-cluster is a target edge node, and uses the target edge node for application deployment on all edge nodes in the sub-cluster to which the target edge node belongs, in other words, the target edge node downloads and deploys a target application first, and then the target edge node deploys a target application on other edge nodes through the deployed target application. And the other edge nodes are the other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
It should be noted that the target edge node does not consume public network data resources in the process of deploying the target application to other edge nodes, each updated sub-cluster only needs one application download deployment process, and only occupies one time of data consumption of the public network, thereby saving data consumption of the public network.
For example: the value of M is 5, namely the M edge nodes comprise a first edge node A, a second edge node B, a third edge node C, a fourth edge node D and a fifth edge node E; if the 5 edge nodes are divided into two sub-clusters according to the network state information and the geographic position information of the 5 edge nodes, the two sub-clusters are respectively a first sub-cluster and a second sub-cluster, the first sub-cluster includes a first edge node a, a second edge node B and a third edge node C, a target edge node in the first sub-cluster is the first edge node a, and the first edge node a can be used for application deployment of the first edge node a, the second edge node B and the third edge node C in the first sub-cluster to which the first edge node a belongs. Specifically, the target edge node (i.e., a first edge node a) downloads and deploys a first application, and after the first edge node a downloads and deploys the first application, the first edge node a deploys the first application to other edge nodes (i.e., a second edge node B and a third edge node C); in other words, after the first edge node a downloads and deploys the first application, the first edge node a only needs to synchronize the first application to other edge nodes (i.e., the second edge node B and the third edge node C), that is, the application deployment process of the first edge node a to the second edge node B and the third edge node C is completed.
The second sub-cluster includes a fourth edge node D and a fifth edge node E, the target edge node in the second sub-cluster is the fourth edge node D, and the fourth edge node D may be used to perform application deployment on the fourth edge node D and the fifth edge node E in the second sub-cluster to which the fourth edge node D belongs. Specifically, the target edge node (i.e., the fourth edge node D) downloads and deploys the second application, and after the fourth edge node D downloads and deploys the second application, the fourth edge node D deploys the second application to another edge node (i.e., the fifth edge node E); in other words, after the fourth edge node D downloads and deploys the second application, the fourth edge node D only needs to synchronize the second application to other edge nodes (i.e., the fifth edge node E), that is, completes the application deployment process of the fourth edge node D to the fifth edge node E.
In the embodiment of the application, the M edge nodes are divided into N sub-clusters through the acquired regional information of the M edge nodes in the same cluster, and a target edge node in each sub-cluster is determined, where the target edge node is used for application deployment of the edge nodes in the sub-cluster to which the target edge node belongs, and each updated sub-cluster only needs one application download deployment process, and only occupies one time of data consumption of a public network, thereby saving data consumption of the public network.
Optionally, the step of determining a target edge node in each of the sub-clusters in step 203 may specifically include:
acquiring load information of all edge nodes in each sub-cluster;
and determining a target edge node in each sub-cluster according to the load information of the edge node in each sub-cluster.
Specifically, first, the control center determines a target edge node in a sub-cluster according to load information of each edge node in the sub-cluster, that is, in a sub-cluster, according to load information of each edge node, selects an edge node as a target edge node, so that the target edge node can download and deploy a specified target application in an application warehouse, and the target edge node can also perform application deployment on edge nodes other than the target edge node in the sub-cluster to which the target edge node belongs, in other words, in each sub-cluster, according to load information of each edge node, determines an edge node as a representative of the edge node in the sub-cluster, that is, the target edge node, and performs target application synchronization through the target edge node, so that each updated sub-cluster only needs one application download and deployment process, the data consumption of the public network is only occupied once, and the data consumption of the public network is saved.
Optionally, the determining a target edge node in each of the sub-clusters according to the load information of the edge node in each of the sub-clusters includes:
and determining the edge node with the lowest load in the load information of each sub-cluster as the target edge node according to the load information of the edge node in each sub-cluster.
Specifically, the method for determining the target edge node of one sub-cluster may be: the control center firstly obtains the load information of each edge node in one sub-cluster, then the control center compares the load information of each edge node in one sub-cluster, and the edge node with the lowest load can be determined as the target edge node of the sub-cluster.
It should be noted that the target edge node is not limited to the edge node with the lowest load in one sub-cluster, and the target edge node may also be an edge node with a load in a preset range in one sub-cluster, and if the number of edge nodes in the preset range is greater than 1, the edge node with the lowest load in a plurality of edge nodes in the preset range may be selected as the target edge node, which is not specifically limited herein. The preset range is a load range which can be set, and can be set according to needs.
It should be noted that the load information may be a Central Processing Unit (CPU) utilization rate and/or a network load, and is not limited herein.
To sum up, in the embodiment of the present application, through obtaining the area information of M edge nodes in the same cluster, the M edge nodes are divided into N sub-clusters, and a target edge node in each sub-cluster is determined, where the target edge node is used to perform application deployment on the edge nodes in the sub-cluster to which the target edge node belongs, and each updated sub-cluster only needs to apply a download deployment process once, and only occupies data consumption of a public network once, so as to save data consumption of the public network; meanwhile, the number of concurrent updates is changed into the number of sub-clusters, which is greatly lower than the number of edge nodes, so that the concurrent bandwidth is reduced, and the load of an application warehouse can also be reduced.
As shown in fig. 3, an embodiment of the present application further provides an application deployment method, applied to a target edge node, including:
step 301, an application deployment request is received.
Specifically, the control center obtains information such as network state information and/or geographical location information of M edge nodes in the same cluster, divides the M edge nodes into N sub-clusters according to the information such as the network state information and/or the geographical location information of the M edge nodes, determines a target edge node in each sub-cluster, and sends application deployment request information to the target edge node to control the target edge node to download a target application to be deployed under the condition that the control center determines the target edge node in each sub-cluster.
Step 302, sending the application deployment request to a central node, establishing connection with the central node, and downloading a target application to be deployed.
Specifically, after receiving an application deployment request sent by the control center, the target edge node sends the application deployment request to a central node, the control center controls the target edge node to establish a connection relationship with the central node, and the target edge node downloads a target application to be deployed in an application repository of the central node, where the application repository includes multiple applications and the target application is one of the applications in the application repository.
Step 303, distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
Specifically, under the condition that the target edge node downloads the target application to be deployed in the application repository, the target edge node synchronizes the target application to other edge nodes, in other words, the target edge node synchronizes the target application which needs to be updated and distributes the target application to the other edge nodes, so that each sub-cluster only needs one target edge node application downloading and deploying process, and occupies one data consumption of the public network, and for other edge nodes, the target edge node only needs to synchronize the target application to other edge nodes, and does not occupy the data consumption of the public network, thereby saving the data consumption of the public network.
For example: the value of M is 5, namely the M edge nodes comprise a first edge node A, a second edge node B, a third edge node C, a fourth edge node D and a fifth edge node E; and if the 5 edge nodes are divided into two sub-clusters according to the network state information and the geographic position information of the 5 edge nodes, wherein the two sub-clusters are respectively a first sub-cluster and a second sub-cluster.
The first sub-cluster comprises 3 edge nodes which are a first edge node A, a second edge node B and a third edge node C respectively, a target edge node in the first sub-cluster is the first edge node A, the first edge node A downloads and deploys a first target application in an application warehouse and synchronizes the first target application to the second edge node B and the third edge node C, and then the application deployment process of the second edge node B and the third edge node C is completed.
Similarly, the second sub-cluster includes 2 edge nodes, which are a fourth edge node D and a fifth edge node E, respectively, the target edge node in the second sub-cluster is the fourth edge node D, the fourth edge node D downloads and deploys the second target application in the application repository, and synchronizes the second target application to the fifth edge node E, i.e., completes the application deployment process for the fifth edge node E.
In the above embodiment of the present application, the control center obtains area information of M edge nodes in the same cluster, the control center divides the M edge nodes into N sub-clusters according to the area information of the M edge nodes, and determines a target edge node in each sub-cluster, the control center sends an application deployment request to the target edge node, the target edge node sends the application deployment request to the center node and establishes a connection with the center node, the target edge node downloads a target application to be deployed in an application warehouse of the center node, and the target edge node synchronizes the target application to other edge nodes, so that each sub-cluster only needs one target edge node application download and deployment process, and application deployments of other edge nodes do not occupy data consumption of a public network, and the data consumption of the public network is saved.
Optionally, after the target edge node finishes application deployment on all edge nodes in the sub-clusters, the target edge node sends information that application deployment is finished to the control center, that is, the control center may learn about information that application deployment of each sub-cluster is finished.
To sum up, in the embodiment of the present application, the control center obtains area information of M edge nodes in the same cluster, the control center divides the M edge nodes into N sub-clusters according to the area information of the M edge nodes, and determines a target edge node in each sub-cluster, the control center controls the target edge node to establish a connection relationship with the center node, and the target edge node downloads a target application to be deployed in an application repository and synchronizes the target application to other edge nodes, so that each sub-cluster only needs one target edge node application downloading and deploying process, and application deployments of other edge nodes do not occupy data consumption of a public network, thereby saving data consumption of the public network; meanwhile, the number of concurrent updates is changed into the number of sub-clusters, which is greatly lower than the number of edge nodes, so that the concurrent bandwidth is reduced, and the load of an application warehouse is also reduced.
As shown in fig. 4, an application deployment apparatus 400 provided in the embodiment of the present application is applied to a control center, and includes:
an obtaining module 401, configured to obtain area information of M edge nodes in the same cluster;
a first processing module 402, configured to divide the M edge nodes into N sub-clusters according to the area information of the M edge nodes;
a determining module 403, configured to determine a target edge node in each of the sub-clusters, where the target edge node is configured to perform application deployment on an edge node in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
In the above embodiment of the present application, through obtaining the area information of M edge nodes in the same cluster by the obtaining module 401, the first processing module 402 divides the M edge nodes into N sub-clusters, and the determining module 403 determines a target edge node in each sub-cluster, where the target edge node is used to perform application deployment on the edge nodes in the sub-cluster to which the target edge node belongs, and each updated sub-cluster only needs to perform an application download deployment process once, and only occupies data consumption of a public network once, thereby saving data consumption of the public network.
Optionally, the first processing module 402 includes:
the first acquisition unit is used for acquiring the load information of all edge nodes in each sub-cluster;
a first determining unit, configured to determine a target edge node in each of the sub-clusters according to load information of the edge node in each of the sub-clusters.
Optionally, the first determining unit includes:
and the first determining subunit is configured to determine, according to the load information of the edge nodes in the same sub-cluster, an edge node with the lowest load in the load information of each sub-cluster as the target edge node.
Optionally, the area information includes: network status information and/or geographical location information.
To sum up, in the embodiment of the present application, through obtaining the area information of M edge nodes in the same cluster, the M edge nodes are divided into N sub-clusters, and a target edge node in each sub-cluster is determined, where the target edge node is used to perform application deployment on the edge nodes in the sub-cluster to which the target edge node belongs, and each updated sub-cluster only needs to apply a download deployment process once, and only occupies data consumption of a public network once, so as to save data consumption of the public network; meanwhile, the number of concurrent updates is changed into the number of sub-clusters, which is greatly lower than the number of edge nodes, so that the concurrent bandwidth is reduced, and the load of an application warehouse is also reduced.
It should be noted that the embodiment of the application deployment apparatus is an apparatus corresponding to the application deployment method applied to the control center, and all implementation manners of the embodiment are applicable to the embodiment of the apparatus, and can achieve the same technical effect as that of the embodiment of the apparatus, and are not described herein again.
As shown in fig. 5, an embodiment of the present application provides another application deployment apparatus 500, which is applied to a target edge node, and includes:
a receiving module 501, configured to receive an application deployment request;
the second processing module 502 is configured to send the application deployment request to a central node, establish a connection with the central node, and download a target application to be deployed;
a distributing module 503, configured to distribute the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
To sum up, in the embodiment of the present application, the control center obtains area information of M edge nodes in the same cluster, the control center divides the M edge nodes into N sub-clusters according to the area information of the M edge nodes, and determines a target edge node in each sub-cluster, the control center controls the target edge node to establish a connection relationship with the center node, and the target edge node downloads a target application to be deployed in an application repository and synchronizes the target application to other edge nodes, so that each sub-cluster only needs one target edge node application downloading and deploying process, and application deployments of other edge nodes do not occupy data consumption of a public network, thereby saving data consumption of the public network; meanwhile, the number of concurrent updates is changed into the number of sub-clusters, which is greatly lower than the number of edge nodes, so that the concurrent bandwidth is reduced, and the load of an application warehouse is also reduced.
It should be noted that the embodiment of the application deployment apparatus is an apparatus corresponding to the application deployment method applied to the target edge node, and all implementation manners of the above embodiment are applicable to the embodiment of the apparatus, and can also achieve the same technical effect, and no further description is given here.
The embodiment of the invention also provides the electronic equipment which can be a server. As shown in fig. 6, the system comprises a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 complete communication with each other through the communication bus 604.
A memory 603 for storing a computer program.
When the electronic device is a control center, the processor 601 is configured to execute the program stored in the memory 603, and implement the following steps:
acquiring regional information of M edge nodes in the same cluster;
dividing the M edge nodes into N sub-clusters according to the regional information of the M edge nodes;
determining a target edge node in each sub-cluster, wherein the target edge node is used for carrying out application deployment on the edge nodes in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
Optionally, the determining a target edge node in each of the sub-clusters includes:
acquiring load information of all edge nodes in each sub-cluster;
and determining a target edge node in each sub-cluster according to the load information of the edge node in each sub-cluster.
Optionally, the determining a target edge node in each of the sub-clusters according to the load information of the edge node in each of the sub-clusters includes:
and determining the edge node with the lowest load in the load information of each sub-cluster as the target edge node according to the load information of the edge node in each sub-cluster.
Optionally, the area information includes: network status information and/or geographical location information.
When the processor 601 is configured to execute the program stored in the memory 603 when the electronic device is a target edge node, the following steps may be further implemented:
receiving an application deployment request;
sending the application deployment request to a central node, establishing connection with the central node, and downloading a target application to be deployed;
and distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication 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, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In yet another embodiment provided by the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the application deployment method described in the above embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application 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 (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An application deployment method applied to a control center is characterized by comprising the following steps:
acquiring regional information of M edge nodes in the same cluster;
dividing the M edge nodes into N sub-clusters according to the regional information of the M edge nodes;
determining a target edge node in each sub-cluster, wherein the target edge node is used for carrying out application deployment on the edge nodes in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
2. The method of claim 1, wherein the determining the target edge node in each of the sub-clusters comprises: acquiring load information of all edge nodes in each sub-cluster;
and determining a target edge node in each sub-cluster according to the load information of the edge node in each sub-cluster.
3. The method of claim 2, wherein determining the target edge node in each of the sub-clusters according to the load information of the edge node in each of the sub-clusters comprises:
and determining the edge node with the lowest load in the load information of each sub-cluster as the target edge node according to the load information of the edge node in each sub-cluster.
4. The method of claim 1, wherein the region information comprises: network status information and/or geographical location information.
5. An application deployment method applied to a target edge node, comprising:
receiving an application deployment request;
sending the application deployment request to a central node, establishing connection with the central node, and downloading a target application to be deployed;
and distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
6. An application deployment device applied to a control center, comprising:
the acquisition module is used for acquiring the regional information of M edge nodes in the same cluster;
the first processing module is used for dividing the M edge nodes into N sub-clusters according to the area information of the M edge nodes;
a determining module, configured to determine a target edge node in each of the sub-clusters, where the target edge node is used to perform application deployment on an edge node in the sub-cluster to which the target edge node belongs;
wherein M, N are positive integers, and M is more than or equal to N.
7. An application deployment apparatus applied to a target edge node, comprising:
a receiving module, configured to receive an application deployment request;
the second processing module is used for sending the application deployment request to a central node, establishing connection with the central node and downloading a target application to be deployed;
and the distribution module is used for distributing the target application to other edge nodes except the target edge node in the sub-cluster to which the target edge node belongs.
8. An application deployment system is characterized by comprising a central node, a plurality of edge nodes and a control center, wherein the edge nodes are connected with the central node through a gateway, and the control center is respectively connected with the central node and the edge nodes; the edge nodes are divided into a plurality of sub-clusters according to the area information, the central node comprises an application warehouse, the control center controls target edge nodes in the sub-clusters to download target applications to be deployed from the application warehouse of the central node, and the target edge nodes distribute the target applications to other edge nodes in the sub-clusters to which the target edge nodes belong.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the application deployment method of any of claims 1-5.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the application deployment method of any of claims 1-5.
CN202010607063.9A 2020-06-29 2020-06-29 Application deployment method, device and system and electronic equipment Pending CN111897537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010607063.9A CN111897537A (en) 2020-06-29 2020-06-29 Application deployment method, device and system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010607063.9A CN111897537A (en) 2020-06-29 2020-06-29 Application deployment method, device and system and electronic equipment

Publications (1)

Publication Number Publication Date
CN111897537A true CN111897537A (en) 2020-11-06

Family

ID=73207197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010607063.9A Pending CN111897537A (en) 2020-06-29 2020-06-29 Application deployment method, device and system and electronic equipment

Country Status (1)

Country Link
CN (1) CN111897537A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170279877A1 (en) * 2016-03-28 2017-09-28 Industrial Technology Research Institute Load balancing method, load balancing system, load balancing device and topology reduction method
CN107801086A (en) * 2017-10-20 2018-03-13 广东省南方数字电视无线传播有限公司 The dispatching method and system of more caching servers
CN109640319A (en) * 2019-01-16 2019-04-16 腾讯科技(深圳)有限公司 Dispatching method, device and electronic equipment based on access information
CN110896404A (en) * 2018-09-12 2020-03-20 华为技术有限公司 Data processing method and device and computing node
CN111064278A (en) * 2019-12-11 2020-04-24 国网浙江省电力有限公司绍兴供电公司 Method for realizing accurate load control service based on edge Internet of things proxy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170279877A1 (en) * 2016-03-28 2017-09-28 Industrial Technology Research Institute Load balancing method, load balancing system, load balancing device and topology reduction method
CN107801086A (en) * 2017-10-20 2018-03-13 广东省南方数字电视无线传播有限公司 The dispatching method and system of more caching servers
CN110896404A (en) * 2018-09-12 2020-03-20 华为技术有限公司 Data processing method and device and computing node
CN109640319A (en) * 2019-01-16 2019-04-16 腾讯科技(深圳)有限公司 Dispatching method, device and electronic equipment based on access information
CN111064278A (en) * 2019-12-11 2020-04-24 国网浙江省电力有限公司绍兴供电公司 Method for realizing accurate load control service based on edge Internet of things proxy

Similar Documents

Publication Publication Date Title
CN111880936B (en) Resource scheduling method, device, container cluster, computer equipment and storage medium
CN110933137B (en) Data synchronization method, system, equipment and readable storage medium
CN115328663A (en) Method, device, equipment and storage medium for scheduling resources based on PaaS platform
US8620998B2 (en) Mobile application deployment for distributed computing environments
US20240028415A1 (en) Instance deployment method and apparatus, cloud system, computing device, and storage medium
CN113965585B (en) Multi-cloud interconnection method and device
CN104601680A (en) Resource management method and device
CN109413682B (en) Space-ground integrated satellite communication network simulation system and method
CN110474960B (en) Method and device for service deployment in virtual network
CN112685287A (en) Product data testing method and device, storage medium and electronic device
CN114614989A (en) Feasibility verification method and device of network service based on digital twin technology
US11805422B2 (en) AP deployment in a network comprising a centralized system and a distributed system
CN111897537A (en) Application deployment method, device and system and electronic equipment
CN112035579B (en) Graph management, data storage and data query methods, devices and storage medium
CN112968794A (en) Network function chain deployment method, device, terminal device and storage medium
CN111106945B (en) VNF instantiation method, device, equipment and storage medium
CN115473780B (en) Network target range distributed flow generation method and device
CN110995483A (en) Network topology discovery method and device
CN112242908A (en) Network function deployment method, system and storage medium
CN111294374B (en) Heterogeneous equipment starting system, method and device and electronic equipment
CN110769462B (en) Network access control method and device
CN111988745A (en) Target user determination method, device, equipment and medium based on WiFi connection data
CN111897536B (en) Application deployment method and device and electronic equipment
CN107317880B (en) Method and device for realizing load balance
CN113783914A (en) Data processing method, device and equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201106