CN113949700B - Docker application acceleration issuing method and system based on cloud edge cooperation - Google Patents

Docker application acceleration issuing method and system based on cloud edge cooperation Download PDF

Info

Publication number
CN113949700B
CN113949700B CN202111006521.4A CN202111006521A CN113949700B CN 113949700 B CN113949700 B CN 113949700B CN 202111006521 A CN202111006521 A CN 202111006521A CN 113949700 B CN113949700 B CN 113949700B
Authority
CN
China
Prior art keywords
edge
docker application
docker
installation
application file
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
CN202111006521.4A
Other languages
Chinese (zh)
Other versions
CN113949700A (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.)
Inspur Communication Technology Co Ltd
Original Assignee
Shandong Inspur Scientific Research Institute 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 Shandong Inspur Scientific Research Institute Co Ltd filed Critical Shandong Inspur Scientific Research Institute Co Ltd
Priority to CN202111006521.4A priority Critical patent/CN113949700B/en
Publication of CN113949700A publication Critical patent/CN113949700A/en
Application granted granted Critical
Publication of CN113949700B publication Critical patent/CN113949700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • 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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The invention provides a cloud edge collaboration-based Docker application acceleration issuing method and a cloud edge collaboration-based Docker application acceleration issuing system, which comprise the following steps: receiving a Docker application demand sent by a user; the edge management platform intelligently pushes out edge end main equipment corresponding to the Docker application requirement to obtain a Docker application file processed by fragments; the edge management platform transmits the Docker application file processed by the fragments to the edge end main equipment through a preset message; the edge management platform receives the installation completion notification message of the edge end main equipment through the preset message, if the installation is successful, the notification message for downloading the Docker application file is sent to the edge end slave equipment through the preset message, and the installation result of the edge end slave equipment is received through the preset message. The invention improves the issuing efficiency of the edge device Docker application in the low-bandwidth and high-delay network environment.

Description

Docker application acceleration issuing method and system based on cloud edge cooperation
Technical Field
The invention relates to the technical field of Docker application, in particular to a Docker application acceleration issuing method and system based on cloud edge cooperation.
Background
With the development of cloud computing technology, the use cost of IT infrastructure is greatly reduced. However, there are some disadvantages to the centralization of resources brought by cloud data centers. After the resources are centralized, the distance from the terminal user to the data center is long, and the long-distance network transmission not only occupies a large amount of network resources, but also brings high time delay to slow down the corresponding speed of the user request, thereby influencing the user experience. The edge computing distributes the computing power originally concentrated in the data center to the network edge, and performs data processing on the network edge.
The method for issuing the Docker application commonly used at present comprises the following steps: the system administrator uploads the developed and tested Docker application file to the edge management platform, and selects one or more edge devices to deploy the Docker application, which may have the following defects: the Docker application file is larger, the edge device is usually in the environment with smaller network bandwidth and prolonged time, the problems of longer downloading time, increased failure probability and the like exist, and the impact of downloading the Docker application to the edge management platform and the edge network is large when a plurality of edge devices are downloaded simultaneously.
Disclosure of Invention
The invention provides a cloud edge collaboration-based Docker application acceleration issuing method and a cloud edge collaboration-based Docker application acceleration issuing system, which are used for solving the defects that in the prior art, when an edge end deploys a Docker application file, the edge end is limited by high time delay and low bandwidth of edge equipment.
In a first aspect, the present invention provides a cloud-edge collaboration-based Docker application acceleration issuing method, including:
receiving a Docker application demand sent by a user;
intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments;
issuing the Docker application file processed by the slicing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification;
and receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
In one embodiment, the issuing the Docker application file of the slicing process to the edge side master device through a preset message, so that the edge side master device performs installation verification, and then further includes:
and receiving an installation completion notification message of the edge terminal main equipment through the preset message, and if the installation failure is determined, sending a failure prompt message issued by the Docker application to the user.
In one embodiment, the receiving the Docker application requirement sent by the user includes:
and receiving Docker application information sent by the user and the edge equipment information selected by the user.
In a second aspect, the present invention further provides a cloud-edge collaboration-based Docker application acceleration issuing method, including:
the method comprises the steps that edge-side main equipment receives a data sheet of a Docker application file issued by an edge management platform through a preset message;
the edge end master equipment assembles the data sheet of the Docker application file into a Docker application file, verifies and installs the Docker application file, and sends a corresponding installation result to the edge management platform through the preset message;
the edge end slave device receives the installation success notification message issued by the edge management platform through the preset message, and receives the notification message issued by the edge management platform through the preset message for downloading the Docker application file;
and the edge end slave equipment downloads and installs the Docker application file from the edge end master equipment through a preset interface, and feeds back an installation result to the edge management platform through the preset message.
In one embodiment, the edge side host device receives a Docker application file data slice issued by the edge management platform, and further includes:
and intelligently pushing out the edge master equipment and the edge slave equipment by the edge management platform.
In a third aspect, the present invention further provides a cloud-edge collaboration-based Docker application acceleration issuing system, including:
the first receiving module is used for receiving the Docker application requirement sent by the user;
the selecting module is used for intelligently selecting the edge end main equipment corresponding to the Docker application requirement and acquiring the Docker application file processed by the fragments;
the issuing module is used for issuing the Docker application file processed by the fragments to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification;
the processing module is used for receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, the notification message for downloading the Docker application file is issued to the edge end slave device through the preset message, and the installation result of the edge end slave device is received.
In a fourth aspect, the present invention further provides a cloud edge collaboration-based Docker application acceleration issuing system, including:
the second receiving module is used for receiving the data sheet of the Docker application file issued by the edge management platform through the preset message by the edge end main equipment;
the installation module is used for the edge end main equipment to assemble the data sheet of the Docker application file into a Docker application file, check and install the Docker application file, and send a corresponding installation result to the edge management platform through the preset message;
the third receiving module is used for receiving the installation success notification message sent by the edge management platform through the preset message from the edge terminal slave device and receiving the notification message for downloading the Docker application file sent by the edge management platform through the preset message;
the downloading module is used for downloading and installing the Docker application file from the edge end main equipment through a preset interface by the edge end auxiliary equipment, and feeding back an installation result to the edge management platform through the preset message.
In a fifth aspect, the present invention further provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the Docker application acceleration issuing method based on cloud edge collaboration as described in any one of the above when executing the program.
In a sixth aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program implementing the steps of the cloud-edge collaboration-based Docker application acceleration issuing method as described in any one of the above.
In a seventh aspect, the present invention further provides a computer program product, including a computer program, where the computer program when executed by a processor implements the steps of the Docker application acceleration issuing method based on cloud edge collaboration as described in any one of the above.
According to the cloud-edge-collaboration-based Docker application acceleration issuing method and system, the Docker application files are fragmented through the cloud-deployment-based edge management platform, the fragmented files are issued to the edge-end main equipment deployed at the edge end for assembly, so that the edge-end slave equipment synchronously downloads and installs the Docker application files from the edge-end main equipment, and the Docker application issuing efficiency of the edge equipment in a low-bandwidth and high-delay network environment is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a Docker application acceleration issuing method based on cloud edge collaboration, which is provided by the invention;
FIG. 2 is a second flow chart of a Docker application acceleration issuing method based on cloud edge collaboration provided by the invention;
FIG. 3 is a schematic logic flow diagram of a Docker application acceleration issuing method based on cloud edge collaboration provided by the invention;
FIG. 4 is a schematic diagram of a Docker application acceleration issuing system based on cloud edge collaboration according to the present invention;
FIG. 5 is a second schematic diagram of a Docker application acceleration issuing system based on cloud edge collaboration according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Aiming at the problems in the prior art, the invention provides the Docker application acceleration issuing method based on Yun Bian cooperation, and the technical limitation of issuing the Docker application to the edge equipment is made up from the practical production point of view.
The Docker application acceleration issuing method based on cloud edge cooperation provided by the invention comprises three logic components: the cloud terminal comprises an edge management platform deployed at a cloud terminal, edge terminal equipment deployed at an edge terminal and a Docker application. The edge management platform is used for edge equipment management and Docker application management, the edge equipment is used for running Docker applications, and the application management is that a user uploads the Docker applications to an application warehouse of the edge management platform through a Web page to conduct life cycle management.
It should be noted that, docker is a lightweight container virtualization engine based on LXC (Linux Container) that is an open source of dotCloud, and the container execution adopts a sandbox mechanism, and there is a system isolation between each container and no interface between each container. Compared with the complete virtualization technologies such as VMware, KVM (Kernel-based Virtual Machine), the lightweight virtualization mechanism has the advantages that the starting speed of the Docker container is high, the extra occupation of the system is small, and the number of Docker containers which can be started by the same server is far greater than the number of virtual machines which are started. Meanwhile, the Docker optimizes the image storage, the Docker images store the running environment and configuration information required by the running of the container, the images come from a warehouse, and a file system of layered storage is adopted, so that the reusability is improved.
Fig. 1 is one of flow diagrams of a method for accelerating issuing of a Docker application based on cloud edge coordination, where, as shown in fig. 1, a corresponding execution body is an edge management platform, and includes:
101, receiving a Docker application requirement sent by a user;
102, intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments;
103, issuing the Docker application file subjected to the slicing processing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification;
104, receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
Specifically, firstly, an edge management platform receives a Docker application demand sent by a user, and through intelligent push selection, an edge master device, namely master device, is pushed out of edge devices selected by the user, and the rest edge devices are edge slave devices, namely slave devices;
the edge management platform downloads the Docker application file from an application warehouse, fragments the application file, wherein the application warehouse is generally a Harbor mirror image warehouse and is used for storing mirror images of the application file, and then the fragmented application file is sent to a master device through an MQTT (Message Queuing Telemetry Transport, message queue telemetry transport) message;
the master equipment reassembles the data sheets into a Docker application file after receiving the data sheets, verifies the integrity of the file and installs the file, and informs an edge management platform of a specific installation result through an MQTT message after the installation is completed;
and the edge management platform analyzes the installation result after receiving the installation result, if the analysis result is that the installation is successful, the device informs the device of downloading the corresponding Docker application file through the MQTT message, the device of downloading the Docker application file and installing the Docker application file through calling a Restful interface provided by the master device, and the device informs the edge management platform of the installation result through the MQTT message after the completion.
According to the invention, the master device is intelligently selected through the edge management platform, the files of the Docker application are fragmented, the fragmented files are issued to the master device through the MQTT message, and the slave device synchronously installs the package from the master device, so that the life cycle management of the Docker application is realized, the operations of issuing to the edge device are accelerated, and the issuing efficiency of the Docker application of the edge device in a low-bandwidth and high-delay network environment is improved.
Based on the above embodiment, the method step 103 further comprises:
and receiving an installation completion notification message of the edge terminal main equipment through the preset message, and if the installation failure is determined, sending a failure prompt message issued by the Docker application to the user.
Specifically, after receiving the installation result feedback of the master device, the device management platform analyzes the installation result, if the installation result is judged to be failure, a prompt message is fed back to the user, and the issuing of the Docker application fails.
According to the method and the device, the device management platform is used for analyzing and acquiring that the corresponding Docker file is not successfully installed on the edge device, the failure result is directly fed back to the user, and the user directly acquires the execution result issued by the Docker application, so that the method and the device have the characteristics of intuitiveness and high efficiency.
Based on any of the above embodiments, the method step 101 includes:
and receiving Docker application information sent by the user and the edge equipment information selected by the user.
It should be noted that, for the edge management platform to receive the requirement of the Docker application sent by the user through the Web page of the edge management platform, the first is a specific Docker application file, and the second is a requirement of the selected edge device.
According to the method, the specific Docker application file and the selected edge terminal equipment which are confirmed by the user through the Web page of the edge management platform, the object and the execution node are clearly executed in the initial stage of the demand, and the subsequent Docker application is convenient to issue and download and execute the specific file.
Fig. 2 is a second flow chart of a method for accelerating the issuing of a Docker application based on cloud edge coordination, where, as shown in fig. 2, a corresponding execution body is an edge device, and includes:
201, an edge end main device receives a Docker application file data sheet issued by an edge management platform through a preset message;
202, the edge end master equipment assembles the data sheet of the Docker application file into a Docker application file, verifies and installs the Docker application file, and sends a corresponding installation result to the edge management platform through the preset message;
203, the edge terminal slave device receives an installation success notification message issued by the edge management platform through the preset message, and receives a notification message issued by the edge management platform through the preset message for downloading the Docker application file;
and 204, the edge slave device downloads and installs the Docker application file from the edge master device through a preset interface, and feeds back an installation result to the edge management platform through the preset message.
Specifically, when the master equipment at the edge end, namely the master equipment, receives the data sheet of the Docker application file issued by the edge management platform, the assembly of the file is started, the integrity of the file is checked, and after the installation is completed, the installation result of the edge management platform is notified through an MQTT message;
further, if the edge management platform analyzes that the installation result is a successful state, the edge management platform issues a notification to the edge slave device, namely the slave device, through an MQTT message that the corresponding Docker application file can be downloaded and installed from the master device;
and the slave device downloads and installs the Docker application file by calling a Restful interface provided by the master device, and informs an edge management platform of an installation result through an MQTT message after the slave device is installed.
According to the method, the Docker application file is fragmented through the cloud deployment edge management platform, the fragmented file is issued to the edge end master device deployed at the edge end for assembly, so that the edge end slave device synchronously downloads and installs the Docker application file from the edge end device master node, and the issuing efficiency of the Docker application of the edge device in a low-bandwidth and high-delay network environment is improved.
Based on the above embodiment, the method step 201 includes, before:
and receiving the intelligent push of the edge master device and the edge slave device by the edge management platform.
After the edge terminal equipment is selected by a user, the cloud edge management platform performs intelligent selection, and corresponding master equipment and other slave equipment are selected according to the configuration condition and the running state of each equipment.
The following describes the Docker application acceleration issuing method according to the present invention with reference to the complete logic flow diagram of fig. 3:
the user selects a Docker application to be issued and edge equipment on the Web page of the edge management platform and submits the Docker application to the edge management platform;
the edge management platform selects master equipment from edge equipment selected by a user, and other equipment is used as slave equipment;
the edge management platform downloads the Docker application file from the application warehouse and fragments the Docker application file;
the edge management platform sends the data sheet to master equipment through an MQTT message;
the master device receives the data pieces and assembles the data pieces into a Docker application file, verifies the integrity of the file and installs the file. After the installation is completed, the edge management platform is informed of the installation result through an MQTT message;
the edge management platform receives and analyzes the installation result, if the installation result fails, a user is prompted, and the Docker application fails to issue; if the edge management platform is successful, notifying slave equipment to download the Docker application through the MQTT;
after receiving the MQTT notification message of the edge management platform, the slave device downloads and installs the Docker application file through a Restful interface provided by the master device, and after the slave device is installed, the MQTT message is used for notifying the edge management platform of the installation result.
The description of the Docker application acceleration issuing system provided by the invention is provided below, and the Docker application acceleration issuing system described below and the Docker application acceleration issuing method described above can be referred to correspondingly.
Fig. 4 is a schematic structural diagram of a Docker application acceleration issuing system based on cloud edge coordination, where, as shown in fig. 4, the system includes: a first receiving module 41, a determining module 42, a issuing module 43 and a processing module 44, wherein:
the first receiving module 41 is configured to receive a Docker application requirement sent by a user; the selecting module 42 is configured to intelligently select an edge end master device corresponding to the Docker application requirement, and obtain a Docker application file processed by slicing; the issuing module 43 is configured to issue the sliced Docker application file to the edge side master device through a preset message, so that the edge side master device performs installation verification; the processing module 44 is configured to receive the installation completion notification message of the edge master device through the preset message, and if it is determined that the installation is successful, send a notification message for downloading the Docker application file to an edge slave device through the preset message, and receive an installation result of the edge slave device.
Fig. 5 is a second schematic structural diagram of a Docker application acceleration issuing system based on cloud edge coordination, where, as shown in fig. 5, the system includes: a second receiving module 51, an installation module 52, a third receiving module 53 and a downloading module 54, wherein:
the second receiving module 51 is configured to receive a Docker application file data slice sent by the edge management platform through a preset message by using an edge end master device; the installation module 52 is configured to assemble the data pieces of the Docker application file into a Docker application file by using the edge end master device, check and install the Docker application file, and send a corresponding installation result to the edge management platform through the preset message; the third receiving module 53 is configured to receive, by using an edge slave device, a notification message of successful installation issued by the edge management platform through the preset message, and receive a notification message of downloading the dock application file issued by the edge management platform through the preset message; the downloading module 54 is configured to download and install the dock application file from the edge side master device through a preset interface by using the edge side slave device, and feed back an installation result to the edge management platform through the preset message.
According to the invention, the master device is intelligently selected through the edge management platform, the files of the Docker application are fragmented, the fragmented files are issued to the master device through the MQTT message, and the slave device synchronously installs the package from the master device, so that the life cycle management of the Docker application is realized, the operations of issuing to the edge device are accelerated, and the issuing efficiency of the Docker application of the edge device in a low-bandwidth and high-delay network environment is improved.
Fig. 6 illustrates a physical schematic diagram of an electronic device, as shown in fig. 6, which may include: processor 610, communication interface (Communications Interface) 620, memory 630, and communication bus 640, wherein processor 610, communication interface 620, and memory 630 communicate with each other via communication bus 640. Processor 610 may invoke logic instructions in memory 630 to perform a cloud-edge collaboration based Docker application acceleration issue method comprising: receiving a Docker application demand sent by a user; intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments; issuing the Docker application file processed by the slicing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification; and receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
Further, the logic instructions in the memory 630 may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention further provides a computer program product, where the computer program product includes a computer program, where the computer program may be stored on a non-transitory computer readable storage medium, and when the computer program is executed by a processor, the computer is capable of executing a method for acceleration issuing of a Docker application based on cloud edge coordination provided by the above methods, where the method includes: receiving a Docker application demand sent by a user; intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments; issuing the Docker application file processed by the slicing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification; and receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
In still another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program is implemented when executed by a processor to perform the cloud edge collaboration-based dock application acceleration issuing method provided by the foregoing methods, where the method includes: receiving a Docker application demand sent by a user; intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments; issuing the Docker application file processed by the slicing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification; and receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. The Docker application acceleration issuing method based on cloud edge cooperation is characterized by comprising the following steps of:
receiving a Docker application demand sent by a user;
intelligently selecting an edge end main device corresponding to the Docker application requirement, and acquiring a Docker application file processed by fragments;
issuing the Docker application file processed by the slicing to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification;
and receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, downloading the notification message for downloading the Docker application file to the edge end slave device through the preset message, and receiving the installation result of the edge end slave device through the preset message.
2. The cloud-edge-collaboration-based Docker application acceleration issuing method according to claim 1, wherein the issuing the Docker application file processed by the slicing to the edge-side master device through a preset message is performed for the edge-side master device to perform installation verification, and then further includes:
and receiving an installation completion notification message of the edge terminal main equipment through the preset message, and if the installation failure is determined, sending a failure prompt message issued by the Docker application to the user.
3. The cloud edge collaboration-based Docker application acceleration issuing method according to claim 1 or 2, wherein the receiving the Docker application requirement sent by the user comprises:
and receiving Docker application information sent by the user and the edge equipment information selected by the user.
4. The Docker application acceleration issuing method based on cloud edge cooperation is characterized by comprising the following steps of:
the method comprises the steps that edge-side main equipment receives a data sheet of a Docker application file issued by an edge management platform through a preset message;
the edge end master equipment assembles the data sheet of the Docker application file into a Docker application file, verifies and installs the Docker application file, and sends a corresponding installation result to the edge management platform through the preset message;
the edge end slave device receives the installation success notification message issued by the edge management platform through the preset message, and receives the notification message issued by the edge management platform through the preset message for downloading the Docker application file;
and the edge end slave equipment downloads and installs the Docker application file from the edge end master equipment through a preset interface, and feeds back an installation result to the edge management platform through the preset message.
5. The cloud-edge collaboration-based Docker application acceleration issuing method of claim 4, wherein the edge-side master device receives a Docker application file data sheet issued by an edge management platform, and further comprises:
and intelligently pushing out the edge master equipment and the edge slave equipment by the edge management platform.
6. Docker application acceleration issuing system based on cloud edge cooperation is characterized by comprising:
the first receiving module is used for receiving the Docker application requirement sent by the user;
the selecting module is used for intelligently selecting the edge end main equipment corresponding to the Docker application requirement and acquiring the Docker application file processed by the fragments;
the issuing module is used for issuing the Docker application file processed by the fragments to the edge end master device through a preset message so as to enable the edge end master device to perform installation verification;
the processing module is used for receiving the installation completion notification message of the edge end master device through the preset message, if the installation is successful, the notification message for downloading the Docker application file is issued to the edge end slave device through the preset message, and the installation result of the edge end slave device is received.
7. Docker application acceleration issuing system based on cloud edge cooperation is characterized by comprising:
the second receiving module is used for receiving the data sheet of the Docker application file issued by the edge management platform through the preset message by the edge end main equipment;
the installation module is used for the edge end main equipment to assemble the data sheet of the Docker application file into a Docker application file, check and install the Docker application file, and send a corresponding installation result to the edge management platform through the preset message;
the third receiving module is used for receiving the installation success notification message sent by the edge management platform through the preset message from the edge terminal slave device and receiving the notification message for downloading the Docker application file sent by the edge management platform through the preset message;
the downloading module is used for downloading and installing the Docker application file from the edge end main equipment through a preset interface by the edge end auxiliary equipment, and feeding back an installation result to the edge management platform through the preset message.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executing the program, implements the steps of the cloud-edge collaboration-based Docker application acceleration issuing method according to any one of claims 1 to 5.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the cloud-edge synergy-based Docker application acceleration issuing method of any one of claims 1 to 5.
CN202111006521.4A 2021-08-30 2021-08-30 Docker application acceleration issuing method and system based on cloud edge cooperation Active CN113949700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111006521.4A CN113949700B (en) 2021-08-30 2021-08-30 Docker application acceleration issuing method and system based on cloud edge cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111006521.4A CN113949700B (en) 2021-08-30 2021-08-30 Docker application acceleration issuing method and system based on cloud edge cooperation

