CN115694844A - Internet of things terminal communication method and system based on cloud platform - Google Patents

Internet of things terminal communication method and system based on cloud platform Download PDF

Info

Publication number
CN115694844A
CN115694844A CN202310010101.6A CN202310010101A CN115694844A CN 115694844 A CN115694844 A CN 115694844A CN 202310010101 A CN202310010101 A CN 202310010101A CN 115694844 A CN115694844 A CN 115694844A
Authority
CN
China
Prior art keywords
information
internet
data set
things
cloud platform
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
CN202310010101.6A
Other languages
Chinese (zh)
Other versions
CN115694844B (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.)
Wuxi Reatgreen Energy Saving System Science Co ltd
Original Assignee
Wuxi Reatgreen Energy Saving System Science 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 Wuxi Reatgreen Energy Saving System Science Co ltd filed Critical Wuxi Reatgreen Energy Saving System Science Co ltd
Priority to CN202310010101.6A priority Critical patent/CN115694844B/en
Publication of CN115694844A publication Critical patent/CN115694844A/en
Application granted granted Critical
Publication of CN115694844B publication Critical patent/CN115694844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a cloud platform-based Internet of things terminal communication method and system, belonging to the field of communication and comprising the following steps: requesting a secret key from an Internet of things cloud platform and burning the acquired certificate; sending encryption information to an internet of things communication node inside a target internet of things terminal through the internet of things communication node configured inside; receiving decryption information sent by an internet-of-things communication node in the target internet-of-things terminal, verifying the decryption information, and establishing normal communication connection with the target internet-of-things terminal when the decryption information passes verification; screening information collected by a target Internet of things terminal and uploading the information to an Internet of things cloud platform; compared with the prior art, the invention has the beneficial effects that: the method and the device separately upload the abnormal information (the giant variable data set) and the normal information (the safety data set), the uploading interval time of the abnormal information is shorter than that of the normal information, and the acquisition of the abnormal information is enhanced under the condition of not changing the bandwidth and even reducing the bandwidth.

Description

