A tree-shaped cloud edge coordination architecture Internet of Things edge gateway construction method

By dividing the gateway service of the IoT platform into two parts, centralized and edge gateways, and designing a three-layer edge gateway architecture, the problems of gateway service resource consumption and device adaptation difficulties are solved, and personalized device adaptation and hot-swapping are realized, thereby improving the system's flexibility and security.

CN118353894BActive Publication Date: 2025-12-05CHINA CITIC BANK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410492587.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2025-12-05
Estimated Expiration
2044-04-23

AI Technical Summary

Technical Problem

When a large number of devices are connected, the existing IoT platform gateway service suffers from high resource consumption, difficulty in device adaptation, high operation and maintenance costs, and cannot achieve precise control at a fine granular level.

Method used

The gateway service is divided into two parts: a centralized gateway service and an edge gateway. The edge gateway processes personalized device messages. The IoT edge gateway is designed with a three-layer architecture, including a basic service layer, a device adaptation layer, and a data bus, to realize personalized device adaptation and message preprocessing, and to support hot-swapping and hot deployment.

Benefits of technology

It improves the system's flexibility and maintainability, reduces development and testing difficulty, enhances system security and resource utilization, and supports cross-platform and cross-device communication and collaboration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118353894B_ABST
    Figure CN118353894B_ABST
Patent Text Reader

Abstract

The application provides a tree-shaped cloud edge coordination architecture Internet of Things edge gateway construction method, and relates to the field of computer systems.The application can better allocate computing and communication resources by dividing gateway services into two parts, namely, centrally deployed gateway services and edge gateways.The messages of general protocol devices (such as MQTT and TCP protocols) are processed by the centralized gateway services, and the messages of personalized adaptive devices and device preprocessing are processed by the edge gateways.Thus, the gateway services can more efficiently process various messages, and the flexibility of the system is enhanced, and the edge gateways and their proxy devices can be dynamically modified and hot deployed without modifying the cloud.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of computer systems, and in particular, to a tree-shaped cloud edge collaboration architecture Internet of Things edge gateway construction method. BACKGROUND

[0002] The Internet of Things is a technology that extends the application and network extension of communication networks and the Internet. It connects any object with the Internet through the use of information sensing devices such as radio frequency identification (RFID), sensors, cameras, locators, and laser scanners, to achieve sensing, control, network interconnection, and intelligent processing. In this way, we can achieve real-time perception, accurate management, and scientific decision-making of the physical world.

[0003] Internet of Things technology can give movable property the attribute of immovable property, and through remote continuous identification, positioning, monitoring, and other means, it can convert objective data assets into credit value. This can solve the problems of movable property control, credit evaluation, and post-loan supervision, and can also innovatively expand business and solve the problem of geographical limitations in business expansion.

[0004] In terms of software and hardware linkage, Internet of Things technology can improve the coverage and intelligence of value-added product scenarios. For example, in the fields of access control channels, card swiping, security monitoring, people flow monitoring, and face recognition, Internet of Things technology can realize remote control and management of devices, and improve their intelligence and coverage.

[0005] However, the existing technical solutions have some problems. For example, the security devices in the smart site scenario do not have the ability to directly connect to the gateway service, and need to integrate SDK in the gateway service to control the devices. In addition, each physical device needs to maintain a long connection with the gateway service to receive real-time alarms and attributes from the security devices, which will occupy a large number of physical resources of the centralized deployed gateway service.

[0006] In addition, the centralized deployment mode increases the difficulty of device adaptation development and debugging, and as the number of devices increases, the gateway service must keep all services open regardless of whether a certain type of device actually has a device connected, which cannot achieve precise control at a small granularity and wastes a lot of resources. In addition, the messages of each device are pushed to the gateway service in full, and the gateway service needs to perform input verification, consistency verification, and security verification on all device messages, consuming a large amount of computing resources. With the large increase in the number of devices, the gateway service needs to be expanded in real time according to the number of devices, greatly increasing the operation and maintenance cost. SUMMARY

[0007] In view of the needs raised in the background art, the embodiment of the present application provides a tree cloud edge collaborative architecture Internet of Things edge gateway building method, aiming to solve the problem of large resource consumption of centralized deployment gateway service machine resources and device adaptation unable to hot plug and hot deployment caused by a large number of device access to the Internet of Things platform gateway service, reduce the risk of gateway service downtime, enhance resource utilization, and ensure the performance, stability and security of the physical network platform system.

