CN117061239B - Method and system for safely uploading and storing operation data of Internet of things terminal - Google Patents

Method and system for safely uploading and storing operation data of Internet of things terminal Download PDF

Info

Publication number
CN117061239B
CN117061239B CN202311300300.7A CN202311300300A CN117061239B CN 117061239 B CN117061239 B CN 117061239B CN 202311300300 A CN202311300300 A CN 202311300300A CN 117061239 B CN117061239 B CN 117061239B
Authority
CN
China
Prior art keywords
data
internet
things
terminal
things terminal
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.)
Active
Application number
CN202311300300.7A
Other languages
Chinese (zh)
Other versions
CN117061239A (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.)
State Grid Sichuan Electric Power Co Ltd
Original Assignee
State Grid Sichuan Electric Power 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 State Grid Sichuan Electric Power Co Ltd filed Critical State Grid Sichuan Electric Power Co Ltd
Priority to CN202311300300.7A priority Critical patent/CN117061239B/en
Publication of CN117061239A publication Critical patent/CN117061239A/en
Application granted granted Critical
Publication of CN117061239B publication Critical patent/CN117061239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to the technical field of data security processing, and provides a method and a system for safely uploading and storing operation data of an Internet of things terminal, wherein a communication channel between the Internet of things terminal and a gateway node is constructed based on the working state of an Internet of things internal gateway node and the position information of the Internet of things terminal, so that the optimal data transmission between the Internet of things terminal and the gateway node is ensured; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and performing verification processing on the received data packet so as to determine whether to directly store the data packet or inform the Internet of things terminal to re-upload the data.

Description