Internet of things terminal communication method and system based on cloud platform
Technical Field
The invention belongs to the field of communication, and particularly relates to a cloud platform-based Internet of things terminal communication method and system.
Background
When monitoring certain information, detection is usually carried out by manually holding the detection equipment, and then detection data is recorded into a system, so that the information collection efficiency is low, and manpower and material resources are wasted.
The internet of things has received wide attention worldwide as one of the important directions for the development of the future information network field. Through thing networking sampling information, through various devices and technologies such as various information sensor, radio frequency identification technique, infrared inductor, gather any object or process that need monitor, connect, interdynamic in real time, upload the information collection to the cloud platform, the information acquisition wide range, it is convenient to observe through cloud platform information.
In the prior art, collected information is uploaded to a cloud platform often through a fixed frequency, the uploaded information is used for guaranteeing timeliness of the information, the frequency of the uploaded information is often adjusted according to actual conditions due to the fact that the uploaded information is related to network bandwidth, service capacity of a cloud and the like, abnormal information and normal information are often uploaded together in actual use, the abnormal information is less, the normal information occupies too much network bandwidth, and improvement is needed.
Disclosure of Invention
The invention aims to provide a cloud platform-based terminal communication method and system of the Internet of things, and aims to solve the technical problems in the prior art determined in the background art.
The embodiment of the invention is realized in such a way that the Internet of things terminal communication method based on the cloud platform (applied to the Internet of things cloud control gateway) comprises the following steps:
requesting a secret key from an Internet of things cloud platform and burning the acquired certificate;
sending encryption information to an internet of things communication node inside a target internet of things terminal through the internet of things communication node configured inside;
receiving decryption information sent by an internet-of-things communication node in the target internet-of-things terminal, verifying the decryption information, and establishing normal communication connection with the target internet-of-things terminal when the decryption information passes verification;
and screening the information collected by the target Internet of things terminal and uploading the information to the Internet of things cloud platform.
Preferably, the receiving decryption information sent by the internet of things communication node inside the target internet of things terminal, and verifying the decryption information, further includes:
when the verification fails, forbidding establishing normal communication connection with the Internet of things communication node inside the target Internet of things terminal;
generating communication abnormity reminding information;
and feeding back the communication abnormal information to the Internet of things cloud platform.
Preferably, the step of uploading the target internet of things terminal acquisition information to the internet of things cloud platform after screening specifically includes:
receiving information collected by a target Internet of things terminal, classifying the information, and forming a class of data set by the same class;
calculating a difference value between a data value of a certain class in the data set and a reference value of the class, and determining the difference value as a first difference value; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
and uploading the giant variable data set and the safety data set to an Internet of things cloud platform according to different time intervals.
Preferably, the receiving the information collected by the target internet of things terminal and classifying the information, wherein the same class constitutes a class of data set, and the receiving method specifically comprises the following steps:
acquiring acquisition information;
judging whether the single acquisition information and the mark information in the existing data set belong to the same category or not, and if so, adding the data into the data set in which the mark information is located; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
Preferably, the step of uploading the giant variable data set and the security data set to the internet of things cloud platform according to different time intervals specifically includes:
determining a ratio range of the ratio between the giant variable data set and the safety data set;
determining an uploading time interval of the giant variable data set and the safety data set according to the ratio range, and uploading the giant variable data set and the safety data set to an Internet of things cloud platform;
and when the ratio between the giant variable data set and the safety data set is not in a preset ratio range, feeding back abnormal information to the Internet of things cloud platform.
Another object of the embodiments of the present invention is to provide an internet of things terminal communication system based on a cloud platform, including:
the key request unit is used for requesting a key from the Internet of things cloud platform and burning the acquired certificate;
the communication request unit is used for sending the encrypted information to the Internet of things communication node in the target Internet of things terminal through the Internet of things communication node configured in the communication request unit;
the communication feedback unit is used for receiving decryption information sent by an internet of things communication node in the target internet of things terminal, verifying the decryption information, and establishing normal communication connection with the target internet of things terminal when the decryption information passes verification;
and the information output unit is used for screening the information acquired by the target Internet of things terminal and then uploading the information to the Internet of things cloud platform.
Preferably, the communication feedback unit includes:
the communication forbidding module forbids to establish normal communication connection with the internet of things communication node inside the target internet of things terminal when the verification fails;
the abnormity prompting module generates communication abnormity prompting information;
and the abnormity feedback module feeds back communication abnormity information to the Internet of things cloud platform.
Preferably, the information output unit includes:
the information receiving module is used for receiving the information collected by the target Internet of things terminal, classifying the information and forming a data set of the same class;
the data distinguishing module is used for calculating a difference value between a data value of a certain class in the data set and a reference value of the class and determining the difference value as a first difference value; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
and the difference transmission module uploads the giant variable data set and the safety data set to the Internet of things cloud platform according to different time intervals.
Preferably, the information receiving module includes:
the information acquisition submodule acquires acquisition information;
the information classification submodule judges whether the single acquisition information and the mark information in the existing data set belong to the same category or not, and if the single acquisition information and the mark information in the existing data set belong to the same category, the information classification submodule adds the data into the data set in which the mark information is positioned; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
Preferably, the differential transmission module includes:
the ratio uploading sub-module is used for determining the ratio range of the ratio between the giant variable data set and the safety data set;
the ratio output sub-module determines the uploading time interval of the giant variable data set and the safety data set according to the ratio range, and uploads the giant variable data set and the safety data set to the Internet of things cloud platform;
and when the ratio between the giant variable data set and the safety data set is not in a preset ratio range, the ratio feedback sub-module feeds back abnormal information to the Internet of things cloud platform.
A computer device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the cloud platform based internet of things terminal communication method as described above.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the processor to perform the steps of the cloud platform based internet of things terminal communication method as described above.
Compared with the prior art, the invention has the beneficial effects that: the method and the device separately upload the abnormal information (the giant variable data set) and the normal information (the safety data set), the uploading interval time of the abnormal information is shorter than that of the normal information, and the acquisition of the abnormal information is enhanced under the condition of not changing the bandwidth and even reducing the bandwidth.
Drawings
Fig. 1 is an application environment diagram of a terminal communication method of the internet of things based on a cloud platform according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of a communication method of an internet of things terminal based on a cloud platform according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart illustrating that the communication authentication fails according to the embodiment of the present invention.
Fig. 4 is a schematic flow chart of information screening according to an embodiment of the present invention.
Fig. 5 is a schematic flowchart of data set classification according to an embodiment of the present invention.
Fig. 6 is a schematic flowchart of determining an upload time interval according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of an internet of things terminal communication system based on a cloud platform according to an embodiment of the present invention.
Fig. 8 is a schematic diagram of a communication feedback unit according to an embodiment of the present invention.
Fig. 9 is a schematic diagram of an information output unit according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of an information receiving module according to an embodiment of the present invention.
Fig. 11 is a schematic diagram of a differential transmission module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements should not be limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
Fig. 1 is an application environment diagram of the internet of things terminal communication method based on the cloud platform, as shown in fig. 1, in the application environment, an internet of things cloud platform M1, an internet of things cloud control gateway M2 and an internet of things terminal M3 are included.
The internet of things terminal M3 can be various information sensors, a radio frequency identification technology, a global positioning system, an infrared sensor, various devices and technologies such as a laser scanner and the like, any object or process needing to be monitored, connected and interacted is collected in real time, sound, light, heat, electricity, mechanics, chemistry, biology, position and other information needing to be collected is collected, communication is carried out through a built-in internet of things communication node and a built-in internet of things communication node of the internet of things cloud control gateway M2, and the collected information is uploaded to the internet of things cloud platform M1 through the internet of things cloud control gateway M2.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, as shown in fig. 2, a method for terminal communication of internet of things based on a cloud platform (applied to a cloud control gateway M2 of internet of things) includes the following steps:
step S100, requesting a secret key from the Internet of things cloud platform M1 and burning the acquired certificate;
step S200, sending encryption information to an internet of things communication node inside a target internet of things terminal M3 through the internet of things communication node arranged inside;
step S300, receiving decryption information sent by an Internet of things communication node inside the target Internet of things terminal M3, verifying the decryption information, and establishing normal communication connection with the target Internet of things terminal M3 when the decryption information passes verification;
and S400, screening information collected by the target Internet of things terminal M3 and uploading the information to the Internet of things cloud platform M1.
Specifically, the embodiment of the application is applied to the internet of things cloud control gateway M2, the internet of things cloud control gateway M2 burning program requests a certificate from the internet of things cloud platform M1, the internet of things cloud platform M1 forwards the request to the certificate server, the internet of things cloud platform M1 writes the certificate into the database after receiving the approval certificate, returns to the burning program, and burns the certificate to the internet of things cloud control gateway M2 embedded module. The process of burning the communication address and the secret key by the communication node of the Internet of things comprises the following steps: the Internet of things communication node burning program applies for an address and a key to the Internet of things cloud platform M1; the Internet of things cloud platform M1 randomly generates an address and a secret key, records the address and the secret key into a database and issues the address and the secret key; and burning the address and the key to the communication node of the Internet of things. The Internet of things cloud control gateway M2 establishes communication with the Internet of things terminal M3 through the Internet of things communication node.
In a preferred embodiment of the invention, step S100, the internet of things cloud control gateway M2 requests the internet of things cloud platform M1 for a key, and the internet of things cloud control gateway M2 burns the acquired certificate.
In a preferred embodiment of the present invention, in step S200, the communication modes between the communication node of the internet of things cloud control gateway M2 and the communication node of the internet of things terminal M3 include wireless communication modes such as WIFI, ZIGBEE, LORA, and bluetooth, and also include wired communication modes such as RS323 and RS 485.
In a preferred embodiment of the invention, in step S300, the internet of things communication node inside the target internet of things terminal M3 sends decryption information to the internet of things cloud control gateway M2, the internet of things cloud control gateway M2 discriminates whether the decryption information corresponds to the key, and if so, decryption information verification is completed, and communication between the internet of things cloud control gateway M2 and the internet of things terminal M3 is established.
In a preferred embodiment of the invention, in step S400, the internet of things cloud control gateway M2 classifies information collected by the internet of things terminal M3, and sends abnormal information and security information to the internet of things cloud platform M1 at different uploading frequencies, which is higher in abnormal information uploading frequency and lower in security information uploading frequency, so that information acquisition of the internet of things cloud platform M1 is guaranteed without changing bandwidth or even reducing bandwidth, and abnormal information can be responded to more quickly.
In an embodiment, as shown in fig. 3, step S300 may specifically include the following steps:
step S311, when the verification fails, forbidding establishing normal communication connection with the Internet of things communication node inside the target Internet of things terminal M3;
step S312, generating communication abnormity reminding information;
step S313, feeding back the communication exception information to the internet of things cloud platform M1.
Whether decryption information sent by an internet of things communication node inside an abnormal internet of things terminal M3 corresponds to a secret key or not is distinguished by the internet of things cloud control gateway M2, the internet of things terminal M3 which is not in demand communication is indicated if the decryption information does not correspond to the secret key, communication between the internet of things cloud control gateway M2 and the abnormal internet of things terminal M3 is not established, the internet of things terminal M3 corresponding to the general internet of things control area is a determination terminal, other information sensors, a radio frequency identification technology, a global positioning system, an infrared sensor, a laser scanner and other various devices and technologies do not exist, the abnormality of the internet of things terminal M3 is indicated when the abnormality occurs, the abnormal information is uploaded to the internet of things cloud platform M1 by the internet of things cloud control gateway M2 in time, and a user can find the abnormal information in time.
In an embodiment, as shown in fig. 4, step S400 may specifically include the following steps:
step S410, receiving information collected by a target Internet of things terminal M3, classifying the information, and forming a class of data set by the same class;
step S420, calculating a difference value between a data value of a certain class in the data set and a reference value of the class, and determining the difference value as a first difference value; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
step S430, uploading the giant variable data set and the security data set to the internet of things cloud platform M1 according to different time intervals.
The internet of things cloud control gateway M2 classifies information, such as temperature information, humidity information, water pressure information and the like; classifying the same type of the data, and classifying the same information detected in different areas into a type of data sets, such as temperature information of different floors, outdoor temperature information and the like; and comparing the acquired information with a reference value, wherein the temperature reference value is 15 ℃, the deviation value is 30 ℃, and the detected temperature information is in normal information between-15 ℃ and 45 ℃, so that the temperature information condition in the south is met (the north is adjusted according to the actual condition). When the detected temperature information exceeds 45 ℃, such as a first floor fire and other conditions, the temperature information at the first floor exceeds the temperature information range of-15 ℃ to 45 ℃, is abnormal information, and is marked as a giant variable data set.
Taking the information uploaded for one time in 5 minutes between the traditional internet of things cloud control gateway M2 and the internet of things cloud platform M1 as an example, the information uploaded for one time in 5 minutes is both traditional without distinguishing a giant variable data set and a safety data set; the cloud control gateway M2 of the Internet of things uploads the giant variable data set once in 1 minute and uploads the safety data set once in 10 minutes; due to the fact that the uploading interval of the abnormal information is shorter, the internet of things cloud platform M1 updates the abnormal information faster and is higher in timeliness, and for the safety information, due to the safety of the safety information, the delayed uploading influence is smaller. Because the abnormal information appears less, and most of the abnormal information appears as the safety information under the conventional condition, the bandwidth occupation can be reduced, and the feedback is more timely when the abnormal information appears. The uploading time can be adjusted according to actual conditions.
In an embodiment, as shown in fig. 5, step S410 may specifically include the following steps:
step S411, acquiring acquisition information;
step S412, judging whether the single acquisition information and the mark information in the existing data set belong to the same category, and if so, adding the data into the data set where the mark information is located; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
Similarly, temperature information, humidity information and water pressure information are taken as examples, no data set exists at the beginning, the first acquired information is first floor temperature information, the same category information does not exist, one data set (temperature data set) is added, and the first floor temperature information is marked; the second acquired information is first floor humidity information, and a data set (humidity data set) is added in the same process to mark the first floor humidity information; the third acquired information is water pressure information of the water room, and a data set (water pressure data set) is added in the same process to mark the water pressure information of the water room; the fourth is second floor temperature information, marked first floor temperature information exists, and the data are added into a temperature data set if the data belong to the same category; other information is similar and will not be described herein.
In an embodiment, as shown in fig. 6, step S430 may specifically include the following steps:
step S431, determining a ratio range of the ratio between the giant variable data set and the safety data set;
step S432, determining uploading time intervals of the giant variable data sets and the safety data sets according to the ratio range, and uploading the giant variable data sets and the safety data sets to an Internet of things cloud platform M1;
step S433, when the ratio between the giant variable data set and the safety data set is not within the preset ratio range, feeding back abnormal information to the Internet of things cloud platform M1.
For a specific example, for example, the ratio 1 between the giant variable data set and the safety data set is 19, in the interval of 0 to 0.1, the giant variable data set is uploaded once in 1 minute, and the safety data set is uploaded once in 10 minutes; the ratio of the giant-variable data set to the safety data set is 2, wherein the giant-variable data set is uploaded once in 2 minutes and the safety data set is uploaded once in 20 minutes within the interval of 0.1-0.2; by analogy, the ratio of the giant-variable data set to the safety data set is 6, the giant-variable data set is uploaded once in 5 minutes and the safety data set is uploaded once in 50 minutes in an interval of 0.4-0.5; the more the giant variable data sets are, the longer the feedback time of the giant variable data sets is, the interval of 0.4-0.5 is the maximum preset ratio range, when the ratio between the giant variable data sets and the safety data sets exceeds 0.5, the abnormal information is excessive, and the ratio information is fed back to the internet of things cloud platform M1. The ratio and the uploading time can be adjusted according to the actual condition.
In one embodiment, as shown in fig. 7, an internet of things terminal communication system based on a cloud platform includes:
the key requesting unit 1 requests a key from the Internet of things cloud platform M1 and burns the acquired certificate;
the communication request unit 2 is used for sending the encryption information to the internet of things communication node inside the target internet of things terminal M3 through the internet of things communication node arranged inside;
the communication feedback unit 3 is used for receiving decryption information sent by an internet-of-things communication node in the target internet-of-things terminal M3, verifying the decryption information, and establishing normal communication connection with the target internet-of-things terminal M3 when the decryption information passes verification;
and the information output unit 4 is used for screening the information acquired by the target Internet of things terminal M3 and uploading the information to the Internet of things cloud platform M1.
The method comprises the steps of establishing communication, completing communication of an Internet of things cloud platform M1, an Internet of things cloud control gateway M2 and an Internet of things terminal M3, enabling the Internet of things cloud control gateway M2 to obtain a request key of the Internet of things cloud platform M1 through a key request unit 1 and complete certificate burning, further enabling the Internet of things cloud control gateway M2 to communicate with the Internet of things terminal M3 through a communication request unit 2, completing communication of the Internet of things cloud control gateway M2 and the Internet of things terminal M3 through a built-in Internet of things communication node after the communication is passed, classifying information collected by the Internet of things terminal M3 through the Internet of things cloud control gateway M2, uploading the classified information to the Internet of things cloud platform M1 according to different frequencies, and guaranteeing failure of abnormal information while reducing bandwidth occupation.
In one embodiment, as shown in fig. 8, a communication feedback unit 3 of a cloud platform-based terminal communication system of internet of things includes:
the communication forbidding module 31 forbids to establish normal communication connection with the internet of things communication node inside the target internet of things terminal M3 when the verification fails;
an abnormality prompt module 32 for generating a communication abnormality prompt message;
the anomaly feedback module 33 feeds back the communication anomaly information to the internet of things cloud platform M1.
When an abnormal internet of things terminal M3 appears, if the abnormal information sensor fails in verification, the abnormal information sensor is forbidden to be in communication with the internet of things cloud control gateway M2, the internet of things cloud control gateway M2 generates abnormal reminding information after obtaining the communication information of the forbidden and abnormal information sensor, and sends the abnormal reminding information to the internet of things cloud platform M1, a user can timely observe the abnormal information from the internet of things cloud platform M1, and judges whether the abnormal information sensor is a part in the system by analyzing whether the acquired information is missing, for example, the abnormal information sensor is a first-floor temperature sensor and detects first-floor temperature information, and after the internet of things cloud control gateway M2 is forbidden to be in communication with the first-floor temperature sensor, the internet of things cloud platform M1 does not update the first-floor temperature information, and the abnormal area of the system can be distinguished through corresponding information.
In one embodiment, as shown in fig. 9, an information output unit 4 of a cloud platform-based terminal communication system of internet of things includes:
the information receiving module 41 is used for receiving the information collected by the target internet of things terminal M3, classifying the information and forming a class of data set by the same class;
a data distinguishing module 42, which calculates a difference between a data value of a certain class in the data set and a reference value of the class, and determines the difference as a first difference; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
and the difference transmission module 43 uploads the giant variable data set and the safety data set to the internet of things cloud platform M1 according to different time intervals.
The internet of things cloud control gateway M2 receives information collected by the internet of things terminal M3, classifies the information, judges whether the information is abnormal or not according to whether the absolute value of the difference value between the information and the reference value is too large or not, the abnormal information marks the data set of the abnormal information as a giant variable data set, the normal information marks the data set of the abnormal information as a safety data set, and the uploading frequency of the giant variable data set is higher than that of the safety data set because the information in the giant variable data set is abnormal and is worth paying attention and needs to be located in time, and the information in the safety data set is in the normal value, and the uploading interval time is small under the influence of prolonging, so that the abnormal information is updated by the internet of things cloud platform M1 in time.
In one embodiment, as shown in fig. 10, an information receiving module 41 of a cloud platform-based terminal communication system of internet of things includes:
the information acquisition sub-module 411 acquires acquisition information;
the information classification submodule 412 is used for judging whether the single acquisition information and the mark information in the existing data set belong to the same category or not, and if the single acquisition information and the mark information in the existing data set belong to the same category, adding the data into the data set where the mark information is located; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
The internet of things cloud control gateway M2 classifies information, different types of information are classified into different data sets, the first information different from other types of information is marked to generate a new data set, so that the information of different types can be stored in the corresponding data set, and the internet of things cloud control gateway M2 completes information uploading and uploads the information to the internet of things cloud platform M1 by taking the data set as a unit.
In one embodiment, as shown in fig. 11, a differential transmission module 43 of an internet of things terminal communication system based on a cloud platform includes:
the ratio uploading submodule 431 determines the ratio range of the ratio between the giant variable data set and the safety data set;
the ratio output submodule 432 is used for determining the uploading time interval of the giant variable data set and the safety data set according to the ratio range, and uploading the giant variable data set and the safety data set to the internet of things cloud platform M1;
and when the ratio between the giant variable data set and the safety data set is not in the ratio range, the ratio feedback submodule 433 feeds back abnormal information to the internet of things cloud platform M1.
For a specific example, for example, the ratio 1 between the giant variable data set and the safety data set is 1, in the interval of 0 to 0.1, the giant variable data set is uploaded once in 5 minutes, and the safety data set is uploaded once in 10 minutes; in the interval of 0.1-0.2, the giant variable data set is uploaded once in 4 minutes, and the safety data set is uploaded once in 20 minutes; by analogy, the ratio of the giant variable data set to the safety data set is between 0.4 and 0.5, the giant variable data set is uploaded once in 1 minute, and the safety data set is uploaded once in 50 minutes; the more the giant variable data sets are, the shorter the feedback time of the giant variable data sets is, the interval of 0.4-0.5 is the maximum preset ratio range, when the ratio between the giant variable data sets and the safety data sets exceeds 0.5, the abnormal information is excessive, and the ratio information is fed back to the internet of things cloud platform M1. The ratio and the uploading time can be adjusted according to the actual condition. The giant variable data set and the safety data set are uploaded according to different time intervals according to the ratio of the giant variable data set to the safety data set, so that the occupied bandwidth of the uploaded information is low, and the abnormal information can be timely processed.
In one embodiment, the internet of things terminal communication system based on the cloud platform can be implemented in the form of a computer program, and the computer program can run on a computer device. The memory of the computer device may store various program modules constituting the cloud platform-based internet of things terminal communication system, such as a key request unit 1, a communication request unit 2, a communication feedback unit 3, and an information output unit 4 shown in fig. 7. The computer program formed by the program modules enables the processor to execute the steps in the cloud platform-based terminal communication method of the internet of things according to the embodiments of the present application described in the present specification.
For example, the computer device may perform step S100 through the key requesting unit 1 in the cloud platform-based internet of things terminal communication system as shown in fig. 7. The computer device may perform step S200 through the communication requesting unit 2. The computer device may perform step S300 through the communication feedback unit 3. The computer apparatus may perform step S400 through the information output unit 4.
In one embodiment, a computer device is proposed, the computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
step S100, requesting a secret key from the Internet of things cloud platform M1 and burning the acquired certificate;
step S200, sending encryption information to an Internet of things communication node inside a target Internet of things terminal M3 through the Internet of things communication node configured inside;
step S300, receiving decryption information sent by an Internet of things communication node inside a target Internet of things terminal M3, verifying the decryption information, and establishing normal communication connection with a request terminal when the decryption information passes verification;
and S400, screening information collected by the target Internet of things terminal M3 and uploading the information to the Internet of things cloud platform M1.
In one embodiment, a computer readable storage medium is provided, having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the steps of:
step S100, requesting a secret key from the Internet of things cloud platform M1 and burning the acquired certificate;
step S200, sending encryption information to an Internet of things communication node inside a target Internet of things terminal M3 through the Internet of things communication node configured inside;
step S300, receiving decryption information sent by an Internet of things communication node inside a target Internet of things terminal M3, verifying the decryption information, and establishing normal communication connection with a request terminal when the decryption information passes verification;
and S400, screening information collected by the target Internet of things terminal M3 and uploading the information to the Internet of things cloud platform M1.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by a computer program, which may be stored in a non-volatile computer readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
All possible combinations of the technical features of the above embodiments may not be described for the sake of brevity, but should be considered as within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.
Furthermore, it should be understood that although the present specification describes embodiments, not every embodiment includes only a single embodiment, and such description is for clarity purposes only, and it is to be understood that all embodiments may be combined as appropriate by one of ordinary skill in the art to form other embodiments as will be apparent to those of skill in the art from the description herein.