[0008] A tree cloud edge collaborative architecture Internet of Things edge gateway building method, the specific steps include:

[0009] Step one, the gateway service of the Internet of Things platform is divided into two parts of centralized deployment gateway service and edge gateway, wherein the centralized deployment gateway service mainly processes the messages of general protocol devices (such as MQTT and TCP protocol), and the devices and device message preprocessing that need to be personalized adapted are split into the edge gateway for adaptation.

[0010] Step two, the edge gateway converts the personalized messages of different devices into the unified general message defined by the Internet of Things platform and communicates with the centralized gateway service; in device interfacing, only the debugging of the edge gateway and the device needs to be completed, and the device interfacing work can be completed; at the same time, with the help of different edge gateways, the Internet of Things platform can perform differential control on different devices or different device types under the same edge gateway;

[0011] Step three, the tree structure composed of the centralized deployment gateway service and a plurality of edge gateways constitutes the cloud edge collaborative architecture of the Internet of Things platform.

[0012] Further, the edge gateway includes a basic service layer, a device adaptation layer and a data bus.

[0013] In the basic service layer, the communication capability of the edge gateway and the Internet of Things platform, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication and other basic capabilities are provided.

[0014] Further, in the device adaptation layer, an adapter is allocated for each type of device, and according to the configuration information of the cloud, the device adapter of a certain type can be dynamically started or recycled, so that the edge gateway has the hot plug and hot deployment capability of adaptation.

[0015] Further, in the data bus, a separate module is designed for uplink and downlink data flow, so as to decouple the device adaptation and the basic service, so that the edge gateway has the hot plug and hot deployment capability of device adaptation.

[0016] Further, a tree cloud edge collaborative architecture Internet of Things edge gateway building system includes:

[0017] I. Reconstruction module of gateway service of Internet of Things platform:

[0018] The gateway service of the Internet of Things platform is split into a centrally deployed gateway service module and an edge gateway module.

[0019] The centrally deployed gateway service module mainly processes messages of general protocol devices, while messages of devices requiring individual adaptation are processed by the edge gateway module.

[0020] The edge gateway module converts individual messages of different devices into uniform general messages defined by the Internet of Things platform and communicates with the centrally deployed gateway service module.

[0021] During device interfacing, only the debugging of the edge gateway module and the device needs to be completed, and the device interfacing work can be completed.

[0022] With different edge gateway modules, the Internet of Things platform can perform differentiated control on different devices or different types of devices under the same edge gateway.

[0023] The tree structure composed of the centrally deployed gateway service module and a plurality of edge gateway modules constitutes the cloud-edge collaborative architecture of the Internet of Things platform.

[0024] II. Design module of edge gateway of Internet of Things:

[0025] An edge gateway of the Internet of Things is designed, which includes a basic service layer, a device adaptation layer, and a data bus.

[0026] The basic service layer submodule provides basic capabilities such as communication capability of the edge gateway and the Internet of Things platform, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication.

[0027] The device adaptation layer submodule is responsible for SDK adaptation, file adaptation, and adapter reserved for dynamic expansion of the access device. An adapter is allocated for each type of device. According to the configuration information of the cloud, a device adapter of a certain type can be dynamically started or recycled, so that the edge gateway has the hot plug and hot deployment capability of adaptation.

[0028] The data bus submodule is an independent module for uplink and downlink data flow, which decouples the device adaptation layer and the basic service layer submodules, so that the edge gateway truly has the hot plug and hot deployment capability of device adaptation.

[0029] Further, the terminal device can include a processor, a storage medium and a bus, the storage medium stores machine readable instructions executable by the processor, when the terminal device is running, the processor communicates with the storage medium through the bus, the processor executes the machine readable instructions to execute the steps of the tree-shaped cloud edge collaboration architecture Internet of Things edge gateway building method as described in the foregoing embodiments.

[0030] Further, a storage medium stores a computer program, the computer program is executed by the processor to execute the steps of the method described above.

[0031] Further, a computer program product includes a computer program, the computer program is executed by the processor to execute the method described above.

