CN111752675A - Internet of things platform based on containerization technology - Google Patents

Internet of things platform based on containerization technology Download PDF

Info

Publication number
CN111752675A
CN111752675A CN202010461611.1A CN202010461611A CN111752675A CN 111752675 A CN111752675 A CN 111752675A CN 202010461611 A CN202010461611 A CN 202010461611A CN 111752675 A CN111752675 A CN 111752675A
Authority
CN
China
Prior art keywords
container
access
equipment
data
command issuing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010461611.1A
Other languages
Chinese (zh)
Other versions
CN111752675B (en
Inventor
刘鹤辉
李国志
滕华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Cognitive Internet Of Things Research Institute Co ltd
Original Assignee
Nanjing Cognitive Internet Of Things Research Institute Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Cognitive Internet Of Things Research Institute Co ltd filed Critical Nanjing Cognitive Internet Of Things Research Institute Co ltd
Priority to CN202010461611.1A priority Critical patent/CN111752675B/en
Publication of CN111752675A publication Critical patent/CN111752675A/en
Application granted granted Critical
Publication of CN111752675B publication Critical patent/CN111752675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to an Internet of things platform based on containerization technology, which comprises the following components: the device management module, the automatic capacity expansion and first access management module and the device main database are as follows: the equipment management module is used for receiving equipment information of newly registered equipment and uploading the equipment information to the equipment main database for storage; the automatic capacity expansion and first access management module is used for acquiring equipment information of newly registered equipment from an equipment main database, distributing containers for the equipment according to the acquired equipment information and preset distribution rules, forming a mapping relation between the equipment and the containers, and uploading the mapping relation to the equipment main database; and the equipment management module is also used for setting a destination access port of the equipment according to the container allocated to the equipment so as to enable the equipment to access the allocated container. According to the invention, the data access and command issuing functions in the Internet of things platform are separated, and standardization is carried out based on a containerization technology, so that dynamic expansion and transverse expansion of the data access and command issuing functions are realized.

Description

Internet of things platform based on containerization technology
Technical Field
The invention relates to the technical field of Internet of things, in particular to an Internet of things platform based on a containerization technology.
Background
In the field of internet of things, one of the key problems is to provide a platform for receiving data reported by an edge device or a front-end data acquisition module through a network, storing the data for an upper layer service application to analyze or directly forwarding the data to other software modules for analysis processing, and simultaneously forwarding a control command issued by the upper layer service application to the edge device or the control module through the network.
The part is often a core component module of the internet of things platform, and in the existing technical scheme of the internet of things platform, two technical schemes are generally adopted for implementation. The first technical scheme is a large centralization mode, namely a centralized cloud Internet of things platform is constructed, all equipment reports data to the Internet of things platform, the central platform forwards the data to other applications or analysis modules, and the centralized platform receives equipment control commands issued by the applications and forwards the equipment control commands to the applications; the second is a localized platform, each specific client or application project is individually deployed with a set of platform and service application, and after receiving the device, the platform directly analyzes the data and sends the data to the service application for analysis, and simultaneously directly issues the device control command of the application.
However, for the first technical solution in the prior art, the architecture of the centralized cloud internet of things platform is very complex and very high in cost, the workload required to be deployed is large, and a general enterprise or organization is difficult to deploy, and when the device is isolated from the public network and can be connected to the public network through transit, the device cannot be directly accessed to the platform; for the second technical solution in the prior art, a localized platform is relatively easy to construct, but the localized platform itself considers small-scale localized deployment, and its capability of lateral expansion is limited, that is, when a device grows to a certain data volume, the localized platform cannot access more devices.
Disclosure of Invention
The invention aims to solve at least one defect (deficiency) in the prior art, and provides an Internet of things platform based on a containerization technology, which realizes dynamic expansion and horizontal expansion of data access and command issuing functions by separating the data access and command issuing functions in the Internet of things platform and standardizing based on the containerization technology.
The technical scheme adopted by the invention is as follows:
an internet of things platform based on containerization technology, comprising: the device management module, the automatic capacity expansion and first access management module and the device main database are as follows:
the equipment management module is used for receiving equipment information of newly registered equipment and uploading the equipment information to an equipment main database for storage;
the automatic capacity expansion and first access management module is used for acquiring equipment information of newly registered equipment from the equipment main database, distributing a data access and command issuing container for the equipment according to the acquired equipment information and a preset distribution rule, forming a mapping relation between the equipment and the data access and command issuing container, and uploading the mapping relation to the equipment main database;
the device management module is further configured to set a destination access port of the device for the data access and command issuing container allocated to the device according to the automatic capacity expansion and first access management module, so that the device accesses the allocated data access and command issuing container through the destination access port;
the data access and command issuing container is used for receiving data reported by the equipment accessed to the data access and command issuing container, uploading the data to the upper layer application, receiving the command issued by the upper layer application and sending the command to the equipment accessed to the data access and command issuing container.
The data access and command issuing container is distributed for the equipment through the automatic expansion and first access management module according to the acquired equipment information and the preset distribution rule, so that the data access and command issuing functions in the Internet of things platform are stripped, standardization is carried out based on a containerization technology, dynamic expansion and transverse expansion of the data access and command issuing functions are realized, the data access and command issuing functions can be deployed at the cloud end, the data access and command issuing functions can also be deployed at the edge end through local deployment, cloud-edge integrated deployment is realized, the transverse expansion of the platform is considered, and the portability of the platform is also realized.
Further, the platform also includes a port assignment module;
the port distribution module is used for distributing a container port for the data access and command issuing container when the data access and command issuing container is started;
the device management module is used for setting a destination access port of the device for the data access and command issuing container distributed by the device according to the automatic capacity expansion and first access management module so as to enable the device to access the distributed data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container distributed by the automatic capacity expansion and first access management module for the device, so that the device accesses the distributed data access and command issuing container through the destination access port.
The device can access the correct data access and command issuing container by distributing the container port for the data access and command issuing container when the data access and command issuing container is started and setting the destination access port of the device as the container port of the data access and command issuing container by the device management module.
Furthermore, at least one data access and command issuing container is used as a first access container, and the first access container is in a normally started state;
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container allocated to the device by the automatic capacity expansion and first access management module so as to enable the device to access the allocated data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a target access port of the device as a container port of the first-time access container when the port distribution module does not distribute the container port for the data access and command issuing container distributed by the device, so that the device is accessed into the first-time access container through the target access port, and changing the target access port of the device as the container port of the distributed data access and command issuing container when the port distribution module distributes the container port for the data access and command issuing container distributed by the automatic expansion and first-time access management module, so that the device is accessed into the distributed data access and command issuing container through the target access port.
The device comprises a port distribution module, a port distribution module and at least one data access and command issuing container, wherein the port distribution module is used for distributing data to the device, the port distribution module is used for distributing a command to the device, and the command issuing container is used as a first access container which is in a normally started state.
Further, the data access and command issuing container as a non-first-time access container is further configured to load device information of the device accessed to the container from the device master database according to the mapping relationship before receiving data reported by the device accessed to the container or receiving a command issued by an upper-layer application;
the data access and command issuing container as the first access container is also used for acquiring the equipment information of the newly registered equipment from the equipment management module before receiving the data reported by the equipment accessed to the container or receiving the command issued by the upper application, and removing the loaded equipment information of the equipment after the equipment management module changes and sets the destination access port of the equipment as the container port of the allocated data access and command issuing container.
After the device management module changes the container port of the container which sets the destination access port of the device as the allocated data access and command issuing container, the container is accessed for the first time to remove the device information of the device loaded by the container, so that the container accessed for the first time can access the next newly registered device, and the memory is saved.
Further, the automatic capacity expansion and first access management module is configured to allocate a data access and command issue container for the device according to the obtained device information and a preset allocation rule, and specifically includes:
and the automatic capacity expansion and first access management module is used for distributing a data access and command issuing container for the equipment according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
The data access and command issuing container is distributed to the equipment according to the capacity of the residual accessible equipment of each data access and command issuing container, so that the dynamic expansion and the horizontal expansion of the data access and command issuing functions are realized.
Further, the automatic capacity expansion and first access management module is configured to allocate a data access and command issue container for the device according to the device information and the remaining accessible device capacity of each data access and command issue container, and specifically includes:
the automatic capacity expansion and first access management module is used for distributing the same data access and command issuing container for the equipment with the same production source and/or the same data transmission protocol and/or the same user according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
Further, the data access and command issuing container comprises an adapter and message queue middleware; the adapter is used for receiving data reported by equipment, uploading the data to the message queue middleware, acquiring a command issued by an upper application from the message queue middleware, and transmitting the command to the equipment;
the message queue middleware comprises a data queue and a command queue;
the data queue is used for receiving and storing the data uploaded by the adapter;
and the command queue is used for receiving and storing commands issued by the upper application.
The data access and command issuing functions are standardized by adopting a containerization technology, so that the dynamic expansion and contraction of the data access and command issuing functions are realized.
Further, the message queue middleware also comprises a rule queue and/or an event queue and/or a management queue;
the rule queue is used for receiving and storing the data uploaded by the adapter and needing to be subjected to rule calculation according to a preset calculation rule;
the event queue is used for receiving and storing alarm events sent out when the data is subjected to rule calculation according to preset calculation rules and is abnormal;
the management queue is used for receiving and storing the equipment information of the registered equipment and removing the equipment information of the logged-out equipment.
By adopting different queues to receive different data, the division of labor in the data receiving and command issuing container is clear.
Further, the container port includes a container ip and a port number.
Further, the device information includes a device category, a device unique code, a device model, and a device protocol.
Compared with the prior art, the invention has the beneficial effects that:
the data access and command issuing functions in the Internet of things platform are stripped from the platform and standardized based on the containerization technology, so that the dynamic extension and the transverse extension of the data access and command issuing functions are realized, the platform can be deployed at the cloud end and the edge end through localized deployment, the cloud-edge integrated deployment is realized, the transverse extension of the platform is considered, the portability of the platform is realized, and the high adaptability is realized.
By adopting the standardized data access and command issuing container, the deployment, operation and maintenance difficulty of the platform is reduced, and the deployment and expansion efficiency of the platform is improved.
The equipment management module, the automatic capacity expansion and first access management module can be deployed at the cloud end, and the data access and command issuing container, the equipment first access container and the equipment first access container can be deployed at the cloud end and also can be deployed at the edge end, so that the problem that the equipment access network in actual engineering is complex and various (possibly in an internal network or a local network) is solved, and the actual requirement of unified management of the cloud end of the equipment can be met.
Drawings
Fig. 1 is an architecture diagram of an internet of things platform based on containerization technology according to the present invention;
FIG. 2 is a block diagram of a data access and command issue container according to the present invention.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For a better understanding of the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The embodiment provides an internet of things platform based on containerization technology, as shown in fig. 1, which is an architecture diagram of the platform, and the platform includes: the device management module, the automatic capacity expansion and first access management module and the device main database are as follows:
the equipment management module is used for receiving equipment information of newly registered equipment and uploading the equipment information to an equipment main database for storage;
the automatic capacity expansion and first access management module is used for acquiring equipment information of newly registered equipment from the equipment main database, distributing a data access and command issuing container for the equipment according to the acquired equipment information and a preset distribution rule, forming a mapping relation between the equipment and the data access and command issuing container, and uploading the mapping relation to the equipment main database;
the device management module is further configured to set a destination access port of the device for the data access and command issuing container allocated to the device according to the automatic capacity expansion and first access management module, so that the device accesses the allocated data access and command issuing container through the destination access port;
the data access and command issuing container is used for receiving data reported by the equipment accessed to the data access and command issuing container, uploading the data to the upper layer application, receiving the command issued by the upper layer application and sending the command to the equipment accessed to the data access and command issuing container.
In a specific implementation process of this embodiment, when a new device needs to access a platform to report data to an upper application, a device management module receives device information of a newly registered device, and uploads the device information to a device master database for storage, specifically, the device information includes a device type, a device unique code, a device model, and a device protocol, and the device management module further configures technical parameters of the device according to the device information; the automatic capacity expansion and first access management module acquires equipment information of newly registered equipment from the equipment main database, distributes a data access and command issuing container for the equipment according to the acquired equipment information and a preset distribution rule, forms a mapping relation between the equipment and the data access and command issuing container, and uploads the mapping relation to the equipment main database; after the automatic capacity expansion and first access management module distributes a data access and command issuing container for the equipment, the equipment management module sets a target access port of the equipment for the data access and command issuing container distributed by the equipment according to the automatic capacity expansion and first access management module, so that the equipment can access the distributed data access and command issuing container through the target access port when reporting data, the data access and command issuing container receives the data reported by the equipment accessed to the equipment and then uploads the data to an upper layer application, and when the upper layer application issues a command to the equipment, the data access and command issuing container receives the command and sends the command to the equipment accessed to the equipment.
In this embodiment, the automatic capacity expansion and first access management module is configured to allocate a data access and command issue container for the device according to the obtained device information and a preset allocation rule, and specifically includes:
and the automatic capacity expansion and first access management module is used for distributing a data access and command issuing container for the equipment according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
Specifically, after the automatic capacity expansion and initial access management module acquires the equipment information of the newly registered equipment from the equipment master database, a data access command issuing container is allocated to the equipment according to the equipment information and the number of the equipment accessed in each current container.
In this embodiment, the automatic capacity expansion and first access management module is configured to allocate a data access and command issue container to the device according to the device information and the remaining accessible device capacity of each data access and command issue container, and specifically includes:
the automatic capacity expansion and first access management module is used for distributing the same data access and command issuing container for the equipment with the same production source and/or the same data transmission protocol and/or the same user according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
In the specific implementation process of this embodiment, after the automatic expansion and first access management module obtains the device information of the newly registered device from the device master database, a data access and command issuing container is allocated to the device according to the following rules according to the device information: a. preferentially distributing equipment from the same manufacturer to the same data access and command issuing container; b. according to the equipment protocol in the equipment information, the equipment with the same transmission protocol is preferentially distributed in the same data access and command issuing container; c. the equipment of different tenants is distributed in different data access and command issuing containers; when the automatic capacity expansion and first access management module distributes the data access and command issuing container according to the distribution rule, the capacity of the residual accessible equipment of the data access and command issuing container which accords with the rule is judged, and if the data access and command issuing container which can be distributed to the equipment cannot be found according to the distribution rule, a new data access and command issuing container is distributed to the equipment; specifically, when the automatic capacity expansion and initial access management module allocates a new data access and command issue container to the device, two methods are adopted for allocation: 1. if an external distribution interface can be in butt joint (based on REST API), calling the external interface to distribute a new data access and command issuing container; 2. if no external distribution interface can be connected, obtaining the data from the preset idle data access and command issuing container resource pool list.
In this embodiment, the platform further includes a port assignment module;
the port distribution module is used for distributing a container port for the data access and command issuing container when the data access and command issuing container is started;
the device management module is used for setting a destination access port of the device for the data access and command issuing container distributed by the device according to the automatic capacity expansion and first access management module so as to enable the device to access the distributed data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container distributed by the automatic capacity expansion and first access management module for the device, so that the device accesses the distributed data access and command issuing container through the destination access port.
In the specific implementation process of this embodiment, since the data access and command issuing container can only be allocated with a container port when it is newly built or started, when the data access and command issuing container is started, the port allocation module allocates a container port for the data access and command issuing container, specifically, the container port includes a container ip and a port number; after the port allocation module allocates a container port for the data access and command issuing container, the device management module sets the destination access port of the device as the container ip and the port number of the data access and command issuing container allocated for the device by the automatic expansion and initial access management module, so that the device can report data to the corresponding data access and command issuing container according to the container ip and the port number.
In this embodiment, at least one of the data access and command issue containers is used as a first access container, and the first access container is in a normally-started state;
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container allocated to the device by the automatic capacity expansion and first access management module so as to enable the device to access the allocated data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a target access port of the device as a container port of the first access container when the port distribution module does not distribute the container port for the data access and command issuing container distributed for the device, so that the device is accessed into the first access container through the target access port, and changing the target access port of the device as the container port of the distributed data access and command issuing container when the port distribution module distributes the container port for the data access and command issuing container distributed for the device by the automatic capacity expansion and first access management module, so that the device is accessed into the distributed data access and command issuing container through the target access port.
Specifically, when the automatic capacity expansion and command issuing container is a new container, the new data access and command issuing container is not yet allocated with a container port, so that the device does not know the ip and port number of the data access and command issuing container required to send data initially, the destination access port of the device is the ip and port number of the first access container, the device reports the data to the first access container when reporting the data for the first time, the first access container sends the data reported for the first time to an upper layer application or stores the data into a device main database, meanwhile, the port allocation module allocates a container port for the new data access and command issuing container, and the automatic capacity expansion and first access management module automatically sends a destination change command to the device, the device management module changes the destination access port of the device into the container port of the new data access and command issuing container, so that the device reports the data to the new data access and command issuing container when reporting the data next time.
In this embodiment, the data access and command issuing container, which is a non-first-time access container, is further configured to load device information of a device accessed to the data access and command issuing container from the device master database according to the mapping relationship before receiving data reported by the device accessed to the data access and command issued by an upper-layer application;
the data access and command issuing container as the first access container is also used for acquiring the equipment information of the newly registered equipment from the equipment management module before receiving the data reported by the equipment accessed to the container or receiving the command issued by the upper application, and removing the loaded equipment information of the equipment after the equipment management module changes and sets the destination access port of the equipment as the container port of the allocated data access and command issuing container.
Specifically, after the automatic capacity expansion and initial access management module allocates a data access and command issuing container for the device and uploads the formed mapping relation between the device and the data access and command issuing container to a device main database, the device information of the device accessed to the device is loaded from the device main database according to the mapping relation before the data access and command issuing container serving as a non-initial access container receives data reported by the device accessed to the device or receives a command issued by an upper application; before the data access and command issuing container as the first access container receives data reported by the equipment accessed to the container or receives a command issued by an upper application, the data access and command issuing container acquires equipment information of newly registered equipment from the equipment management module, and automatically removes the equipment information loaded by the equipment management module after the equipment management module changes a container port for setting a target access port of the equipment as the allocated data access and command issuing container, and waits for receiving the first reported data of the next newly registered equipment.
In this embodiment, the data access and command issuing container includes an adapter and message queue middleware; the adapter is used for receiving data reported by equipment, uploading the data to the message queue middleware, acquiring a command issued by an upper application from the message queue middleware, and transmitting the command to the equipment;
the message queue middleware comprises a data queue and a command queue;
the data queue is used for receiving and storing the data uploaded by the adapter;
and the command queue is used for receiving and storing commands issued by the upper application.
In this embodiment, the message queue middleware further includes a rule queue and/or an event queue and/or a management queue;
the rule queue is used for receiving and storing the data uploaded by the adapter and needing to be subjected to rule calculation according to a preset calculation rule;
the event queue is used for receiving and storing alarm events sent out when the data is subjected to rule calculation according to preset calculation rules and is abnormal;
the management queue is used for receiving and storing the equipment information of the registered equipment and removing the equipment information of the logged-out equipment.
Specifically, as shown in fig. 2, the data access and command issue container of the present invention includes an adapter and a message queue middleware, the adapter corresponding to the device information is started according to the loaded device information after the data access and command issue container is started, when the device reports data, the adapter receives the data reported by the device, the adapter parses the received data and uploads the parsed data to the message queue middleware, when the upper layer application issues a command to the message queue middleware, the adapter obtains the command from the message queue middleware and transmits the command to the device, in a specific implementation process, the adapter includes a protocol adapter and an external platform access adapter, and the external platform access adapter obtains the reported data of the device accessed by the external platform from the external platform and issues the data issued by the upper layer application Sending the command to an external platform; specifically, the message queue middleware comprises a data queue and a command queue, the data queue uploads the data to the data queue after the data is analyzed by the adapter, the data queue receives and stores the data uploaded by the adapter, and the command queue receives and stores the command when the upper-layer application issues the command; specifically, the message queue middleware further includes a rule queue, an event queue and a management queue, the rule queue is configured to receive and store the data uploaded by the adapter and requiring rule calculation according to a preset calculation rule, the event queue is configured to receive and store an alarm event that is sent when the data is abnormal in the rule calculation according to the preset calculation rule, and the management queue is configured to receive and store device information of registered devices and remove device information of logged-out devices; in a specific implementation process, the data access and command issuing container further comprises a data forwarding module, an alarm message processing module, a rule engine module and a container environment initialization module, wherein the data forwarding module is used for forwarding the data uploaded by the adapter stored in a data queue to an upper application or message middleware of an external platform, and forwarding the data which needs to be subjected to rule calculation according to a preset calculation rule to a rule queue; the alarm message processing module is used for processing alarm events in the event queue; the rule engine module is used for calculating data from the rule queue according to the rule; the container environment initialization module is used for automatically initializing queue setting in the message queue middleware when the container is started, and starting a corresponding protocol adapter or an external platform access adapter according to the equipment information of equipment accessing the data access and sending the command to the container.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention claims should be included in the protection scope of the present invention claims.

Claims (10)

1. The utility model provides a thing networking platform based on containerization technique which characterized in that includes: the device management module, the automatic capacity expansion and first access management module and the device main database are as follows:
the equipment management module is used for receiving equipment information of newly registered equipment and uploading the equipment information to an equipment main database for storage;
the automatic capacity expansion and first access management module is used for acquiring equipment information of newly registered equipment from the equipment main database, distributing a data access and command issuing container for the equipment according to the acquired equipment information and a preset distribution rule, forming a mapping relation between the equipment and the data access and command issuing container, and uploading the mapping relation to the equipment main database;
the device management module is further configured to set a destination access port of the device for the data access and command issuing container allocated to the device according to the automatic capacity expansion and first access management module, so that the device accesses the allocated data access and command issuing container through the destination access port;
the data access and command issuing container is used for receiving data reported by the equipment accessed to the data access and command issuing container, uploading the data to the upper layer application, receiving the command issued by the upper layer application and sending the command to the equipment accessed to the data access and command issuing container.
2. The Internet of things platform based on containerization technology of claim 1, further comprising a port assignment module;
the port distribution module is used for distributing a container port for the data access and command issuing container when the data access and command issuing container is started;
the device management module is used for setting a destination access port of the device for the data access and command issuing container distributed by the device according to the automatic capacity expansion and first access management module so as to enable the device to access the distributed data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container distributed by the automatic capacity expansion and first access management module for the device, so that the device accesses the distributed data access and command issuing container through the destination access port.
3. The Internet of things platform based on containerization technology of claim 2, wherein at least one of the data access and command issuing containers is a first access container, and the first access container is in a normally-started state;
the device management module is used for setting a destination access port of the device as a container port of a data access and command issuing container allocated to the device by the automatic capacity expansion and first access management module so as to enable the device to access the allocated data access and command issuing container through the destination access port, and specifically comprises the following steps:
the device management module is used for setting a target access port of the device as a container port of the first access container when the port distribution module does not distribute the container port for the data access and command issuing container distributed for the device, so that the device is accessed into the first access container through the target access port, and changing the target access port of the device as the container port of the distributed data access and command issuing container when the port distribution module distributes the container port for the data access and command issuing container distributed for the device by the automatic capacity expansion and first access management module, so that the device is accessed into the distributed data access and command issuing container through the target access port.
4. The internet of things platform based on containerization technology of claim 3, wherein the data access and command issuing container as the non-first-time access container is further configured to load device information of the device accessed to the container from the device master database according to the mapping relationship before receiving data reported by the device accessed to the container or receiving a command issued by an upper-layer application;
the data access and command issuing container as the first access container is also used for acquiring the equipment information of the newly registered equipment from the equipment management module before receiving the data reported by the equipment accessed to the container or receiving the command issued by the upper application, and removing the loaded equipment information of the equipment after the equipment management module changes and sets the destination access port of the equipment as the container port of the allocated data access and command issuing container.
5. The internet of things platform based on containerization technology of claim 1, wherein the automatic expansion and initial access management module is configured to allocate a data access and command issuing container to the device according to the acquired device information and a preset allocation rule, and specifically includes:
and the automatic capacity expansion and first access management module is used for distributing a data access and command issuing container for the equipment according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
6. The internet of things platform based on containerization technology of claim 5, wherein the automatic capacity expansion and initial access management module is configured to allocate a data access and command issue container to the device according to the device information and a remaining accessible device capacity of each data access and command issue container, and specifically comprises:
the automatic capacity expansion and first access management module is used for distributing the same data access and command issuing container for the equipment with the same production source and/or the same data transmission protocol and/or the same user according to the equipment information and the residual accessible equipment capacity of each data access and command issuing container.
7. The platform of the internet of things based on the containerization technology of claim 1, wherein the data access and command issuing container comprises an adapter and message queue middleware;
the adapter is used for receiving data reported by equipment, uploading the data to the message queue middleware, acquiring a command issued by an upper application from the message queue middleware, and transmitting the command to the equipment;
the message queue middleware comprises a data queue and a command queue;
the data queue is used for receiving and storing the data uploaded by the adapter;
and the command queue is used for receiving and storing commands issued by the upper application.
8. The platform of the internet of things based on the containerization technology of claim 7, wherein the message queue middleware further comprises a rule queue and/or an event queue and/or a management queue;
the rule queue is used for receiving and storing the data uploaded by the adapter and needing to be subjected to rule calculation according to a preset calculation rule;
the event queue is used for receiving and storing alarm events sent out when the data is subjected to rule calculation according to preset calculation rules and is abnormal;
the management queue is used for receiving and storing the equipment information of the registered equipment and removing the equipment information of the logged-out equipment.
9. The Internet of things platform based on containerization technology of any one of claims 2-8, wherein the container port comprises a container ip and a port number.
10. The platform of the internet of things based on the containerization technology of claims 1-8, wherein the device information comprises a device class, a device unique code, a device model number, and a device protocol.
CN202010461611.1A 2020-05-27 2020-05-27 Internet of things platform based on containerization technology Active CN111752675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010461611.1A CN111752675B (en) 2020-05-27 2020-05-27 Internet of things platform based on containerization technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010461611.1A CN111752675B (en) 2020-05-27 2020-05-27 Internet of things platform based on containerization technology

Publications (2)

Publication Number Publication Date
CN111752675A true CN111752675A (en) 2020-10-09
CN111752675B CN111752675B (en) 2024-03-15

Family

ID=72673535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010461611.1A Active CN111752675B (en) 2020-05-27 2020-05-27 Internet of things platform based on containerization technology

Country Status (1)

Country Link
CN (1) CN111752675B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667348A (en) * 2020-12-19 2021-04-16 前海飞算科技(深圳)有限公司 MySQL containerization method and system and computer equipment
CN113065785A (en) * 2021-04-13 2021-07-02 国网江苏省电力有限公司信息通信分公司 Dynamic resource expansion method for electric power internet of things management platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944891A (en) * 2014-04-10 2014-07-23 福建星网信通软件有限公司 Service application system access method and device
CN110149396A (en) * 2019-05-20 2019-08-20 华南理工大学 A kind of platform of internet of things construction method based on micro services framework
WO2019195673A1 (en) * 2018-04-05 2019-10-10 Aeris Communications, Inc. Global device management architecture for iot devices with regional autonomy
CN110505312A (en) * 2019-09-09 2019-11-26 合肥移瑞通信技术有限公司 It is a kind of can cloud deployment platform of internet of things management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103944891A (en) * 2014-04-10 2014-07-23 福建星网信通软件有限公司 Service application system access method and device
WO2019195673A1 (en) * 2018-04-05 2019-10-10 Aeris Communications, Inc. Global device management architecture for iot devices with regional autonomy
CN110149396A (en) * 2019-05-20 2019-08-20 华南理工大学 A kind of platform of internet of things construction method based on micro services framework
CN110505312A (en) * 2019-09-09 2019-11-26 合肥移瑞通信技术有限公司 It is a kind of can cloud deployment platform of internet of things management system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阮正平;佘文魁;李凯;周平;: "基于KubeEdge架构的边缘智能设备管理研究", 电力信息与通信技术, no. 02, pages 67 - 72 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667348A (en) * 2020-12-19 2021-04-16 前海飞算科技(深圳)有限公司 MySQL containerization method and system and computer equipment
CN113065785A (en) * 2021-04-13 2021-07-02 国网江苏省电力有限公司信息通信分公司 Dynamic resource expansion method for electric power internet of things management platform
CN113065785B (en) * 2021-04-13 2024-02-20 国网江苏省电力有限公司信息通信分公司 Dynamic resource expansion method for electric power Internet of things management platform

Also Published As

Publication number Publication date
CN111752675B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN109542457B (en) Distributed application distribution and deployment system and method for edge computing network
CN110912813B (en) Gateway supporting multiple protocols, control method and event reporting method
CN109150987B (en) Two-layer container cluster elastic expansion method based on host layer and container layer
US8793351B2 (en) Automated configuration of new racks and other computing assets in a data center
EP2911438A1 (en) Method and device for monitoring
US11917027B2 (en) Method and system for providing time-critical services
CN104348873A (en) Virtual network element automatic loading method and system and virtual machine IP (Internet Protocol) address acquisition method and system
CN103501347A (en) Resource distribution method and device
CN111752675B (en) Internet of things platform based on containerization technology
US20160344582A1 (en) Call home cluster
CN114827248A (en) Micro-service resource allocation method and device, electronic equipment and storage medium
EP1367768A2 (en) Method and apparatus for providing multiple vendor support to remotely monitored devices
CN110855739A (en) Container technology-based remote and heterogeneous resource unified management method and system
CN104426715A (en) Distributed testing tool control method
CN110008006B (en) Container-based big data tool deployment method and system
CN104270432A (en) Real-time data service system and data interaction method based on drilling industry
CN109525443B (en) processing method and device for distributed pre-acquisition communication link and computer equipment
CN113824801B (en) Intelligent integration terminal unified access management component system
CN115499432A (en) Family terminal computing resource management system and computing resource scheduling method
CN112072795B (en) Plug and play implementation method of power distribution Internet of things medium-voltage equipment in SCADA master station
CN102611578A (en) Network equipment data management system in multi-network-equipment environment
CN106230980A (en) A kind of address configuration method, Apparatus and system
CN115550313A (en) Communication method and device of external equipment, electronic equipment and storage medium
US10771539B2 (en) Systems and methods for cross-cluster service provision
US20220376995A1 (en) Method and apparatus for abstracting network resources in a mobile communications network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant