CN111885122B - Remote pushing method, system, server and computer readable storage medium - Google Patents

Remote pushing method, system, server and computer readable storage medium Download PDF

Info

Publication number
CN111885122B
CN111885122B CN202010636067.XA CN202010636067A CN111885122B CN 111885122 B CN111885122 B CN 111885122B CN 202010636067 A CN202010636067 A CN 202010636067A CN 111885122 B CN111885122 B CN 111885122B
Authority
CN
China
Prior art keywords
mirror image
distributed
request
application
service 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.)
Active
Application number
CN202010636067.XA
Other languages
Chinese (zh)
Other versions
CN111885122A (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.)
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Hangzhou Information 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 China Mobile Communications Group Co Ltd, China Mobile Hangzhou Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010636067.XA priority Critical patent/CN111885122B/en
Publication of CN111885122A publication Critical patent/CN111885122A/en
Application granted granted Critical
Publication of CN111885122B publication Critical patent/CN111885122B/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/50Network services
    • H04L67/55Push-based network services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to the field of wireless networks, and discloses a remote pushing method, a remote pushing system, a server and a computer readable storage medium. The remote pushing method of the edge computing application comprises the following steps: a first distributed mirror image service node in an edge network receives a user-specified cluster application update request or an application deployment request from a terminal device; the first distributed mirror image service node issues the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol; after a second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of a mirror image file required by the request is obtained; and according to the obtained position of the mirror image warehouse, the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request. The invention can improve the operation efficiency of the whole system.

Description

