Heterogeneous application deployment method and system

Through cloud-edge collaboration, cloud servers and edge servers are used to deploy application management and applications respectively, solving the problem of high complexity in application deployment in smart parks, realizing flexible deployment and efficient operation and maintenance of applications, and improving operation efficiency and performance.

CN119440546APending Publication Date: 2025-02-14BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310943100.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-28
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Due to the heterogeneity of multiple management systems in smart parks, application deployment is high and work efficiency is low. The deployment and management of mainstream edge computing platforms are complex, making it impossible to achieve flexible and rapid deployment.

Method used

Through the cloud-edge collaboration method, cloud servers and edge servers are used to deploy application management and control platforms and applications separately, and configuration files are generated and applications started to achieve flexible deployment and efficient operation and maintenance of applications.

Benefits of technology

It realizes flexible deployment and efficient operation and maintenance of applications, makes full use of resources on the cloud and edge, and improves the operation efficiency and performance of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440546A_ABST
    Figure CN119440546A_ABST
Patent Text Reader

Abstract

The invention discloses a heterogeneous application deployment method and a heterogeneous application deployment system, which are used for realizing flexible deployment and efficient operation and maintenance of an application program through cloud-side collaboration, fully utilizing resources of a cloud side and an edge side and improving the operation efficiency and performance of the application program. The method comprises the following steps: determining an application management and control platform of an edge server and an application of the application management and control platform on an Internet of Things platform at a cloud server side, and configuring related information of the application; and deploying the application management and control platform at an edge server side, obtaining related information of an application of the application management and control platform from the Internet of Things platform, generating a configuration file according to the related information of the application, and starting and running the application according to the configuration file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart park technology, and in particular to a method and system for deploying heterogeneous applications. Background Art

[0002] Smart parks, that is, intelligent industrial parks, are built. Due to the independence of factory, security, fire protection, office, parking, electricity, heating and other management systems in the park, and the numerous management platforms and diverse protocols involved in the park, there are more and more heterogeneous applications for access components of various manufacturers and different models of equipment. This has greatly increased the complexity of application deployment and reduced work efficiency.

[0003] With the increasing popularity of cloud computing and the growth of edge computing, it is becoming more common to deploy applications across cloud and edge environments. However, mainstream edge computing platforms are complex to deploy and manage, have high hardware resource usage, and cannot achieve flexible and fast deployment. Summary of the invention

[0004] The present invention provides a method and system for heterogeneous application deployment, which are used to achieve flexible deployment and efficient operation and maintenance of applications through cloud-edge collaboration, make full use of cloud and edge resources, and improve the operating efficiency and performance of applications.

[0005] In a first aspect, an embodiment of the present invention provides a method for deploying heterogeneous applications, including:

[0006] The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application;

[0007] The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

[0008] As an optional implementation, the method further includes:

[0009] Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server;

[0010] Using the software authorization platform on the cloud server side, generating the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform;

[0011] The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0012] As an optional implementation, the method includes:

[0013] Obtaining a hardware fingerprint of an application management and control platform on an edge server side, where the hardware fingerprint is generated based on hardware information of the edge server;

[0014] Using the software authorization platform on the cloud server side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform;

[0015] The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0016] As an optional implementation, the method further includes:

[0017] The edge server sends the running status of the application to the cloud server, so that the cloud server and the edge server synchronize the running status of the application.

[0018] As an optional implementation manner, the obtaining relevant information of the application of the application management and control platform from the cloud server includes:

[0019] Determine identification information of the application management and control platform of the edge server on the cloud server side;

[0020] The identification information of the application management and control platform is entered on the edge server side, and the relevant information of the application of the application management and control platform is obtained from the cloud server according to the identification information of the application management and control platform.

[0021] As an optional implementation manner, generating a configuration file according to relevant information of the application, and starting and running the application according to the configuration file includes:

[0022] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0023] As an optional implementation, the method further includes:

[0024] Managing the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or,

[0025] Through the IoT platform on the cloud server side, view the offline logs and / or online logs of the applications on the application management and control platform deployed on the edge server side.

[0026] As an optional implementation, the application of the application management platform deployed on the edge server side is managed by the Internet of Things platform on the cloud server side, including:

[0027] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0028] In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0029] The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0030] As an optional implementation, the operation instruction includes identification information of the application management and control platform, application identification information and operation type;

[0031] The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction, including:

[0032] The edge server determines the application to be operated according to the identification information of the application management and control platform and the application identification information;

[0033] Perform a corresponding operation on the application to be operated according to the operation type.

[0034] As an optional implementation manner, viewing the offline log of the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side includes:

[0035] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0036] In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue;

[0037] The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and the file server of the cloud server;

[0038] The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0039] As an optional implementation, viewing the online log of the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side includes:

[0040] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0041] In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue;

[0042] The edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server;

[0043] The IoT platform forwards the log file to the control platform for display.

[0044] In a second aspect, an embodiment of the present invention provides a system for heterogeneous application deployment, including a cloud server and an edge server, wherein:

[0045] The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application;

[0046] The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

[0047] As an optional implementation, the system is also used for:

[0048] Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server;