Claims (8)

1. A terminal communication method of the Internet of things based on a cloud platform is characterized by comprising the following steps:
requesting a secret key from an Internet of things cloud platform and burning the acquired certificate;
sending encryption information to an internet of things communication node inside a target internet of things terminal through the internet of things communication node configured inside;
receiving decryption information sent by an internet-of-things communication node in the target internet-of-things terminal, verifying the decryption information, and establishing normal communication connection with the target internet-of-things terminal when the decryption information passes verification;
screening information collected by a target Internet of things terminal and uploading the information to an Internet of things cloud platform;
the method comprises the following steps of screening and uploading target internet of things terminal acquisition information to an internet of things cloud platform, and specifically comprises the following steps:
receiving information collected by a target Internet of things terminal, classifying the information, and forming a class of data set by the same class;
calculating a difference value between a data value of a certain class in the data set and a reference value of the class, and determining the difference value as a first difference value; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
and uploading the giant variable data set and the safety data set to an Internet of things cloud platform according to different time intervals.
2. The method according to claim 1, wherein after the step of receiving decryption information sent by an internet-of-things communication node inside a target internet-of-things terminal and verifying the decryption information, the method further comprises:
when the verification fails, forbidding establishing normal communication connection with the internet of things communication node inside the target internet of things terminal;
generating communication abnormity reminding information;
and feeding back the communication abnormal information to the Internet of things cloud platform.
3. The method according to claim 1, wherein the step of receiving the information collected by the target internet of things terminal, classifying the information, and forming a type of data set from the same type specifically comprises:
acquiring acquisition information;
judging whether the single acquisition information and the mark information in the existing data set belong to the same category or not, and if so, adding the data into the data set in which the mark information is located; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
4. The method according to claim 1, wherein the step of uploading the giant variable data set and the security data set to the internet of things cloud platform at different time intervals specifically comprises:
determining a ratio range of the ratio between the giant variable data set and the safety data set;
determining an uploading time interval of the giant variable data set and the safety data set according to the ratio range, and uploading the giant variable data set and the safety data set to an Internet of things cloud platform;
and when the ratio between the giant variable data set and the safety data set is not within a preset ratio range, feeding back abnormal information to the cloud platform of the Internet of things.
5. The utility model provides a thing networking terminal communication system based on cloud platform which characterized in that includes:
the key request unit is used for requesting a key from the Internet of things cloud platform and burning the acquired certificate;
the communication request unit is used for sending the encrypted information to the Internet of things communication node in the target Internet of things terminal through the Internet of things communication node configured in the communication request unit;
the communication feedback unit is used for receiving decryption information sent by an internet of things communication node in the target internet of things terminal, verifying the decryption information, and establishing normal communication connection with the target internet of things terminal when the decryption information passes verification;
the information output unit is used for screening information acquired by the target Internet of things terminal and uploading the information to the Internet of things cloud platform;
the information output unit includes:
the information receiving module is used for receiving the information collected by the target Internet of things terminal, classifying the information and forming a data set of the same class;
the data distinguishing module is used for calculating a difference value between a data value of a certain class in the data set and a reference value of the class and determining the difference value as a first difference value; the absolute value of the first difference is greater than or equal to a preset threshold value, and the data set is marked as a giant variable data set; marking the data set as a safety data set when the absolute value of the first difference is smaller than a preset threshold value;
and the difference transmission module uploads the giant variable data set and the safety data set to the Internet of things cloud platform according to different time intervals.
6. The system of claim 5, wherein the communication feedback unit comprises:
the communication forbidding module forbids to establish normal communication connection with the Internet of things communication node in the target Internet of things terminal when the verification is failed;
the abnormity prompting module generates communication abnormity prompting information;
and the abnormity feedback module feeds back communication abnormity information to the Internet of things cloud platform.
7. The system of claim 5, wherein the information receiving module comprises:
the information acquisition submodule acquires acquisition information;
the information classification submodule judges whether the single acquisition information and the mark information in the existing data set belong to the same category or not, and if the single acquisition information and the mark information in the existing data set belong to the same category, the information classification submodule adds the data into the data set in which the mark information is positioned; and if the single acquisition information does not belong to the same category, adding a new data set, marking the single acquisition information, and adding the single acquisition information into the newly added data set.
8. The system of claim 5, wherein the differential transmission module comprises:
the ratio uploading sub-module is used for determining the ratio range of the ratio between the giant variable data set and the safety data set;
the ratio output sub-module determines the uploading time interval of the giant variable data set and the safety data set according to the ratio range, and uploads the giant variable data set and the safety data set to the Internet of things cloud platform;
and when the ratio between the giant variable data set and the safety data set is not in a preset ratio range, the ratio feedback sub-module feeds back abnormal information to the Internet of things cloud platform.
CN202310010101.6A 2023-01-05 2023-01-05 Internet of things terminal communication method and system based on cloud platform Active CN115694844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310010101.6A CN115694844B (en) 2023-01-05 2023-01-05 Internet of things terminal communication method and system based on cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310010101.6A CN115694844B (en) 2023-01-05 2023-01-05 Internet of things terminal communication method and system based on cloud platform