Remote pushing method, system, server and computer readable storage medium
Technical Field
The embodiment of the invention relates to the field of wireless networks, in particular to a remote pushing method, a remote pushing system, a server and a computer readable storage medium.
Background
Multi-access Edge Computing (MEC) is a technology proposed by European Telecommunication Standardization Institute (ETSI) based on 5G evolution architecture to deeply merge base stations and internet services, and NGMN names a related concept as "intelligent Edge node". The multi-access edge computing (MEC) is used as a key technology for the evolution of a 4.5G/5G network system architecture, and can meet the requirements of the system on various aspects such as throughput, time delay, network scalability, intellectualization and the like.
ETSI defines MEC as the ability to provide IT and cloud computing to the edge of a mobile network by deploying a generic server on the wireless access side, emphasizing close proximity to users. The presence of MEC, i.e. the "sinking" of network traffic to the radio access network side closer to the user, brings about three benefits:
1. the transmission delay experienced by the user is reduced.
2. Network congestion is significantly controlled.
3. More network information and network congestion control functions may be open to developers.
In the MEC practical application process, a plurality of independent edge data centers facing a certain area are formed by edge service nodes deployed at the edge of a mobile network through virtualization and clouding, and relevant basic services and industry applications are deployed at the edge data centers so that relevant capabilities of the edge nodes such as calculation, storage, network and the like can be utilized. Compared with a data center of a traditional center cloud, the MEC can be simply understood as an edge data processing platform, namely, the traditional data center is cut into various small data centers and then placed at the edge of a network, so that the data centers are expected to be closer to users, faster service is provided for the users, and better network performance is achieved.
The appearance of the edge nodes breaks through the original cloud-end application deployment architecture. Through a cloud-edge-end application architecture, the effective gain of the application end-to-end time delay and bandwidth is carried out by utilizing the computing and storing capacity of the edge node, which is the main development direction of future application, and the application deployment of the edge node also becomes the key function of the implementation landing of the edge computing application.
In the existing data center application deployment and push architecture, transmission and deployment of corresponding image files need to be performed from a central image node. Under the scene that the edge data center has multiple areas and multiple clusters, application pushing and management adopting the existing centralized architecture will face the problems of more deployed application nodes, unstable cross-area network and the like, and under the concurrent scene, the central node network and the computing capability will face huge challenges. In addition, different clusters where the edge nodes are located are loosely coupled, different areas have different demands on push and deployment applications, and differentiated management of the center mirror image nodes results in that the center nodes need to maintain mirror image version information of each edge cluster in a differentiated mode, so that the logic complexity of processing is brought to the center nodes.
The inventors found that there are at least the following problems in the related art:
in the prior art, for application distribution and deployment in an edge computing scene, a framework of terminal device uploading, central node scheduling and distribution, and edge node deployment and connection is adopted. The application distribution deployment of the corresponding edge nodes depends on the scheduling of the cloud center node, so that the processing efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to provide a remote pushing method, a remote pushing system, a server and a computer readable storage medium, and the processing efficiency of the system is improved.
In order to solve the above technical problem, an embodiment of the present invention provides a remote pushing method for an edge computing application, including: a first distributed mirror image service node in an edge network receives an application updating request or an application deploying request of a designated cluster of a user from a terminal device; the first distributed mirror image service node issues the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol; after a second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of a mirror image file required by the request is obtained; and according to the obtained position of the mirror image warehouse, the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request.
The embodiment of the invention also provides a remote pushing system of the edge computing application, which comprises the following steps: at least two edge computing nodes belonging to the same edge network; each edge computing node comprises: a distributed mirror service node; an application deployment server; a local mirror repository; an application software-as-a-service (SaaS) server; the first distributed mirror image service node in the edge network is used for receiving an application update request or an application deployment request of a designated cluster of a user from a terminal device; issuing the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol; the second distributed mirror image service node in the edge network is used for obtaining the position of a mirror image warehouse of the mirror image file required by the request after determining that the request corresponds to the cluster; and the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request according to the acquired position of the mirror image warehouse.
An embodiment of the present invention further provides a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method.
In the embodiment of the invention, the application updating request or the application deploying request can be quickly spread among all distributed mirror image service nodes in the edge network through the gossip protocol, so that the real-time synchronization of the application deploying/updating information can be realized, and the operating efficiency of the whole system is improved.
In addition, the method further comprises: the second distributed mirror service node receives the completion time of the application update or deployment from the second application deployment server; and the second distributed mirror image service node issues the completion time to other distributed mirror image service nodes in the edge network, so that the distributed mirror image service node connected with the terminal equipment in the edge network notifies the completion time to the terminal equipment. Therefore, after the terminal device moves, the system can still track the terminal and send the completion time of the application update or deployment to the terminal device.
In addition, after a second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of the mirror image file required by the request is obtained; according to the obtained position of the mirror image warehouse, the step that the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request comprises the following steps: the second distributed mirror image service node judges whether the required mirror image file is stored in a second mirror image warehouse which is alive of the cluster where the second distributed mirror image service node is located according to the received survival information of other distributed mirror image service nodes and second mirror image information stored in the second mirror image warehouse of the cluster where the second distributed mirror image service node is located, and generates a first judgment result, wherein the second mirror image file and the second mirror image information are stored in the second mirror image warehouse; the second mirror image information records the identification of the mirror image file stored by each distributed mirror image service node in the edge network and the identification of the mirror image file stored by a remote mirror image warehouse crossing the cluster; when the first judgment result is yes, the second application deployment server of the cluster where the second mirror image warehouse is located completes the application updating request or the application deployment request according to the mirror image file in the second mirror image warehouse; when the first judgment result is negative, the second distributed mirror image service node judges whether the required mirror image file is stored in a third mirror image warehouse which is alive of other clusters in the edge network except the second mirror image warehouse, and generates a second judgment result; when the second judgment result is yes, judging whether the third mirror image warehouse storage is currently connected to the maximum concurrent number, and generating a third judgment result; when the third judgment result is yes, judging whether the cross-cluster living remote mirror image bin stores the required mirror image file or not, and generating a fourth judgment result; if the third judgment result is negative, the second application deployment server completes an application updating request or an application deployment request according to the file in the third mirror image warehouse; when the second judgment result is negative, judging whether the cross-cluster living remote mirror image warehouse stores the required mirror image file or not, and generating a fourth judgment result; if the fourth judgment result is yes, the second distributed mirror image service node pulls the required mirror image file from the remote mirror image warehouse to the second mirror image warehouse, and the second application deployment server completes the application update request or the application deployment request according to the file in the second mirror image warehouse; and if the fourth judgment result is negative, the second distributed mirror image service node sends a deployment failure message to the terminal equipment. In the scheme, the mirror image warehouse is selected in the sequence from the local mirror image warehouse to the nearby cluster mirror image warehouse to the remote mirror image warehouse, so that the resources of the mirror image warehouse are reasonably utilized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a remote pushing method for an edge computing application according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a remote pushing method of an edge computing application according to a second embodiment of the present invention;
fig. 3 is a flowchart of step 13 in a remote pushing method for an edge computing application according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a remote pushing method for an edge computing application according to an application scenario of the present invention;
FIG. 5 is a schematic structural diagram of a remote push system of an edge computing application according to an embodiment of the present invention;
FIG. 6 is an interaction diagram of a remote push system of an edge computing application according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
The invention relates to a remote pushing method of an edge computing application. The flow is shown in fig. 1, and specifically comprises the following steps:
step 11, a first distributed mirror image service node in an edge network receives an application update request or an application deployment request of a designated cluster of a user from a terminal device;
step 12, the first distributed mirror image service node issues the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol;
step 13, after the second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of the mirror image file required by the request is obtained; and according to the obtained position of the mirror image warehouse, the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request.
In the embodiment of the invention, the application updating request or the application deploying request can be quickly spread among all distributed mirror image service nodes in the edge network through the gossip protocol, so that the real-time synchronization of the application deploying/updating information can be realized, and the operating efficiency of the whole system is improved.
Optionally, the application update request or the application deployment request further carries an application version number; the second mirror image warehouse also stores the version number of the mirror image file; the second image information further includes a version number of the image file. Due to the fact that the version number information is carried, when the application is updated or deployed, version matching can be conducted, and therefore effective management control can be conducted on the updated or deployed application version.
The second embodiment of the invention relates to a remote pushing method for an edge computing application. The flow is shown in fig. 2, and specifically includes the following steps:
step 10A, broadcasting survival messages to other distributed mirror image service nodes and a remote mirror image warehouse in the edge network by a first distributed mirror image service node in the edge network at intervals of preset time; or
And step 10B, the first distributed mirror image service node in the edge network receives the survival message from other distributed mirror image service nodes and a remote mirror image warehouse in the edge network at preset time intervals.
Therefore, in the present invention, each live online distributed mirror service node in the edge network is performing the actions of broadcasting the live information and receiving the broadcasted live information, and each distributed mirror service node in the edge network can know in real time whether other distributed mirror service nodes are online.
Step 11, a first distributed mirror image service node in an edge network receives an application update request or an application deployment request of a designated cluster of a user from a terminal device;
step 12, the first distributed mirror image service node issues the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol;
step 13, after the second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of the mirror image file required by the request is obtained; and according to the obtained position of the mirror image warehouse, the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request.
Optionally, the method further includes:
step 14, the second distributed mirror service node receives the completion time of the application update or deployment from the second application deployment server;
step 15, the second distributed mirror service node issues the completion time to other distributed mirror service nodes in the edge network, so that the distributed mirror service node connected to the terminal device in the edge network notifies the completion time to the terminal device. And the distributed mirror image service node connected with the terminal equipment in the edge network is the distributed mirror image service node currently connected with the terminal equipment. Therefore, even if the terminal device moves and a new distributed mirror service node is connected, the completion time information can be received.
In the above embodiment, after the terminal device moves, the system can still track the terminal and send the completion time of the application update or deployment to the terminal device.
As shown in fig. 3, wherein the step 13 includes:
step 131, the second distributed mirror image service node judges whether the required mirror image file is stored in a second mirror image warehouse which is alive in the cluster where the second distributed mirror image service node is located according to the received alive message of other distributed mirror image service nodes and second mirror image information stored in the second mirror image warehouse in the cluster where the second distributed mirror image service node is located, and generates a first judgment result; a second mirror image file and second mirror image information are stored in the second mirror image warehouse; the second mirror image information records the identification of the mirror image file stored by each distributed mirror image service node in the edge network and the identification of the mirror image file stored in a cross-cluster remote mirror image warehouse; when the first judgment result is yes, jumping to step 132, and when the first judgment result is no, jumping to step 133;
step 132, the second application deployment server of the cluster where the second mirror repository is located completes the application update request or the application deployment request according to the mirror image file in the second mirror repository;
step 133, the second distributed mirror image service node determines whether the required mirror image file is stored in a third mirror image warehouse that is alive in another cluster in the edge network except the second mirror image warehouse, and generates a second determination result; when the second judgment result is negative, jumping to step 135; when the second judgment result is yes, jumping to step 134;
step 134, determining whether the third mirror warehouse storage is currently connected to the maximum concurrency number, and generating a third determination result; if the third determination result is yes, go to step 135; if the third determination result is negative, go to step 136.
Step 135, judging whether the cross-cluster living remote mirror image bin stores the required mirror image file or not, and generating a fourth judgment result; if the fourth determination result is yes, go to step 137. When the fourth determination result is negative, step 138 is executed.
Step 136, the second application deployment server completes an application update request or an application deployment request according to the file in the third mirror repository;
step 137, the second distributed mirror image service node pulls the required mirror image file from the remote mirror image warehouse to the second mirror image warehouse, and the second application deployment server completes the application update request or the application deployment request according to the file in the second mirror image warehouse; wherein the step of the second distributed mirror service node pulling the required mirror image file from the remote mirror repository to the second mirror repository comprises: when the required image file is stored in at least two remote image warehouses, the second distributed image service node selects a remote image warehouse from the at least two remote image warehouses according to the time delay and the current load of the at least two remote image warehouses, and a resource path can be optimized.
Step 138, the second distributed mirror service node sends a deployment failure message to the terminal device.
In the embodiment, the mirror image warehouse is selected in the sequence from the local mirror image warehouse to the nearby cluster mirror image warehouse to the remote mirror image warehouse, so that the resources of the mirror image warehouse are reasonably utilized.
Optionally, after step 137, the method further includes:
step 139, the second mirror repository updates the local second mirror information and broadcasts the updated mirror information and/or the updated mirror file to other mirror repositories and remote mirror repositories in the edge network.
Therefore, each distributed mirror service node in the edge network can acquire updated mirror information and/or updated mirror files of other distributed mirror service nodes in real time.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
The following describes an application scenario of the method of the present invention.
The embodiment of the invention discloses a method for remotely pushing edge computing application, which is based on a message synchronization framework and a processing mechanism of a distributed gossip protocol, provides a framework for remotely deploying and pushing the distributed application based on a depocenter node aiming at an edge computing cloud platform, corresponds to edge nodes, and utilizes the distributed protocol to carry out quick decision and application deployment, thereby fully exerting the advantage of regional multi-cluster deployment of the edge computing nodes and realizing the flexible and quick deployment of the edge node application.
The application deployment and push are used as important functions of cloud computing, and through the support of a warehouse and a related virtual machine container driver, a corresponding framework mainly relates to the following steps:
deployment/update request: and the slave equipment terminal initiates a deployment/update request of the application, and carries the version information of the application.
Acquiring a source mirror image address: and the target deployment node searches corresponding application mirror image information in an available source mirror image warehouse according to the information in the deployment request and tries to establish connection.
Mirror image pulling: and the target deployment node pulls the source mirror image from the remote end according to the mirror image acquisition condition.
Local deployment/update: and the target deployment node locally processes the downloaded source mirror image according to the deployment/update requirements and feeds back the processing result to the equipment terminal initiating the request.
As shown in fig. 4, the method specifically includes:
s1, a user initiates an application updating/deploying request of a designated cluster through terminal equipment.
And S2, the distributed mirror image service node synchronizes requests initiated by the terminal equipment and issues deployment requests to peripheral edge nodes through a gossip protocol.
And S3, calculating and judging the mirror image position after the distributed mirror image service node finds that the application updating/deploying request synchronously acquired by the request corresponds to the cluster. And calculating according to the sequence of the local mirror image warehouse- > the nearby cluster mirror image warehouse- > the remote mirror image warehouse, wherein the remote mirror image warehouse selects information which needs to be comprehensively calculated, such as time delay, current load and the like and is synchronized through a gossip protocol except whether a needed source mirror image exists or not.
And S4, the application deployment service performs connection and mirror image pulling according to the mirror image warehouse information calculated and distributed by the distributed mirror image service nodes, and completes corresponding application deployment/upgrading.
And S5, after the application deployment/upgrade is completed, the application deployment service informs the distributed mirror image service node of the release deployment completion time and finally informs the terminal equipment.
As shown in fig. 5, an embodiment of the present invention further provides a remote pushing system for an edge computing application, including: at least two edge computing nodes interacting with a streaming protocol belonging to an edge network;
each edge computing node comprises: a distributed mirror service node; an application deployment server; a local mirror repository; an application software-as-a-service (SaaS) server;
the first distributed mirror image service node in the edge network is used for receiving an application update request or an application deployment request of a designated cluster of a user from a terminal device; issuing the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol;
the second distributed mirror image service node in the edge network is used for obtaining the position of a mirror image warehouse of the mirror image file required by the request after determining that the request corresponds to the cluster;
and the second application deployment server of the cluster where the second distributed mirror image service node is located is used for completing the application updating request or the application deployment request according to the obtained position of the mirror image warehouse.
In the embodiment of the invention, the edge nodes are constructed to form the edge cloud, the edge cloud has storage and calculation capabilities, and the functions of calculation capability sinking, flow unloading and the like can be realized on the edge side through the cooperative work of the edge nodes and the cloud. Edge nodes in the same area are used for forming edge clusters, a local mirror image warehouse is built through the computing power storage of the edge clusters, the information of the local mirror image warehouses among different edge clusters is effectively synchronized through a Gossip protocol (Gossip), a remote warehouse is selected from a plurality of mirror image warehouses across the clusters through calculation in the remote application deployment process for deployment, and a distributed application remote pushing and deployment framework based on cluster autonomy and effective sharing is built.
Wherein the second distributed mirror service node is further configured to receive a completion time of the application update or deployment from the second application deployment server;
the second distributed mirror image service node is further configured to issue the completion time to other distributed mirror image service nodes in the edge network, so that the distributed mirror image service node connected to the terminal device in the edge network notifies the completion time to the terminal device.
After a second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of a mirror image file required by the request is obtained; the specifically step of completing the application update request or the application deployment request according to the acquired position of the mirror image warehouse is:
the second distributed mirror image service node judges whether the required mirror image file is stored in a second mirror image warehouse which is alive in the cluster of the second distributed mirror image service node or not according to the received survival information of other distributed mirror image service nodes and second mirror image information stored in the second mirror image warehouse of the cluster, and generates a first judgment result; a second mirror image file and second mirror image information are stored in the second mirror image warehouse; the second mirror image information records the identification of the mirror image file stored by each distributed mirror image service node in the edge network and the identification of the mirror image file stored in a cross-cluster remote mirror image warehouse;
when the first judgment result is yes, the second application deployment server of the cluster where the second mirror image warehouse is located completes the application updating request or the application deployment request according to the mirror image file in the second mirror image warehouse;
when the first judgment result is negative, the second distributed mirror image service node judges whether the required mirror image file is stored in a third mirror image warehouse which is alive in other clusters except the second mirror image warehouse in the edge network, and generates a second judgment result;
when the second judgment result is yes, judging whether the third mirror image warehouse storage is currently connected to the maximum concurrent number, and generating a third judgment result;
when the third judgment result is yes, judging whether the cross-cluster living remote mirror image bin stores the required mirror image file or not, and generating a fourth judgment result;
if the third judgment result is negative, the second application deployment server completes an application updating request or an application deployment request according to the file in the third mirror image warehouse;
when the second judgment result is negative, judging whether the cross-cluster living remote mirror image warehouse stores the required mirror image file or not, and generating a fourth judgment result;
if the fourth judgment result is yes, the second distributed mirror image service node pulls the required mirror image file from the remote mirror image warehouse to the second mirror image warehouse, and the second application deployment server completes the application update request or the application deployment request according to the file in the second mirror image warehouse;
and if the fourth judgment result is negative, the second distributed mirror image service node sends a deployment failure message to the terminal equipment.
The pulling the required image file from the remote image repository to the second image repository specifically includes:
and when the required image file is stored in at least two remote image warehouses, selecting a remote image warehouse from the at least two remote image warehouses according to the time delay and the current load of the at least two remote image warehouses.
Optionally, the application update request or the application deployment request further carries an application version number;
the second mirror image warehouse also stores the version number of the mirror image file;
the second image information further includes a version number of the image file.
The first distributed mirror image service node in the edge network is further used for broadcasting survival messages to other distributed mirror image service nodes and a remote mirror image warehouse in the edge network at preset time intervals; or
The first distributed mirror service node in the edge network is further configured to receive an alive message from other distributed mirror service nodes and a remote mirror repository in the edge network at predetermined time intervals.
The second mirror repository is further configured to update the local second mirror information and broadcast the updated mirror information and/or the updated mirror file to other mirror repositories and remote mirror repositories in the edge network.
Fig. 6 is a schematic diagram illustrating interaction between a terminal and the system of the present invention.
The edge remote deployment system is deployed on an edge computing cloud platform as an independent distributed system, and service capacity is sunk to the edge in mirror image deployment.
The system comprises a plurality of distributed edge computing nodes and a plurality of edge computing nodes, wherein the distributed edge computing nodes are used for processing application pushing and updating requests which are initiated by terminal equipment and designate a single edge cluster or a plurality of edge clusters.
The distributed mirror service node based on the gossip protocol is used for: and the system is responsible for information synchronization, capability calculation and decision among clusters.
An application deployment server: for taking charge of the mirror pulling and actual deployment of the actual application.
Local mirror image warehouse: for local image management and information provision.
The gossip protocol (gossip) is a decentralized, fault-tolerant and finally consistent algorithm, and the convergence of the gossip protocol is proved to have exponential convergence speed. The system using the gossip protocol can quickly expand the service to more nodes and meet the requirement of quick elastic expansion. The working principle is that in a bounded network, each node randomly communicates with other nodes, and after interaction for a period of time, all the nodes can finally reach the agreement. The content mirror images and version information in respective mirror image warehouses are synchronized between mirror image service nodes by using the protocol, and second-level synchronization of mirror image information between clusters is met through the gossip protocol.
The synchronizing content includes:
a. the online service node continuously broadcasts an Alive message to indicate the availability of the local mirror repository.
b. The online service node continuously attempts to connect with the remote central mirror repository in real time and broadcasts available information of the synchronous remote mirror repository.
c. After the local mirror images are synchronized from the remote center mirror images, the local mirror images are synchronized to the surrounding mirror image service nodes through the mirror image service nodes.
d. The request for application update/deployment and the final state are synchronously broadcast to surrounding cluster online service nodes.
In the embodiment of the invention, the edge computing nodes have computing and storing capabilities, an application remote deployment and push framework is constructed based on a distributed mode by utilizing the edge computing nodes in different areas, the capabilities distributed on the different edge computing nodes are fully utilized, the application is rapidly pushed and deployed, and the requirements on application deployment flexibility and rapidity in an edge partition area scene are better met.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
As shown in fig. 7, an embodiment of the present invention further provides a server, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While the memory may be used to store data used by the processor in performing operations.
Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in 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.
The embodiment of the invention has the following beneficial effects:
1. the invention can realize the quick synchronization of the mirror image information in the local mirror image warehouse; the method supports processing of application push initiated by the terminal equipment and quick broadcast notification of update request completion events; fast decision making of source images used by application deployment/update.
2. The embodiment of the invention reduces the dependence on a centralized mirror image warehouse of the central node through a distributed framework. Mirror image warehouses are built through each edge cluster, the mirror image warehouses are shared by a plurality of cross-regional clusters through a distributed technology for use, the computing and storing capacity of the edge computing nodes is fully utilized, and the related load of the central node is greatly reduced.
3. The embodiment of the invention can realize the real-time synchronization of the application deployment or the application update information through the rapid propagation of the gossip protocol, and improves the operation efficiency of the whole system through the concurrent processing of a plurality of edge local mirror images and application deployment services in the operation process.
4. In the embodiment of the invention, the mirror image service nodes are independently deployed on each edge node, and the calculation and decision related to application deployment/update are independently completed on each edge node, so that the decision and calculation path in the application deployment/update process are reduced, and the calculation complexity of the whole system is reduced.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A remote pushing method for an edge computing application is characterized by comprising the following steps:
a first distributed mirror image service node in an edge network receives an application updating request or an application deploying request of a designated cluster of a user from a terminal device;
the first distributed mirror image service node issues the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol;
after a second distributed mirror image service node in the edge network determines that the request corresponds to the cluster, the position of a mirror image warehouse of the mirror image file required by the request is obtained; and according to the obtained position of the mirror image warehouse, the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request.
2. The method of claim 1, further comprising:
the second distributed mirror service node receives the completion time of the application update or deployment from the second application deployment server;
and the second distributed mirror image service node issues the completion time to other distributed mirror image service nodes in the edge network, so that the distributed mirror image service node connected with the terminal equipment in the edge network notifies the completion time to the terminal equipment.
3. The method according to claim 1, wherein after determining that the request corresponds to the cluster, a second distributed mirror service node in the edge network obtains a location of a mirror repository of a mirror file required by the request; according to the obtained position of the mirror image warehouse, the step that the second application deployment server of the cluster where the second distributed mirror image service node is located completes the application updating request or the application deployment request comprises the following steps:
the second distributed mirror image service node judges whether the mirror image file required by the request is stored in a second mirror image warehouse which is alive in the cluster of the second distributed mirror image service node according to the received survival information of other distributed mirror image service nodes and second mirror image information stored in the second mirror image warehouse of the cluster, and generates a first judgment result; the second mirror image warehouse stores a second mirror image file and second mirror image information; the second mirror image information records the identification of the mirror image file stored by each distributed mirror image service node in the edge network and the identification of the mirror image file stored in a cross-cluster remote mirror image warehouse;
when the first judgment result is yes, the second application deployment server of the cluster where the second mirror image warehouse is located completes the application updating request or the application deployment request according to the mirror image file in the second mirror image warehouse;
when the first judgment result is negative, the second distributed mirror image service node judges whether the required mirror image file is stored in a third mirror image warehouse which is alive in other clusters except the second mirror image warehouse in the edge network, and generates a second judgment result;
when the second judgment result is yes, judging whether the third mirror image warehouse storage is currently connected to the maximum concurrent number, and generating a third judgment result;
when the third judgment result is yes, judging whether the cross-cluster living remote mirror image bin stores the required mirror image file or not, and generating a fourth judgment result;
if the third judgment result is negative, the second application deployment server completes an application updating request or an application deployment request according to the file in the third mirror image warehouse;
and when the second judgment result is negative, judging whether the cross-cluster living remote mirror image warehouse stores the required mirror image file or not, and generating a fourth judgment result.
4. The method according to claim 3, wherein after determining that the request corresponds to the cluster, a second distributed mirror service node in the edge network obtains a location of a mirror repository of a mirror file required by the request; according to the obtained position of the mirror image warehouse, the step of completing the application update request or the application deployment request by the second application deployment server of the cluster where the second distributed mirror image service node is located further includes:
if the fourth judgment result is yes, the second distributed mirror image service node pulls the required mirror image file from the remote mirror image warehouse to the second mirror image warehouse, and the second application deployment server completes the application update request or the application deployment request according to the file in the second mirror image warehouse;
and if the fourth judgment result is negative, the second distributed mirror image service node sends a deployment failure message to the terminal equipment.
5. The method of claim 1, wherein prior to the step of the first distributed mirror service node in the edge network receiving an application update request or an application deployment request of a specified cluster of users from a terminal device, the method further comprises:
a first distributed mirror image service node in the edge network broadcasts survival messages to other distributed mirror image service nodes and a remote mirror image warehouse in the edge network at preset time intervals; or
A first distributed mirror service node in the edge network receives alive messages from other distributed mirror service nodes and a remote mirror repository in the edge network at predetermined time intervals.
6. The method of claim 3, wherein after the step of the second distributed mirror service node pulling the desired image file from the remote mirror repository into the second mirror repository, the method further comprises:
and the second mirror image warehouse updates local second mirror image information and broadcasts updated mirror image information and/or updated mirror image files to other mirror image warehouses and remote mirror image warehouses in the edge network.
7. The method of claim 3,
the application updating request or the application deployment request also carries the version number of the application;
the second mirror image warehouse also stores the version number of the mirror image file;
the second image information further includes a version number of the image file.
8. A remote push system for an edge computing application, comprising: at least two edge computing nodes interacting with a streaming protocol belonging to an edge network;
each edge computing node comprises: a distributed mirror service node; an application deployment server; a local mirror repository; an application software-as-a-service (SaaS) server;
the first distributed mirror image service node in the edge network is used for receiving an application update request or an application deployment request of a designated cluster of a user from a terminal device; issuing the request to other distributed mirror image service nodes except the first distributed mirror image service node in the edge network through a gossip protocol;
the second distributed mirror image service node in the edge network is used for obtaining the position of a mirror image warehouse of the mirror image file required by the request after determining that the request corresponds to the cluster;
and the second application deployment server of the cluster where the second distributed mirror image service node is located is used for completing the application updating request or the application deployment request according to the obtained position of the mirror image warehouse.
9. A server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202010636067.XA 2020-07-03 2020-07-03 Remote pushing method, system, server and computer readable storage medium Active CN111885122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010636067.XA CN111885122B (en) 2020-07-03 2020-07-03 Remote pushing method, system, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010636067.XA CN111885122B (en) 2020-07-03 2020-07-03 Remote pushing method, system, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111885122A CN111885122A (en) 2020-11-03
CN111885122B true CN111885122B (en) 2022-11-29