[0032] The beneficial effects of the present application: the present application can better allocate computing and communication resources by dividing the gateway service into two parts of centralized deployment gateway service and edge gateway. The messages of general protocol devices (such as MQTT and TCP protocol) are processed by the centralized gateway service, and the messages of personalized adaptive devices and devices are preprocessed by the edge gateway. This makes the gateway service more efficient in processing various messages, while enhancing the flexibility of the system, and the edge gateway and its proxy devices can be dynamically modified and hot deployed without modifying the cloud.

[0033] By simplifying the device interfacing work to only need to complete the debugging of the edge gateway and the device, the difficulty of development and testing can be greatly reduced. At the same time, with the help of different edge gateways, the Internet of Things platform can perform differential control on different devices or different device types under the same edge gateway, increasing the control dimension and precision of the device.

[0034] By designing a three-layer architecture of Internet of Things edge gateway, including a basic service layer, a device adaptation layer and a data bus, the personalized adaptation and message preprocessing of the device can be better realized. At the same time, this architecture can also support the hot plug and hot deployment capability of the device, further reducing the difficulty of development and testing, and improving the flexibility and maintainability of the system.

[0035] In the device interfacing process, the edge gateway can perform consistency check, legality check, message duplication check and flow limiting pre-processing on the received messages, improving the security of the system. At the same time, by moving part of the computing capability to the basic service layer for unified input check, consistency check, security check and other pre-processing, the data processing amount of the centralized gateway service can be reduced, and the security of the system is further improved.

[0036] By composing a tree structure with the gateway service of the centralized deployment and a plurality of edge gateways, a cloud-edge collaborative architecture of the Internet of Things platform is formed, which can better meet the distributed, collaborative and real-time requirements of the Internet of Things system. Meanwhile, this architecture can also support cross-platform and cross-device communication and collaboration, and provide better support for the wide application of the Internet of Things system.

[0037] In summary, the method for building the edge gateway of the Internet of Things according to the tree-shaped cloud-edge collaborative architecture has the advantages of improving efficiency, reducing development and testing difficulty, enhancing maintainability and scalability, improving security, and optimizing system architecture, and provides strong support for the development and application of the Internet of Things platform. BRIEF DESCRIPTION OF DRAWINGS

[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0039] Figure 1 A flowchart of the method of the present application is shown.

[0040] Figure 2 A composition schematic diagram of the system of the present application is shown.

[0041] Figure 3 A composition schematic diagram of the terminal device of the present application is shown. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the drawings in the present application only play the purpose of illustration and description, and do not limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportion. The flowchart shows the operations realized according to some embodiments of the present application. It should be understood that the operations of the flowchart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowchart or removed from the flowchart under the guidance of the content of the present application by those skilled in the art.

[0043] In addition, the embodiments described herein are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.

[0044] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features. It should also be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. In the description of the present application, it should also be noted that the terms "first", "second", "third" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0045] The present application will be described in detail below in conjunction with the accompanying drawings.

[0046] The present application includes two main parts:

[0047] First, introduce edge gateway in the Internet of Things platform, divide gateway service into two parts of centralized deployment gateway service and edge gateway, to reduce the resource and pressure problems of gateway service;

[0048] Second, design an Internet of Things edge gateway with three-layer architecture to realize individual adaptation of devices and message preprocessing.

[0049] For the first part of the solution, the gateway service of the Internet of Things platform is re-divided into a centrally deployed gateway service and an edge gateway. The centrally deployed gateway service is mainly responsible for processing messages of general protocol devices (such as MQTT and TCP protocols), while devices requiring individualized adaptation and preprocessing of messages of devices are split into the edge gateway for adaptation. The edge gateway converts individualized messages of different devices into uniform general messages defined by the Internet of Things platform, and then communicates with the gateway service. This architecture can dynamically modify and hot deploy the edge gateway and its proxy devices without modifying the cloud, thereby reducing the operation and maintenance cost. In addition, only the debugging of the edge gateway and the devices needs to be completed to complete the device interfacing work, greatly reducing the development and testing difficulty. With different edge gateways, the Internet of Things platform can perform differential control on different devices or different device types under the same edge gateway, increasing the control dimension and precision of the devices. The tree structure composed of the centrally deployed gateway service and a plurality of edge gateways constitutes the cloud-edge collaborative architecture of the Internet of Things platform.