Publications (2)

Publication Number Publication Date
CN115694844A true CN115694844A (en) 2023-02-03
CN115694844B CN115694844B (en) 2023-03-31

Family

ID=85057372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310010101.6A Active CN115694844B (en) 2023-01-05 2023-01-05 Internet of things terminal communication method and system based on cloud platform

Country Status (1)

Country Link
CN (1) CN115694844B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812012A (en) * 2024-03-01 2024-04-02 天津市天益达科技发展有限公司 Data transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811433A (en) * 2014-11-09 2015-07-29 张晓华 Distributed IoT (Internet of Things) solution scheme of C/S configuration
CN112398859A (en) * 2020-11-17 2021-02-23 珠海大横琴科技发展有限公司 Safety control method and device based on regional Internet of things platform
CN113660348A (en) * 2021-09-15 2021-11-16 南京思辨力电子科技有限公司 Internet of things system architecture and terminal equipment thereof
CN114944957A (en) * 2022-06-06 2022-08-26 山东云天安全技术有限公司 Abnormal data detection method and device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811433A (en) * 2014-11-09 2015-07-29 张晓华 Distributed IoT (Internet of Things) solution scheme of C/S configuration
CN112398859A (en) * 2020-11-17 2021-02-23 珠海大横琴科技发展有限公司 Safety control method and device based on regional Internet of things platform
CN113660348A (en) * 2021-09-15 2021-11-16 南京思辨力电子科技有限公司 Internet of things system architecture and terminal equipment thereof
CN114944957A (en) * 2022-06-06 2022-08-26 山东云天安全技术有限公司 Abnormal data detection method and device, computer equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张永生;段战归;周受钦;曹广忠;: "危化品运输设备状态实时监测***开发" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117812012A (en) * 2024-03-01 2024-04-02 天津市天益达科技发展有限公司 Data transmission method and system

