An Edge Computing Framework and Transparent Gateway Method, Device, and Processor
Through the edge computing framework and transparent gateway method, the medium and high R&D and operation and maintenance problems of industrial equipment in the Internet of Things are solved, and the unified deployment and management of equipment is realized, cost reduction and efficiency improvement.
Patent Information
- Application Number
- CN202111466745.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-03
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2041-12-03
AI Technical Summary
When the existing technology uses industrial equipment to the Internet of Things, there are high custom R&D costs and cumbersome operation and maintenance problems, which makes it difficult for factories to accept.
Adopting an edge computing framework and transparent gateway method, by packaging edge applications and docker images, obtaining application templates and automatically installing edge applications according to labels, the unified deployment and management of gateway devices is achieved, and the development workload of business systems is reduced.
It realizes the Internet of Things of industrial equipment, reduces customized R&D costs, simplifies the operation, maintenance and maintenance process, and improves the efficiency and consistency of equipment management.
Smart Images

Figure CN114115921B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and particularly to an edge computing framework, a transparent gateway method, device and processor. Background Art
[0002] In a textile production workshop, most machine tools and textile machines adopt digital control technologies, that is, device data is viewed and the device is controlled through a numerical control panel or a touch screen; there are also cases where the device is connected to the factory local area network through a network cable and accessed to the local management system to achieve the purpose of unified management.
[0003] In the prior art, firstly, by transforming the original device, a new communication module is added to the device to enable the device to have the ability to connect to the network, and the local serial port protocol is converted into the protocol of the Internet of Things platform and reported to the cloud platform to achieve the ability of data cloud access and remote control. Secondly, through a local gateway, the gateway is docked to industrial devices in the south and the Internet of Things platform in the north, and the purpose of device Internet of Things can also be achieved. These two solutions, while solving the transformation of industrial devices, bring high customization R & D costs and subsequent cumbersome operation and maintenance projects, which discourage many factories. Summary of the Invention
[0004] An object of an embodiment of the present invention is to provide an edge computing framework, a transparent gateway method, device and processor.
[0005] To achieve the above object, a first aspect of the present invention provides an edge computing framework and a transparent gateway method, including:
[0006] Packaging an edge application with a docker image so that the edge application supports docker image deployment;
[0007] Obtaining an application template corresponding to the edge application, where the application template includes the application name, application label, image address, application configuration information and image configuration information of the edge application;
[0008] Configuring the edge application according to the application template;
[0009] Determining the batch of each gateway device and matching a corresponding application label for each gateway batch;
[0010] Activating the gateway device to automatically install the edge application corresponding to the application label according to the application label of each gateway device.
[0011] In an embodiment of the present application, the gateway device is an edge gateway device; the method further includes: installing the execution content of the edge application, and the installation of the execution content of the edge application includes: initializing the edge server corresponding to the edge gateway; installing an edge application framework on the initialized edge server; downloading an installation program corresponding to the edge application framework to the edge server and executing the installation program to create a working directory, a configuration file, and an application orchestration service framework corresponding to the installation program; interacting with the platform through the installed application orchestration service framework to activate the gateway device.
[0012] In an embodiment of the present application, the method further includes: creating sub-devices, associating the sub-devices with corresponding gateway devices respectively; sending configuration information to the corresponding gateway devices through the sub-devices, so that the gateway devices start corresponding data collection tasks according to the configuration information to collect data.
[0013] In an embodiment of the present application, the parameters of the life cycle management and data protocol processing of the gateway device are encapsulated within the interaction scope between the gateway device and the Internet of Things platform, and the data processing and functions of the sub-devices and the business system have no association with the gateway device.
[0014] In an embodiment of the present application, the method further includes: after the gateway device receives the data reported by the sub-device, re-encapsulating the protocol of the sub-device into a gateway protocol by the gateway device and sending the gateway protocol to the Internet of Things platform; disassembling the gateway protocol into a sub-device protocol by the Internet of Things platform and sending it to the business system.
[0015] In an embodiment of the present application, the method further includes: when the business system performs reverse control on the sub-device, the business system sends the identification name and business protocol of the sub-device to the Internet of Things platform; after the business protocol is re-encoded and decoded by the Internet of Things platform and the gateway device, the decoded business protocol is sent to the sub-device to implement the control of the sub-device.
[0016] In an embodiment of the present application, the edge application is developed using the GO language, and the running environment of the docker image is a Linux system environment.
[0017] In an embodiment of the present application, the edge application includes a data collection application, a business processing application, and an MQTT Broker application. Among them, the data collection application is used to interface with all types of textile equipment in the factory and periodically collect data from the textile equipment. The business processing application is used to, according to business needs, after local data modeling analysis and data operation on the data collected by the data collection application, encapsulate it into a standardized protocol for the edge gateway and send it to the MQTT Broker application. The MQTT Broker application is used to implement data interaction between various applications at the edge end and to implement data interaction between the gateway device and the Internet of Things platform.
[0018] In a second aspect of the present invention, a processor is provided, which is configured to execute the above-mentioned edge computing framework and transparent gateway method.
[0019] In a third aspect of the present invention, an edge computing framework and transparent gateway device for Internet of Things enabling industrial textile equipment is provided. The device includes a processor for the edge computing framework and transparent gateway method.
[0020] Through the above-mentioned edge computing framework and transparent gateway method, edge applications are packaged with docker images to enable edge applications to support docker image deployment, and an application template corresponding to the edge application is obtained. The application template includes the application name, application label, image address, application configuration information, and image configuration information of the edge application. The edge application is configured according to the application template, the batch of each gateway device is determined, and the corresponding application label is matched for each gateway batch. The gateway device is activated to automatically install the edge application corresponding to the application label according to the application label of each gateway device. Through this method, the processing of sub-devices by the system is consistent with the processing method of Internet of Things single devices, reducing the workload of business system development and improving cost-effectiveness.
[0021] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent specific implementation part. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification. They are used to explain the embodiments of the present invention together with the following specific implementation, but do not constitute a limitation to the embodiments of the present invention. In the drawings:
[0023] Figure 1 Schematically shows a flowchart of the edge computing framework and transparent gateway method according to an embodiment of the present invention;
[0024] Figure 2 Schematically shows an architecture diagram of the edge computing framework and transparent gateway method according to an embodiment of the present invention;
[0025] Figure 3 Schematically shows a timing diagram of the edge computing framework and transparent gateway method according to an embodiment of the present invention;
[0026] Figure 4 Schematically shows an internal structure diagram of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] The following details the specific implementation of the embodiments of the present invention in conjunction with the drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the embodiments of the present invention, and is not used to limit the embodiments of the present invention.
[0028] Figure 1 Schematically shows a flowchart of an edge computing framework and a transparent gateway method according to an embodiment of the present invention. As Figure 1 shown, in an embodiment of the present invention, an edge computing framework and a transparent gateway method are provided, including the following steps:
[0029] Step 101, package the edge application with the docker image so that the edge application supports docker image deployment.
[0030] Step 102, obtain an application template corresponding to the edge application. The application template includes the application name, application label, image address, application configuration information, and image configuration information of the edge application.
[0031] Step 103, configure the edge application according to the application template.
[0032] Step 104, determine the batch of each gateway device, and match the corresponding application label for each gateway batch.
[0033] Step 105, activate the gateway device to automatically install the edge application corresponding to the application label according to the application label of each gateway device.
[0034] An edge application refers to an independent software application with functions such as data collection and modeling, and data communication with the cloud. A docker image is a general containerized installation and deployment method. Developers need to add a text file with commands to create an image in the code to describe the process of image packaging. Package the edge application with the docker image so that the edge application supports docker image deployment. In the Internet of Things platform, create a corresponding application template for each application. The application template includes the application name, application label, image address, application configuration, image configuration, etc. The application template is used for application orchestration and deployment of the edge gateway. Gateways in the same batch can use the same application template for deployment. Specifically, the batch is divided by operators according to dimensions such as industrial production lines and equipment types, and a label is attached to the same batch. And the applications deployed and run by gateways in the same batch are the same.
[0035] For example, if a gateway needs to install 4 applications: a data collection application, a business data processing application, a database, and an MQTT server, then these applications will be pre-orchestrated in the cloud and told that they need to be automatically installed on a gateway marked with a certain label. Then when a gateway with this label is deployed and activated, the cloud will automatically install these applications. Gateways in the same batch are set with the same label, and the label and batch are in a one-to-one relationship. Create the batch of gateway devices in the Internet of Things platform, and the gateway devices in this batch have the function of orchestrating the same edge applications.
[0036] For gateways of the same batch, after the gateway is activated, the edge applications corresponding to the labels of the gateway batch are automatically installed. Specifically, when the implementer installs the edge gateway on-site, it is necessary to first initialize the edge server and install the edge application framework. According to the installation instructions provided by the Internet of Things platform, download the corresponding installation program to the edge server and execute the installation program. After the installation program is successfully executed, the required working directory, configuration file, and application orchestration service framework are created on the edge server. The application orchestration service framework will interact with the platform. After the edge gateway is activated, the edge server automatically installs the orchestrated edge applications. The operator selects the installed gateway and creates sub-devices according to the specific information of the on-site industrial equipment and associates them with the edge gateway. After the operation is successful, the background system will send the sub-device configuration information to the corresponding gateway device, and the gateway will start the corresponding data collection task according to the configuration information to collect data. The deployed edge applications will interact with the business system in real time according to the actual configuration and program logic. Figure 2 As shown, when the implementer installs the edge gateway on-site, it is necessary to first initialize the edge server and install the edge application framework. According to the installation instructions provided by the Internet of Things platform, download the corresponding installation program to the edge server and execute the installation program. After the installation program is successfully executed, the required working directory, configuration file, and application orchestration service framework are created on the edge server. The application orchestration service framework will interact with the platform. After the edge gateway is activated, the edge server automatically installs the orchestrated edge applications. The operator selects the installed gateway and creates sub-devices according to the specific information of the on-site industrial equipment and associates them with the edge gateway. After the operation is successful, the background system will send the sub-device configuration information to the corresponding gateway device, and the gateway will start the corresponding data collection task according to the configuration information to collect data. The deployed edge applications will interact with the business system in real time according to the actual configuration and program logic.
[0037] In one embodiment, the gateway device is an edge gateway device; the method further includes: initializing the edge server corresponding to the edge gateway; installing an edge application framework on the initialized edge server; downloading an installation program corresponding to the edge application framework to the edge server and executing the installation program to create a working directory, a configuration file, and an application orchestration service framework corresponding to the installation program; interacting with the platform through the installed application orchestration service framework to activate the gateway device.
[0038] For gateways of the same batch, after the gateway is activated, the edge applications corresponding to the labels of the gateway batch are automatically installed. Specifically, when the implementer installs the edge gateway on-site, it is necessary to first initialize the edge server and install the edge application framework. According to the installation instructions provided by the Internet of Things platform, download the corresponding installation program to the edge server and execute the installation program. After the installation program is successfully executed, the required working directory, configuration file, and application orchestration service framework are created on the edge server. The application orchestration service framework will interact with the platform. After the edge gateway is activated.
[0039] In one embodiment, the method further includes: creating sub-devices, associating the sub-devices with the corresponding gateway devices respectively; sending configuration information to the corresponding gateway devices through the sub-devices so that the gateway devices can start corresponding data collection tasks according to the configuration information to collect data.
[0040] The operator selects the installed gateway and creates sub-devices according to the specific information of on-site industrial devices. The sub-devices are associated with the edge gateway. After the operation is successful, the background system will send the sub-device configuration information to the corresponding gateway device. The gateway starts the corresponding data collection task according to the configuration information to collect data. The deployed edge application performs real-time data interaction with the business system according to the actual configuration and program logic.
[0041] In one embodiment, the parameters of the lifecycle management and data protocol processing of the gateway device are encapsulated within the interaction scope between the gateway device and the IoT platform, and the data processing and functions of the sub-devices and the business system have no association with the gateway device.
[0042] The lifecycle management of the gateway device refers to the operation and maintenance during the in-service period of the gateway device. The parameters of data protocol processing refer to the parameters of the data processing protocol during data interaction. The parameters of the lifecycle management and data protocol processing of the gateway device are encapsulated within the interaction scope between the gateway device and the IoT platform, and the data processing and functions of the sub-devices and the business system have no association with the gateway device.
[0043] In one embodiment, the method further includes: after the gateway device receives the data reported by the sub-device, re-encapsulating the protocol of the sub-device into a gateway protocol through the gateway device, and sending the gateway protocol to the IoT platform; disassembling the gateway protocol into a sub-device protocol through the IoT platform and sending it to the business system.
[0044] As Figure 3 shown, after the sub-device is associated with the edge gateway, after the gateway device receives the data reported by the sub-device, re-encapsulating the protocol of the sub-device into a gateway protocol through the gateway device. Specifically, re-encapsulating the protocol of the sub-device means that the gateway formats one or more sub-device protocols according to the standard format of the gateway protocol. The function of such encapsulation is mainly reflected at the functional level. The relationship between the gateway and the sub-devices is one-to-many. The sub-devices need to rely on the gateway to transmit data. Therefore, the gateway protocol is a collection of sub-device protocols. After the cloud receives the gateway protocol, it will perform corresponding processing according to the established protocol format and send the gateway protocol to the IoT platform; disassembling the gateway protocol into a sub-device protocol through the IoT platform and sending it to the business system.
[0045] In one embodiment, the method further includes: when the business system performs reverse control on the sub-device, the business system sends the identification name and business protocol of the sub-device to the IoT platform; after the IoT platform and the gateway device perform secondary encoding and decoding on the business protocol, the decoded business protocol is sent to the sub-device to achieve control of the sub-device.
[0046] As Figure 3As shown, when the business system performs reverse control on the sub-device, the business system sends the identification name and business protocol of the sub-device to the Internet of Things platform. After the business protocol is re-encoded and decoded through the Internet of Things platform and the gateway device, specifically, re-encoding and decoding the business protocol means that the data of the business system is formatted according to the standard format of the gateway protocol on the Internet of Things platform, and the data after formatting can be recognized by the sub-device. The decoded business protocol is sent to the sub-device, and the sub-device recognizes the decoded data to achieve control of the sub-device.
[0047] In one embodiment, the edge application is developed using the GO language, and the running environment of the docker image is the Linux system environment.
[0048] The edge application is developed using the GO language. The GO language is a programming language, and the running environment of the docker image is the Linux system environment.
[0049] In one embodiment, the edge application includes a data acquisition application, a business processing application, and an MQTT Broker application. Among them, the data acquisition application is used to connect to all models of textile equipment in the factory and periodically collect data from the textile equipment. The business processing application is used to, according to business needs, after local data modeling analysis and data operation on the data collected by the data acquisition application, encapsulate it into the edge gateway standard protocol and send it to the MQTT Broker application. The MQTT Broker application is used to realize data interaction between various applications at the edge end and data interaction between the gateway device and the Internet of Things platform.
[0050] An embodiment of the present invention provides a processor, and the processor is used to run a program. Among them, when the program runs, it executes the above-mentioned edge computing framework and transparent gateway method.
[0051] In one embodiment, an edge computing framework and transparent gateway device for Internet of Things enabling industrial textile equipment is provided. The edge computing framework and transparent gateway device for Internet of Things enabling industrial textile equipment includes a processor.
[0052] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 4As shown in the figure. The computer device includes a processor A01, a network interface A02, a display screen A04, an input device A05, and a memory (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A06. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor A01, it realizes an edge computing framework and a transparent gateway method. The display screen A04 of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device A05 of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.
[0053] Those skilled in the art can understand that Figure 4 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0054] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored on the memory and executable on the processor. When the processor executes the program, the following steps are implemented: packaging an edge application with a docker image to enable the edge application to support docker image deployment; obtaining an application template corresponding to the edge application, where the application template includes the application name, usage label, image address, application configuration information, and image configuration information of the edge application; configuring the edge application according to the application template; determining the batch of each gateway device, and matching a corresponding application label for each gateway batch; activating the gateway device to automatically install the edge application corresponding to the application label according to the application label of each gateway device.
[0055] In one embodiment, the gateway device is an edge gateway device; the method further includes installing the execution content of the edge application. Installing the execution content of the edge application includes: initializing the edge server corresponding to the edge gateway; installing an edge application framework on the initialized edge server; downloading an installation program corresponding to the edge application framework to the edge server and executing the installation program to create a working directory, a configuration file, and an application orchestration service framework corresponding to the installation program; interacting with the platform through the installed application orchestration service framework to activate the gateway device.
[0056] In one embodiment, the method further includes: creating sub-devices, associating the sub-devices with corresponding gateway devices respectively; sending configuration information to the corresponding gateway devices through the sub-devices, so that the gateway devices start corresponding data collection tasks according to the configuration information to collect data.
[0057] In one embodiment, the parameters of the lifecycle management and data protocol processing of the gateway device are encapsulated within the interaction scope between the gateway device and the Internet of Things platform, and the data processing and functions of the sub-devices and the business system have no association with the gateway device.
[0058] In one embodiment, the method further includes: after the gateway device receives the data reported by the sub-devices, re-encapsulating the protocol of the sub-devices into a gateway protocol through the gateway device, and sending the gateway protocol to the Internet of Things platform; disassembling the gateway protocol into the sub-device protocol through the Internet of Things platform and sending it to the business system.
[0059] In one embodiment, the method further includes: when the business system performs reverse control on the sub-devices, the business system sends the identification name and business protocol of the sub-devices to the Internet of Things platform; after the business protocol is re-encoded and decoded through the Internet of Things platform and the gateway device, the decoded business protocol is sent to the sub-devices to achieve control over the sub-devices.
[0060] In one embodiment, the edge application is developed using the GO language, and the operating environment of the docker image is the Linux system environment.
[0061] In one embodiment, the edge application includes a data collection application, a business processing application, and an MQTT Broker application. Among them, the data collection application is used to interface with all models of textile equipment in the factory and collect data from the textile equipment at regular intervals. The business processing application is used to, according to business needs, after local data modeling analysis and data operation on the data collected by the data collection application, encapsulate it into an edge gateway standard protocol and send it to the MQTT Broker application. The MQTT Broker application is used to realize data interaction between various applications at the edge side, and to realize data interaction between the gateway device and the Internet of Things platform.
[0062] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0063] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows 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 the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in the process Figure 1 in one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0064] These computer program instructions can 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, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in the process Figure 1 in one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0065] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the process Figure 1 in one process or multiple processes and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0066] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.
[0067] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.
[0068] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0069] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0070] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. An edge computing framework and transparent gateway method, characterized in that, The method includes: Packaging the edge application with a Docker image so that the edge application supports Docker image deployment; Obtaining an application template corresponding to the edge application, where the application template includes the application name, application label, image address, application configuration information, and image configuration information of the edge application; Configuring the edge application according to the application template; Determining the batch of each gateway device and matching a corresponding application label for each gateway batch; Activating the gateway device to automatically install the edge application corresponding to the application label according to the application label of each gateway device; The gateway device is an edge gateway device; the method further includes installing the execution content of the edge application; The installation of the execution content of the edge application includes: Initializing the edge server corresponding to the edge gateway; Installing an edge application framework on the initialized edge server; Downloading an installer corresponding to the edge application framework to the edge server and executing the installer to create a working directory, configuration file, and application orchestration service framework corresponding to the installer; Interacting with the platform through the installed application orchestration service framework to activate the gateway device; For gateways in the same batch, after the gateway is activated, the edge application corresponding to the label of the gateway batch is automatically installed. When installing the edge gateway on-site, it is necessary to first initialize the edge server and install the edge application framework. According to the installation instructions provided by the Internet of Things platform, download the corresponding installer to the edge server and execute the installer. After the installer is successfully executed, the required working directory, configuration file, and application orchestration service framework are created on the edge server. The application orchestration service framework will interact with the platform. After the edge gateway completes gateway activation; The method further includes: Creating sub-devices and associating the sub-devices with the corresponding gateway devices respectively; Sending configuration information to the corresponding gateway device through the sub-device so that the gateway device starts a corresponding data collection task to collect data according to the configuration information; Selecting the installed gateway and creating sub-devices according to the specific information of the on-site industrial equipment. The sub-devices are associated with the edge gateway. After the operation is successful, the background system will send the sub-device configuration information to the corresponding gateway device. The gateway starts a corresponding data collection task to collect data according to the configuration information. The deployed edge application interacts with the business system in real time according to the actual configuration and program logic. The parameters for the lifecycle management and data protocol processing of the gateway device are encapsulated within the interaction range between the gateway device and the Internet of Things platform, and the data processing and functions of the sub-devices and the business system have no association with the gateway device.
2. The method according to claim 1, wherein The method further includes: After the gateway device receives the data reported by the sub-device, re-encapsulating the protocol of the sub-device into a gateway protocol by the gateway device and sending the gateway protocol to the Internet of Things platform; Decomposing the gateway protocol into a sub-device protocol by the Internet of Things platform and sending it to the business system.
3. The method according to claim 2, wherein The method further includes: When the service system performs reverse control on the sub-device, the service system sends the identification name and service protocol of the sub-device to the Internet of Things platform; After the service protocol is secondarily encoded and decoded by the Internet of Things platform and the gateway device, the decoded service protocol is sent to the sub-device to achieve control of the sub-device.
4. The method according to claim 1, characterized in that, The edge application is developed using the GO language, and the operating environment of the docker image is the Linux system environment.
5. The method according to claim 1, wherein The edge application includes a data acquisition application, a service processing application, and an MQTT Broker application. Among them, the data acquisition application is used to interface with all models of textile equipment in the factory and periodically collect data from the textile equipment. The service processing application is used to, according to service requirements, after local data modeling analysis and data operation on the data collected by the data acquisition application, encapsulate it into the edge gateway standard protocol and send it to the MQTT Broker application. The MQTT Broker application is used to realize data interaction between various applications at the edge side and data interaction between the gateway device and the Internet of Things platform.
6. A processor, characterized in that, configured to execute the edge computing framework and transparent gateway method according to any one of claims 1 to 5.
7. An edge computing framework and a transparent gateway device for Internet of Things enabling of industrial textile equipment, characterized in that, The device includes the processor according to claim 6.
Citation Information
Patent Citations
Cloud edge cooperation system for edge computing
CN113630372A