[0049] Using the software authorization platform on the cloud server side, generating the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform;

[0050] The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0051] As an optional implementation manner, the system is specifically used for:

[0052] Obtaining a hardware fingerprint of an application management and control platform on an edge server side, where the hardware fingerprint is generated based on hardware information of the edge server;

[0053] Using the software authorization platform on the cloud server side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform;

[0054] The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0055] As an optional implementation manner, the edge server is further used for:

[0056] The running status of the application is sent to the cloud server, so that the cloud server and the edge server synchronize the running status of the application.

[0057] As an optional implementation manner, the system is specifically used for:

[0058] Determine identification information of the application management and control platform of the edge server on the cloud server side;

[0059] The identification information of the application management and control platform is entered on the edge server side, and the relevant information of the application of the application management and control platform is obtained from the cloud server according to the identification information of the application management and control platform.

[0060] As an optional implementation manner, the edge server is specifically used for:

[0061] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0062] As an optional implementation, the system is also used for:

[0063] Managing the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or,

[0064] Through the IoT platform on the cloud server side, view the offline logs and / or online logs of the applications on the application management and control platform deployed on the edge server side.

[0065] As an optional implementation manner, the system is specifically used for:

[0066] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0067] In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0068] The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0069] As an optional implementation manner, the operation instruction includes identification information of the application management and control platform, application identification information, and an operation type; and the edge server is specifically used for:

[0070] Determine the application to be operated according to the identification information of the application management and control platform and the application identification information;

[0071] Perform a corresponding operation on the application to be operated according to the operation type.

[0072] As an optional implementation manner, the system is specifically used for:

[0073] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0074] In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue;

[0075] The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and the file server of the cloud server;

[0076] The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0077] As an optional implementation manner, the system is specifically used for:

[0078] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0079] In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue;

[0080] The edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server;

[0081] The IoT platform forwards the log file to the control platform for display.

[0082] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising a processor and a memory, the memory being used to store a program executable by the processor, the processor being used to read the program in the memory and perform the following steps:

[0083] The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application;

[0084] The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

[0085] As an optional implementation, the processor is further configured to execute:

[0086] Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server;

[0087] Using the software authorization platform on the cloud server side, generating the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform;

[0088] The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0089] As an optional implementation, the processor is further configured to execute:

[0090] Obtaining a hardware fingerprint of an application management and control platform on an edge server side, where the hardware fingerprint is generated based on hardware information of the edge server;

[0091] Using the software authorization platform on the cloud server side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform;

[0092] The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0093] As an optional implementation, the processor is further configured to execute:

[0094] The edge server sends the running status of the application to the cloud server, so that the cloud server and the edge server synchronize the running status of the application.

[0095] As an optional implementation, the processor is specifically configured to execute:

[0096] Determine identification information of the application management and control platform of the edge server on the cloud server side;

[0097] The identification information of the application management and control platform is entered on the edge server side, and the relevant information of the application of the application management and control platform is obtained from the cloud server according to the identification information of the application management and control platform.

[0098] As an optional implementation, the processor is specifically configured to execute:

[0099] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0100] As an optional implementation, the processor is further configured to execute:

[0101] Managing the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or,

[0102] Through the IoT platform on the cloud server side, view the offline logs and / or online logs of the applications on the application management and control platform deployed on the edge server side.

[0103] As an optional implementation, the processor is specifically configured to execute:

[0104] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0105] In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0106] The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0107] As an optional implementation manner, the operation instruction includes identification information of the application management and control platform, application identification information, and an operation type; and the processor is specifically configured to execute:

[0108] The edge server determines the application to be operated according to the identification information of the application management and control platform and the application identification information;

[0109] Perform a corresponding operation on the application to be operated according to the operation type.

[0110] As an optional implementation, the processor is specifically configured to execute:

[0111] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0112] In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue;

[0113] The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and the file server of the cloud server;

[0114] The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0115] As an optional implementation, the processor is specifically configured to execute:

[0116] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0117] In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue;

[0118] The edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server;

[0119] The IoT platform forwards the log file to the control platform for display.

[0120] In a fourth aspect, an embodiment of the present invention further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, it is used to implement the steps of the method described in the first aspect above.

[0121] These and other aspects of the present application will be more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0122] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0123] Figure 1 A flowchart of a method for deploying heterogeneous applications provided by an embodiment of the present invention;

[0124] Figure 2 A schematic diagram of a system architecture for heterogeneous application deployment provided by an embodiment of the present invention;

[0125] Figure 3 A flowchart of implementing data security management provided by an embodiment of the present invention;

[0126] Figure 4 A flowchart for implementing cloud-to-edge collaborative deployment provided by an embodiment of the present invention;

[0127] Figure 5A-5B A flow chart of a cloud-based edge management application provided by an embodiment of the present invention;

[0128] Figure 6A-6B A flow chart of a cloud-based edge management application provided by an embodiment of the present invention;

[0129] Figure 7A-7B A flow chart of a cloud-based edge management application provided by an embodiment of the present invention;

[0130] Figure 8 A schematic diagram of a system for heterogeneous application deployment provided by an embodiment of the present invention;