[0050] For the second part of the solution, an Internet of Things edge gateway with a three-layer architecture is designed. The architecture includes a basic service layer, a device adaptation layer and a data bus. The basic service layer provides the communication capability of the edge gateway with the Internet of Things platform, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication and other basic capabilities. The device adaptation layer accesses the SDK adaptation, file adaptation and reserved adapter of the reserved dynamic expansion of the device. Each type of device is assigned an adapter Adapter, and according to the configuration information of the cloud, a device adapter of a certain type can be dynamically started or recycled, so that the edge gateway has the hot plug and hot deployment capability of adaptation. The data bus is an independent module for uplink and downlink data flow, to decouple the device adaptation and the basic service, so that the edge gateway truly has the hot plug and hot deployment capability of device adaptation.

[0051] By dividing the gateway service into a centrally deployed gateway service and an edge gateway, the resource and pressure problems of the gateway service can be reduced;

[0052] By splitting the devices requiring individualized adaptation and preprocessing of messages of devices in the edge gateway for adaptation, individualized adaptation and preprocessing of messages of devices can be achieved;

[0053] With different edge gateways, the Internet of Things platform can perform differential control on different devices or different device types, increasing the control dimension and precision of the devices;

[0054] By designing an Internet of Things edge gateway with a three-layer architecture, the hot plug and hot deployment capability of devices can be achieved, further reducing the development and testing difficulty;

[0055] Through the independent design of the data bus, the decoupling of the basic service layer and the device adaptation layer can be realized, and the flexibility and maintainability of the system are improved.

[0056] As Figure 1 illustrated, it can be seen that the method steps corresponding to the present application include:

[0057] Step one, the gateway service of the Internet of Things platform is divided into a centrally deployed gateway service and an edge gateway, wherein the centrally deployed gateway service mainly processes messages of general protocol devices (such as MQTT and TCP protocols), and devices requiring individual adaptation and preprocessing of messages of the devices are split into the edge gateway for adaptation.

[0058] Step two, the edge gateway communicates with the centralized gateway service after converting individual messages of different devices into uniform general messages defined by the Internet of Things platform; in device interfacing, only the debugging of the edge gateway and the device needs to be completed, and the device interfacing work can be completed; at the same time, with the help of different edge gateways, the Internet of Things platform can perform differential control on different devices or different device types under the same edge gateway.

[0059] Step three, the tree structure composed of the centrally deployed gateway service and a plurality of edge gateways constitutes the cloud-edge collaborative architecture of the Internet of Things platform.

[0060] The edge gateway includes a basic service layer, a device adaptation layer and a data bus.

[0061] In the basic service layer, the communication capability of the edge gateway and the Internet of Things platform, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication and other basic capabilities are provided.

[0062] In the device adaptation layer, an adapter is allocated to each type of device, and according to the configuration information of the cloud, the device adapter of a certain type can be dynamically started or recycled, so that the edge gateway has the hot plug and hot deployment capability of adaptation.

[0063] In the data bus, a separate module is designed for uplink and downlink data flow, so as to decouple the device adaptation and the basic service, so that the edge gateway has the hot plug and hot deployment capability of device adaptation.

[0064] As Figure 2 illustrated, the system of the present application comprises:

[0065] I. Internet of Things platform gateway service reconstruction module:

[0066] The gateway service of the Internet of Things platform is split into a centrally deployed gateway service and an edge gateway.

[0067] The gateway service module deployed centrally mainly processes messages of general protocol devices, and devices and preprocessing of messages of devices requiring individual adaptation are processed by the edge gateway module.

[0068] The edge gateway module converts individual messages of different devices into uniform general messages defined by the Internet of Things platform, and communicates with the centralized gateway service module.

[0069] In the device interfacing process, only the debugging of the edge gateway module and the device needs to be completed, and the device interfacing work can be completed.

[0070] With different edge gateway modules, the Internet of Things platform can perform differential control on different devices or different types of devices under the same edge gateway.

[0071] The tree structure composed of the gateway service module deployed centrally and a plurality of edge gateway modules constitutes the cloud-edge collaborative architecture of the Internet of Things platform.

[0072] II. Design module of the edge gateway of the Internet of Things:

[0073] An edge gateway of the Internet of Things including a basic service layer, a device adaptation layer and a data bus is designed.