Publications (2)

Publication Number Publication Date
CN113949700A CN113949700A (en) 2022-01-18
CN113949700B true CN113949700B (en) 2023-06-06

Family

ID=79327498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111006521.4A Active CN113949700B (en) 2021-08-30 2021-08-30 Docker application acceleration issuing method and system based on cloud edge cooperation

Country Status (1)

Country Link
CN (1) CN113949700B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242774B (en) * 2022-06-24 2024-09-03 浪潮通信技术有限公司 Edge computing gateway configuration transmission method and device
CN116521325B (en) * 2023-07-05 2023-09-29 中国人寿保险股份有限公司上海数据中心 Centralized management system and method for distributed containers

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901173A (en) * 2020-07-30 2020-11-06 山东超越数控电子股份有限公司 Cloud edge cooperative system construction method, device, equipment and readable medium
CN112559133A (en) * 2020-12-22 2021-03-26 北京滴普科技有限公司 Cloud-edge coordination system and cloud-edge coordination method based on native container technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111901173A (en) * 2020-07-30 2020-11-06 山东超越数控电子股份有限公司 Cloud edge cooperative system construction method, device, equipment and readable medium
CN112559133A (en) * 2020-12-22 2021-03-26 北京滴普科技有限公司 Cloud-edge coordination system and cloud-edge coordination method based on native container technology