[0131] Fig. 9 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0132] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0133] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0134] The application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. It is known to those skilled in the art that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0135] Smart parks, or intelligent industrial parks, are built in a way that is independent of each other in the factory, security, fire protection, office, parking, electricity, heating and other management systems. There are many management platforms and protocols involved in the park, which leads to more and more heterogeneous applications for various manufacturers and different types of equipment access components. This has greatly increased the complexity of application deployment and reduced work efficiency. With the increasing popularity of cloud computing and the growth of edge computing, it is becoming more and more common to deploy applications across cloud and edge environments. However, the mainstream edge computing platforms, such as k3s, OpenYurt, and KubeEdge, are complex to deploy and manage, and have high hardware resource usage, making it impossible to achieve flexible and fast deployment.

[0136] This embodiment provides a method for deploying heterogeneous applications, which divides heterogeneous applications into two parts: cloud servers and edge servers, and deploys the applications on cloud servers and edge servers, thereby achieving flexible deployment and efficient operation and maintenance of applications. On the one hand, it can make full use of cloud and edge resources to improve the operating efficiency and performance of applications; on the other hand, it realizes flexible deployment and efficient operation and maintenance of applications through cloud-edge collaboration, facilitating the delivery of smart park projects.

[0137] like Figure 1 As shown, this embodiment provides a method for deploying heterogeneous applications, and the specific implementation process of the method is as follows:

[0138] Step 100: The Internet of Things platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures relevant information of the application;

[0139] During implementation, the IoT platform of the cloud server is used to connect with the application management and control platform, and the management and control functions of the edge server applications are realized through the IoT platform of the cloud server.

[0140] Step 101: deploy the application management and control platform on the edge server side, obtain relevant information of the application of the application management and control platform from the Internet of Things platform, generate a configuration file according to the relevant information of the application, and start and run the application according to the configuration file.

[0141] During implementation, the cloud server creates an application management and control platform for the edge server, including but not limited to the identification information, quantity, address, function of the application management and control platform, and the application identification and quantity of the applications used to run. After the cloud server completes the creation, it is deployed on the edge server, and the relevant information of the application is obtained from the cloud server based on the created information, and the application is started and run on the edge server side.

[0142] In some embodiments, the relevant information of the application of the application management and control platform is obtained from the cloud server in the following manner:

[0143] Determine the identification information of the application management and control platform of the edge server on the cloud server side; enter the identification information of the application management and control platform on the edge server side, and obtain relevant information of the application of the application management and control platform from the cloud server based on the identification information of the application management and control platform.

[0144] Optionally, the application identifier of the application of the application management and control platform of the edge server can also be determined on the cloud server side, the application identifier of the application can be entered on the edge server side, and relevant information of the application of the application management and control platform can be obtained from the cloud server based on the application identifier and the identification information of the application management and control platform.

[0145] Optionally, the relevant information of the application in this embodiment includes but is not limited to: application identification, application name, manufacturer, application communication protocol, application Docker image address, application Docker image version number, Docker image environment variables, Volume information to be mounted (physical files can be uploaded), Docker image internal service port number, log path of the service in the Docker image, Docker image external mapping port number, Docker image external mapping log path, and one or more of the following: edge application can be sent, edge application can be deleted, and edge application can be stopped or restarted.

[0146] In some embodiments, the edge server of this embodiment generates a configuration file according to the relevant information of the application, and starts and runs the application according to the configuration file. The specific implementation is as follows:

[0147] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0148] During implementation, the application management and control platform of the edge server obtains the application information of the application from the IoT platform of the cloud server according to the application identifier and the identification information of the application management and control platform, builds the Docker-compose file of the application, and starts the container of the application so that the application runs on the container. The application management and control platform of the edge server synchronizes the running status of the application to the cloud server regularly.

[0149] In some embodiments, after the edge server starts and runs the application according to the configuration file, the edge server may also send the running status of the application to the cloud server so that the cloud server and the edge server synchronize the running status of the application.

[0150] In some embodiments, this embodiment can also authorize and manage the Internet of Things platform and the application management and control platform through the software authorization platform, and effectively protect the edge and cloud software assets by accessing the software authorization platform. Through the software authorization platform, the smart Internet of Things platform and the edge heterogeneous application management and control platform are uniformly managed and controlled, and the enterprise's software assets are protected through edge verification and center verification. The specific management implementation process is as follows:

[0151] a. For the IoT platform of the cloud server, the security management of the platform is carried out through the following process:

[0152] a1) obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server;

[0153] In implementation, the hardware fingerprint of the cloud server and edge server can be collected through the hardware fingerprint collection tool provided by the software authorization platform. Optionally, the hardware information in this embodiment includes but is not limited to the hard disk serial number, BOIS serial number, etc., and the hardware fingerprint is generated based on the hardware information.

[0154] a2) using the software authorization platform on the cloud server side to generate the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform;

[0155] During implementation, the hardware fingerprint of the Internet of Things platform and the user authorization are bound to generate the permission information of the Internet of Things platform.

[0156] a3) Using the software authorization platform to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0157] During implementation, when the verification permission information is illegal or expired, the IoT platform is disabled, that is, all functions of the IoT platform are disabled.