Method and system for safely uploading and storing operation data of Internet of things terminal
Technical Field
The invention relates to the technical field of data security processing, in particular to a method and a system for safely uploading and storing operation data of an internet of things terminal.
Background
In the internet of things type sensing system, different sensing devices are respectively installed at different positions, so that sensing detection is carried out on the position area where the sensing devices are located and corresponding detection data are generated, all the sensing devices are connected into the same internet of things, and therefore each sensing device can upload the detection data generated by the sensing devices to a data storage terminal of the internet of things, and unified analysis processing is carried out on the detection data of all the sensing devices. At present, all sensing devices in the internet of things independently upload detection data to a data storage terminal, so that the data storage terminal receives a large amount of detection data in the same time, a high requirement is put forward on the data receiving performance of the data storage terminal, if the bandwidth of a data receiving port of the data storage terminal is small, the detection data uploaded by all sensing devices cannot be timely and efficiently received, the situation that the detection data upload is slowly blocked in the internet of things is caused, even the situation that the detection data is lost can occur, and the reliability and the safety of the data upload and the storage between the sensing devices and the data storage terminal cannot be ensured.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention provides a safe uploading and storing method and a safe uploading and storing system for running data of an Internet of things terminal, which construct a communication channel between the Internet of things terminal and a gateway node based on the working state of an Internet of things internal gateway node and the position information of the Internet of things terminal, and ensure the optimal data transmission between the Internet of things terminal and the gateway node; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and the received data packet is also subjected to verification processing, so that whether the data packet is directly stored or the internet of things terminal is informed to upload data again is determined, and the reliability and the safety of data uploading and storage of the internet of things terminal are ensured.
The invention provides a safe uploading and storing method for operation data of an internet of things terminal, which comprises the following steps:
Step S1, acquiring working state information of all gateway nodes in the Internet of things, and screening all gateway nodes in an available state based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state;
step S2, carrying out data sampling detection processing on the Internet of things terminal to generate a corresponding data identification record; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not; when the Internet of things terminal needs to carry out data uploading operation, generating a data packet to be uploaded based on the data identification record;
step S3, based on a data receiving log of a data storage terminal of the Internet of things, determining receivable data period information of the data storage terminal; determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal based on the receivable data period information, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node;
Step S4, verifying the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet meets a preset data state condition or not; when the data packet meets the preset data state condition, the data packet is stored in the data storage terminal; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the Internet of things terminal.
In one embodiment disclosed in the present application, in the step S1, working state information of all gateway nodes in the internet of things is obtained, and all gateway nodes in an available state are screened based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state, comprising:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; determining average data flow and peak data flow received by each gateway node in a future preset time range based on the terminal connection load information; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
And determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
In one embodiment disclosed in the present application, in the step S2, a data sampling detection process is performed on the internet of things terminal, so as to generate a corresponding data identification record; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not; when the internet of things terminal needs to perform data uploading operation, generating a data packet to be uploaded based on the data identification record, including:
periodically sampling the data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data disorder codes or not; generating a corresponding data identification record based on respective sampling time of the data samples and existence of data messy codes;
acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
When the Internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; and carrying out data picking processing on the data stream generated by the Internet of things terminal based on all sampling time determined from the data identification record, and converting the picked data into a data packet to be uploaded.
In one embodiment disclosed in the present application, in the step S3, receivable data period information of a data storage terminal of the internet of things is determined based on a data reception log of the data storage terminal; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the Internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node which is currently connected with the Internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node.
In one embodiment disclosed in the present application, in the step S4, a verification process is performed on a data packet received by the data storage terminal in the allowed connection period, and whether the data packet meets a preset data state condition is determined; when the data packet meets the preset data state condition, the data packet is stored in the data storage terminal; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data; if the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data fragments subordinate to the data packet.
The invention also provides a system for safely uploading and storing the operation data of the internet of things terminal, which comprises the following steps:
The gateway node screening module is used for acquiring the working state information of all gateway nodes in the Internet of things and screening all gateway nodes in an available state based on the working state information;
the communication channel construction module is used for constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state based on the position information of the Internet of things terminal in the Internet of things;
the system comprises an Internet of things terminal state identification module, a data sampling detection module and a data identification module, wherein the Internet of things terminal state identification module is used for carrying out data sampling detection processing on the Internet of things terminal to generate corresponding data identification records; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not;
the data packet generation module is used for generating a data packet to be uploaded based on the data identification record when the internet of things terminal needs to perform data uploading operation;
the data packet uploading execution module is used for determining receivable data period information of the data storage terminal based on a data receiving log of the data storage terminal of the Internet of things; determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal based on the receivable data period information, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node;
The data packet verification module is used for verifying the data packet received by the data storage terminal in the allowed connection period and judging whether the data packet meets the preset data state condition or not;
the data packet storage and response module is used for storing the data packet in the data storage terminal when the data packet meets the preset data state condition; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the Internet of things terminal.
In an embodiment disclosed in the present application, the gateway node screening module is configured to obtain working state information of all gateway nodes in the internet of things, screen all gateway nodes in an available state based on the working state information, and include:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; determining average data flow and peak data flow received by each gateway node in a future preset time range based on the terminal connection load information; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
The communication channel construction module is used for constructing a communication channel between the internet of things terminal and one of the gateway nodes in an available state based on the position information of the internet of things terminal in the internet of things, and comprises the following steps:
and determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
In an embodiment disclosed in the present application, the internet of things terminal state identification module is configured to perform data sampling detection processing on the internet of things terminal, and generate a corresponding data identification record; generating live information based on the data of the internet of things terminal, and judging whether the internet of things terminal needs to perform data uploading operation or not, wherein the method comprises the following steps:
periodically sampling the data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data disorder codes or not; generating a corresponding data identification record based on respective sampling time of the data samples and existence of data messy codes;
Acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
the data packet generating module is configured to generate, when the internet of things terminal needs to perform a data uploading operation, a data packet to be uploaded based on the data identifier record, where the data packet generating module includes:
when the Internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; and carrying out data picking processing on the data stream generated by the Internet of things terminal based on all sampling time determined from the data identification record, and converting the picked data into a data packet to be uploaded.
In an embodiment disclosed in the present application, the data packet uploading execution module is configured to determine receivable data period information of a data storage terminal based on a data reception log of the data storage terminal of the internet of things; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
Analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the Internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node which is currently connected with the Internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node.
In an embodiment disclosed in the present application, the data packet verification module is configured to perform verification processing on a data packet received by the data storage terminal in the allowed connection period, and determine whether the data packet meets a preset data state condition, including:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data;
the data packet storage and response module is used for storing the data packet in the data storage terminal when the data packet meets the preset data state condition; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
If the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data fragments subordinate to the data packet.
Compared with the prior art, the method and the system for safely uploading and storing the running data of the Internet of things terminal construct a communication channel between the Internet of things terminal and one gateway node based on the working state of the gateway node in the Internet of things and the position information of the Internet of things terminal, and ensure the optimal data transmission between the Internet of things terminal and the gateway node; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and the received data packet is also subjected to verification processing, so that whether the data packet is directly stored or the internet of things terminal is informed to upload data again is determined, and the reliability and the safety of data uploading and storage of the internet of things terminal are ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for safely uploading and storing operation data of an Internet of things terminal;
fig. 2 is a schematic diagram of a framework of the system for safely uploading and storing operation data of an internet of things terminal provided by the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a method for safely uploading and storing operation data of an internet of things terminal according to an embodiment of the present invention is shown. The method for safely uploading and storing the operation data of the Internet of things terminal comprises the following steps:
step S1, acquiring working state information of all gateway nodes in the Internet of things, and screening all gateway nodes in an available state based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state;
step S2, carrying out data sampling detection processing on the Internet of things terminal to generate a corresponding data identification record; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not; when the Internet of things terminal needs to carry out data uploading operation, generating a data packet to be uploaded based on the data identification record;
step S3, based on a data receiving log of a data storage terminal of the Internet of things, determining receivable data period information of the data storage terminal; determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal based on the receivable data period information, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node;
Step S4, verifying the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet meets the preset data state condition; when the data packet meets the preset data state condition, the data packet is stored in the data storage terminal; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the Internet of things terminal.
From the above, it can be seen that the method for safely uploading and storing the operation data of the internet of things terminal constructs a communication channel between the internet of things terminal and one gateway node based on the working state of the gateway node in the internet of things and the position information of the internet of things terminal, and ensures the optimized data transmission between the internet of things terminal and the gateway node; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and the received data packet is also subjected to verification processing, so that whether the data packet is directly stored or the internet of things terminal is informed to upload data again is determined, and the reliability and the safety of data uploading and storage of the internet of things terminal are ensured.
Preferably, in the step S1, working state information of all gateway nodes in the internet of things is obtained, and all gateway nodes in an available state are screened based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, a communication channel between the Internet of things terminal and one of the gateway nodes in an available state is constructed, and the method comprises the following steps:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; based on the terminal connection load information, determining average data flow and peak data flow received by each gateway node in a future preset time range; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
and determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
In the technical scheme, a plurality of internet of things terminals and a data storage terminal are arranged in the internet of things; the internet of things terminal can be, but is not limited to, a sensing device, and corresponding detection data can be generated when the internet of things terminal senses and detects; the data storage terminal is used as data storage equipment of the Internet of things and is used for receiving detection data uploaded by all the Internet of things terminals, so that the detection data can be conveniently processed in a centralized mode. Meanwhile, the Internet of things also comprises a plurality of gateway nodes, and each gateway node can be used as a data transmission intermediate node between the Internet of things terminal and the data storage terminal, so that the detection data generated by the Internet of things terminal can be ensured to be accurately uploaded to the data storage terminal. When the Internet of things terminal is connected with the data storage terminal, the Internet of things terminal and one of the gateway nodes form a corresponding communication channel, and the gateway nodes and the data storage terminal form a corresponding communication channel, so that the oriented data uploading of the Internet of things terminal to the data storage terminal is realized. In the running process of the internet of things, the gateway nodes are correspondingly connected with the internet of things terminal, namely, not all gateway nodes are in an idle state which is not connected with the internet of things terminal, a certain upper limit of data receiving load exists on data uploaded by each gateway node to the internet of things terminal, when the gateway nodes are simultaneously connected with a plurality of internet of things terminals and/or data flow uploaded by the internet of things terminal to the gateway nodes is overlarge, the gateway nodes are possibly in an overload data receiving state, and if the gateway nodes are connected with another internet of things terminal at the moment, the data uploaded by the other internet of things terminal cannot be transferred to the data storage terminal in time and quickly by the gateway nodes. For this reason, the number of the internet of things terminals respectively connected with all gateway nodes in the internet of things and the uplink data flow state information of each connected internet of things terminal (namely, the data flow state information uploaded to the gateway node by the internet of things terminal currently connected with each gateway node) are obtained, so that the average data flow and the peak data flow received by each gateway node in a future preset time range are estimated and determined, and when the average data flow received by the gateway node from the internet of things terminal in the future preset time range is greater than or equal to a first preset data flow threshold value or the peak data flow is greater than or equal to a second preset data flow threshold value, the gateway node is determined to be in an overload data receiving state, namely, the gateway node is not in an available state; otherwise, it is determined that the gateway node is not in an overload data receiving state, i.e. the gateway node is in an available state. And determining the gateway node in the available state with the Internet of things terminal on the basis of the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, so as to construct a communication channel between the Internet of things terminal and the gateway node in the available state with the Internet of things terminal with the shortest communication link, improve the data transmission efficiency between the Internet of things terminal and the gateway node, and reduce the transmission delay of uploading data to the gateway node by the Internet of things terminal.
Preferably, in the step S2, a data sampling detection process is performed on the internet of things terminal, so as to generate a corresponding data identification record; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not; when the internet of things terminal needs to perform data uploading operation, generating a data packet to be uploaded based on the data identification record, including:
periodically sampling a data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data messy codes or not; generating a corresponding data identification record based on respective sampling time and data messy code existence conditions of the data sample;
acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
when the internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; and carrying out data picking processing on the data stream generated by the Internet of things terminal based on all sampling time determined from the data identification record, and converting the picked data into a data packet to be uploaded.
In the technical scheme, the Internet of things terminal can continuously generate corresponding detection data in the sensing detection process, when the Internet of things terminal has faults in the sensing detection process, the generated detection data can have the problems of data messy codes and the like, and the search data belong to error detection data and do not need to be uploaded to the data storage terminal. In order to screen detection data generated by an internet of things terminal, periodically sampling data streams generated by the internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data messy codes or not; based on the respective sampling time of the data sample and the existence condition of the data messy code, a corresponding data identification record is generated, so that the sampling time of the data sample with the data messy code is comprehensively recorded by the data identification record, and the detection data without the data messy code can be conveniently screened from all detection data generated from the physical connection terminal. When the real-time generated data volume of the internet of things terminal is larger than or equal to a preset data volume threshold, the fact that the amount of the detection data accumulated and generated by the internet of things terminal is larger is indicated, the detection data need to be uploaded to the data storage terminal in time, and otherwise, the subsequent normal generation of the detection data of the internet of things terminal can be influenced. When the internet of things terminal needs to upload data, determining the respective sampling time of all data samples without data messy codes from the data identification record, and comparing the respective sampling time of all data samples without data messy codes with the generation time of all data generated by the internet of things terminal, so as to pick out the data part without data messy codes in all data generated by the internet of things terminal, package and convert the data part into a data packet to be uploaded, thereby ensuring the data correctness of the data packet to be uploaded.
Preferably, in the step S3, receivable data period information of the data storage terminal of the internet of things is determined based on the data reception log of the data storage terminal; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected to the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node which is currently connected with the Internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node.
In the technical scheme, the data storage terminals of the internet of things can simultaneously receive data uploaded by different internet of things terminals and store the received data, but the data storage terminals have limited data receiving bandwidth, and if the number of the internet of things terminals connected at the same time is large or the data quantity uploaded by the internet of things terminals is large, the data storage terminals cannot timely and rapidly store the data. In order to ensure that data uploaded by an internet of things terminal can be received and stored by a data storage terminal quickly in time, analyzing a data receiving log of the data storage terminal, determining flow change information of the data uploaded by other internet of things terminals in the internet of things received by the data storage terminal, and determining a duration time period corresponding to the flow of the data uploaded by the other internet of things terminals in the internet of things received by the data storage terminal being smaller than or equal to a preset flow threshold value according to the flow change information, wherein the duration time period is taken as a receivable data time period of the data storage terminal for the internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node in an available state which is currently connected with the internet of things terminal and the data storage terminal, so that the gateway node which is currently connected with the internet of things terminal can directly transmit the data packet to be uploaded of the internet of things terminal to the data storage terminal in the allowable connection time period, and the uploading efficiency and the stability of the data packet to be uploaded to the data storage terminal are ensured.
Preferably, in the step S4, a verification process is performed on the data packet received by the data storage terminal in the allowed connection period, and it is determined whether the data packet satisfies a preset data state condition; when the data packet meets the preset data state condition, the data packet is stored in the data storage terminal; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data; if the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data segments subordinate to the data packet.
In the technical scheme, virus data verification processing is carried out on the data packet received by the data storage terminal in the allowed connection period, and whether the data packet is virus data is judged, so that the data storage terminal is prevented from storing virus data to influence the data security of the whole Internet of things. When the data packet does not contain any virus data, based on the data volume of the data packet, a storage interval with the matched capacity size is defined in the data storage terminal so as to store the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal, when the Internet of things terminal receives the notification message, according to the generation time information corresponding to all data fragments subordinate to the data packet in the notification message, selecting corresponding data from the data set generated by the Internet of things terminal again to form a new data packet, and uploading the new data packet to the data storage terminal again.
Referring to fig. 2, a schematic diagram of a framework of an operation data security uploading and storing system of an internet of things terminal according to an embodiment of the present invention is provided. The system for safely uploading and storing the operation data of the Internet of things terminal comprises the following components:
the gateway node screening module is used for acquiring the working state information of all gateway nodes in the Internet of things and screening all gateway nodes in an available state based on the working state information;
the communication channel construction module is used for constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state based on the position information of the Internet of things terminal in the Internet of things;
the system comprises an Internet of things terminal state identification module, a data sampling detection module and a data identification module, wherein the Internet of things terminal state identification module is used for carrying out data sampling detection processing on the Internet of things terminal to generate corresponding data identification records; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not;
the data packet generation module is used for generating a data packet to be uploaded based on the data identification record when the internet of things terminal needs to perform data uploading operation;
the data packet uploading execution module is used for determining receivable data period information of the data storage terminal based on a data receiving log of the data storage terminal of the Internet of things; determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal based on the receivable data period information, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node;
The data packet verification module is used for verifying the data packet received by the data storage terminal in the allowed connection period and judging whether the data packet meets the preset data state condition;
the data packet storage and response module is used for storing the data packet in the data storage terminal when the data packet meets the preset data state condition; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the Internet of things terminal.
From the above, it can be seen that the operation data security uploading and storing system of the internet of things terminal constructs a communication channel between the internet of things terminal and one gateway node based on the working state of the gateway node in the internet of things and the position information of the internet of things terminal, so as to ensure the optimized data transmission between the internet of things terminal and the gateway node; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and the received data packet is also subjected to verification processing, so that whether the data packet is directly stored or the internet of things terminal is informed to upload data again is determined, and the reliability and the safety of data uploading and storage of the internet of things terminal are ensured.
Preferably, the gateway node screening module is configured to obtain working state information of all gateway nodes in the internet of things, screen all gateway nodes in an available state based on the working state information, and include:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; based on the terminal connection load information, determining average data flow and peak data flow received by each gateway node in a future preset time range; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
the communication channel construction module is used for constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state based on the position information of the Internet of things terminal in the Internet of things, and comprises the following steps:
and determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
In the technical scheme, a plurality of internet of things terminals and a data storage terminal are arranged in the internet of things; the internet of things terminal can be, but is not limited to, a sensing device, and corresponding detection data can be generated when the internet of things terminal senses and detects; the data storage terminal is used as data storage equipment of the Internet of things and is used for receiving detection data uploaded by all the Internet of things terminals, so that the detection data can be conveniently processed in a centralized mode. Meanwhile, the Internet of things also comprises a plurality of gateway nodes, and each gateway node can be used as a data transmission intermediate node between the Internet of things terminal and the data storage terminal, so that the detection data generated by the Internet of things terminal can be ensured to be accurately uploaded to the data storage terminal. When the Internet of things terminal is connected with the data storage terminal, the Internet of things terminal and one of the gateway nodes form a corresponding communication channel, and the gateway nodes and the data storage terminal form a corresponding communication channel, so that the oriented data uploading of the Internet of things terminal to the data storage terminal is realized. In the running process of the internet of things, the gateway nodes are correspondingly connected with the internet of things terminal, namely, not all gateway nodes are in an idle state which is not connected with the internet of things terminal, a certain upper limit of data receiving load exists on data uploaded by each gateway node to the internet of things terminal, when the gateway nodes are simultaneously connected with a plurality of internet of things terminals and/or data flow uploaded by the internet of things terminal to the gateway nodes is overlarge, the gateway nodes are possibly in an overload data receiving state, and if the gateway nodes are connected with another internet of things terminal at the moment, the data uploaded by the other internet of things terminal cannot be transferred to the data storage terminal in time and quickly by the gateway nodes. For this reason, the number of the internet of things terminals respectively connected with all gateway nodes in the internet of things and the uplink data flow state information of each connected internet of things terminal (namely, the data flow state information uploaded to the gateway node by the internet of things terminal currently connected with each gateway node) are obtained, so that the average data flow and the peak data flow received by each gateway node in a future preset time range are estimated and determined, and when the average data flow received by the gateway node from the internet of things terminal in the future preset time range is greater than or equal to a first preset data flow threshold value or the peak data flow is greater than or equal to a second preset data flow threshold value, the gateway node is determined to be in an overload data receiving state, namely, the gateway node is not in an available state; otherwise, it is determined that the gateway node is not in an overload data receiving state, i.e. the gateway node is in an available state. And determining the gateway node in the available state with the Internet of things terminal on the basis of the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, so as to construct a communication channel between the Internet of things terminal and the gateway node in the available state with the Internet of things terminal with the shortest communication link, improve the data transmission efficiency between the Internet of things terminal and the gateway node, and reduce the transmission delay of uploading data to the gateway node by the Internet of things terminal.
Preferably, the internet of things terminal state identification module is used for carrying out data sampling detection processing on the internet of things terminal to generate corresponding data identification records; generating live information based on the data of the internet of things terminal, and judging whether the internet of things terminal needs to perform data uploading operation or not, wherein the method comprises the following steps:
periodically sampling a data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data messy codes or not; generating a corresponding data identification record based on respective sampling time and data messy code existence conditions of the data sample;
acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
the data packet generating module is configured to generate a data packet to be uploaded based on the data identifier record when the internet of things terminal needs to perform data uploading operation, including:
when the internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; and carrying out data picking processing on the data stream generated by the Internet of things terminal based on all sampling time determined from the data identification record, and converting the picked data into a data packet to be uploaded.
In the technical scheme, the Internet of things terminal can continuously generate corresponding detection data in the sensing detection process, when the Internet of things terminal has faults in the sensing detection process, the generated detection data can have the problems of data messy codes and the like, and the search data belong to error detection data and do not need to be uploaded to the data storage terminal. In order to screen detection data generated by an internet of things terminal, periodically sampling data streams generated by the internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data messy codes or not; based on the respective sampling time of the data sample and the existence condition of the data messy code, a corresponding data identification record is generated, so that the sampling time of the data sample with the data messy code is comprehensively recorded by the data identification record, and the detection data without the data messy code can be conveniently screened from all detection data generated from the physical connection terminal. When the real-time generated data volume of the internet of things terminal is larger than or equal to a preset data volume threshold, the fact that the amount of the detection data accumulated and generated by the internet of things terminal is larger is indicated, the detection data need to be uploaded to the data storage terminal in time, and otherwise, the subsequent normal generation of the detection data of the internet of things terminal can be influenced. When the internet of things terminal needs to upload data, determining the respective sampling time of all data samples without data messy codes from the data identification record, and comparing the respective sampling time of all data samples without data messy codes with the generation time of all data generated by the internet of things terminal, so as to pick out the data part without data messy codes in all data generated by the internet of things terminal, package and convert the data part into a data packet to be uploaded, thereby ensuring the data correctness of the data packet to be uploaded.
Preferably, the data packet uploading execution module is configured to determine receivable data period information of a data storage terminal of the internet of things based on a data receiving log of the data storage terminal; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected to the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node which is currently connected with the Internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node.
In the technical scheme, the data storage terminals of the internet of things can simultaneously receive data uploaded by different internet of things terminals and store the received data, but the data storage terminals have limited data receiving bandwidth, and if the number of the internet of things terminals connected at the same time is large or the data quantity uploaded by the internet of things terminals is large, the data storage terminals cannot timely and rapidly store the data. In order to ensure that data uploaded by an internet of things terminal can be received and stored by a data storage terminal quickly in time, analyzing a data receiving log of the data storage terminal, determining flow change information of the data uploaded by other internet of things terminals in the internet of things received by the data storage terminal, and determining a duration time period corresponding to the flow of the data uploaded by the other internet of things terminals in the internet of things received by the data storage terminal being smaller than or equal to a preset flow threshold value according to the flow change information, wherein the duration time period is taken as a receivable data time period of the data storage terminal for the internet of things terminal; and determining the receivable data time period with the maximum time length as an allowable connection time period between the gateway node in an available state which is currently connected with the internet of things terminal and the data storage terminal, so that the gateway node which is currently connected with the internet of things terminal can directly transmit the data packet to be uploaded of the internet of things terminal to the data storage terminal in the allowable connection time period, and the uploading efficiency and the stability of the data packet to be uploaded to the data storage terminal are ensured.
Preferably, the data packet verification module is configured to perform verification processing on a data packet received by the data storage terminal in the allowed connection period, and determine whether the data packet meets a preset data state condition, and includes:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data;
the data packet storage and response module is used for storing the data packet in the data storage terminal when the data packet meets the preset data state condition; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
if the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data segments subordinate to the data packet.
In the technical scheme, virus data verification processing is carried out on the data packet received by the data storage terminal in the allowed connection period, and whether the data packet is virus data is judged, so that the data storage terminal is prevented from storing virus data to influence the data security of the whole Internet of things. When the data packet does not contain any virus data, based on the data volume of the data packet, a storage interval with the matched capacity size is defined in the data storage terminal so as to store the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal, when the Internet of things terminal receives the notification message, according to the generation time information corresponding to all data fragments subordinate to the data packet in the notification message, selecting corresponding data from the data set generated by the Internet of things terminal again to form a new data packet, and uploading the new data packet to the data storage terminal again.
As can be seen from the content of the above embodiment, the method and the system for safely uploading and storing the operation data of the internet of things terminal construct a communication channel between the internet of things terminal and one gateway node based on the working state of the gateway node inside the internet of things and the position information of the internet of things terminal, so as to ensure the optimal data transmission between the internet of things terminal and the gateway node; the method comprises the steps that an internet of things terminal is subjected to data sampling detection processing to generate a data identification record, and when the internet of things terminal needs to upload data, a data packet to be uploaded is generated based on the data identification record, so that the data reliability of the data packet to be uploaded is ensured; determining an allowable connection time period between the Internet of things terminal and the data storage terminal based on a data receiving log of the data storage terminal, and distributing a specific time period for the Internet of things terminal to upload data to the data storage terminal so as to avoid interference or interruption of data uploading; and the received data packet is also subjected to verification processing, so that whether the data packet is directly stored or the internet of things terminal is informed to upload data again is determined, and the reliability and the safety of data uploading and storage of the internet of things terminal are ensured.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (4)