[0074] The basic service layer submodule provides basic capabilities of the edge gateway and the Internet of Things platform, such as communication capability, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication.

[0075] The device adaptation layer submodule is responsible for SDK adaptation, file adaptation and adapter reserved for dynamic expansion of the accessed device. An adapter is allocated for each type of device. According to the configuration information of the cloud, a device adapter of a certain type can be dynamically started or recycled, so that the edge gateway has the hot plug and hot deployment capability of adaptation.

[0076] The data bus submodule is an independent module for uplink and downlink data flow, which decouples the device adaptation layer and the basic service layer submodules, so that the edge gateway truly has the hot plug and hot deployment capability of device adaptation.

[0077] Through the combination and cooperation of the above submodules, the individual adaptation and message preprocessing functions of the device are realized, which further reduces the development and testing difficulty and improves the flexibility and maintainability of the system.

[0078] For example, Figure 3As shown, the terminal device 6 can include a processor 601, a storage medium 602, and a bus 603. The storage medium 602 stores machine readable instructions executable by the processor 601. When the terminal device is running, the processor 601 communicates with the storage medium 602 through the bus 603. The processor 601 executes the machine readable instructions to perform the steps of the tree-shaped cloud edge collaboration architecture Internet of Things edge gateway building method as described in the foregoing embodiments. The specific implementation and technical effects are similar, and will not be described here.

[0079] For ease of illustration, only one processor is described in the terminal device. However, it should be noted that in some embodiments, the terminal device in the present application can also include multiple processors, and therefore the steps performed by one processor in the present application can also be jointly performed or separately performed by multiple processors.

[0080] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A tree-shaped cloud edge coordination architecture Internet of Things edge gateway construction method, characterized in that, The specific steps include: Step one, the gateway service of the Internet of Things platform is divided into a centrally deployed gateway service and an edge gateway, wherein the centrally deployed gateway service processes messages of general protocol devices, and devices and message preprocessing of devices requiring individual adaptation are split into the edge gateway for adaptation, the edge gateway includes a basic service layer, a device adaptation layer, and a data bus; in the device adaptation layer, each type of device is allocated an adapter, and according to the configuration information of the cloud, a device adapter of a certain type is started or recycled dynamically, so that the edge gateway has the hot plug and hot deployment capability of adaptation; Step two, the edge gateway converts individualized messages of different devices into uniform general messages defined by the Internet of Things platform and communicates with the centralized gateway service; Step three, the tree structure composed of the centrally deployed gateway service and a plurality of edge gateways constitutes the cloud-edge collaborative architecture of the Internet of Things platform.

2. The method of claim 1, wherein, In the basic service layer, the communication between the edge gateway and the Internet of Things platform, connection maintenance, message subscription configuration, message encoding and decoding, message encryption and decryption, and security authentication functions are included.

3. The method of claim 1, wherein, In the data bus, an independent module is used for uplink and downlink data flow, so as to decouple the device adaptation and the basic service, so that the edge gateway truly has the hot plug and hot deployment capability of device adaptation.

4. A tree cloud edge coordination architecture Internet of Things edge gateway building system, characterized in that, For executing the method as claimed in any one of claims 1-3, comprising: The Internet of Things platform gateway service reconstruction module is composed of a centrally deployed gateway service and an edge gateway; The centrally deployed gateway service module mainly processes messages of general protocol devices, and devices and message preprocessing of devices requiring individual adaptation are processed by the edge gateway module; The edge gateway module converts individualized messages of different devices into uniform general messages defined by the Internet of Things platform and communicates with the centralized gateway service module; The Internet of Things edge gateway design module includes an Internet of Things edge gateway including a basic service layer, a device adaptation layer, and a data bus.

5. A terminal device, characterized by, Comprise: A processor, a storage medium, and a bus, the storage medium stores machine readable instructions executable by the processor, when the terminal device runs, the processor and the storage medium communicate through the bus, the processor executes the machine readable instructions to execute the steps of the method as claimed in any one of claims 1 to 3.

6. A storage medium, characterized by The storage medium stores a computer program, the computer program is executed by the processor to execute the steps of the method as claimed in any one of claims 1 to 3.

7. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method as claimed in any one of claims 1-3.

Citation Information

Patent Citations

  • Internet of Things equipment control architecture and method based on KubeEdge and EdgeOS

    CN113691497A