Also Published As

Publication number Publication date
CN115694844B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN109922162B (en) Flat building equipment Internet of things monitoring system and method based on block chain
EP3905671B1 (en) Method and device for processing request
CN111208748B (en) Linkage control method and system based on Internet of things and computer equipment
JP2020184335A (en) Framework for privacy-preserving big-data sharing using distributed ledger
CN109547407B (en) Whole-process tracking method for environment monitoring data and block chain link points
WO2021013225A1 (en) Method and device for realizing information association
CN109510840B (en) Method and device for sharing unstructured data, computer equipment and storage medium
CN115694844B (en) Internet of things terminal communication method and system based on cloud platform
CN109194913B (en) Method, device, equipment and medium for processing monitoring video data
CN110569389A (en) Environment monitoring method and device, computer equipment and storage medium
CN112564942A (en) Distribution network control method and device of Internet of things equipment, equipment and storage medium
CN104537796B (en) A kind of warning information processing system and processing method
CN111031589A (en) Network connection method, device, computer readable storage medium and computer equipment
CA3002735C (en) Secure transmission
CN114584382A (en) Security management method and system for wireless data transmission
CN111105582B (en) Forest fire prevention monitoring method and system, computer equipment and readable storage medium
KR20210091963A (en) SYSTEM AND METHOD FOR VERIFYING THE INTEGRITY OF IoT DATA USING BLOCK CHAIN
CN116319088B (en) Method for monitoring route node state and collecting information of Internet of things
CN114978744B (en) Block chain-based security information transmission method and system
CN111611574B (en) Information acquisition method, device, equipment and system
CN108965477B (en) Forestry Internet of things system
CN115208616B (en) Internet of things safety monitoring method and system based on double engines
KR20230114916A (en) Blockchain-based construction site IoT sensing fine dust management method and system
CN106792661B (en) WLAN access method and device
CN113949848A (en) Data transmission method, device, equipment and medium

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