1. The method for safely uploading and storing the operation data of the Internet of things terminal is characterized by comprising the following steps of:
step S1, acquiring working state information of all gateway nodes in the Internet of things, and screening all gateway nodes in an available state based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state;
step S2, carrying out data sampling detection processing on the Internet of things terminal to generate a corresponding data identification record; generating live information based on the data of the Internet of things terminal, and judging whether the Internet of things terminal needs to perform data uploading operation or not; when the internet of things terminal needs to perform data uploading operation, generating a data packet to be uploaded based on the data identification record, including:
periodically sampling the data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data disorder codes or not; generating a corresponding data identification record based on respective sampling time of the data samples and existence of data messy codes;
Acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
when the Internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; based on all sampling time determined from the data identification record, performing data picking processing on the data stream generated by the Internet of things terminal, and converting the picked data into a data packet to be uploaded;
step S3, based on a data receiving log of a data storage terminal of the Internet of things, determining receivable data period information of the data storage terminal; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the Internet of things terminal; determining a receivable data period with the maximum time length as an allowable connection period between a gateway node which is currently connected with the internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node;
Step S4, verifying the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet meets a preset data state condition or not; when the data packet meets the preset data state condition, the data packet is stored in the data storage terminal; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data; if the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data fragments subordinate to the data packet.
2. The method for safely uploading and storing the operation data of the internet of things terminal according to claim 1, wherein the method comprises the following steps:
In the step S1, working state information of all gateway nodes in the internet of things is obtained, and all gateway nodes in an available state are screened based on the working state information; based on the position information of the Internet of things terminal in the Internet of things, constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state, comprising:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; determining average data flow and peak data flow received by each gateway node in a future preset time range based on the terminal connection load information; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
and determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
3. The system for safely uploading and storing the operation data of the Internet of things terminal is characterized by comprising the following components:
the gateway node screening module is used for acquiring the working state information of all gateway nodes in the Internet of things and screening all gateway nodes in an available state based on the working state information;
the communication channel construction module is used for constructing a communication channel between the Internet of things terminal and one of the gateway nodes in an available state based on the position information of the Internet of things terminal in the Internet of things;
the system comprises an Internet of things terminal state identification module, a data sampling detection module and a data identification module, wherein the Internet of things terminal state identification module is used for carrying out data sampling detection processing on the Internet of things terminal to generate corresponding data identification records; generating live information based on the data of the internet of things terminal, and judging whether the internet of things terminal needs to perform data uploading operation or not, wherein the method comprises the following steps:
periodically sampling the data stream generated by the Internet of things terminal to obtain a plurality of data samples; detecting the data content of each data sample, and judging whether the data sample has data disorder codes or not; generating a corresponding data identification record based on respective sampling time of the data samples and existence of data messy codes;
acquiring real-time generated data quantity of the Internet of things terminal, and judging that the Internet of things terminal needs to perform data uploading operation if the real-time generated data quantity is larger than or equal to a preset data quantity threshold value; otherwise, judging that the Internet of things terminal does not need to carry out data uploading operation;
The data packet generating module is configured to generate a data packet to be uploaded based on the data identifier record when the internet of things terminal needs to perform a data uploading operation, where the data packet generating module includes:
when the Internet of things terminal needs to carry out data uploading operation, determining the respective sampling time of all data samples without data messy codes from the data identification record; based on all sampling time determined from the data identification record, performing data picking processing on the data stream generated by the Internet of things terminal, and converting the picked data into a data packet to be uploaded;
the data packet uploading execution module is used for determining receivable data period information of the data storage terminal based on a data receiving log of the data storage terminal of the Internet of things; based on the receivable data period information, determining an allowable connection period between a gateway node in an available state, which is currently connected by the internet of things terminal, and the data storage terminal, so as to transmit the data packet to be uploaded to the data storage terminal through the gateway node, including:
analyzing a data receiving log of a data storage terminal of the Internet of things, and determining flow change information of data uploaded by other Internet of things terminals in the Internet of things received by the data storage terminal; based on the flow change information, determining all receivable data time periods of the data storage terminal for the Internet of things terminal; determining a receivable data period with the maximum time length as an allowable connection period between a gateway node which is currently connected with the internet of things terminal and is in an available state and the data storage terminal, so that the data packet to be uploaded is transmitted to the data storage terminal through the gateway node;
The data packet verification module is configured to perform verification processing on a data packet received by the data storage terminal in the allowed connection period, and determine whether the data packet meets a preset data state condition, where the data packet verification module includes:
carrying out virus data verification processing on the data packet received by the data storage terminal in the allowed connection period, and judging whether the data packet does not contain any virus data;
the data packet storage and response module is used for storing the data packet in the data storage terminal when the data packet meets the preset data state condition; and when the data packet does not meet the preset data state condition, discarding the data packet and returning a notification message to the internet of things terminal, wherein the method comprises the following steps:
if the data packet does not contain any virus data, storing the data packet in a storage section corresponding to the data storage terminal based on the data quantity of the data packet; if the data packet contains virus data, discarding the data packet and returning a notification message to the Internet of things terminal; the notification message includes generation time information corresponding to all data fragments subordinate to the data packet.
4. The internet of things terminal operation data security uploading and storing system according to claim 3, wherein:
The gateway node screening module is used for acquiring the working state information of all gateway nodes in the Internet of things, screening all gateway nodes in an available state based on the working state information, and comprises the following steps:
acquiring respective terminal connection load information of all gateway nodes in the Internet of things; the terminal connection load information comprises the number of the current connected internet of things terminals of each gateway node and the uplink data stream state information of each connected internet of things terminal; determining average data flow and peak data flow received by each gateway node in a future preset time range based on the terminal connection load information; based on the average data flow and the peak data flow, judging whether the gateway node is in an overload data receiving state; if yes, determining that the gateway node is not in an available state; if not, determining that the gateway node is in an available state;
the communication channel construction module is used for constructing a communication channel between the internet of things terminal and one of the gateway nodes in an available state based on the position information of the internet of things terminal in the internet of things, and comprises the following steps:
and determining the gateway node in the available state, which has the shortest communication link with the Internet of things terminal, based on the network address information of the Internet of things terminal and all the gateway nodes in the available state in the Internet of things, and constructing a communication channel between the Internet of things terminal and the gateway node in the available state.
CN202311300300.7A 2023-10-10 2023-10-10 Method and system for safely uploading and storing operation data of Internet of things terminal Active CN117061239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311300300.7A CN117061239B (en) 2023-10-10 2023-10-10 Method and system for safely uploading and storing operation data of Internet of things terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311300300.7A CN117061239B (en) 2023-10-10 2023-10-10 Method and system for safely uploading and storing operation data of Internet of things terminal