[0158] b. For the application control platform of the edge server, the security management of the platform is carried out through the following process:

[0159] b1) obtaining a hardware fingerprint of the application management and control platform on the edge server side, wherein the hardware fingerprint is generated based on the hardware information of the edge server;

[0160] In implementation, the hardware fingerprint collection tool provided by the software authorization platform can be downloaded to the edge server, and the edge server uses the hardware fingerprint collection tool to collect its own hardware fingerprint. Optionally, the hardware information in this embodiment includes but is not limited to the hard disk serial number, BOIS serial number, etc., and the hardware fingerprint is generated based on the hardware information.

[0161] b2) using the software authorization platform on the cloud server side to generate the licensing information of the application management and control platform according to the hardware fingerprint of the application management and control platform;

[0162] During implementation, the hardware fingerprint of the application management and control platform and the user authorization are bound to generate the license information of the application management and control platform.

[0163] b3) Using the software authorization platform to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0164] During implementation, when the verification permission information is illegal or expired, the application management and control platform is disabled, that is, all applications and functions of the application management and control platform are disabled.

[0165] Optionally, the permission information in this embodiment includes but is not limited to authorization information, authorization code, etc.

[0166] In the implementation, the IoT platform is deployed on the cloud server side, and the application management and control platform is deployed on the edge server side. Figure 2As shown, this implementation provides a schematic diagram of the system architecture for heterogeneous application deployment, including a cloud server (cloud) and an edge server (edge ​​end), wherein the IoT platform on the cloud server side is used for edge management, edge application management, operation and maintenance management, log management, security module, and authorization management, etc. Among them, edge management is specifically used to manage the application management and control platform of the edge server, including but not limited to the name and identification information of the application management and control platform, the hardware fingerprint of the edge server, and the licensing information (such as the authorization code) of the application management and control platform of the edge server. Edge application management is specifically used to manage applications of the application control platform of the edge server, including but not limited to application data dictionary management and application management, wherein application data dictionary management is used to configure application options, including but not limited to application name, manufacturer, application communication protocol, application Docker image address, application Docker image version number, Docker image environment variables, volume information to be mounted (physical files can be uploaded), Docker image internal service port number, Docker image internal service log path, etc.; application management includes but is not limited to application control platform identification information Id, application identification Id, application Docker image address, application Docker image version number, Docker image environment variables (need to set specific values), volume information to be mounted (physical files can be uploaded), Docker image internal service port number, Docker image external mapping port number, Docker image internal service log path, Docker image external mapping log path, application can be issued, application can be deleted, application can be stopped or restarted, etc. Authorization management includes using the software authorization platform on the cloud server side to perform security management on the application control platform on the edge server side and the Internet of Things platform on the cloud server side; the security module includes uploading the permission information on the cloud server side, and supports the selection of online authorization or local authorization.

[0167] The application management and control platform (heterogeneous application management and control platform) of the edge server is used for data cleaning and forwarding, application management, operation and maintenance management, log management and security modules, etc. And multiple heterogeneous applications are deployed on the edge server using container technology. Among them, application management is specifically used to manage the applications of the edge server, enter the identification information of the application management and control platform, obtain the relevant information of the application assigned to the edge server from the cloud server according to the identification information of the application management and control platform, and is responsible for generating Docker-compose files, pulling up containers, and restarting, starting, and stopping edge application containers. The security module is specifically used to manage hardware fingerprints, upload licensing information on the edge server side, support the selection of online authorization or local authorization, request the cloud server side interface for online authorization, and request the software authorization platform interface for secondary authentication after the cloud server side interface authentication.

[0168] It should be noted that the application of the application management and control platform on the edge server side in this embodiment includes but is not limited to the application of different communication protocols, the application of different technical architectures, etc.

[0169] In implementation, such as Figure 3 As shown, this embodiment provides an implementation process of data security management. The specific implementation process of data security management of the cloud server (Internet of Things platform) and the edge server (application management and control platform) is as follows:

[0170] Step 300: The IoT platform of the cloud server and the application management and control platform of the edge server collect their respective hardware fingerprints (i.e., hardware feature codes) using a hardware fingerprint collection tool;

[0171] Step 301: The software authorization platform of the cloud server generates respective license information according to the hardware fingerprints of the application management and control platform of the Internet of Things platform and the edge server;

[0172] Step 302: The IoT platform and the application management and control platform each integrate the SDK of the software authorization platform;

[0173] Among them, the SDK of the software authorization platform is used to verify the licensing information.

[0174] Step 303: According to the network conditions of the deployment environment and the SDKs integrated in the IoT platform and the application management and control platform, online activation or local activation can be selected.

[0175] During implementation, when using online activation, connect to the software authorization platform interface to activate the software; when using local activation, use the integrated local decoding tool to activate the software.

[0176] Step 304: Use SDK to regularly check whether the IoT platform and the application management and control platform are legal or expired.

[0177] Among them, after the Internet of Things platform and the application management and control platform are activated, the license information of the Internet of Things platform of the cloud server and the license information of the application management and control platform of the edge server are bound to the cloud server and the edge server respectively. When it is detected that the license information of the Internet of Things platform or the application management and control platform is illegal or expired, the corresponding platform function is disabled.

