CN117978586A - Gateway of Internet of things and communication method - Google Patents
Gateway of Internet of things and communication method Download PDFInfo
- Publication number
- CN117978586A CN117978586A CN202410372453.0A CN202410372453A CN117978586A CN 117978586 A CN117978586 A CN 117978586A CN 202410372453 A CN202410372453 A CN 202410372453A CN 117978586 A CN117978586 A CN 117978586A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- gateway
- processing platform
- equipment
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 96
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012545 processing Methods 0.000 claims abstract description 67
- 230000005540 biological transmission Effects 0.000 claims abstract description 41
- 238000012544 monitoring process Methods 0.000 claims abstract description 17
- 230000003993 interaction Effects 0.000 claims description 37
- 230000002159 abnormal effect Effects 0.000 claims description 8
- 238000010606 normalization Methods 0.000 claims description 7
- 238000001228 spectrum Methods 0.000 claims description 6
- 238000009434 installation Methods 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 8
- 230000002452 interceptive effect Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 2
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006798 recombination Effects 0.000 description 1
- 238000005215 recombination Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
- H04L63/205—Network architectures or network communication protocols for network security for managing network security; network security policies in general involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an Internet of things gateway and a communication method, which relate to the technical field of Internet of things communication and comprise a cloud processing platform, wherein the cloud processing platform is in communication connection with an Internet of things gateway module, an Internet of things equipment module and a control and supervision module; the internet of things gateway module is used for initializing the gateway of the internet of things, configuring and generating a plurality of task data packets after the gateway is initialized, and transmitting the task data packets to the cloud processing platform through segmented channel transmission; the internet of things equipment module is used for accessing a plurality of internet of things equipment, judging whether risk equipment is accessed, if yes, removing the access of the risk equipment, carrying out safety configuration on a local environment, and if no, generating access data corresponding to the internet of things equipment and sending the access data to the cloud processing platform; the control and supervision module is used for acquiring task data packets and access data in the cloud processing platform so as to perform corresponding communication control and monitoring management on the Internet of things equipment.
Description
Technical Field
The invention relates to the technical field of Internet of things communication, in particular to an Internet of things gateway and a communication method.
Background
The gateway of the Internet of things is a key component for connecting Internet of things equipment and the Internet and is used for realizing interconnection and data transmission between the equipment, and the gateway of the Internet of things serves as a bridge in an Internet of things system and is responsible for managing functions of communication, data processing, security authentication and the like between the equipment.
The traditional internet of things gateway has the following problems that the data transmission protocols of different internet of things devices are different, so that connection barriers exist in interconnection and intercommunication among the devices, and the situation that disconnection and communication interfere with each other after connection is successful frequently occurs.
Disclosure of Invention
In order to solve the above problems, the present invention aims to provide an internet of things gateway and a communication method.
The aim of the invention can be achieved by the following technical scheme: the internet of things gateway comprises a cloud processing platform, wherein the cloud processing platform is in communication connection with an internet of things gateway module, an internet of things equipment module and a control and supervision module;
the gateway module of the Internet of things is used for initializing the gateway of the Internet of things, and after the gateway initialization is completed, a plurality of task data packets are configured and generated, and the task data packets are transmitted to the cloud processing platform through a segmented channel;
The internet of things equipment module is used for accessing a plurality of internet of things equipment and judging whether risk equipment is accessed, if yes, removing the access of the risk equipment, carrying out safety configuration on a local environment, and if no, generating access data corresponding to the internet of things equipment and sending the access data to the cloud processing platform;
The control and supervision module is used for acquiring task data packets and access data in the cloud processing platform so as to perform corresponding communication control and monitoring management on the Internet of things equipment.
Further, the process of initializing the gateway of the internet of things comprises the following steps:
the gateway initialization of the gateway of the Internet of things comprises an internal environment initialization and an external interaction initialization, wherein the internal environment initialization comprises equipment connection, communication protocol configuration, driver installation and security configuration, and the external interaction initialization comprises network configuration, interaction environment configuration and interaction debugging;
The internal environment initialization content is as follows: the method comprises the steps that an Internet of things gateway is connected with a power supply and a network respectively through equipment connection, the Internet of things gateway is set to be in a working state, a corresponding communication protocol is configured for the Internet of things gateway through communication protocol configuration, communication parameters are set, the communication parameters comprise server addresses, port numbers and identity verification information, a driver is installed on the Internet of things gateway, after the driver is installed, safety parameters of the Internet of things gateway are set to carry out safety configuration, and the safety parameters comprise access rights, firewall information and data encryption fields;
The content of the external interaction initialization is as follows: setting network parameters of the Internet of things gateway to perform network configuration, wherein the network parameters comprise an IP address, a subnet mask and a gateway address, ensuring that the Internet of things gateway can be in communication connection with the cloud processing platform, judging whether the interaction environment of the Internet of things gateway and the cloud processing platform is abnormal, if so, positioning abnormal information through the interaction environment configuration and removing the abnormal information, otherwise, performing no operation, setting the number of times of interaction debugging, marking as N, setting the number of times of successful interaction, marking as N, further obtaining the interaction success rate, marking as Sc, having Sc=n/N, presetting a debugging success threshold, marking as X, stopping the interaction debugging if Sc is more than or equal to X, and continuing the interaction debugging if Sc is less than X.
Further, after the gateway is initialized, a plurality of task data packets are configured and generated, and the process of transmitting the task data packets to the cloud processing platform through the segmented channel transmission comprises the following steps:
After the gateway is initialized, a plurality of task data packets are configured in the gateway of the Internet of things and numbered, i is marked as i, i=1, 2,3, … … and m are provided, wherein m is a natural number larger than 0, the transmission data quantity corresponding to the task data packet with the number i is obtained and is marked as di, a data transmission channel between the gateway of the Internet of things and a cloud processing platform is established, the data transmission channel is provided with a standard speed, the transmission efficiency of the data transmission channel is highest within the standard speed, the optimal transmission data quantity interval is obtained and is marked as D Zone(s) , and the subordinate relation between di and D Zone(s) is judged;
If D [ i ] ∉ D Zone(s) , the task data packet corresponding to the number i is subjected to data segmentation, a plurality of data segments with equal values are generated, the transmission data quantity of the data segments is D ', D' E D Zone(s) is provided, the transmission frequency corresponding to the segmented channel transmission is set, the operation of transmitting the data segments to the cloud processing platform is carried out according to the transmission frequency, the data segments are recombined in the cloud processing platform, the original task data packet is restored, and if D [ i ] E D Zone(s) , the data packet is directly transmitted to the cloud processing platform.
Further, the process of accessing a plurality of devices of the internet of things and judging whether the risk devices are accessed comprises the following steps:
Setting a plurality of internet of things equipment and numbering, wherein the numbers are j, j=1, 2,3, … … and k, wherein k is a natural number larger than 0, acquiring equipment related parameters and security configuration parameters of the internet of things equipment with the number j, respectively marking the equipment related parameters and security configuration parameters as Info-A [ j ] and Info-B [ j ], and setting an internet of things equipment module with a first access layer and a second access layer, wherein the first access layer is in an initial on state, the second access layer is in an initial off state, and the off state and the on state allow switching;
And importing device related parameters Info-A [ j ] and security configuration parameters Info-B [ j ] corresponding to the internet of things device with the number j into a first access layer, after the device related parameters pass, allocating an access port for the internet of things device with the number j, continuously checking the security configuration parameters, if the security configuration parameters are tampered, judging that the risk device is accessed, otherwise, judging that the risk device is not accessed.
Further, the process of removing the access of the risk device, performing security configuration on the local environment, and generating access data corresponding to the internet of things device includes:
When the risk equipment exists, an access port allocated to the Internet of things equipment is retracted, the first access layer is set to be in a closed state from an initial opening state, security configuration of a local environment corresponding to the first access layer is carried out, when the Internet of things equipment is not the risk equipment, the second access layer is set to be in the open state from the closed state, the Internet of things equipment is further accessed to the cloud processing platform through the allocated access port, access data are generated according to real-time data corresponding to the Internet of things equipment when the Internet of things equipment is accessed, and the access data are stored in the cloud processing platform.
Further, the process of acquiring the task data packet and the access data in the cloud processing platform and further performing corresponding communication control of the internet of things device comprises the following steps:
the control and supervision module is provided with a control unit and a supervision unit;
The method comprises the steps that a control unit acquires communication authority of a cloud processing platform, further establishes corresponding communication connection, reads task data packets and access data to perform communication control, wherein the communication control comprises protocol normalization, interference source positioning and communication reconnection, all communication protocols corresponding to different Internet of things devices are acquired, the communication protocols corresponding to all Internet of things devices are converted into communication protocols corresponding to Internet of things gateways through protocol normalization, when mutual interference exists among the Internet of things devices, interference source positioning is performed, signal frequency spectrums corresponding to the Internet of things devices in operation are acquired, further signal frequency and power intensity are extracted through the signal frequency spectrums, the signal frequency and the power intensity are input into a preset positioning program, position coordinates of an interference source are positioned through the positioning program, and layout of the Internet of things devices is changed to avoid the interference source;
The contents of the communication reconnection are as follows: and disconnecting each TCP connection affected by the interference source, setting reconnection times and reconnection intervals, carrying out communication connection among the Internet of things devices according to the reconnection times and reconnection intervals, and sending a ping instruction to other Internet of things devices by one of the Internet of things devices when each communication connection is carried out, wherein if the other Internet of things devices can receive the ping instruction, the communication connection is successful, and when three continuous communication connections are successful, the communication reconnection is completed.
Further, the process of performing the monitoring management includes:
the monitoring and managing unit monitors and manages access data corresponding to each Internet of things device, the access data are device working parameters corresponding to the Internet of things devices, the device working parameters are used for reflecting real-time states of the Internet of things devices, the real-time states comprise a first state and a second state, risk hidden danger exists in the Internet of things devices in the first state, the Internet of things devices normally work and operate in the second state, a normal numerical interval of the device working parameters is set, the numerical interval is recorded as omega, the numerical value of the device working parameters is recorded as tau, when tau epsilon omega is conducted, the Internet of things devices are set to be in the first state, early warning information is generated and sent to a set manager, the manager schedules maintenance staff to maintain the Internet of things devices, when tau ∉ omega is conducted, the second state is set to the Internet of things devices, and no operation is conducted.
A method of communication comprising the steps of:
Step S1: carrying out gateway initialization on an Internet of things gateway, configuring and generating a plurality of task data packets after the gateway initialization is completed, and transmitting the task data packets to a cloud processing platform through segmented channel transmission;
Step S2: accessing a plurality of Internet of things devices, judging whether risk devices are accessed, if yes, removing the access of the risk devices, performing security configuration on a local environment, and if not, generating access data corresponding to the Internet of things devices and sending the access data to a cloud processing platform;
And step S3, acquiring a task data packet and access data in the cloud processing platform, and further performing corresponding communication control and monitoring management on the Internet of things equipment.
Compared with the prior art, the invention has the beneficial effects that: the gateway of the Internet of things is initialized through the gateway module of the Internet of things, a plurality of task data packages are configured and generated, the task data packages are transmitted to the cloud processing platform through segmented channel transmission, a plurality of Internet of things devices are accessed through the equipment module of the Internet of things, when the risk devices are judged to be accessed, the risk devices are removed from access, the local environment is configured safely, access data are further transmitted to the cloud processing platform, finally, the task data packages and the access data in the cloud processing platform are acquired by the control and supervision module, corresponding communication control and monitoring management of the Internet of things devices are further carried out, the interconnection and intercommunication obstacle between the devices is solved through the communication control, namely communication disconnection and communication interference among the Internet of things devices are effectively processed, and each Internet of things device is supervised in real time through the monitoring management and is timely solved when problems occur.
Drawings
Fig. 1 is a schematic diagram of the present invention.
Detailed Description
As shown in fig. 1, the gateway of the internet of things according to the embodiment of the invention comprises a cloud processing platform, wherein the cloud processing platform is in communication connection with an gateway module of the internet of things, an equipment module of the internet of things and a control and supervision module;
the gateway module of the Internet of things is used for initializing the gateway of the Internet of things, and after the gateway initialization is completed, a plurality of task data packets are configured and generated, and the task data packets are transmitted to the cloud processing platform through a segmented channel;
The internet of things equipment module is used for accessing a plurality of internet of things equipment and judging whether risk equipment is accessed, if yes, removing the access of the risk equipment, carrying out safety configuration on a local environment, and if no, generating access data corresponding to the internet of things equipment and sending the access data to the cloud processing platform;
The control and supervision module is used for acquiring task data packets and access data in the cloud processing platform so as to perform corresponding communication control and monitoring management on the Internet of things equipment.
It should be further noted that, in a specific embodiment, the process of initializing the gateway of the internet of things includes:
The gateway initialization of the gateway of the Internet of things comprises internal environment initialization and external interaction initialization, and the sequential execution sequence of the internal environment initialization and the external interaction initialization is set, wherein the execution sequence is as follows: the internal environment initialization is executed preferentially, and then the external interaction initialization is executed;
The internal environment initialization comprises device connection, communication protocol configuration, driver installation and security configuration, the external interaction initialization comprises network configuration, interaction environment configuration and interaction debugging, and the internal environment initialization comprises the following steps: the method comprises the steps that an Internet of things gateway is connected with a power supply and a network respectively through equipment connection, the Internet of things gateway is set to be in a working state, a corresponding communication protocol is configured for the Internet of things gateway through communication protocol configuration, communication parameters are set, the communication parameters comprise server addresses, port numbers and identity verification information, a driver is installed on the Internet of things gateway, after the driver is installed, safety parameters of the Internet of things gateway are set to carry out safety configuration, and the safety parameters comprise access rights, firewall information and data encryption fields;
After the security configuration is finished, the internal environment initialization of the identifier internet of things gateway is finished, at this time, the internet of things gateway is in a security environment, and then external interaction initialization is continued, and the content of the external interaction initialization is as follows: setting network parameters of the Internet of things gateway, and further performing network configuration, wherein the network parameters comprise an IP address, a subnet mask and a gateway address, so that the Internet of things gateway can be in communication connection with the cloud processing platform, judging whether the interaction environment of the Internet of things gateway and the cloud processing platform is abnormal, if so, positioning abnormal information through the interaction environment configuration and removing, and if not, performing no operation; setting the number of interactive debugging, namely N, setting the number of successful interaction, namely N, further obtaining the interactive success rate, namely Sc, namely Sc=n/N, presetting a debugging success threshold, namely X, stopping the interactive debugging if Sc is more than or equal to X, and continuing the interactive debugging if Sc is less than X.
It should be further noted that, in a specific embodiment, after the gateway is initialized, the configuration generates a plurality of task data packets, and the process of sending the task data packets to the cloud processing platform through the segment channel transmission includes:
After the gateway is initialized, editing configuration codes of task data packets, configuring a plurality of task data packets in the gateway of the Internet of things, numbering the task data packets, and if the number is i, i=1, 2,3, … … and m, wherein m is a natural number greater than 0;
Acquiring the transmission data quantity corresponding to the task data packet with the number of i, recording as D [ i ], and establishing a data transmission channel between the Internet of things gateway and the cloud processing platform, wherein the data transmission channel is provided with a standard speed, and the transmission efficiency of the data transmission channel is highest in the standard speed;
When the data is at the standard speed for a plurality of times, a plurality of data storage amounts corresponding to the data transmission channel are obtained, and then the maximum value and the minimum value of the plurality of data storage amounts are taken to generate an optimal transmission data amount interval, which is marked as D Zone(s) , and the subordinate relation between D [ i ] and D Zone(s) is judged;
If D [ i ] ∉ D Zone(s) , carrying out data segmentation on the task data packet corresponding to the number i, further generating a plurality of data segments with equal values, recording the transmission data quantity of the data segments as D', setting transmission frequencies corresponding to segment channel transmission, carrying out operation of transmitting the data segments to a cloud processing platform according to the transmission frequencies, carrying out recombination of the data segments in the cloud processing platform, and further recovering to be the original task data packet;
If D [ i ] ∈D Zone(s) , directly sending the data packet to the cloud processing platform.
It should be further noted that, in a specific embodiment, the process of accessing a plurality of internet of things devices by the internet of things device module and judging whether there is a risk device for accessing includes:
Setting a plurality of internet of things devices, numbering the plurality of internet of things devices, and recording j=1, 2,3, … … and k if the number is j, wherein k is a natural number greater than 0, acquiring device related parameters and security configuration parameters of the internet of things devices with the number j, and recording the device related parameters and security configuration parameters as Info-A [ j ] and Info-B [ j ] respectively;
The device module of the Internet of things is provided with a first access layer and a second access layer, wherein the first access layer is initially in an open state, the second access layer is initially in a closed state, and the closed state and the open state allow switching;
it should be noted that, the first access layer is a front of the second access layer, and when the first access layer judges that the risk-free device is accessed, the second access layer is opened to perform subsequent operations;
Leading the device related parameters Info-A [ j ] and the security configuration parameters Info-B [ j ] corresponding to the internet of things device with the number j into a first access layer, after the device related parameters pass, distributing access ports for the internet of things device with the number j, continuously checking the security configuration parameters, if the security configuration parameters are tampered, judging that the risk device is accessed, otherwise, judging that the risk device is not accessed;
it should be further noted that, in a specific embodiment, the process of removing access of the risk device, performing security configuration on the local environment, and generating access data corresponding to the internet of things device includes:
When the risk equipment exists, the access port allocated to the Internet of things equipment is retracted, the first access layer is set to be in a closed state from an initial opening state, and the security configuration of the first access layer corresponding to the local environment is carried out, wherein the contents are as follows: the method comprises the steps of obtaining residual storage data generated by Internet of things equipment in a first access layer, clearing the residual storage data through a set data clearing program, and setting the first access layer to be in an open state after the residual storage data are cleared, wherein the situation that the local environment corresponding to the first access layer completes security configuration is indicated;
It should be noted that, after the residual storage data refers to the relevant interaction parameters generated in the first access layer after the internet of things device is allocated to the access port, when the internet of things device is a risk device, the relevant interaction parameters are defined as the residual storage data;
when the internet of things equipment is not risk equipment, the second access layer is set to be in an open state from a closed state, and then the internet of things equipment is accessed to the cloud processing platform through the allocated access port, access data are generated according to real-time data corresponding to the internet of things equipment when the internet of things equipment is accessed, and the access data are stored in the cloud processing platform.
It should be further noted that, in a specific embodiment, the process of obtaining the task data packet and the access data in the cloud processing platform, and further performing corresponding communication control of the internet of things device includes:
the control and supervision module is provided with a control unit and a supervision unit;
The control unit acquires the communication authority of the cloud processing platform, establishes corresponding communication connection, reads task data packets and access data stored in the cloud processing platform, sets a communication control period, and performs communication control in the communication control period;
the communication control comprises protocol normalization, interference source positioning and communication reconnection, the protocol normalization, the interference source positioning and the communication reconnection are sequentially executed, communication protocols corresponding to different Internet of things devices are obtained, the communication protocols corresponding to all the Internet of things devices are converted into communication protocols corresponding to the Internet of things gateway through the protocol normalization, when mutual interference exists among the Internet of things devices, the interference source positioning is carried out, signal frequency spectrums corresponding to the Internet of things devices in operation are obtained, further, the signal frequency and the power intensity are extracted through the signal frequency spectrums, the signal frequency and the power intensity are input into a preset positioning program, the position coordinates of the interference source are positioned by the positioning program, and the layout of the Internet of things devices is changed to avoid the interference source;
when mutual interference exists between the Internet of things devices, the communication between the Internet of things devices is disconnected, the communication of the Internet of things devices is realized through TCP connection, and when the mutual interference exists, only the communication is disconnected, and the actual TCP connection is not disconnected;
The contents of the communication reconnection are as follows: and disconnecting each TCP connection affected by the interference source, setting reconnection times and reconnection intervals, carrying out communication connection among the Internet of things devices according to the reconnection times and reconnection intervals, and sending a ping instruction to other Internet of things devices by one of the Internet of things devices when each communication connection is carried out, wherein if the other Internet of things devices can receive the ping instruction, the communication connection is successful, and when three continuous communication connections are successful, the communication reconnection is completed.
It should be further noted that, in a specific embodiment, the process of performing the monitoring management includes:
the monitoring and managing unit is used for monitoring and managing, the monitoring and managing unit obtains access data corresponding to each piece of internet of things equipment and analyzes the access data, wherein the access data is equipment working parameters corresponding to the piece of internet of things equipment;
The equipment working parameters are used for reflecting real-time states of the equipment of the Internet of things, wherein the real-time states comprise a first state and a second state, the equipment of the Internet of things has risk hidden danger in the first state, and the equipment of the Internet of things normally works and operates in the second state;
Setting a normal value interval of equipment working parameters, namely omega, and recording the value of the equipment working parameters as tau, setting a type of state for the equipment of the Internet of things when tau epsilon omega is achieved, generating early warning information and sending the early warning information to a set manager, and arranging an maintainer to overhaul the equipment of the Internet of things by the manager;
when τ ∉ Ω, setting a second-class state for the internet of things device, and performing no operation.
The embodiment of the invention also discloses a communication method, which comprises the following steps:
Step S1: carrying out gateway initialization on an Internet of things gateway, configuring and generating a plurality of task data packets after the gateway initialization is completed, and transmitting the task data packets to a cloud processing platform through segmented channel transmission;
Step S2: accessing a plurality of Internet of things devices, judging whether risk devices are accessed, if yes, removing the access of the risk devices, performing security configuration on a local environment, and if not, generating access data corresponding to the Internet of things devices and sending the access data to a cloud processing platform;
Step S3: and acquiring a task data packet and access data in the cloud processing platform, and further performing corresponding communication control and monitoring management on the Internet of things equipment.
The above embodiments are only for illustrating the technical method of the present invention and not for limiting the same, and it should be understood by those skilled in the art that the technical method of the present invention may be modified or substituted without departing from the spirit and scope of the technical method of the present invention.
Claims (8)
1. The gateway of the Internet of things comprises a cloud processing platform and is characterized in that the cloud processing platform is in communication connection with an gateway module of the Internet of things, an equipment module of the Internet of things and a control and supervision module;
the gateway module of the Internet of things is used for initializing the gateway of the Internet of things, and after the gateway initialization is completed, a plurality of task data packets are configured and generated, and the task data packets are transmitted to the cloud processing platform through a segmented channel;
The internet of things equipment module is used for accessing a plurality of internet of things equipment and judging whether risk equipment is accessed, if yes, removing the access of the risk equipment, carrying out safety configuration on a local environment, and if no, generating access data corresponding to the internet of things equipment and sending the access data to the cloud processing platform;
The control and supervision module is used for acquiring task data packets and access data in the cloud processing platform so as to perform corresponding communication control and monitoring management on the Internet of things equipment.
2. The internet of things gateway of claim 1, wherein the process of initializing the internet of things gateway comprises:
the gateway initialization of the gateway of the Internet of things comprises an internal environment initialization and an external interaction initialization, wherein the internal environment initialization comprises equipment connection, communication protocol configuration, driver installation and security configuration, and the external interaction initialization comprises network configuration, interaction environment configuration and interaction debugging;
The internal environment initialization includes: the method comprises the steps that an Internet of things gateway is connected with a power supply and a network respectively through equipment connection, the Internet of things gateway is set to be in a working state, a corresponding communication protocol is configured for the Internet of things gateway through communication protocol configuration, communication parameters are set, the communication parameters comprise server addresses, port numbers and identity verification information, a driver is installed on the Internet of things gateway, after the driver is installed, safety parameters of the Internet of things gateway are set to carry out safety configuration, and the safety parameters comprise access rights, firewall information and data encryption fields;
the external interaction initialization includes: setting network parameters of the Internet of things gateway to perform network configuration, wherein the network parameters comprise an IP address, a subnet mask and a gateway address, ensuring that the Internet of things gateway can be in communication connection with the cloud processing platform, judging whether the interaction environment of the Internet of things gateway and the cloud processing platform is abnormal, if so, positioning abnormal information through the interaction environment configuration and removing the abnormal information, otherwise, performing no operation, setting the number of times of interaction debugging, marking as N, setting the number of times of successful interaction, marking as N, further obtaining the interaction success rate, marking as Sc, having Sc=n/N, presetting a debugging success threshold, marking as X, stopping the interaction debugging if Sc is more than or equal to X, and continuing the interaction debugging if Sc is less than X.
3. The gateway of claim 2, wherein the configuration after the gateway is initialized to generate a plurality of task data packets, and the process of transmitting the task data packets to the cloud processing platform through the segment channel transmission comprises:
After the gateway is initialized, a plurality of task data packets are configured in the gateway of the Internet of things and numbered, i is marked as i, i=1, 2,3, … … and m are provided, wherein m is a natural number larger than 0, the transmission data quantity corresponding to the task data packet with the number i is obtained and is marked as di, a data transmission channel between the gateway of the Internet of things and a cloud processing platform is established, the data transmission channel is provided with a standard speed, the transmission efficiency of the data transmission channel is highest within the standard speed, the optimal transmission data quantity interval is obtained and is marked as D Zone(s) , and the subordinate relation between di and D Zone(s) is judged;
If D [ i ] ∉ D Zone(s) , the task data packet corresponding to the number i is subjected to data segmentation, a plurality of data segments with equal values are generated, the transmission data quantity of the data segments is D ', D' E D Zone(s) is provided, the transmission frequency corresponding to the segmented channel transmission is set, the operation of transmitting the data segments to the cloud processing platform is carried out according to the transmission frequency, the data segments are recombined in the cloud processing platform, the original task data packet is restored, and if D [ i ] E D Zone(s) , the data packet is directly transmitted to the cloud processing platform.
4. The gateway of claim 3, wherein the process of accessing a plurality of devices of the internet of things and determining whether there is a risk device for accessing comprises:
Setting a plurality of internet of things equipment and numbering, wherein the numbers are j, j=1, 2,3, … … and k, wherein k is a natural number larger than 0, acquiring equipment related parameters and security configuration parameters of the internet of things equipment with the number j, respectively marking the equipment related parameters and security configuration parameters as Info-A [ j ] and Info-B [ j ], and setting an internet of things equipment module with a first access layer and a second access layer, wherein the first access layer is in an initial on state, the second access layer is in an initial off state, and the off state and the on state allow switching;
And importing device related parameters Info-A [ j ] and security configuration parameters Info-B [ j ] corresponding to the internet of things device with the number j into a first access layer, after the device related parameters pass, allocating an access port for the internet of things device with the number j, continuously checking the security configuration parameters, if the security configuration parameters are tampered, judging that the risk device is accessed, otherwise, judging that the risk device is not accessed.
5. The gateway of claim 4, wherein the steps of removing access to the risk device, performing security configuration on the local environment, and generating access data corresponding to the internet of things device include:
When the risk equipment exists, an access port allocated to the Internet of things equipment is retracted, the first access layer is set to be in a closed state from an initial opening state, security configuration of a local environment corresponding to the first access layer is carried out, when the Internet of things equipment is not the risk equipment, the second access layer is set to be in the open state from the closed state, the Internet of things equipment is further accessed to the cloud processing platform through the allocated access port, access data are generated according to real-time data corresponding to the Internet of things equipment when the Internet of things equipment is accessed, and the access data are stored in the cloud processing platform.
6. The gateway of claim 5, wherein the process of obtaining the task data packet and the access data in the cloud processing platform, and further performing corresponding communication control of the internet of things device comprises:
the control and supervision module is provided with a control unit and a supervision unit;
The method comprises the steps that a control unit acquires communication authority of a cloud processing platform, further establishes corresponding communication connection, reads task data packets and access data to perform communication control, wherein the communication control comprises protocol normalization, interference source positioning and communication reconnection, all communication protocols corresponding to different Internet of things devices are acquired, the communication protocols corresponding to all Internet of things devices are converted into communication protocols corresponding to Internet of things gateways through protocol normalization, when mutual interference exists among the Internet of things devices, interference source positioning is performed, signal frequency spectrums corresponding to the Internet of things devices in operation are acquired, further signal frequency and power intensity are extracted through the signal frequency spectrums, the signal frequency and the power intensity are input into a preset positioning program, position coordinates of an interference source are positioned through the positioning program, and layout of the Internet of things devices is changed to avoid the interference source;
The communication reconnection includes: and disconnecting each TCP connection affected by the interference source, setting reconnection times and reconnection intervals, carrying out communication connection among the Internet of things devices according to the reconnection times and reconnection intervals, and sending a ping instruction to other Internet of things devices by one of the Internet of things devices when each communication connection is carried out, wherein if the other Internet of things devices can receive the ping instruction, the communication connection is successful, and when three continuous communication connections are successful, the communication reconnection is completed.
7. The gateway of claim 6, wherein the process of performing the monitoring management comprises:
the monitoring and managing unit monitors and manages access data corresponding to each Internet of things device, the access data are device working parameters corresponding to the Internet of things devices, the device working parameters are used for reflecting real-time states of the Internet of things devices, the real-time states comprise a first state and a second state, risk hidden danger exists in the Internet of things devices in the first state, the Internet of things devices normally work and operate in the second state, a normal numerical interval of the device working parameters is set, the numerical interval is recorded as omega, the numerical value of the device working parameters is recorded as tau, when tau epsilon omega is conducted, the Internet of things devices are set to be in the first state, early warning information is generated and sent to a set manager, the manager schedules maintenance staff to maintain the Internet of things devices, when tau ∉ omega is conducted, the second state is set to the Internet of things devices, and no operation is conducted.
8. A communication method for implementing the gateway of the internet of things according to any one of claims 1 to 7, comprising the steps of:
Step S1: carrying out gateway initialization on an Internet of things gateway, configuring and generating a plurality of task data packets after the gateway initialization is completed, and transmitting the task data packets to a cloud processing platform through segmented channel transmission;
Step S2: accessing a plurality of Internet of things devices, judging whether risk devices are accessed, if yes, removing the access of the risk devices, performing security configuration on a local environment, and if not, generating access data corresponding to the Internet of things devices and sending the access data to a cloud processing platform;
And step S3, acquiring a task data packet and access data in the cloud processing platform, and further performing corresponding communication control and monitoring management on the Internet of things equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410372453.0A CN117978586B (en) | 2024-03-29 | 2024-03-29 | Gateway of Internet of things and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410372453.0A CN117978586B (en) | 2024-03-29 | 2024-03-29 | Gateway of Internet of things and communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117978586A true CN117978586A (en) | 2024-05-03 |
CN117978586B CN117978586B (en) | 2024-06-14 |
Family
ID=90846390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410372453.0A Active CN117978586B (en) | 2024-03-29 | 2024-03-29 | Gateway of Internet of things and communication method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117978586B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118175535A (en) * | 2024-05-11 | 2024-06-11 | 广东联想懂的通信有限公司 | Storage yard network access method based on mobile AP base station |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111565218A (en) * | 2020-04-08 | 2020-08-21 | 深圳数联天下智能科技有限公司 | Data processing method and electronic equipment |
CN113796028A (en) * | 2020-09-29 | 2021-12-14 | 深圳市大疆创新科技有限公司 | Interference processing method, interference processing device and control equipment |
WO2022002075A1 (en) * | 2020-06-29 | 2022-01-06 | 北京智芯微电子科技有限公司 | Edge computing-based internet-of-things proxy apparatus and data decision method |
CN116878094A (en) * | 2023-07-13 | 2023-10-13 | 南京奥拓电子科技有限公司 | Equipment control method and system suitable for indoor environment |
CN117061569A (en) * | 2023-10-11 | 2023-11-14 | 工福(北京)科技发展有限公司 | Internet of things-based industrial and social interaction digital information monitoring system |
-
2024
- 2024-03-29 CN CN202410372453.0A patent/CN117978586B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111565218A (en) * | 2020-04-08 | 2020-08-21 | 深圳数联天下智能科技有限公司 | Data processing method and electronic equipment |
WO2022002075A1 (en) * | 2020-06-29 | 2022-01-06 | 北京智芯微电子科技有限公司 | Edge computing-based internet-of-things proxy apparatus and data decision method |
CN113796028A (en) * | 2020-09-29 | 2021-12-14 | 深圳市大疆创新科技有限公司 | Interference processing method, interference processing device and control equipment |
CN116878094A (en) * | 2023-07-13 | 2023-10-13 | 南京奥拓电子科技有限公司 | Equipment control method and system suitable for indoor environment |
CN117061569A (en) * | 2023-10-11 | 2023-11-14 | 工福(北京)科技发展有限公司 | Internet of things-based industrial and social interaction digital information monitoring system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118175535A (en) * | 2024-05-11 | 2024-06-11 | 广东联想懂的通信有限公司 | Storage yard network access method based on mobile AP base station |
Also Published As
Publication number | Publication date |
---|---|
CN117978586B (en) | 2024-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117978586B (en) | Gateway of Internet of things and communication method | |
CN105139139A (en) | Data processing method, device and system for operation and maintenance audit | |
CN100459563C (en) | Identification gateway and its data treatment method | |
KR102247938B1 (en) | Method and arrangement to control data exchange of an industrial edge device | |
CN107046577A (en) | A kind of cloud mixed method and system | |
CN111770092A (en) | Numerical control system network security architecture and secure communication method and system | |
CN113194027A (en) | Safety communication gateway system for industrial internet of automatic wharf | |
Paul et al. | Towards the protection of industrial control systems–conclusions of a vulnerability analysis of profinet IO | |
US20180262502A1 (en) | Method for operating an industrial network and industrial network | |
CN110602256B (en) | Safety protection method for remote maintenance of industrial equipment | |
CN115225392B (en) | Safety protection system for smart library | |
CN114466038B (en) | Communication protection system of electric power thing networking | |
KR102160537B1 (en) | Digital substation with smart gateway | |
CN208424434U (en) | A kind of net interval is from exchange system | |
CN112218269A (en) | Train information security gateway system, data transmission method and locomotive | |
KR20220070875A (en) | Smart home network system based on sdn/nfv | |
CN112187729A (en) | Operation permission safety management and control system and method | |
CN218162474U (en) | SDWAN remote operation and maintenance management system | |
CN1453700A (en) | Network method of safety management of firewall equipment | |
KR100917660B1 (en) | Network connecting system to traverse firewall | |
CN109889529B (en) | IPTABLE-based firewall implementation method for communication controller | |
Wei et al. | On protecting industrial automation and control systems against electronic attacks | |
CN115001906B (en) | Security gateway | |
KR102160539B1 (en) | Digital substation with smart gateway | |
WO2024066059A1 (en) | Industrial internet security system and method based on sdp and edge computing |
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 |