Publications (2)

Publication Number Publication Date
CN117061239A CN117061239A (en) 2023-11-14
CN117061239B true CN117061239B (en) 2023-12-22

Family

ID=88661167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311300300.7A Active CN117061239B (en) 2023-10-10 2023-10-10 Method and system for safely uploading and storing operation data of Internet of things terminal

Country Status (1)

Country Link
CN (1) CN117061239B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117272392B (en) * 2023-11-21 2024-03-15 国网四川省电力公司信息通信公司 Data security protection and backup control method and system for terminal

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539576A (en) * 2014-11-19 2015-04-22 北京天地互连信息技术有限公司 Communication method and system based on IPv6 network
KR101554586B1 (en) * 2015-02-10 2015-10-06 주식회사 한일엔지니어링 Substation Monitoring System
CN105897651A (en) * 2014-10-16 2016-08-24 南京瀚和软件技术有限公司 Security data storage framework middleware
CN109257239A (en) * 2018-11-22 2019-01-22 福建福诺移动通信技术有限公司 One kind being based on TCP High Availabitity things-internet gateway data interaction system and method
CN109413165A (en) * 2018-10-09 2019-03-01 中国电子科技集团公司信息科学研究院 A kind of Internet of Things information processing method, device and system
CN110324346A (en) * 2019-07-08 2019-10-11 温州中壹技术研究院有限公司 A kind of Internet of Things Information Security Management System and method
CN110927800A (en) * 2019-09-30 2020-03-27 国网浙江省电力有限公司湖州供电公司 Underground cable and channel positioning monitoring system and method
CN111162975A (en) * 2019-12-19 2020-05-15 华为技术有限公司 Method for managing intelligent equipment, mobile terminal and communication system
CN111212109A (en) * 2019-12-13 2020-05-29 东软集团股份有限公司 Internet of things communication method, server, terminal and equipment
KR102156174B1 (en) * 2019-06-25 2020-09-15 아주대학교산학협력단 Apparatus and method for digital forensic for iot system based on cloud
CN111787122A (en) * 2020-07-22 2020-10-16 浙江理工大学 Communication system and method for wireless networking of agricultural Internet of things
CN112073490A (en) * 2020-08-31 2020-12-11 安徽中科美络信息技术有限公司 Driving event monitoring method and system based on Internet of things technology
CN112464271A (en) * 2021-01-27 2021-03-09 信联科技(南京)有限公司 Method and system for constructing high-reliability execution environment of power Internet of things edge Internet of things agent
CN114579639A (en) * 2022-03-10 2022-06-03 商丘师范学院 Computer artificial intelligent information screening method
CA3122328A1 (en) * 2021-04-07 2022-10-07 Bluevision It Management Ltd. A system for, and a method of creating cybersecurity situational awareness, threat detection and risk detection within the internet-of-things space
CN115643276A (en) * 2022-09-20 2023-01-24 中合数字科技(广东)有限公司 Data transmission method, device, system and computer readable storage medium
CN115940959A (en) * 2023-02-16 2023-04-07 国网山东省电力公司营销服务中心(计量中心) Low-power-consumption electric energy data acquisition and management system
CN115988038A (en) * 2023-03-20 2023-04-18 睿至科技集团有限公司 Data management method and system based on Internet of things platform
CN116055220A (en) * 2023-03-20 2023-05-02 睿至科技集团有限公司 Internet of things terminal safety protection management and control method and system
CN116303456A (en) * 2023-03-08 2023-06-23 广东省工业边缘智能创新中心有限公司 Industrial data processing method, system, device and computer readable storage medium
CN116527403A (en) * 2023-07-03 2023-08-01 国网四川省电力公司信息通信公司 Network security control method and system for local area network
CN116800457A (en) * 2022-12-09 2023-09-22 慧之安信息技术股份有限公司 Internet of things terminal security access authentication method based on T-NTRU public key cryptography
CN116827976A (en) * 2022-12-26 2023-09-29 慧之安信息技术股份有限公司 Terminal equipment interaction management method and system based on Internet of things
CN116821970A (en) * 2022-12-28 2023-09-29 慧之安信息技术股份有限公司 Sampling detection method based on block chain and Internet of things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009065306A (en) * 2007-09-05 2009-03-26 Hitachi Ltd Sensor node and sensor network system

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897651A (en) * 2014-10-16 2016-08-24 南京瀚和软件技术有限公司 Security data storage framework middleware
CN104539576A (en) * 2014-11-19 2015-04-22 北京天地互连信息技术有限公司 Communication method and system based on IPv6 network
KR101554586B1 (en) * 2015-02-10 2015-10-06 주식회사 한일엔지니어링 Substation Monitoring System
CN109413165A (en) * 2018-10-09 2019-03-01 中国电子科技集团公司信息科学研究院 A kind of Internet of Things information processing method, device and system
CN109257239A (en) * 2018-11-22 2019-01-22 福建福诺移动通信技术有限公司 One kind being based on TCP High Availabitity things-internet gateway data interaction system and method
KR102156174B1 (en) * 2019-06-25 2020-09-15 아주대학교산학협력단 Apparatus and method for digital forensic for iot system based on cloud
CN110324346A (en) * 2019-07-08 2019-10-11 温州中壹技术研究院有限公司 A kind of Internet of Things Information Security Management System and method
CN110927800A (en) * 2019-09-30 2020-03-27 国网浙江省电力有限公司湖州供电公司 Underground cable and channel positioning monitoring system and method
CN111212109A (en) * 2019-12-13 2020-05-29 东软集团股份有限公司 Internet of things communication method, server, terminal and equipment
CN111162975A (en) * 2019-12-19 2020-05-15 华为技术有限公司 Method for managing intelligent equipment, mobile terminal and communication system
CN111787122A (en) * 2020-07-22 2020-10-16 浙江理工大学 Communication system and method for wireless networking of agricultural Internet of things
CN112073490A (en) * 2020-08-31 2020-12-11 安徽中科美络信息技术有限公司 Driving event monitoring method and system based on Internet of things technology
CN112464271A (en) * 2021-01-27 2021-03-09 信联科技(南京)有限公司 Method and system for constructing high-reliability execution environment of power Internet of things edge Internet of things agent
CA3122328A1 (en) * 2021-04-07 2022-10-07 Bluevision It Management Ltd. A system for, and a method of creating cybersecurity situational awareness, threat detection and risk detection within the internet-of-things space
CN114579639A (en) * 2022-03-10 2022-06-03 商丘师范学院 Computer artificial intelligent information screening method
CN115643276A (en) * 2022-09-20 2023-01-24 中合数字科技(广东)有限公司 Data transmission method, device, system and computer readable storage medium
CN116800457A (en) * 2022-12-09 2023-09-22 慧之安信息技术股份有限公司 Internet of things terminal security access authentication method based on T-NTRU public key cryptography
CN116827976A (en) * 2022-12-26 2023-09-29 慧之安信息技术股份有限公司 Terminal equipment interaction management method and system based on Internet of things
CN116821970A (en) * 2022-12-28 2023-09-29 慧之安信息技术股份有限公司 Sampling detection method based on block chain and Internet of things
CN115940959A (en) * 2023-02-16 2023-04-07 国网山东省电力公司营销服务中心(计量中心) Low-power-consumption electric energy data acquisition and management system
CN116303456A (en) * 2023-03-08 2023-06-23 广东省工业边缘智能创新中心有限公司 Industrial data processing method, system, device and computer readable storage medium
CN115988038A (en) * 2023-03-20 2023-04-18 睿至科技集团有限公司 Data management method and system based on Internet of things platform
CN116055220A (en) * 2023-03-20 2023-05-02 睿至科技集团有限公司 Internet of things terminal safety protection management and control method and system
CN116527403A (en) * 2023-07-03 2023-08-01 国网四川省电力公司信息通信公司 Network security control method and system for local area network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Ermis: a middleware for bridging data collection and data processing in IoT streaming applications;Stefanos Peros;《IEEE Xplore》;全文 *
基于Web的物料储存信息采集系统的设计与实现;陈玉贤;《CNKI中国知网》;全文 *
物联网背景下应用于光伏发电的边缘计算设备关键技术研究及应用;彭波;《智能建筑与智慧城市》(第第2022年第9期期);全文 *