[0178] In implementation, such as Figure 4 As shown, this embodiment also provides an implementation process of cloud-to-edge collaborative deployment, which is specifically as follows:

[0179] Step 400: The cloud server maintains the application data dictionary of the edge server;

[0180] Step 401: The cloud server creates an application management and control platform for the edge server;

[0181] Step 402: The cloud server allocates an application to the application management and control platform of the edge server and configures relevant information for the application;

[0182] Step 403: The edge server deploys the application management and control platform of the edge server, enters the identification information of the application management and control platform, the hardware fingerprint of the edge server, and the license information of the software authorization, and activates the application management and control platform;

[0183] Step 404: The application management and control platform obtains relevant information of the allocated application from the cloud server according to the identification information of the application management and control platform, builds a Docker-compose file, and starts the container of the application;

[0184] Step 405: The application management and control platform of the edge server periodically synchronizes the running status of the application to the cloud server.

[0185] In some embodiments, this embodiment can also manage the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application.

[0186] In some embodiments, the implementation process of the cloud server specifically controlling the application of the edge server is as follows:

[0187] Process a1: Displaying an edge application list on the control platform of the cloud server, wherein the edge application list includes application options of the application management and control platform of the edge server;

[0188] Process a2: in response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0189] Optionally, the operation instruction includes identification information of the application management and control platform, application identification information, and an operation type.

[0190] Process a3: The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0191] Optionally, a corresponding operation is performed on the application of the application management and control platform in the following manner:

[0192] The edge server determines the application to be operated according to the identification information of the application management and control platform and the application identification information; and performs a corresponding operation on the application to be operated according to the operation type.

[0193] During implementation, the operation type includes, but is not limited to: at least one of starting an application, stopping an application, restarting an application, deleting an application, and creating an application.

[0194] Optionally, after the edge server performs a corresponding operation on the application of the application management and control platform according to the operation instruction, it is also used to send the operation result to the Internet of Things platform of the cloud server through a message queue; the Internet of Things platform forwards the operation result to the control platform for display.

[0195] like Figure 5A-5B As shown, this embodiment also provides a cloud-side control edge application flow chart, and the specific implementation process is as follows:

[0196] Step 500: Display the edge application list on the control platform of the cloud server side;

[0197] Step 501: In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0198] In implementation, for example, the user selects application 1 in the application list, and the operation instruction includes stopping the application; the IoT platform constructs the operation instruction and publishes it to the EMQX (Erlang / Enterprise / Elastic MQTT Broker, an open source IoT MQTT message server developed based on the Erlang / OTP platform) message queue of the cloud server. The message format of the operation instruction is as follows:

[0199]

[0200] The following is a description of the fields carried in the operation instruction:

[0201]

[0202] Step 502: After receiving the operation instruction from the EMQX of the cloud server, the application management and control platform locates the container where the application is located according to the application ID (applicationId), performs relevant operations, and feeds back the operation results to the EMQX of the cloud server;

[0203] In practice, the message format of the operation result is as follows:

[0204]

[0205] The following is a description of the fields contained in the operation result:

[0206]

[0207] Step 503, EMQX obtains a connection from the websocket server according to the application ID through the message subscription service, pushes the operation result to the page of the control platform, and presents it to the user.

[0208] In some embodiments, this embodiment can also view the offline logs and / or online logs of the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side.

[0209] In some embodiments, the offline log of the application of the application management and control platform deployed on the edge server side is viewed through the following process:

[0210] Process b1: Displaying an edge application list on the control platform of the cloud server, wherein the edge application list includes application options of the application management and control platform of the edge server;

[0211] Process b2: in response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the IoT platform of the cloud server, and the IoT platform forwards the offline log viewing instruction to the edge server through a message queue;

[0212] Optionally, the offline log viewing instruction includes: identification information of the application management and control platform, application identification information, log type, log date, file server address of the cloud server, and temporary file server authorization of the cloud server, etc.

[0213] Process b3: The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the IoT platform and file server of the cloud server;

[0214] During implementation, the edge server reads the log file from the corresponding log directory according to the identification information of the application management and control platform, the application identification information and the log date; and uses the file server address and the file server temporary authorization to send the log file to the Internet of Things platform and the file server of the cloud server.

[0215] Process b4: The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0216] In implementation, such as Figure 6A-6B As shown, this embodiment also provides a cloud-side control edge application flow chart, and the specific implementation process is as follows:

[0217] Step 600: Display the edge application list on the control platform of the cloud server side;

[0218] Step 601: In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue;

[0219] In implementation, for example, the user selects application 1 in the application list, selects the offline log viewing function, selects the log date, and submits the request; the IoT platform constructs an offline log viewing instruction and publishes it to the EMQX (Erlang / Enterprise / Elastic MQTT Broker, an open source IoT MQTT message server developed based on the Erlang / OTP platform) message queue of the cloud server. The message format of the offline log viewing instruction is as follows:

[0220]

[0221] The following is a description of the fields carried in the operation instruction:

[0222] Fields type illustrate appMgmtPlatformId string Application management platform ID applicationId string Application Id type int Log type, 0-offline log, 1-online log date string Log date, format: yyyy-MM-dd fileServer string The file server address of the cloud server fileServerToken string Temporary authorization of the file server of the cloud server

[0223] Step 602: After receiving the offline log viewing instruction from the EMQX of the cloud server, the application management and control platform reads the log file from the log directory of the corresponding application according to the application ID and the log date, and uploads the file to the EMQX of the cloud server using the cloud file server address and the temporary authorization of the cloud file server, and feeds back the log file message to the EMQX of the cloud server (message server). The feedback message format is as follows:

[0224]

[0225]

[0226] The following is a description of the fields carried in the feedback message:

[0227] Fields type illustrate applicationId string Application Id logUrl string Log date, format: yyyy-MM-dd

[0228] Step 603, EMQX obtains a connection from the websocket server according to the application ID (applicationId) through the message subscription service, pushes the link address of the log file to the page of the control platform, and the user downloads the log file from the file server according to the link address (logUrl) of the log file to carry out log analysis.

[0229] In some embodiments, the online log of the application of the application management and control platform deployed on the edge server side is viewed through the following process:

[0230] Process c1: Displaying an edge application list on the control platform of the cloud server, wherein the edge application list includes application options of the application management and control platform of the edge server;

[0231] Process c2, in response to the user's online log viewing instruction for the application option, sending the online log viewing instruction to the Internet of Things platform of the cloud server, and the Internet of Things platform forwarding the online log viewing instruction to the edge server through a message queue;

[0232] Optionally, the online log viewing instruction includes: identification information of the application management and control platform, application identification information, and log type.

[0233] Optionally, the edge server reads a log file from a corresponding log directory according to the identification information of the application management and control platform and the application identification information; and sends the log file to the Internet of Things platform of the cloud server.

[0234] Process c3: the edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the IoT platform of the cloud server;

[0235] Process c4: The Internet of Things platform forwards the log file to the control platform for display.

[0236] In implementation, such as Figure 7A-7B As shown, this embodiment also provides a cloud-side control edge application flow chart, and the specific implementation process is as follows:

[0237] Step 700: Display the edge application list on the control platform of the cloud server side;

[0238] Step 701: In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue;

[0239] In implementation, for example, the user selects application 1 in the application list, selects the online log viewing function, and submits a request; the IoT platform constructs an online log viewing instruction and publishes it to the EMQX message queue of the cloud server. The message format of the online log viewing instruction is as follows:

[0240]

[0241] The following is a description of the fields carried in the operation instruction:

[0242] Fields type illustrate appMgmtPlatformId string Application management platform ID applicationId string Application Id type int Log type, 0-offline log, 1-online log

[0243] Step 702: After receiving the online log viewing instruction from the EMQX of the cloud server, the application management and control platform reads the log file from the log directory of the corresponding application container according to the application ID (applicationId), uploads the log file to the EMQX of the cloud server in real time, and feeds back the log file message to the EMQX of the cloud server (message server). The feedback message format is as follows:

[0244] The following is a description of the fields carried in the feedback message:

[0245] Fields type illustrate applicationId string Application Id type int Log type, 0-offline log, 1-online log

[0246] The format of the real-time log file message is as follows:

[0247]

[0248]

[0249] The following is a description of the fields carried in the real-time log file message:

[0250] Fields type illustrate applicationId string Application Id log sequence Log text

[0251] Step 703, EMQX obtains a connection from the websocket server according to the application ID through the message subscription service, pushes the log file to the page of the control platform, and displays it on the console page for users to conduct log analysis.

[0252] Step 704: In response to the user's instruction to stop viewing logs, the websocket server is triggered to disconnect and a stop viewing log instruction is sent to the EMQX message server;

[0253] Step 705: After receiving the stop log viewing instruction, the application management and control platform stops reading application logs and sending real-time log messages.

[0254] The message format of the command to stop viewing logs is as follows:

[0255] The following is a description of the fields carried in the message of the stop log viewing instruction:

[0256] Fields type illustrate applicationId string Application Id

[0257] This embodiment proposes a method for deploying heterogeneous applications, which is applied to smart parks. It is a lighter-weight method for deploying heterogeneous applications in smart parks based on cloud-edge collaboration, which saves more server resources, can make full use of cloud and edge resources, and improve the operating efficiency and performance of applications. Through cloud-edge collaboration, flexible deployment and efficient operation and maintenance of applications are achieved, which facilitates the delivery of smart park projects. The Internet of Things platform enables cloud-based viewing of edge online real-time logs and quick acquisition of offline logs.

[0258] Based on the same inventive concept, an embodiment of the present invention also provides a system for heterogeneous application deployment. Since the system is the system in the method in the embodiment of the present invention, and the principle of solving the problem by the system is similar to that of the method, the implementation of the system can refer to the implementation of the method, and the repeated parts will not be repeated.

[0259] like Figure 8 As shown, the system includes a cloud server 800 and an edge server 801, wherein:

[0260] The Internet of Things platform on the cloud server 800 side determines the application management and control platform of the edge server 801 and the application of the application management and control platform, and configures the relevant information of the application;

[0261] The application management and control platform is deployed on the edge server 801 side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