Also Published As

Publication number Publication date
CN113949700A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN113949700B (en) Docker application acceleration issuing method and system based on cloud edge cooperation
US20180373517A1 (en) Systems, methods, and apparatuses for docker image downloading
CN109491681B (en) Method and device for upgrading MCU in automobile
CN111741134B (en) System and method for quickly constructing virtual machine in large-scale scene of network shooting range
CN110096340B (en) Timing task processing method and device
CN106843933A (en) A kind of leak restorative procedure of application program, mobile terminal and patch server
CN111796843B (en) Application program upgrading method, device, equipment and storage medium
EP3402123B1 (en) Method and apparatus for transmitting request message
CN112202920B (en) Vehicle-mounted system upgrading method and device
CN111857772B (en) Method and device for remote transmission and dynamic loading of terminal edge application program
CN111143031A (en) Method and device for changing capacity of virtual machine
US20160062755A1 (en) Information processing device and deployment method
CN114968283A (en) Container mirror image pulling method, device and equipment and readable storage medium
CN113342541A (en) Message consumption method and device, computing equipment and storage medium
CN112769949A (en) File transmission method and device, electronic equipment and storage medium
CN113849265A (en) Automatic Docker mirror image publishing method and system
CN115225628A (en) Preheating type mirror image loading method based on lightweight container cloud environment
CN113986289A (en) Firmware upgrading method and device for edge computing gateway
CN116501339B (en) Application deployment method, device, electronic equipment and computer readable storage medium
CN110347422B (en) Application arranging method and device and electronic equipment
CN116107603B (en) Firmware upgrading method and device, storage medium and electronic equipment
CN117215635A (en) Task processing method, device and storage medium
CN110928713A (en) Database service fault repairing method, related device and storage medium
CN115051919B (en) OTA upgrading system and OTA upgrading method
CN113190262B (en) Cloud-based distributed software version management and control system and control method

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
TR01 Transfer of patent right

Effective date of registration: 20231027

Address after: 266107 No. 2, Xiangtan Road, Danshan Industrial Park, Chengyang District, Qingdao, Shandong

Patentee after: Inspur Communication Technology Co.,Ltd.

Address before: 250101 Inspur science and Technology Park, 1036 Inspur Road, hi tech Zone, Jinan City, Shandong Province

Patentee before: Shandong Inspur Scientific Research Institute Co.,Ltd.

TR01 Transfer of patent right