Also Published As

Publication number Publication date
CN117061239A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
US10284440B2 (en) Real-time adaptive processing of network data packets for analysis
US10469364B2 (en) System and method for real-time load balancing of network packets
CN106815112B (en) Massive data monitoring system and method based on deep packet inspection
CN117061239B (en) Method and system for safely uploading and storing operation data of Internet of things terminal
US7010592B2 (en) Method for collecting statistical traffic data
EP2081321A2 (en) Sampling apparatus distinguishing a failure in a network even by using a single sampling and a method therefor
CN106612284B (en) Streaming data transmission method and device
KR20180120558A (en) System and method for predicting communication apparatuses failure based on deep learning
CN112035182A (en) Kong-based API gateway monitoring method and system
CN111211980A (en) Transmission link management method, transmission link management device, electronic equipment and storage medium
KR101602189B1 (en) traffic analysis and network monitoring system by packet capturing of 10-giga bit data
CN115037700B (en) Complex network data packet transmission method, system, terminal and storage medium
JP5621674B2 (en) Management apparatus, communication system, and packet communication method
US9225650B2 (en) Network system, gateway, and packet delivery method
CN101341692B (en) Admission control using backup link based on access network in Ethernet
CN115118663A (en) Method for acquiring network congestion information by combining in-band network telemetry
CN117478680B (en) Terminal data stream transmission remote control method and system based on Internet of things management platform
US7385930B2 (en) Packet discard point probing method and device
CN114546641B (en) Comprehensive energy control system based on Internet of things gateway and node intelligent box
WO2022270767A1 (en) Device for generating and managing information bundle for intelligent network management system, and method of same
WO2022152230A1 (en) Information flow identification method, network chip, and network device
CN114422309A (en) Method for analyzing service message transmission effect based on abstract feedback comparison mode
CN117440026B (en) Terminal connection and data interaction management and control method and system based on electric power Internet of things
CN116319468B (en) Network telemetry method, device, switch, network, electronic equipment and medium
CN117857649B (en) Transmission method and system for transmission control protocol data packet

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