[0262] As an optional implementation, the system is also used for:

[0263] Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server 800 side, where the hardware fingerprint is generated based on the hardware information of the cloud server 800;

[0264] Using the software authorization platform on the cloud server 800 side, the licensing information of the Internet of Things platform is generated according to the hardware fingerprint of the Internet of Things platform;

[0265] The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0266] As an optional implementation manner, the system is specifically used for:

[0267] Obtaining a hardware fingerprint of the application management and control platform on the edge server 801 side, where the hardware fingerprint is generated based on the hardware information of the edge server 801;

[0268] Using the software authorization platform on the cloud server 800 side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform;

[0269] The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0270] As an optional implementation manner, the edge server 801 is further used for:

[0271] The running status of the application is sent to the cloud server 800, so that the cloud server 800 and the edge server 801 synchronize the running status of the application.

[0272] As an optional implementation manner, the system is specifically used for:

[0273] Determine identification information of the application management and control platform of the edge server 801 on the cloud server 800 side;

[0274] The identification information of the application management and control platform is entered on the edge server 801 side, and the relevant information of the application of the application management and control platform is obtained from the cloud server 800 according to the identification information of the application management and control platform.

[0275] As an optional implementation manner, the edge server 801 is specifically used for:

[0276] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0277] As an optional implementation, the system is also used for:

[0278] Managing the application of the application management and control platform deployed on the edge server 801 side through the Internet of Things platform on the cloud server 800 side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or,

[0279] Through the Internet of Things platform on the cloud server 800 side, check the offline logs and / or online logs of the application of the application management and control platform deployed on the edge server 801 side.

[0280] As an optional implementation manner, the system is specifically used for:

[0281] The control platform on the cloud server 800 side displays an edge application list, the edge application list including application options of the application management and control platform of the edge server 801;

[0282] In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server 800, and the Internet of Things platform forwards the operation instruction to the edge server 801 through a message queue;

[0283] The edge server 801 performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0284] As an optional implementation manner, the operation instruction includes identification information of the application management and control platform, application identification information, and an operation type; the edge server 801 is specifically used for:

[0285] Determine the application to be operated according to the identification information of the application management and control platform and the application identification information;

[0286] Perform a corresponding operation on the application to be operated according to the operation type.

[0287] As an optional implementation manner, the system is specifically used for:

[0288] The control platform on the cloud server 800 side displays an edge application list, the edge application list including application options of the application management and control platform of the edge server 801;

[0289] In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server 800, and the Internet of Things platform forwards the offline log viewing instruction to the edge server 801 through a message queue;

[0290] The edge server 801 reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and file server of the cloud server 800;

[0291] The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0292] As an optional implementation manner, the system is specifically used for:

[0293] The control platform on the cloud server 800 side displays an edge application list, the edge application list including application options of the application management and control platform of the edge server 801;

[0294] In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server 800, and the Internet of Things platform forwards the online log viewing instruction to the edge server 801 through a message queue;

[0295] The edge server 801 reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server 800;

[0296] The IoT platform forwards the log file to the control platform for display.

[0297] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device. Since the device is the device in the method in the embodiment of the present invention, and the principle of solving the problem by the device is similar to that of the method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0298] like Fig. 9 As shown, the electronic device includes a processor 900 and a memory 901, wherein the memory 901 is used to store a program executable by the processor 900, and the processor 900 is used to read the program in the memory 901 and perform the following steps:

[0299] The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application;

[0300] The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

[0301] As an optional implementation manner, the processor 900 is further configured to execute:

[0302] Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server;

[0303] Using the software authorization platform on the cloud server side, generating the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform;

[0304] The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

[0305] As an optional implementation manner, the processor 900 is further configured to execute:

[0306] Obtaining a hardware fingerprint of an application management and control platform on an edge server side, where the hardware fingerprint is generated based on hardware information of the edge server;

[0307] Using the software authorization platform on the cloud server side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform;

[0308] The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

[0309] As an optional implementation manner, the processor 900 is further configured to execute:

[0310] The edge server sends the running status of the application to the cloud server, so that the cloud server and the edge server synchronize the running status of the application.

[0311] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0312] Determine identification information of the application management and control platform of the edge server on the cloud server side;

[0313] The identification information of the application management and control platform is entered on the edge server side, and the relevant information of the application of the application management and control platform is obtained from the cloud server according to the identification information of the application management and control platform.

[0314] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0315] An image file of the application is constructed according to the relevant information of the application, and the application is started and run based on the image file of the application.

[0316] As an optional implementation manner, the processor 900 is further configured to execute:

[0317] Managing the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or,

[0318] Through the IoT platform on the cloud server side, view the offline logs and / or online logs of the applications on the application management and control platform deployed on the edge server side.

[0319] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0320] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0321] In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue;

[0322] The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

[0323] As an optional implementation manner, the operation instruction includes identification information of the application management and control platform, application identification information, and an operation type; the processor 900 is further configured to execute:

[0324] The edge server determines the application to be operated according to the identification information of the application management and control platform and the application identification information;

[0325] Perform a corresponding operation on the application to be operated according to the operation type.

[0326] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0327] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0328] In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue;

[0329] The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and the file server of the cloud server;

[0330] The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

[0331] As an optional implementation manner, the processor 900 is specifically configured to execute:

[0332] Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server;

[0333] In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue;

[0334] The edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server;

[0335] The IoT platform forwards the log file to the control platform for display.

[0336] Based on the same inventive concept, an embodiment of the present disclosure provides a computer storage medium, the computer storage medium includes: a computer program code, when the computer program code is executed on a computer, the computer executes any of the heterogeneous application deployment methods discussed above. Since the principle of solving the problem by the above computer storage medium is similar to the method for heterogeneous application deployment, the implementation of the above computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.

[0337] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.

[0338] Based on the same inventive concept, the embodiment of the present disclosure also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any of the heterogeneous application deployment methods discussed above. Since the principle of solving the problem by the above computer program product is similar to the method for heterogeneous application deployment, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.

[0339] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more conductors, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0340] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0341] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that has the functions specified in one or more boxes.

[0342] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0343] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0344] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for deploying heterogeneous applications, characterized in that: The method includes: The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application; The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

2. The method according to claim 1, characterized in that The method further includes: Obtaining a hardware fingerprint of the Internet of Things platform on the cloud server side, where the hardware fingerprint is generated based on the hardware information of the cloud server; Using the software authorization platform on the cloud server side, generating the licensing information of the Internet of Things platform according to the hardware fingerprint of the Internet of Things platform; The software authorization platform is used to regularly check the licensing information of the Internet of Things platform to ensure the legitimacy and availability of the Internet of Things platform.

3. The method according to claim 1, characterized in that The method includes: Obtaining a hardware fingerprint of an application management and control platform on an edge server side, where the hardware fingerprint is generated based on hardware information of the edge server; Using the software authorization platform on the cloud server side, the license information of the application management and control platform is generated according to the hardware fingerprint of the application management and control platform; The software authorization platform is used to regularly check the licensing information of the application management and control platform to ensure the legitimacy and availability of the application management and control platform.

4. The method according to claim 1, characterized in that The obtaining relevant information of the application of the application management and control platform from the cloud server includes: Determine identification information of the application management and control platform of the edge server on the cloud server side; The identification information of the application management and control platform is entered on the edge server side, and the relevant information of the application of the application management and control platform is obtained from the cloud server according to the identification information of the application management and control platform.

5. The method according to claim 1, characterized in that The method further includes: Managing the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side; wherein managing the application of the application management and control platform includes: performing at least one operation of restarting, stopping, starting, allocating and deleting the application; and / or, Through the IoT platform on the cloud server side, view the offline logs and / or online logs of the applications on the application management and control platform deployed on the edge server side.

6. The method according to claim 5, characterized in that The application of the application management platform deployed on the edge server side is managed through the Internet of Things platform on the cloud server side, including: Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server; In response to the user's operation instruction for the application option, the operation instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the operation instruction to the edge server through a message queue; The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction.

7. The method according to claim 6, characterized in that The operation instruction includes identification information of the application management and control platform, application identification information and operation type; The edge server performs corresponding operations on the application of the application management and control platform according to the operation instruction, including: The edge server determines the application to be operated according to the identification information of the application management and control platform and the application identification information; Perform a corresponding operation on the application to be operated according to the operation type.

8. The method according to claim 5, characterized in that The method of viewing the offline log of the application of the application management and control platform deployed on the edge server side through the Internet of Things platform on the cloud server side includes: Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server; In response to the user's offline log viewing instruction for the application option, the offline log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the offline log viewing instruction to the edge server through a message queue; The edge server reads the corresponding log file according to the offline log viewing instruction, and sends the log file to the Internet of Things platform and the file server of the cloud server; The Internet of Things platform generates a link address according to the application identifier corresponding to the log file, and sends the link address to the control platform, so that the user can download the corresponding log file from the file server according to the link address.

9. The method according to claim 5, characterized in that The online log of the application of the application management and control platform deployed on the edge server side is viewed through the Internet of Things platform on the cloud server side, including: Displaying an edge application list on a control platform on a cloud server side, the edge application list including application options of an application management and control platform of the edge server; In response to the user's online log viewing instruction for the application option, the online log viewing instruction is sent to the Internet of Things platform of the cloud server, and the Internet of Things platform forwards the online log viewing instruction to the edge server through a message queue; The edge server reads the corresponding log file according to the online log viewing instruction, and sends the log file to the Internet of Things platform of the cloud server; The IoT platform forwards the log file to the control platform for display.

10. A system for deploying heterogeneous applications, characterized in that: Includes cloud servers and edge servers, including: The IoT platform on the cloud server side determines the application management and control platform of the edge server and the application of the application management and control platform, and configures the relevant information of the application; The application management and control platform is deployed on the edge server side, relevant information of the application of the application management and control platform is obtained from the Internet of Things platform, a configuration file is generated according to the relevant information of the application, and the application is started and run according to the configuration file.

11. An electronic device, characterized in that: The device comprises a processor and a memory, wherein the memory is used to store a program executable by the processor, and the processor is used to read the program in the memory and execute the steps of any one of the methods of claims 1 to 9.

12. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.