Disclosure of Invention
The invention aims to provide a registration method, a device and a system for an edge cloud container platform. The problem that the central cloud management platform cannot be actively accessed under the condition that the edge cloud has no public network access address is solved.
In order to solve the technical problems, the technical scheme of the invention is as follows:
The invention provides a registration method of an edge cloud container platform, which is applied to an edge Yun Rongqi platform, and comprises the following steps:
receiving an authentication instruction sent by a central cloud management platform;
establishing a network tunnel with the central cloud management platform according to the authentication instruction;
Receiving an authentication certificate sent by the central cloud management platform through the network tunnel;
performing secure access authentication connection with the central cloud management platform according to the authentication certificate;
And registering an edge Yun Rongqi platform to the central cloud management platform through the secure access authentication connection.
Optionally, the authentication instruction includes at least one of:
the edge cloud runs information of an edge proxy gateway module;
establishing request information of a network tunnel;
the edge cloud accesses authentication information of the central cloud management platform.
Optionally, the authentication certificate is generated by at least one of an edge cloud container platform name, a unique identification, and an intranet access address.
Optionally, registering an edge Yun Rongqi platform with the central cloud management platform through the secure access authentication connection includes:
receiving a deployment component configuration instruction sent by the central cloud management platform;
performing component deployment according to the deployment component configuration instruction;
and automatically updating the component deployment information after the component deployment is completed to the central cloud management platform.
Optionally, the assembly comprises at least one of:
mirror warehouse, container cluster, log analysis, monitoring alarm, load balancing, security management, gray level management, flow control, domain name resolution, automatic configuration management and artificial intelligence AI operation environment.
Optionally, the registration method of the edge Yun Rongqi platform further includes:
establishing a message queue telemetry transmission MQTT data channel with the central cloud management platform;
and carrying out data transmission with the central cloud management platform through the MQTT data channel.
The invention also provides a registration method of the edge cloud container platform, which is applied to the central cloud management platform, and comprises the following steps:
Sending an authentication instruction to an edge Yun Rongqi platform;
establishing a network tunnel with the edge Yun Rongqi platform according to the authentication instruction;
Sending an authentication certificate to the edge cloud container platform through the network tunnel;
performing secure access authentication connection with the edge cloud container platform according to the authentication certificate;
Based on the secure access authentication connection, registration of the edge Yun Rongqi platform is completed.
Optionally, the authentication instruction includes at least one of:
the edge cloud runs information of an edge proxy gateway module;
establishing request information of a network tunnel;
the edge cloud accesses authentication information of the central cloud management platform.
Optionally, the authentication certificate is generated by at least one of an edge cloud container platform name, a unique identifier and an intranet access address created and configured by the central cloud management platform.
Optionally, based on the secure access authentication connection, completing the registration of the edge Yun Rongqi platform includes:
sending a deployment component configuration instruction to the edge Yun Rongqi platform;
and receiving component deployment information after the edge cloud container platform completes component deployment according to the deployment component configuration instruction. .
Optionally, the registration method of the edge Yun Rongqi platform further includes:
establishing a message queue telemetry transmission MQTT data channel with the edge Yun Rongqi platform;
And carrying out data transmission with the edge Yun Rongqi platform through the MQTT data channel.
The invention provides a registration device of an edge cloud container platform, which is applied to an edge Yun Rongqi platform and comprises the following components:
the system comprises a receiving and transmitting module, a network tunnel, a receiving and transmitting module and a transmitting module, wherein the receiving and transmitting module is used for receiving an authentication instruction sent by a central cloud management platform, establishing a network tunnel with the central cloud management platform according to the authentication instruction, and receiving an authentication certificate sent by the central cloud management platform through the network tunnel;
And the processing module is used for carrying out SSL access authentication connection with the central cloud management platform according to the authentication certificate, and registering the edge Yun Rongqi platform to the central cloud management platform through the SSL access authentication connection.
The invention also provides a registration device of the edge cloud container platform, which is applied to the central cloud management platform and comprises:
the receiving and transmitting module is used for sending an authentication instruction to the edge Yun Rongqi platform, establishing a network tunnel with the edge Yun Rongqi platform according to the authentication instruction, and sending an authentication certificate to the edge cloud container platform through the network tunnel;
And the processing module is used for carrying out secure access authentication connection with the edge cloud container platform according to the authentication certificate, and completing registration of the edge Yun Rongqi platform based on the secure access authentication connection.
The invention provides an edge cloud container platform deployment system, which comprises an edge Yun Rongqi platform and a central cloud management platform,
The edge cloud container platform receives an authentication instruction sent by a central cloud management platform;
The edge cloud container platform establishes a network tunnel with the central cloud management platform according to the authentication instruction;
the edge Yun Rongqi platform receives an authentication certificate sent by the central cloud management platform through the network tunnel;
The edge cloud container platform performs secure access authentication connection with the central cloud management platform according to the authentication certificate;
the edge Yun Rongqi platform registers an edge Yun Rongqi platform with the central cloud management platform over the secure access authentication connection.
Optionally, the edge Yun Rongqi platform registers an edge Yun Rongqi platform with the central cloud management platform through the secure access authentication connection, including:
The central cloud management platform sends a deployment component configuration instruction to an edge Yun Rongqi platform;
the edge cloud container platform performs component deployment according to the deployment component configuration instruction to obtain the construction deployment information;
The edge Yun Rongqi platform sends the build deployment information to the central cloud management platform.
Optionally, the edge cloud container platform is further configured to establish a message queue telemetry transmission MQTT data channel with the central cloud management platform;
And the edge cloud container platform transmits data to the central cloud management platform through the MQTT data channel.
The invention also provides a computer readable storage medium storing instructions that, when executed on a computer, cause the computer to perform a method as described above.
The scheme of the invention at least comprises the following beneficial effects:
the method comprises the steps of receiving an authentication instruction sent by a central cloud management platform, establishing a network tunnel with the central cloud management platform according to the authentication instruction, receiving an authentication certificate sent by the central cloud management platform through the network tunnel, performing secure access authentication connection with the central cloud management platform according to the authentication certificate, and registering an edge Yun Rongqi platform to the central cloud management platform through the secure access authentication connection. The edge cloud can access the central cloud management platform, so that automatic deployment of the edge Yun Rongqi platform is realized, and collaboration of data such as business, application, operation and maintenance is actively realized.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a registration method of an edge cloud container platform, applied to an edge Yun Rongqi platform, where the method includes:
step 11, receiving an authentication instruction sent by a central cloud management platform;
Step 12, establishing a network tunnel with the central cloud management platform according to the authentication instruction;
Step 13, receiving an authentication certificate sent by the central cloud management platform through the network tunnel;
Step 14, carrying out secure access authentication connection with the central cloud management platform according to the authentication certificate;
And 15, registering an edge Yun Rongqi platform to the central cloud management platform through the secure access authentication connection.
The registration method of the edge Yun Rongqi Platform is applied to the edge Yun Rongqi Platform, an edge Yun Rongqi Platform is built on an edge cloud container Platform with an infrastructure and automatically registered on a central cloud management Platform, and it is to be noted that the edge Yun Rongqi Platform is responsible for ECPAAS (Platform-as-a-Service for EdgeComputing) business and AI processing, and the edge Yun Rongqi Platform is provided with an edge cloud base environment, a terminal interaction component and a cloud interaction component.
The cloud end unified management system has the functions of cloud end unified management of the edge container platform, network establishment, two-way access authentication and automatic registration, the edge Yun Rongqi platform can be automatically added into the central cloud management platform, automatic deployment of the edge container cloud platform is realized, and cooperative interaction of the edge cloud container platform and the central cloud platform is achieved.
In an optional embodiment of the present invention, the authentication instruction in step 11 includes at least one of information that the edge cloud runs an edge proxy gateway module, information that the edge cloud needs to establish a network tunnel, and authentication information that the edge cloud accesses a central cloud management platform.
In this embodiment, the edge cloud container platform receives the authentication instruction sent by the central cloud management platform, executes the authentication instruction, runs the proxy gateway module, and establishes a network tunnel;
As shown in fig. 2, further describing the network tunnel, the edge Yun Rongqi platform provides a proxy gateway module, and the central cloud management platform provides an edge cloud collaboration gateway, which perform data interaction through the network tunnel. The edge cloud container platform accesses the service and data of the center cloud management platform through the edge cloud cooperative gateway module, and the edge cloud container platform and the center cloud management platform realize bidirectional authentication access through a bidirectional SSL (Secure Sockets Layer, secure socket protocol) authentication mode.
In an optional embodiment of the present invention, the authentication certificate in step 13 is generated by at least one of an edge cloud container platform name, a unique identifier, and an intranet access address created and configured by the central cloud management platform.
In this embodiment, the edge Yun Rongqi platform receives the authentication credentials through the network tunnel and then configures SSL access authentication through the credential information.
In an alternative embodiment of the present invention, step 15 includes:
step 151, receiving a deployment component configuration instruction sent by the central cloud management platform;
step 152, performing component deployment according to the deployment component configuration instruction;
and step 153, automatically updating the component deployment information after the component deployment is completed to the central cloud management platform.
The system comprises a mirror image warehouse, a container cluster, log analysis, monitoring and alarming, load balancing, safety management, gray level management, flow control, domain name analysis, automatic configuration management and artificial intelligent AI operation environment.
In this embodiment, after receiving the configuration command of deploying the component of the edge cloud container platform, the proxy gateway module of the edge Yun Rongqi platform deploys the component at the corresponding node of the plan, and after the component deployment is completed, the component deployment information is automatically updated to the central cloud management platform through the proxy gateway service, where step 152 is preferably implemented by using Ansible tools, and Ansible tools are an automated operation and maintenance tool developed based on the Python operating system.
In an alternative embodiment of the present invention, the registration method of the edge Yun Rongqi platform further includes:
step 16, establishing a message queue telemetry transmission MQTT data channel with the central cloud management platform;
and step 17, carrying out data transmission with the central cloud management platform through the MQTT data channel.
In this embodiment, the edge Yun Rongqi platform provides a proxy gateway module, the central cloud management platform provides an edge cloud collaboration gateway, the edge Yun Rongqi platform and the central cloud management platform perform data interaction through a network tunnel, and the edge Yun Rongqi platform can synchronize service data and transport data of the edge Yun Rongqi platform to the central cloud management platform through an MQTT (Message Queuing Telemetry Transport; message queue telemetry transport protocol) message queue mode after accessing the edge cloud collaboration gateway.
As shown in fig. 3, the present invention further provides a registration method of an edge cloud container platform, which is applied to a central cloud management platform, and the method includes:
step 31, sending an authentication instruction to an edge Yun Rongqi platform;
step 32, establishing a network tunnel with the edge Yun Rongqi platform according to the authentication instruction;
Step 33, sending an authentication certificate to the edge cloud container platform through the network tunnel;
Step 34, performing secure access authentication connection with the edge cloud container platform according to the authentication certificate;
and 35, finishing registration of the edge Yun Rongqi platform based on the secure access authentication connection.
The registration method of the edge Yun Rongqi platform is applied to a central cloud management platform, an edge Yun Rongqi platform is built on an edge cloud container platform with an infrastructure and automatically registered on the central cloud management platform, and the central cloud management platform is responsible for unified management of central cloud and edge cloud and has an edge cloud interaction function and a central cloud management platform system function component.
In an optional embodiment of the present invention, the authentication instruction in step 31 includes at least one of information of an edge cloud running edge proxy gateway module, request information for establishing a network tunnel, and authentication information of an edge cloud access center cloud management platform.
In the embodiment, an authentication instruction is generated by a central cloud management platform and sent to an edge Yun Rongqi platform, a network tunnel is established between the central cloud management platform and an edge container platform, as shown in fig. 2, the central cloud management platform and the edge Yun Rongqi platform automatically establish the network tunnel, the central cloud management platform provides an edge cloud collaboration gateway and performs data interaction with the edge Yun Rongqi platform through the network tunnel, and the central cloud management platform calls a proxy gateway module of the edge Yun Rongqi platform to access the edge cloud container platform, so that related data operations such as dispatching task issuing and access are realized.
In an optional embodiment of the present invention, the authentication certificate in step 33 is generated by at least one of an edge cloud container platform name, a unique identifier, and an intranet access address created and configured by the central cloud management platform.
In an alternative embodiment of the present invention, step 35 includes:
step 351, sending a deployment component configuration instruction to the edge Yun Rongqi platform;
And step 352, receiving component deployment information after the edge cloud container platform completes component deployment according to the deployment component configuration instruction.
In this embodiment, after the central cloud management platform and the proxy gateway module establish access connection, relevant deployment component configuration is performed on the central cloud management platform, then a deployment component configuration instruction is issued to the edge cloud container platform, and component deployment information after the edge Yun Rongqi platform component deployment is completed is received.
In an alternative embodiment of the present invention, the method for registering the edge Yun Rongqi platform may further include:
step 36, establishing an MQTT (message queue telemetry transport) data channel with the edge Yun Rongqi platform;
and step 37, carrying out data transmission with the edge Yun Rongqi platform through the MQTT data channel.
In this embodiment, as shown in fig. 2, after the proxy gateway module updates the configuration to the central cloud management platform, a data channel is established with the MQTT module of the Bian Yun collaboration gateway of the central cloud management platform, and related information such as services, operation and maintenance, applications and the like of the edge cloud collaboration gateway is pushed through the MQTT to realize data collaboration.
As shown in fig. 4, in a specific embodiment, the process of implementing the automated deployment of the edge cloud container platform is as follows:
the central cloud management platform newly builds an edge cloud, sets configuration and generates an authentication instruction;
Executing an authentication instruction generated on a central cloud management platform on an edge cloud container platform;
the edge cloud container platform runs the proxy gateway module by executing the authentication instruction;
The proxy gateway module registers the edge cloud container platform to the central cloud management platform, and the central cloud management platform configures SSL related authentication and realizes SSL bidirectional authentication with the proxy gateway module;
the central cloud management platform sets relevant deployment component configuration;
The central cloud management platform issues a deployment component configuration instruction, and the proxy gateway module receives the deployment component configuration instruction and starts to execute the deployment component configuration instruction;
After the edge Yun Rongqi platform components are deployed, automatically updating the component deployment information related to the central cloud management platform;
After receiving the component deployment information, the central cloud management platform establishes an MQTT mode data channel with the edge Yun Rongqi platform to cooperate with data services of the edge Yun Rongqi platform and the like;
And completing the automatic deployment of the edge cloud container platform and the central cloud management platform.
The automatic deployment system formed by the edge Yun Rongqi platform and the central cloud management platform has the capability of uniformly managing the edge container platform by the cloud, has functions of network establishment, bidirectional access authentication and automatic registration, realizes automatic deployment of the edge Yun Rongqi platform by configuration issuing of the central cloud platform and registration of updated data, actively realizes collaboration of data such as business, application and operation and maintenance, actively establishes a network tunnel by the edge cloud and the central cloud platform, solves the problem that the edge cloud cannot be actively accessed under the condition of no public network access address, and ensures data safety and reliability by actively generating and automatically configuring SSL bidirectional access and MQTT data channels.
As shown in fig. 5, the present invention provides a registration device 50 of an edge cloud container platform, applied to an edge Yun Rongqi platform, including:
The receiving and transmitting module 51 is used for receiving an authentication instruction sent by a central cloud management platform, establishing a network tunnel with the central cloud management platform according to the authentication instruction, and receiving an authentication certificate sent by the central cloud management platform through the network tunnel;
And the processing module 52 is used for carrying out SSL access authentication connection with the central cloud management platform according to the authentication certificate, and registering the edge Yun Rongqi platform to the central cloud management platform through the SSL access authentication connection.
Optionally, the authentication instruction includes at least one of:
the edge cloud runs information of an edge proxy gateway module;
establishing request information of a network tunnel;
the edge cloud accesses authentication information of the central cloud management platform.
Optionally, the authentication certificate is generated by at least one of an edge cloud container platform name, a unique identification, and an intranet access address.
Optionally, the processing module 52 is specifically configured to:
receiving a deployment component configuration instruction sent by the central cloud management platform;
performing component deployment according to the deployment component configuration instruction;
and automatically updating the component deployment information after the component deployment is completed to the central cloud management platform.
Optionally, the assembly comprises at least one of:
mirror warehouse, container cluster, log analysis, monitoring alarm, load balancing, security management, gray level management, flow control, domain name resolution, automatic configuration management and artificial intelligence AI operation environment.
Optionally, the registration device 30 of the edge Yun Rongqi platform further includes:
the first processing module 53 is configured to establish a message queue telemetry transmission MQTT data channel with the central cloud management platform;
And the second transceiver module 54 is configured to perform data transmission with the central cloud management platform through the MQTT data channel.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
The embodiment of the invention also provides a registration device of the edge cloud container platform, which is applied to the central cloud management platform and comprises the following components:
the receiving and transmitting module is used for sending an authentication instruction to the edge Yun Rongqi platform, establishing a network tunnel with the edge Yun Rongqi platform according to the authentication instruction, and sending an authentication certificate to the edge cloud container platform through the network tunnel;
And the processing module is used for carrying out secure access authentication connection with the edge cloud container platform according to the authentication certificate, and completing registration of the edge Yun Rongqi platform based on the secure access authentication connection.
Optionally, the authentication instruction includes at least one of:
the edge cloud runs information of an edge proxy gateway module;
establishing request information of a network tunnel;
the edge cloud accesses authentication information of the central cloud management platform.
Optionally, the authentication certificate is generated by at least one of an edge cloud container platform name, a unique identifier and an intranet access address created and configured by the central cloud management platform.
Optionally, the processing module is specifically configured to send a deployment component configuration instruction to the edge Yun Rongqi platform;
And receiving component deployment information after the edge cloud container platform completes component deployment according to the deployment component configuration instruction.
Optionally, the processing module is further configured to establish a message queue telemetry transmission MQTT data channel with the edge Yun Rongqi platform;
The transceiver module is further configured to perform data transmission with the edge Yun Rongqi platform through the MQTT data channel.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
As shown in fig. 6, embodiments of the present invention also provide an edge cloud container platform deployment system, comprising an edge Yun Rongqi platform and a central cloud management platform,
The edge cloud container platform receives an authentication instruction sent by a central cloud management platform;
The edge cloud container platform establishes a network tunnel with the central cloud management platform according to the authentication instruction;
the edge Yun Rongqi platform receives an authentication certificate sent by the central cloud management platform through the network tunnel;
The edge cloud container platform performs secure access authentication connection with the central cloud management platform according to the authentication certificate;
the edge Yun Rongqi platform registers an edge Yun Rongqi platform with the central cloud management platform over the secure access authentication connection.
Optionally, the edge Yun Rongqi platform registers an edge Yun Rongqi platform with the central cloud management platform through the secure access authentication connection, including:
The central cloud management platform sends a deployment component configuration instruction to an edge Yun Rongqi platform;
the edge cloud container platform performs component deployment according to the deployment component configuration instruction to obtain the construction deployment information;
The edge Yun Rongqi platform sends the build deployment information to the central cloud management platform.
Optionally, the edge cloud container platform is further configured to establish a message queue telemetry transmission MQTT data channel with the central cloud management platform;
And the edge cloud container platform transmits data to the central cloud management platform through the MQTT data channel.
In the embodiment of the invention, the whole automatic deployment process of the edge Yun Rongqi platform has the characteristic of edge cloud cooperation, can realize automatic deployment of central cloud configuration, edge cloud registration and the like and realize data cooperation of edge cloud service and the like, the edge cloud generates execution commands through a central cloud management platform, operates an edge proxy gateway and establishes a network tunnel in a command execution mode to realize network intercommunication from an edge data center to the central cloud, and the edge container cloud platform and the central cloud platform automatically generate private authentication certificates and establish SSL bidirectional authentication and MQTT authentication channels to ensure data security and stability of large data volume.
It should be noted that, the system is a system corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the system embodiment, so that the same technical effects can be achieved.
Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform a method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. 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. The storage medium includes various media capable of storing program codes such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
Furthermore, it should be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present invention may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the invention.
The object of the invention can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the invention can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present invention, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present invention. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.