Family

ID=73151409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010636067.XA Active CN111885122B (en) 2020-07-03 2020-07-03 Remote pushing method, system, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111885122B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363806B (en) * 2020-11-23 2023-09-22 北京信安世纪科技股份有限公司 Cluster management method and device, electronic equipment and storage medium
CN112532711A (en) * 2020-11-24 2021-03-19 中移(杭州)信息技术有限公司 Edge computing application deployment method, terminal, edge computing node and storage medium
CN112800070A (en) * 2020-12-28 2021-05-14 杭州涂鸦信息技术有限公司 Mirror image warehouse system
CN112788149B (en) * 2021-01-22 2022-04-08 浪潮云信息技术股份公司 Method and system for rapidly distributing software in distributed cloud
CN113535324B (en) * 2021-06-25 2024-04-05 深圳软通动力信息技术有限公司 Method and system for edge side pull mirroring
CN113434254B (en) * 2021-06-30 2023-03-07 深圳平安智汇企业信息管理有限公司 Client deployment method, client deployment apparatus, computer device, and storage medium
CN114301809B (en) * 2021-12-31 2024-02-09 郑州云海信息技术有限公司 Edge computing platform architecture
CN114844879B (en) * 2022-03-25 2024-04-12 网宿科技股份有限公司 Mirror image management method, electronic device and storage medium
CN114726836A (en) * 2022-04-25 2022-07-08 四川智能建造科技股份有限公司 Distributed application distribution deployment method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790483A (en) * 2016-12-13 2017-05-31 武汉邮电科学研究院 Hadoop group systems and fast construction method based on container technique
WO2019157955A1 (en) * 2018-02-13 2019-08-22 华为技术有限公司 Device access method, related platform and computer storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11490307B2 (en) * 2018-12-12 2022-11-01 Akamai Technologies, Inc. Intelligently pre-positioning and migrating compute capacity in an overlay network, with compute handoff and data consistency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790483A (en) * 2016-12-13 2017-05-31 武汉邮电科学研究院 Hadoop group systems and fast construction method based on container technique
WO2019157955A1 (en) * 2018-02-13 2019-08-22 华为技术有限公司 Device access method, related platform and computer storage medium

Also Published As

Publication number Publication date
CN111885122A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111885122B (en) Remote pushing method, system, server and computer readable storage medium
CN108494612B (en) Network system for providing mobile edge computing service and service method thereof
Campolo et al. Mec support for 5g-v2x use cases through docker containers
CN108632055B (en) Network control method and device and communication system
CN109417829B (en) Method and apparatus for determining cluster head
CN106445473B (en) container deployment method and device
CN110866062B (en) Data synchronization method and device based on distributed cluster
CN108632063B (en) Method, device and system for managing network slice instances
CN110933137A (en) Data synchronization method, system, equipment and readable storage medium
CN111638935A (en) Mirror image management method, network system, device, and storage medium
CN112256429B (en) Data request processing method based on computational graph and industrial cloud edge system
CN113873005A (en) Node master selection method, system, equipment and medium for micro-service cluster
CN110213359B (en) Internet of vehicles networking data pushing system and method based on D2D
WO2016048206A1 (en) Network functions virtualization in ad-hoc groups
US9980088B2 (en) Distributed geospatial communications system
CN111418185A (en) Method, system and node device for locating information available at a node device in a network of communicatively interconnected node devices
CN116582902A (en) Network slice management method, device and storage medium based on satellite-ground integration
JP7149328B2 (en) Coupling redirect method and apparatus
CN116996376A (en) Method, device, equipment and storage medium for updating configuration of fixed network terminal
US20210055974A1 (en) Computer network of computing resource infrastructures and method for allocating said resources to client applications
CN112533304B (en) Ad hoc network management method, device, system, electronic equipment and storage medium
Lu et al. A multi-migration seamless handover scheme for vehicular networks in fog-based 5G optical fronthaul
EP3254479B1 (en) Topology database for application service support at access nodes
CN110071949B (en) System, method and device for managing computing application across geographic areas
Mechalikh et al. Towards a scalable and QoS-aware load balancing platform for edge computing environments

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