CN111800503B - Internet of things communication data topology method and system for reducing data acquisition terminals - Google Patents
Internet of things communication data topology method and system for reducing data acquisition terminals Download PDFInfo
- Publication number
- CN111800503B CN111800503B CN202010635240.4A CN202010635240A CN111800503B CN 111800503 B CN111800503 B CN 111800503B CN 202010635240 A CN202010635240 A CN 202010635240A CN 111800503 B CN111800503 B CN 111800503B
- Authority
- CN
- China
- Prior art keywords
- data
- change rate
- real
- data acquisition
- interval
- 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
Links
- 230000006854 communication Effects 0.000 title claims abstract description 63
- 238000004891 communication Methods 0.000 title claims abstract description 62
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008859 change Effects 0.000 claims abstract description 138
- 238000012545 processing Methods 0.000 claims description 168
- 238000005192 partition Methods 0.000 claims description 20
- 238000003745 diagnosis Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000005265 energy consumption Methods 0.000 claims description 5
- 238000013210 evaluation model Methods 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 3
- 230000002349 favourable effect Effects 0.000 claims description 2
- 230000003321 amplification Effects 0.000 claims 2
- 238000003199 nucleic acid amplification method Methods 0.000 claims 2
- 238000012163 sequencing technique Methods 0.000 claims 2
- 238000000638 solvent extraction Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000013480 data collection Methods 0.000 description 143
- 230000000875 corresponding effect Effects 0.000 description 63
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000013500 data storage Methods 0.000 description 5
- 238000007405 data analysis Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000013016 damping Methods 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域technical field
本发明涉及物联网技术领域,具体涉及一种减少数据采集终端的物联网通讯数据拓扑方法,和一种物联网通讯数据拓扑系统。The invention relates to the technical field of the Internet of Things, in particular to an Internet of Things communication data topology method for reducing data collection terminals, and an Internet of Things communication data topology system.
背景技术Background technique
物联网通讯过程中,需要设置大量的数据采集终端采集数据,并将采集的数据发送到云端进行数据处理。由于现有的数据采集终端的采集频率为固定频率,为了适应用户某些时段的采集频率增大,现有的物联网技术中,需要多设置一些备用的数据采集终端,以适应采集频率的调整。因此,现有技术中存在数据采集终端数量浪费的弊端。In the communication process of the Internet of Things, it is necessary to set up a large number of data acquisition terminals to collect data, and send the collected data to the cloud for data processing. Since the collection frequency of existing data collection terminals is a fixed frequency, in order to adapt to the increased collection frequency of users in certain periods of time, in the existing Internet of Things technology, it is necessary to set up some spare data collection terminals to adapt to the adjustment of collection frequency . Therefore, there is a disadvantage of wasting the number of data collection terminals in the prior art.
发明内容Contents of the invention
本发明的主要目的是提供一种减少数据采集终端的物联网通讯数据拓扑方法,旨在解决现有的物联网技术中数据采集终端数量存在浪费的问题。The main purpose of the present invention is to provide a communication data topology method of the Internet of Things that reduces the number of data collection terminals, aiming at solving the problem of waste of data collection terminals in the existing Internet of Things technology.
为实现上述目的,本发明提出的减少数据采集终端的物联网通讯数据拓扑方法,应用于物联网通讯数据拓扑系统,所述物联网通讯数据拓扑系统包括云端服务器和与所述云端服务器通讯连接的数据采集终端;所述减少数据采集终端的物联网通讯数据拓扑方法,包括如下步骤:In order to achieve the above-mentioned purpose, the Internet of Things communication data topology method for reducing data acquisition terminals proposed by the present invention is applied to the Internet of Things communication data topology system, and the Internet of Things communication data topology system includes a cloud server and a communication connection with the cloud server. Data acquisition terminal; the Internet of Things communication data topology method for reducing the data acquisition terminal, comprising the steps of:
获取所述数据采集终端所采集的实时数据;Obtain the real-time data collected by the data collection terminal;
确定所述数据采集终端所采集的实时数据的当前变化率;determining the current rate of change of the real-time data collected by the data collection terminal;
根据所述当前变化率,确定所述当前变化率对应的所述数据采集终端的采集频率;According to the current rate of change, determine the collection frequency of the data collection terminal corresponding to the current rate of change;
在下一数据采集节点,确定所述数据采集终端所采集的实时数据的新一轮变化率;At the next data collection node, determine a new round of change rate of the real-time data collected by the data collection terminal;
当所述新一轮变化率超过预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调高;When the new round of change rate exceeds a preset interval, the data collection frequency of the data collection terminal is increased according to the new round of change rate;
当所述新一轮变化率低于预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调低。When the new round of change rate is lower than the preset interval, the data collection frequency of the data collection terminal is lowered according to the new round of change rate.
优选地,所述根据所述当前变化率,确定所述当前变化率对应的所述数据采集终端的采集频率的步骤,包括:Preferably, the step of determining the collection frequency of the data collection terminal corresponding to the current rate of change according to the current rate of change includes:
获取为所述数据采集终端预设的多个变化率区间;Acquiring a plurality of change rate intervals preset for the data collection terminal;
获取各个变化率区间对应的采集频率区间;Obtain the collection frequency interval corresponding to each change rate interval;
确定所述当前变化率对应的当前变化率区间;determining the current rate-of-change interval corresponding to the current rate-of-change;
根据所述当前变化率区间对应的当前采集频率区间,将所述数据采集终端的采集频率确定为所述当前采集频率区间的最小采集频率。According to the current collection frequency interval corresponding to the current change rate interval, the collection frequency of the data collection terminal is determined as the minimum collection frequency of the current collection frequency interval.
优选地,所述当所述新一轮变化率超过预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调高的步骤,包括:Preferably, when the new round of change rate exceeds a preset interval, the step of increasing the data collection frequency of the data collection terminal according to the new round of change rate includes:
当所述新一轮变化率超过预设区间时,获取所述新一轮变化率对应的新一轮变化率区间;When the new round of change rate exceeds a preset interval, acquire a new round of change rate interval corresponding to the new round of change rate;
判断所述新一轮变化率区间是否为所述当前变化率区间;judging whether the new round of rate-of-change interval is the current rate-of-change interval;
若否,则根据所述新一轮变化率区间对应的新一轮采集频率区间,将所述数据采集终端的采集频率确定为所述新一轮采集频率区间的最小采集频率;If not, according to the new round of collection frequency interval corresponding to the new round of change rate interval, the collection frequency of the data collection terminal is determined as the minimum collection frequency of the new round of collection frequency interval;
若是,则将所述当前采集频率区间的最小采集频率增大预设增幅,以得到修正采集频率,并将所述数据采集终端的采集频率确定为所述修正采集频率。If so, increase the minimum collection frequency of the current collection frequency interval by a preset increment to obtain a corrected collection frequency, and determine the collection frequency of the data collection terminal as the corrected collection frequency.
优选地,所述当所述新一轮变化率低于预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调低的步骤,包括:Preferably, when the new round of change rate is lower than a preset interval, the step of lowering the data collection frequency of the data collection terminal according to the new round of change rate includes:
当所述新一轮变化率低于预设区间时,获取所述新一轮变化率对应的新一轮变化率区间;When the new round of change rate is lower than the preset interval, acquiring a new round of change rate interval corresponding to the new round of change rate;
判断所述新一轮变化率区间是否为所述当前变化率区间;judging whether the new round of rate-of-change interval is the current rate-of-change interval;
若否,则根据所述新一轮变化率区间对应的新一轮采集频率区间,将所述数据采集终端的采集频率确定为所述新一轮采集频率区间的最小采集频率;If not, according to the new round of collection frequency interval corresponding to the new round of change rate interval, the collection frequency of the data collection terminal is determined as the minimum collection frequency of the new round of collection frequency interval;
若是,则将所述当前采集频率区间的最小采集频率减小预设减幅,以得到修正采集频率,并将所述数据采集终端的采集频率确定为所述修正采集频率。If so, reduce the minimum collection frequency in the current collection frequency interval by a preset damping rate to obtain a corrected collection frequency, and determine the collection frequency of the data collection terminal as the corrected collection frequency.
优选地,所述数据采集终端至少为两个,所述减少数据采集终端的物联网通讯数据拓扑方法,还包括:Preferably, there are at least two data collection terminals, and the IoT communication data topology method for reducing data collection terminals further includes:
获取各个所述数据采集终端预设的采集频率;Obtain the preset collection frequency of each of the data collection terminals;
根据各个所述数据采集终端预设的采集频率,将各个所述数据采集终端进行分层标记;performing hierarchical marking on each of the data collection terminals according to the preset collection frequency of each of the data collection terminals;
获取各个所述数据采集终端的物理位置;Acquiring the physical location of each of the data collection terminals;
根据各个所述数据采集终端的物理位置,对各个所述数据采集终端进行分区标记;According to the physical location of each of the data collection terminals, mark each of the data collection terminals as partitions;
获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据,根据各个所述实时数据对应的数据采集终端的分层标记和分区标记,确定各个所述实时数据的处理顺序;Obtain each real-time data collected by the data collection terminal in the current data processing period, and determine the processing order of each of the real-time data according to the layered mark and the partition mark of the data collection terminal corresponding to each of the real-time data;
将所述实时数据采用所述处理顺序进行标记,并根据所述处理顺序,在所述云端服务器对各个所述实时数据进行数据处理。Marking the real-time data by using the processing sequence, and performing data processing on each of the real-time data on the cloud server according to the processing sequence.
优选地,所述根据各个所述数据采集终端预设的采集频率,将各个所述数据采集终端进行分层标记的步骤,包括:Preferably, the step of hierarchically marking each of the data collection terminals according to the preset collection frequency of each of the data collection terminals includes:
获取预设的多个采集频率区间,其中,各个所述采集频率区间的区间范围不重叠;Obtaining a plurality of preset collection frequency intervals, wherein the interval ranges of each of the collection frequency intervals do not overlap;
将各个所述数据采集终端预设的采集频率,分别对应至唯一的采集频率区间;Corresponding the preset collection frequencies of each of the data collection terminals to a unique collection frequency interval;
根据采集频率区间的对应结果,确定各个所述数据采集终端的层级。According to the corresponding results of the collection frequency intervals, the level of each data collection terminal is determined.
优选地,所述根据各个所述数据采集终端的物理位置,对各个所述数据采集终端进行分区标记的步骤,包括:Preferably, the step of marking each of the data collection terminals according to the physical location of each of the data collection terminals includes:
获取各个预设物理区域;Obtain each preset physical area;
将各个所述数据采集终端的物理位置,分别对应至唯一的物理区域;Corresponding the physical positions of each of the data collection terminals to a unique physical area;
根据物理区域的对应结果,确定各个所述数据采集终端的区域。According to the corresponding result of the physical area, the area of each data collection terminal is determined.
优选地,所述获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据,根据各个所述实时数据对应的数据采集终端的分层标记和分区标记,确定各个所述实时数据的处理顺序的步骤,包括:Preferably, in the acquisition of each real-time data collected by the data collection terminal within the current data processing period, according to the hierarchical mark and partition mark of the data collection terminal corresponding to each of the real-time data, determine the number of each real-time data Steps in the processing sequence, including:
获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据;Obtain each real-time data collected by the data collection terminal within the current data processing period;
根据各个所述实时数据对应的数据采集终端的分层标记,确定各个所述实时数据对应的第一处理顺序系数;Determining a first processing sequence coefficient corresponding to each of the real-time data according to the hierarchical mark of the data collection terminal corresponding to each of the real-time data;
根据各个所述实时数据对应的数据采集终端的分区标记,确定各个所述实时数据对应的第二处理顺序系数;Determining a second processing order coefficient corresponding to each of the real-time data according to the partition mark of the data collection terminal corresponding to each of the real-time data;
根据所述第一处理顺序系数和所述第二处理顺序系数,确定各个所述实时数据的处理顺序值;determining a processing sequence value of each of the real-time data according to the first processing sequence coefficient and the second processing sequence coefficient;
根据各个所述实时数据的处理顺序值,确定各个所述实时数据的处理顺序。The processing sequence of each real-time data is determined according to the processing sequence value of each real-time data.
优选地,所述将所述实时数据采用所述处理顺序进行标记,并根据所述处理顺序,在所述云端服务器对各个所述实时数据进行数据处理的步骤,包括:Preferably, the step of marking the real-time data using the processing sequence, and performing data processing on each of the real-time data on the cloud server according to the processing sequence includes:
获取当前数据处理时段内各个所述实时数据的处理顺序值;Obtain the processing sequence value of each of the real-time data within the current data processing period;
获取下一数据处理时段内各个所述实时数据的处理顺序值;Acquiring the processing sequence value of each of the real-time data in the next data processing period;
对所述当前数据处理时段和所述下一数据处理时段内各个所述实时数据的处理顺序值按照从大至小的顺序进行排序;Sorting the processing sequence values of each of the real-time data in the current data processing period and the next data processing period in descending order;
按照排序结果,对各个所述实时数据进行数据处理。Perform data processing on each of the real-time data according to the sorting results.
为实现上述目的,本发明还提供一种物联网通讯数据拓扑系统,应用如上述任一项所述的减少数据采集终端的物联网通讯数据拓扑方法,所述物联网通讯数据拓扑系统包括云端服务器和与所述云端服务器通讯连接的数据采集终端。In order to achieve the above object, the present invention also provides a communication data topology system of the Internet of Things, which uses the communication data topology method of the Internet of Things that reduces data collection terminals as described in any one of the above, and the communication data topology system of the Internet of Things includes a cloud server and a data collection terminal communicatively connected to the cloud server.
本发明的技术方案中,在获取到数据采集终端的实时数据后,进一步确定数据采集终端采集的实时数据的当前变化率,并根据所述当前变化率,确定所述当前变化率对应的所述数据采集终端的采集频率。具体的,若当前变化率超过预设区间,表明当前实时数据处于暂态状态(显著异常状态),若变化率持续保持较高水平,则很可能造成设备故障或引发危险,则此种情况需要增大采集频率,以密切观察实时数据的变化情况;若当前变化率小于预设区间,表明当前实时数据处于相对稳态状态,设备处于平稳状态,则此种情况可以降低采集频率,以降低数据采集终端的能耗;若当前变化率处于预设区间,表明当前实时数据处于一定波动状态,但未达到显著异常状态,需要在当前状态下持续关注采集的实时数据变化情况,则此种情况需要维持当前采集频率。由于本发明的技术方案根据实时数据的变化率,动态地调整数据采集频率,因此,本发明的技术方案有利于在不改变数据采集终端数量的情况下,利用现有数量的数据采集终端获得更多的采集数据,或获得更少的采集数据,从而解决现有的物联网技术中数据采集终端数量存在浪费的问题。In the technical solution of the present invention, after the real-time data of the data collection terminal is obtained, the current rate of change of the real-time data collected by the data collection terminal is further determined, and the current rate of change corresponding to the current rate of change is determined according to the current rate of change. The collection frequency of the data collection terminal. Specifically, if the current rate of change exceeds the preset interval, it indicates that the current real-time data is in a transient state (significantly abnormal state), and if the rate of change continues to maintain a high level, it is likely to cause equipment failure or cause danger. Increase the collection frequency to closely observe the changes of real-time data; if the current change rate is less than the preset interval, it indicates that the current real-time data is in a relatively stable state and the equipment is in a stable state. In this case, the collection frequency can be reduced to reduce the data Collect the energy consumption of the terminal; if the current rate of change is within the preset range, it indicates that the current real-time data is in a certain state of fluctuation, but has not reached a significant abnormal state, and it is necessary to continue to pay attention to the changes in the collected real-time data in the current state. Maintain the current acquisition frequency. Since the technical solution of the present invention dynamically adjusts the data collection frequency according to the rate of change of real-time data, the technical solution of the present invention is conducive to using the existing number of data collection terminals to obtain more data without changing the number of data collection terminals. More collected data, or less collected data, so as to solve the problem of waste of data collection terminals in the existing Internet of Things technology.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图示出的结构获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to the structures shown in these drawings without creative effort.
图1为本发明减少数据采集终端的物联网通讯数据拓扑方法第一实施例的流程图;Fig. 1 is the flowchart of the first embodiment of the Internet of Things communication data topology method for reducing data acquisition terminals in the present invention;
图2为本发明减少数据采集终端的物联网通讯数据拓扑方法第二实施例的流程图。FIG. 2 is a flow chart of a second embodiment of the method for reducing the Internet of Things communication data topology of data collection terminals according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
需要说明,本发明实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relationship between the components in a certain posture (as shown in the accompanying drawings). Relative positional relationship, movement conditions, etc., if the specific posture changes, the directional indication will also change accordingly.
另外,在本发明中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本发明的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, in the present invention, descriptions such as "first", "second" and so on are used for description purposes only, and should not be understood as indicating or implying their relative importance or implicitly indicating the quantity of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
在本发明中,除非另有明确的规定和限定,术语“连接”、“固定”等应做广义理解,例如,“固定”可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise specified and limited, the terms "connection" and "fixation" should be understood in a broad sense, for example, "fixation" can be a fixed connection, a detachable connection, or an integral body; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediary, and it can be an internal communication between two elements or an interaction relationship between two elements, unless otherwise clearly defined. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention according to specific situations.
另外,本发明各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In addition, the technical solutions of the various embodiments of the present invention can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered as a combination of technical solutions. Does not exist, nor is it within the scope of protection required by the present invention.
请参阅图1,为实现上述目的,本发明提出的减少数据采集终端的物联网通讯数据拓扑方法,应用于物联网通讯数据拓扑系统,所述物联网通讯数据拓扑系统包括云端服务器和与所述云端服务器通讯连接的数据采集终端;所述减少数据采集终端的物联网通讯数据拓扑方法,包括如下步骤:Please refer to Fig. 1, in order to achieve the above-mentioned purpose, the Internet of Things communication data topology method for reducing data collection terminals proposed by the present invention is applied to the Internet of Things communication data topology system, and the Internet of Things communication data topology system includes a cloud server and the communication with the said The data acquisition terminal of cloud server communication connection; The described method for reducing the Internet of Things communication data topology of data acquisition terminal comprises the following steps:
步骤S10,获取所述数据采集终端所采集的实时数据;Step S10, obtaining the real-time data collected by the data collection terminal;
步骤S20,确定所述数据采集终端所采集的实时数据的当前变化率;Step S20, determining the current rate of change of the real-time data collected by the data collection terminal;
步骤S30,根据所述当前变化率,确定所述当前变化率对应的所述数据采集终端的采集频率;Step S30, according to the current rate of change, determine the collection frequency of the data collection terminal corresponding to the current rate of change;
步骤S40,在下一数据采集节点,确定所述数据采集终端所采集的实时数据的新一轮变化率;Step S40, at the next data collection node, determine a new round of change rate of the real-time data collected by the data collection terminal;
步骤S50,当所述新一轮变化率超过预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调高;Step S50, when the new round of change rate exceeds a preset interval, increase the data collection frequency of the data collection terminal according to the new round of change rate;
步骤S60,当所述新一轮变化率低于预设区间时,根据所述新一轮变化率将所述数据采集终端的数据采集频率调低。Step S60, when the new round of change rate is lower than the preset interval, lower the data collection frequency of the data collection terminal according to the new round of change rate.
本发明的技术方案中,在获取到数据采集终端的实时数据后,进一步确定数据采集终端采集的实时数据的当前变化率,并根据所述当前变化率,确定所述当前变化率对应的所述数据采集终端的采集频率。具体的,若当前变化率超过预设区间,表明当前实时数据处于暂态状态(显著异常状态),若变化率持续保持较高水平,则很可能造成设备故障或引发危险,则此种情况需要增大采集频率,以密切观察实时数据的变化情况;若当前变化率小于预设区间,表明当前实时数据处于相对稳态状态,设备处于平稳状态,则此种情况可以降低采集频率,以降低数据采集终端的能耗;若当前变化率处于预设区间,表明当前实时数据处于一定波动状态,但未达到显著异常状态,需要在当前状态下持续关注采集的实时数据变化情况,则此种情况需要维持当前采集频率。由于本发明的技术方案根据实时数据的变化率,动态地调整数据采集频率,因此,本发明的技术方案有利于在不改变数据采集终端数量的情况下,利用现有数量的数据采集终端获得更多的采集数据,或获得更少的采集数据,从而解决现有的物联网技术中数据采集终端数量存在浪费的问题。In the technical solution of the present invention, after the real-time data of the data collection terminal is obtained, the current rate of change of the real-time data collected by the data collection terminal is further determined, and the current rate of change corresponding to the current rate of change is determined according to the current rate of change. The collection frequency of the data collection terminal. Specifically, if the current rate of change exceeds the preset interval, it indicates that the current real-time data is in a transient state (significantly abnormal state), and if the rate of change continues to maintain a high level, it is likely to cause equipment failure or cause danger. Increase the collection frequency to closely observe the changes of real-time data; if the current change rate is less than the preset interval, it indicates that the current real-time data is in a relatively stable state and the equipment is in a stable state. In this case, the collection frequency can be reduced to reduce the data Collect the energy consumption of the terminal; if the current rate of change is within the preset range, it indicates that the current real-time data is in a certain state of fluctuation, but has not reached a significant abnormal state, and it is necessary to continue to pay attention to the changes in the collected real-time data in the current state. Maintain the current acquisition frequency. Since the technical solution of the present invention dynamically adjusts the data collection frequency according to the rate of change of real-time data, the technical solution of the present invention is conducive to using the existing number of data collection terminals to obtain more data without changing the number of data collection terminals. More collected data, or less collected data, so as to solve the problem of waste of data collection terminals in the existing Internet of Things technology.
其中,步骤S40中的“下一数据采集节点”,根据步骤S30中确定的采集频率确定。数据采集终端的初始采集频率为预设频率。步骤S60中,根据所述新一轮变化率将所述数据采集终端的数据采集频率调低,调低至采集频率为设定的最小采集频率后,不可再调低。Wherein, the "next data collection node" in step S40 is determined according to the collection frequency determined in step S30. The initial collection frequency of the data collection terminal is the preset frequency. In step S60, the data collection frequency of the data collection terminal is lowered according to the new round of change rate, and after the collection frequency is lowered to the set minimum collection frequency, it cannot be further lowered.
请参阅图2,基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第一实施例,本发明的第二实施例中,所述步骤S30,包括:Please refer to FIG. 2, based on the first embodiment of the present invention to reduce the Internet of Things communication data topology method of data collection terminals, in the second embodiment of the present invention, the step S30 includes:
步骤S31,获取为所述数据采集终端预设的多个变化率区间;Step S31, obtaining a plurality of change rate intervals preset for the data collection terminal;
步骤S32,获取各个变化率区间对应的采集频率区间;Step S32, acquiring the collection frequency interval corresponding to each change rate interval;
步骤S33,确定所述当前变化率对应的当前变化率区间;Step S33, determining the current rate of change interval corresponding to the current rate of change;
步骤S34,根据所述当前变化率区间对应的当前采集频率区间,将所述数据采集终端的采集频率确定为所述当前采集频率区间的最小采集频率。Step S34, according to the current collection frequency interval corresponding to the current change rate interval, determine the collection frequency of the data collection terminal as the minimum collection frequency of the current collection frequency interval.
在一具体实施例中,变化率区间可以为三个,分别为:变化率不显著区间、变化率波动区间,以及变化率显著区间,每个变化率区间的边界值可以根据用户输入设定。In a specific embodiment, there may be three rate-of-change intervals, namely: an insignificant rate-of-change interval, a fluctuating rate-of-change interval, and a significant rate-of-change interval, and the boundary value of each rate-of-change interval can be set according to user input.
每个变化率区间分别对应唯一的采集频率区间,例如:变化率不显著区间对应低采集频率区间,变化率波动区间对应正常采集频率区间,变化率显著区间对应高采集频率区间。每个采集频率区间的边界值可以根据用户输入设定。Each rate-of-change interval corresponds to a unique acquisition frequency interval, for example, the insignificant rate-of-change interval corresponds to the low-acquisition-frequency interval, the fluctuating rate-of-change interval corresponds to the normal acquisition frequency interval, and the significant-rate-of-change interval corresponds to the high-acquisition frequency interval. The boundary value of each collection frequency interval can be set according to user input.
在数据采集终端进行实时数据采集时,正常情况采集的数据趋于平稳,可能偶尔出现单次波动较大的异常数据,而下一次采集的数据则又可能快速恢复正常。本实施例中,根据所述当前变化率区间对应的当前采集频率区间,将所述数据采集终端的采集频率确定为所述当前采集频率区间的最小采集频率,而不是直接调整到当前采集频率区间的最大采集频率,有利于在调大数据采集频率的同时,降低数据采集终端的能耗。When the data collection terminal is collecting real-time data, the data collected under normal conditions tends to be stable, and there may be occasional abnormal data with large single fluctuations, and the data collected next time may quickly return to normal. In this embodiment, according to the current collection frequency interval corresponding to the current change rate interval, the collection frequency of the data collection terminal is determined as the minimum collection frequency of the current collection frequency interval, instead of directly adjusting to the current collection frequency interval The maximum collection frequency is beneficial to reduce the energy consumption of the data collection terminal while increasing the data collection frequency.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第二实施例,本发明的第三实施例中,所述步骤S50,包括:Based on the second embodiment of the present invention to reduce the Internet of Things communication data topology method of data collection terminals, in the third embodiment of the present invention, the step S50 includes:
步骤S51,当所述新一轮变化率超过预设区间时,获取所述新一轮变化率对应的新一轮变化率区间;Step S51, when the new round of change rate exceeds a preset interval, obtain a new round of change rate interval corresponding to the new round of change rate;
步骤S52,判断所述新一轮变化率区间是否为所述当前变化率区间;Step S52, judging whether the new round of rate-of-change interval is the current rate-of-change interval;
若否,则执行步骤S53:根据所述新一轮变化率区间对应的新一轮采集频率区间,将所述数据采集终端的采集频率确定为所述新一轮采集频率区间的最小采集频率;If not, perform step S53: according to the new round of collection frequency interval corresponding to the new round of change rate interval, determine the collection frequency of the data collection terminal as the minimum collection frequency of the new round of collection frequency interval;
若是,则执行步骤S54:将所述当前采集频率区间的最小采集频率增大预设增幅,以得到修正采集频率,并将所述数据采集终端的采集频率确定为所述修正采集频率。If yes, execute step S54: increase the minimum collection frequency in the current collection frequency interval by a preset increment to obtain a revised collection frequency, and determine the collection frequency of the data collection terminal as the revised collection frequency.
具体的,当所述新一轮变化率处于预设区间时,保持当前采集频率。预设区间用于评估新一轮变化率是否显著,当新一轮变化率超过预设区间,但仍然处于上一变化率区间时,表明变化率较为显著,但属于可控,此时,可以根据预设增幅将当前采集频率进行修正,得到更高的采集频率,以提供更有利的数据监测。当新一轮变化率超过预设区间,且超出上一变化率区间时,可以将采集频率直接进行跨级别调整,以实现快速调整。Specifically, when the new round of rate of change is within a preset interval, the current collection frequency is maintained. The preset interval is used to evaluate whether the new round of change rate is significant. When the new round of change rate exceeds the preset interval but is still within the previous change rate interval, it indicates that the change rate is relatively significant, but it is controllable. At this time, you can The current acquisition frequency is corrected according to the preset increment to obtain a higher acquisition frequency to provide more favorable data monitoring. When the new round of change rate exceeds the preset range and exceeds the previous change rate range, the acquisition frequency can be directly adjusted across levels to achieve rapid adjustment.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第二实施例或第三实施例,本发明的第四实施例中,所述步骤S60,包括:Based on the second embodiment or the third embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the fourth embodiment of the present invention, the step S60 includes:
步骤S61,当所述新一轮变化率低于预设区间时,获取所述新一轮变化率对应的新一轮变化率区间;Step S61, when the new round of change rate is lower than the preset interval, obtain a new round of change rate interval corresponding to the new round of change rate;
步骤S62,判断所述新一轮变化率区间是否为所述当前变化率区间;Step S62, judging whether the new round of rate-of-change interval is the current rate-of-change interval;
若否,则执行步骤S63:根据所述新一轮变化率区间对应的新一轮采集频率区间,将所述数据采集终端的采集频率确定为所述新一轮采集频率区间的最小采集频率;If not, perform step S63: according to the new round of collection frequency interval corresponding to the new round of change rate interval, determine the collection frequency of the data collection terminal as the minimum collection frequency of the new round of collection frequency interval;
若是,则则执行步骤S64:将所述当前采集频率区间的最小采集频率减小预设减幅,以得到修正采集频率,并将所述数据采集终端的采集频率确定为所述修正采集频率。If yes, execute step S64: reduce the minimum collection frequency in the current collection frequency interval by a preset damping rate to obtain a revised collection frequency, and determine the collection frequency of the data collection terminal as the revised collection frequency.
当新一轮变化率低于预设区间,表明变化率降低,此时,可以根据预设减幅将当前采集频率进行修正,得到更低的采集频率,以降低数据采集能耗。When the new round of change rate is lower than the preset interval, it indicates that the change rate is reduced. At this time, the current collection frequency can be corrected according to the preset reduction rate to obtain a lower collection frequency to reduce data collection energy consumption.
进一步的,当数据采集频率连续第一次数增大时,启动故障诊断监控设备,并根据数据采集终端的实时数据和故障诊断监控设备采集的数据,进行故障诊断。Further, when the data collection frequency increases for the first time consecutively, start the fault diagnosis monitoring equipment, and perform fault diagnosis according to the real-time data of the data collection terminal and the data collected by the fault diagnosis monitoring equipment.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第一实施例至第四实施例,本发明的第五实施例中,所述数据采集终端至少为两个,所述减少数据采集终端的物联网通讯数据拓扑方法,还包括:Based on the first embodiment to the fourth embodiment of the Internet of Things communication data topology method for reducing data collection terminals of the present invention, in the fifth embodiment of the present invention, there are at least two data collection terminals, and the reduction of data collection terminals The Internet of Things communication data topology method also includes:
步骤S70,获取各个所述数据采集终端预设的采集频率;Step S70, acquiring the preset collection frequency of each of the data collection terminals;
步骤S80,根据各个所述数据采集终端预设的采集频率,将各个所述数据采集终端进行分层标记;Step S80, according to the collection frequency preset by each of the data collection terminals, mark each of the data collection terminals hierarchically;
步骤S90,获取各个所述数据采集终端的物理位置;Step S90, acquiring the physical location of each of the data collection terminals;
步骤S100,根据各个所述数据采集终端的物理位置,对各个所述数据采集终端进行分区标记;Step S100, according to the physical location of each of the data collection terminals, mark each of the data collection terminals as partitions;
步骤S110,获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据,根据各个所述实时数据对应的数据采集终端的分层标记和分区标记,确定各个所述实时数据的处理顺序;Step S110: Obtain each real-time data collected by the data collection terminal within the current data processing period, and determine the processing order of each real-time data according to the hierarchical mark and partition mark of the data collection terminal corresponding to each of the real-time data ;
步骤S120,将所述实时数据采用所述处理顺序进行标记,并根据所述处理顺序,在所述云端服务器对各个所述实时数据进行数据处理。Step S120, marking the real-time data with the processing sequence, and performing data processing on each of the real-time data on the cloud server according to the processing sequence.
本发明的技术方案中,采用各个数据采集终端预设的数据采集频率,对各个数据采集终端进行分层标记,以利用该项数据的采集频率作为评估该项数据的重要程度的一项指标,具体的,采集频率和数据的重要程度呈正相关;进一步的,采用各个数据采集终端的物理位置,对各个所述数据采集终端进行分区标记,以利用物理位置作为评估该项数据的重要程度的另一项指标;同时,对同一数据处理时段内采集的各个实时数据,用分层标记和分区标记,确定出该时段内各个实时数据的处理顺序,以使云端服务器不再无差别的处理各个实时数据,而是根据数据的重要顺序,先后处理各个实时数据,以使云端服务器先反馈重要数据的处理结果,后反馈重要程度相对较低的数据,以提高数据分析的便利性。从而,本发明的技术方案有利于解决现有的物联网技术中,云端对各个实时数据进行无差别处理导致的数据分析缺乏科学管理,无法优先处理重要数据的问题。In the technical solution of the present invention, the data collection frequency preset by each data collection terminal is used to carry out hierarchical marking on each data collection terminal, so as to use the collection frequency of the data as an index for evaluating the importance of the data, Specifically, the collection frequency and the importance of the data are positively correlated; further, the physical location of each data collection terminal is used to mark each data collection terminal as a partition, so as to use the physical location as another indicator for evaluating the importance of the data. An indicator; at the same time, for each real-time data collected in the same data processing period, use hierarchical marking and partition marking to determine the processing sequence of each real-time data in this period, so that the cloud server no longer processes each real-time data indiscriminately. Instead, each real-time data is processed successively according to the order of importance of the data, so that the cloud server will first feed back the processing results of important data, and then feed back the data with relatively low importance, so as to improve the convenience of data analysis. Therefore, the technical solution of the present invention is beneficial to solve the problem that in the existing Internet of Things technology, data analysis lacks scientific management and important data cannot be prioritized due to indiscriminate processing of various real-time data by the cloud.
具体的,各个标记可以作为影响系数,对每个实时数据的分层标记和分区标记采用求和的方式确定求和结果,根据求和结果确定处理顺序。除了分区标记和分层标记作为影响系数之外,还可以引入连续预设次数采集的实时数据的变化率,采用数据变化率标记作为另一影响系数;更进一步地,还可采用用户输入的重要度标记作为进一步的影响系数。在一具体实施例中,可以建立确定云端服务器数据处理顺序的评估模型,将各个影响系数带入模型,以确定各个实时数据的处理顺序。Specifically, each mark may be used as an influence coefficient, and the summation result is determined by summing the hierarchical marks and partition marks of each real-time data, and the processing sequence is determined according to the summation result. In addition to partition marks and layered marks as influence coefficients, the rate of change of real-time data collected continuously for preset times can also be introduced, and data change rate marks can be used as another influence coefficient; degree mark as a further influence factor. In a specific embodiment, an evaluation model for determining the data processing order of the cloud server can be established, and various influence coefficients are brought into the model to determine the processing order of each real-time data.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第五实施例,本发明的第六实施例中,所述步骤S80包括:Based on the fifth embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the sixth embodiment of the present invention, the step S80 includes:
步骤S81,获取预设的多个采集频率区间,其中,各个所述采集频率区间的区间范围不重叠;Step S81, acquiring a plurality of preset acquisition frequency intervals, wherein the interval ranges of each of the acquisition frequency intervals do not overlap;
步骤S82,将各个所述数据采集终端预设的采集频率,分别对应至唯一的采集频率区间;Step S82, corresponding the preset collection frequencies of each of the data collection terminals to a unique collection frequency interval;
步骤S83,根据采集频率区间的对应结果,确定各个所述数据采集终端的层级。Step S83: Determine the level of each data collection terminal according to the corresponding result of the collection frequency interval.
具体的,各个所述采集频率区间的区间范围不重叠,且各个采集频率区间具有大小差异。例如:Specifically, the ranges of the collection frequency intervals do not overlap, and the collection frequency intervals have different sizes. For example:
第一采集频率区间为(0s,3s],对应分层标记为第一层级,第一处理顺序系数为4;The first acquisition frequency interval is (0s, 3s], the corresponding layer is marked as the first level, and the first processing sequence coefficient is 4;
第二采集频率区间为(3s,6s],对应分层标记为第二层级,第一处理顺序系数为3;The second acquisition frequency interval is (3s, 6s], the corresponding layer is marked as the second level, and the first processing sequence coefficient is 3;
第三采集频率区间为(6s,8s],对应分层标记为第三层级,第一处理顺序系数为2;The third acquisition frequency interval is (6s, 8s], the corresponding layer is marked as the third level, and the first processing sequence coefficient is 2;
第四采集频率区间为(8s,10s],对应分层标记为第四层级,第一处理顺序系数为1。The fourth acquisition frequency interval is (8s, 10s], the corresponding layer is marked as the fourth level, and the first processing sequence coefficient is 1.
第一处理顺序系数越大,表明采集频率越高,优先处理程度越高。The larger the coefficient of the first processing order, the higher the collection frequency and the higher the priority processing degree.
在本实施例中,物联网通讯数据拓扑系统包括电压计和电流计两种数据采集终端,其中,电压计的采集频率为5s,电流计的采集频率为2s;则电压计对应第二频率采集区间,标记为第二层级,且对应的第一处理顺序系数为3;电流计对应第一频率采集区间,标记为第一层级,且对应的第一处理顺序系数为4。In this embodiment, the Internet of Things communication data topology system includes two data collection terminals of a voltmeter and an ammeter, wherein the collection frequency of the voltmeter is 5s, and the collection frequency of the ammeter is 2s; the voltmeter corresponds to the second frequency collection The interval is marked as the second level, and the corresponding first processing order coefficient is 3; the galvanometer corresponds to the first frequency acquisition interval, marked as the first level, and the corresponding first processing order coefficient is 4.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第五实施例,本发明的第七实施例中,所述步骤S100包括:Based on the fifth embodiment of the present invention to reduce the Internet of Things communication data topology method of data collection terminals, in the seventh embodiment of the present invention, the step S100 includes:
步骤S101,获取各个预设物理区域;Step S101, acquiring each preset physical area;
步骤S102,将各个所述数据采集终端的物理位置,分别对应至唯一的物理区域;Step S102, corresponding the physical locations of each of the data collection terminals to a unique physical area;
步骤S103,根据物理区域的对应结果,确定各个所述数据采集终端的区域。Step S103, according to the corresponding result of the physical area, determine the area of each of the data collection terminals.
具体的,各个所述物理区域不重叠,且具有安全等级次序。例如,该方法中,各个数据采集终端设置有定位模块,根据定位模块确定数据采集终端的物理位置,例如:各个预设物理区域在地图上划分形成相互分隔的不重合区域,且每个物理区域对应不同区域名称。Specifically, each of the physical areas does not overlap, and has a security level order. For example, in this method, each data collection terminal is provided with a positioning module, and the physical location of the data collection terminal is determined according to the positioning module, for example: each preset physical area is divided on the map to form non-overlapping areas separated from each other, and each physical area Corresponding to different area names.
例如,第一物理区域在地图上的第一区,对应安全等级为第一等级(表明安全程度很重要),第二处理顺序系数为4;For example, the first physical area is in the first zone on the map, and the corresponding security level is the first level (indicating that the security level is very important), and the second processing sequence coefficient is 4;
第二物理区域在地图上的第二区,对应安全等级为第二等级(表明安全程度重要),第二处理顺序系数为3;The second physical area is in the second district on the map, and the corresponding security level is the second level (indicates that the degree of security is important), and the second processing sequence coefficient is 3;
第三物理区域在地图上的第三区,对应安全等级为第三等级(表明安全程度一般),第二处理顺序系数为2;The third physical area is in the third area on the map, and the corresponding security level is the third level (indicating that the security level is average), and the second processing sequence coefficient is 2;
第四物理区域在地图上的第四区,对应安全等级为第四等级(表明安全程度不重要),第二处理顺序系数为1。The fourth physical area is in the fourth area on the map, the corresponding security level is the fourth level (indicating that the security level is not important), and the second processing sequence coefficient is 1.
各个物理分区,可以按照对设备运行的影响程度划分,也可以按照所采集数据类型为热点数据或非热点数据进行划分。Each physical partition can be divided according to the degree of impact on the operation of the equipment, or according to the type of collected data as hot data or non-hot data.
第二处理顺序系数越大,表明安全等级越高,优先处理程度越高。The larger the second processing sequence coefficient, the higher the security level and the higher the priority processing degree.
本实施例中,电压计的物理位置定位于区域A,电流计的物理位置定位于区域B。假设电压计的区域A定位在第一物理区域,则对应第一区;第二处理顺序系数为4;假设区域B定位在第三物理区域,则对应第三区,则第二处理顺序系数为2。In this embodiment, the physical location of the voltmeter is located in area A, and the physical location of the ammeter is located in area B. Assuming that area A of the voltmeter is located in the first physical area, it corresponds to the first area; the second processing order coefficient is 4; assuming that area B is located in the third physical area, it corresponds to the third area, then the second processing order coefficient is 2.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第五实施例,本发明的第八实施例中,步骤S110包括:Based on the fifth embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the eighth embodiment of the present invention, step S110 includes:
步骤S111,获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据;Step S111, acquiring various real-time data collected through the data collection terminal within the current data processing period;
步骤S112,根据各个所述实时数据对应的数据采集终端的分层标记,确定各个所述实时数据对应的第一处理顺序系数x;Step S112, determining the first processing sequence coefficient x corresponding to each of the real-time data according to the hierarchical mark of the data collection terminal corresponding to each of the real-time data;
步骤S113,根据各个所述实时数据对应的数据采集终端的分区标记,确定各个所述实时数据对应的第二处理顺序系数y;Step S113, according to the partition mark of the data collection terminal corresponding to each of the real-time data, determine the second processing sequence coefficient y corresponding to each of the real-time data;
步骤S114,根据所述第一处理顺序系数和所述第二处理顺序系数,确定各个所述实时数据的处理顺序值;Step S114, according to the first processing order coefficient and the second processing order coefficient, determine the processing order value of each of the real-time data;
步骤S115,根据各个所述实时数据的处理顺序值,确定各个所述实时数据的处理顺序。Step S115, according to the processing order value of each said real-time data, determine the processing order of each said real-time data.
其中,步骤S112中不同层级的数据采集终端对应的第一处理顺序系数参照下述方式确定:Wherein, in step S112, the first processing sequence coefficients corresponding to the data collection terminals at different levels are determined by referring to the following method:
第一层级,第一处理顺序系数为4;The first level, the first processing sequence coefficient is 4;
第二层级,第一处理顺序系数为3;At the second level, the first processing sequence coefficient is 3;
第三层级,第一处理顺序系数为2;The third level, the first processing sequence coefficient is 2;
第四层级,第一处理顺序系数为1。For the fourth level, the first processing sequence coefficient is 1.
则上述第二实施例中,电压计标记为第二层级,对应的第一处理顺序系数为3;电流计标记为第一层级,且对应的第一处理顺序系数为4。In the above-mentioned second embodiment, the voltmeter is marked as the second level, and the corresponding first processing order coefficient is 3; the ammeter is marked as the first level, and the corresponding first processing order coefficient is 4.
进一步的,步骤S113中不同分区的数据采集终端对应的第二处理顺序系数参照下述方式确定:Further, in step S113, the second processing order coefficients corresponding to the data collection terminals in different partitions are determined by referring to the following method:
第一区,第二处理顺序系数为4,对应安全等级为第一等级(表明安全程度很重要);In the first zone, the second processing sequence coefficient is 4, and the corresponding security level is the first level (indicating that the degree of security is very important);
第二区,第二处理顺序系数为3,对应安全等级为第二等级(表明安全程度重要);In the second area, the second processing sequence coefficient is 3, and the corresponding security level is the second level (indicating that the degree of security is important);
第三区,第二处理顺序系数为2,对应安全等级为第三等级(表明安全程度一般);In the third zone, the second processing sequence coefficient is 2, and the corresponding security level is the third level (indicating that the security level is general);
第四区,第二处理顺序系数为1,对应安全等级为第四等级(表明安全程度不重要)。In the fourth zone, the second processing sequence coefficient is 1, and the corresponding security level is the fourth level (indicating that the security level is not important).
则上述第三实施例中,电压计对应第一区,第二处理顺序系数为4;电流计对应第三区,第二处理顺序系数为2。In the above third embodiment, the voltmeter corresponds to the first zone, and the second processing sequence coefficient is 4; the ammeter corresponds to the third zone, and the second processing sequence coefficient is 2.
更进一步的,数据变化率标记采用如下方式确定:采用连续两次(当前数据处理时段和上一数据处理时段)采集的同一项实时数据确定变化率,具体的:Furthermore, the data change rate mark is determined in the following manner: the change rate is determined by using the same real-time data collected twice in a row (the current data processing period and the previous data processing period), specifically:
变化率处于(b,a]时,对应第一变化率,第三处理顺序系数z为4;When the rate of change is in (b, a], corresponding to the first rate of change, the third processing sequence coefficient z is 4;
变化率处于(c,b]时,对应第二变化率,第三处理顺序系数z为3;When the rate of change is in (c, b], corresponding to the second rate of change, the third processing sequence coefficient z is 3;
变化率处于(d,c]时,对应第三变化率,第三处理顺序系数z为2;When the rate of change is in (d, c], corresponding to the third rate of change, the third processing sequence coefficient z is 2;
变化率处于[0,d]时,对应第四变化率,第三处理顺序系数z为1;When the rate of change is in [0,d], corresponding to the fourth rate of change, the coefficient z of the third processing sequence is 1;
其中,a>b>c>d≥0,a、b、c及d能够根据用户的设定在取值区间内取值。第三处理顺序系数越大,表明变化率越快,优先处理程度越高。Wherein, a>b>c>d≥0, a, b, c, and d can take values within a value interval according to user settings. The larger the coefficient of the third processing order, the faster the rate of change and the higher the degree of priority processing.
更进一步地,重要度标记为r,每一项实时数据的每一处理顺序系数可以分别对应一重要度标记,重要度标记为大于零的系数。Furthermore, the importance is marked as r, and each processing sequence coefficient of each item of real-time data may correspond to an importance mark, and the importance is marked as a coefficient greater than zero.
步骤S114具体为:建立数据处理顺序的评估模型,将各个影响系数带入模型,以确定各个实时数据的处理顺序。Step S114 is specifically: establishing an evaluation model of the data processing sequence, and bringing each influence coefficient into the model to determine the processing sequence of each real-time data.
本发明中,建立的数据处理顺序的评估模型为S(i)=r1i.xi+r2i.yi+r3i.zi;In the present invention, the evaluation model of the established data processing sequence is S(i)=r 1i .xi +r 2i .y i +r 3i .z i ;
其中,模型S(i)中,i表示第i项实时数据,xi表示第i项实时数据的第一处理顺序系数、yi表示第i项实时数据的第二处理顺序系数、zi表示第i项实时数据的第三处理顺序系数;r1i表示xi的重要度系数,r2i表示yi的重要度系数,r3i表示zi的重要度系数。本段中各参数的取值范围为大于或等于0。其中,i取值不同时,各个r1i可以相等,各个r2i可以相等,各个r3i可以相等。Among them, in the model S(i), i represents the i-th real-time data, x i represents the first processing sequence coefficient of the i-th real-time data, y i represents the second processing sequence coefficient of the i-th real-time data, z i represents The third processing sequence coefficient of the i-th real-time data; r 1i represents the importance coefficient of x i , r 2i represents the importance coefficient of y i , and r 3i represents the importance coefficient of z i . The value range of each parameter in this section is greater than or equal to 0. Wherein, when the values of i are different, each r 1i can be equal, each r 2i can be equal, and each r 3i can be equal.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第五实施例,本发明的第九实施例中,所述步骤S120,包括:Based on the fifth embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the ninth embodiment of the present invention, the step S120 includes:
步骤S121,获取当前数据处理时段内各个所述实时数据的处理顺序值;Step S121, acquiring the processing sequence value of each of the real-time data within the current data processing period;
步骤S122,获取下一数据处理时段内各个所述实时数据的处理顺序值;Step S122, acquiring the processing sequence value of each of the real-time data in the next data processing period;
步骤S123,对所述当前数据处理时段和所述下一数据处理时段内各个所述实时数据的处理顺序值按照从大至小的顺序进行排序;Step S123, sorting the processing sequence values of each of the real-time data in the current data processing period and the next data processing period in descending order;
步骤S124,按照排序结果,对各个所述实时数据进行数据处理。Step S124, performing data processing on each of the real-time data according to the sorting result.
具体的,在本实施例中,针对各个处理时段,引入不同数据处理时段的时段标记值。当同时存在当前数据处理时段,和下一数据处理时段两处理时段的实时数据未处理时,对当前数据处理时段内各个实时数据的处理顺序值增加时段标记值,以通过时段标记值对当前数据处理时段内各个所述实时数据的处理顺序值进行修正,得到修正处理顺序值。将所述当前数据处理时段中的各个实时数据的修正处理顺序值,和所述下一数据处理时段内各个所述实时数据的处理顺序值按照从大至小的顺序进行排序,按照排序结果,对各个所述实时数据进行数据处理。Specifically, in this embodiment, for each processing period, time period mark values of different data processing periods are introduced. When the real-time data of the current data processing period and the next data processing period are not processed at the same time, the period mark value is added to the processing sequence value of each real-time data in the current data processing period, so as to pass the period mark value to the current data. The processing sequence value of each real-time data within the processing period is corrected to obtain the corrected processing sequence value. Sorting the corrected processing sequence values of each real-time data in the current data processing period and the processing sequence values of each real-time data in the next data processing period in descending order, and according to the sorting results, Data processing is performed on each of the real-time data.
时段标记值的取值范围为大于或等于0,具体取值可以根据用户的输入调整。时段标记值的引入,可以强化不同数据处理时段的数据处理优先顺序,例如,当时段标记值取值低于第一设定值(例如,时段标记值取值为0.001),则表示可以消除不同数据处理时段对数据处理顺序的影响。又如,当时段标记值取值超过第二设定值(例如,时段标记值取值为10),则表示需要强化不同数据处理时段对数据处理顺序的影响,必须优先处理更前一处理时段的实时数据。其中,第一设定值和第二设定值分别大于0,且第一设定值小于第二设定值。The value range of the period mark value is greater than or equal to 0, and the specific value can be adjusted according to the user's input. The introduction of time period mark value can strengthen the priority order of data processing in different data processing periods. The impact of the data processing period on the data processing sequence. As another example, when the value of the period flag exceeds the second set value (for example, the value of the period flag is 10), it means that the influence of different data processing periods on the data processing sequence needs to be strengthened, and the previous processing period must be prioritized real-time data. Wherein, the first set value and the second set value are respectively greater than 0, and the first set value is smaller than the second set value.
时段标记值的引入,可以使用户根据自己的数据分析需要,优先处理用户觉得更为重要的实时数据。The introduction of time-period tag values can enable users to prioritize the real-time data that users think is more important according to their own data analysis needs.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第五实施例,本发明的第十实施例中,所述物联网通讯数据拓扑系统还包括数据处理器,所述数据处理器一端设置接收各个所述数据采集终端数据的数据采集接口,另一端设置与所述云端服务器通讯连接的通讯接口;所述步骤S110,包括:Based on the fifth embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the tenth embodiment of the present invention, the Internet of Things communication data topology system further includes a data processor, and one end of the data processor is set Receive the data collection interface of each data collection terminal data, and set the communication interface connected with the cloud server at the other end; the step S110 includes:
步骤S116,通过所述数据处理器获取当前数据处理时段内通过所述数据采集终端采集到的各个实时数据;Step S116, using the data processor to obtain each real-time data collected by the data collection terminal in the current data processing period;
步骤S117,在所述数据处理器中,根据各个所述实时数据对应的数据采集终端的分层标记和分区标记,确定各个所述实时数据的处理顺序;Step S117, in the data processor, determine the processing order of each of the real-time data according to the hierarchical mark and the partition mark of the data collection terminal corresponding to each of the real-time data;
所述步骤S120,包括:The step S120 includes:
步骤S125,通过所述数据处理器将所述实时数据采用所述处理顺序进行标记,并将处理顺序标记后的各个实时数据,发送至所述云端服务器进行数据处理。Step S125, marking the real-time data with the processing order by the data processor, and sending each real-time data marked with the processing order to the cloud server for data processing.
数据处理器,用于接收各个数据采集终端采集到的实时数据,并通过分层标记和分区标记的方式,完成各个实时数据的处理顺序标记,然后将完成处理顺序标记的各个实时数据,发送至云端服务器进行数据处理。The data processor is used to receive the real-time data collected by each data collection terminal, complete the processing order marking of each real-time data by means of layered marking and partition marking, and then send each real-time data marked with the completed processing order to The cloud server performs data processing.
因此,本实施例在采用本通讯拓扑方法确定数据处理顺序的同时,还能将额外产生的计算量转移至数据处理器完成,避免云端服务器增加额外计算量导致的云端服务器的数据处理速度降低。Therefore, in this embodiment, while using the communication topology method to determine the data processing order, it can also transfer the additional calculation amount to the data processor to complete, so as to avoid the reduction of the data processing speed of the cloud server caused by the additional calculation amount of the cloud server.
同时,若云端服务器产生故障,则该部分实时数据的处理顺序标记也不会因为云端服务器故障而产生数据丢失。At the same time, if the cloud server fails, the processing sequence mark of this part of real-time data will not cause data loss due to the cloud server failure.
进一步地,单独采用数据处理器完成处理顺序标记,有利于快速实现实时数据的处理顺序标记工作。Furthermore, the data processor alone is used to complete the processing sequence marking, which is conducive to quickly realizing the processing sequence marking work of real-time data.
进一步地,基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第十实施例,本发明的第十一实施例中,所述物联网通讯数据拓扑系统还包括数据存储器,数据存储器分别与各个数据采集终端连接,且与数据处理器连接;所述减少数据采集终端的物联网通讯数据拓扑方法,还包括如下步骤:Further, based on the tenth embodiment of the present invention reducing the IoT communication data topology method for data collection terminals, in the eleventh embodiment of the present invention, the IoT communication data topology system further includes a data storage, and the data storage is respectively connected to Each data collection terminal is connected and connected with the data processor; the method for reducing the Internet of Things communication data topology method of the data collection terminal also includes the following steps:
步骤S130:当数据处理器中的数据丢失时,数据处理器从数据存储器中获取存储的各个实时数据,以避免采集数据的丢失。Step S130: When the data in the data processor is lost, the data processor acquires each stored real-time data from the data storage, so as to avoid loss of collected data.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第九实施例,本发明的第十二实施例中,所述减少数据采集终端的物联网通讯数据拓扑方法,还包括如下步骤:Based on the ninth embodiment of the present invention to reduce the Internet of Things communication data topology method for data collection terminals, in the twelfth embodiment of the present invention, the method for reducing the Internet of Things communication data topology for data collection terminals further includes the following steps:
步骤S140,将所述云端服务器中已处理完成的数据进行处理完成标记;Step S140, mark the processed data in the cloud server as completed;
步骤S150,将所述处理完成标记返回至所述数据处理器;Step S150, returning the processing completion flag to the data processor;
步骤S160,在所述数据处理器中,根据所述处理完成标记删除已处理完成的数据。Step S160, in the data processor, delete the processed data according to the processing completion mark.
在本实施例中,将云端服务器中已处理完成的数据,在数据处理器中及时删除,以保证数据处理器具有足够的存储空间,且无需人工手动删除,降低人工维护的工作量。In this embodiment, the processed data in the cloud server is deleted in the data processor in time to ensure that the data processor has sufficient storage space and does not need to be manually deleted, reducing the workload of manual maintenance.
进一步的,可以将处理完成标记返回至所述数据存储器,在所述数据存储器中,根据所述处理完成标记删除已处理完成的数据。Further, the processing completion mark may be returned to the data storage, and in the data storage, the processed data is deleted according to the processing completion mark.
基于本发明减少数据采集终端的物联网通讯数据拓扑方法的第六实施例至第十二实施例,本发明的第十三实施例中,所述减少数据采集终端的物联网通讯数据拓扑方法,还包括如下步骤:Based on the sixth embodiment to the twelfth embodiment of the Internet of Things communication data topology method for reducing data collection terminals in the present invention, in the thirteenth embodiment of the present invention, the method for reducing the Internet of Things communication data topology for data collection terminals, Also include the following steps:
步骤S170,将所述数据处理器和所述云端服务器中的待处理数据进行比对;Step S170, comparing the data to be processed in the data processor with the cloud server;
步骤S180,根据比对结果,从所述数据处理器中,将所述云端服务器中未接收的实时数据再次发送至所述云端服务器。Step S180, according to the comparison result, resend the real-time data not received in the cloud server to the cloud server from the data processor.
在实际使用中,由于通讯信号的强弱或中断等原因,可能会造成数据处理器中的数据未能成功发送至云端服务器。在本实施例中,在计时时间达到比对周期时,将所述数据处理器和所述云端服务器中的待处理数据进行比对,以使未能成功发送至云端服务器的待处理数据再次发送至所述云端服务器。In actual use, due to reasons such as the strength or interruption of the communication signal, the data in the data processor may not be successfully sent to the cloud server. In this embodiment, when the counting time reaches the comparison period, the data processor and the data to be processed in the cloud server are compared, so that the data to be processed that cannot be successfully sent to the cloud server can be sent again to the cloud server.
进一步的,在实际使用中,由于通讯信号的强弱或中断等原因,可能会造成数据处理器中未能成功接收数据存储器发送的实时数据。在本实施例中,在计时时间达到比对周期时,将所述数据处理器和所述数据存储器中的待处理数据进行比对,以使未能成功发送至数据存储器的待处理数据再次发送至所述数据存储器。Furthermore, in actual use, due to reasons such as strength or interruption of communication signals, the data processor may fail to receive the real-time data sent by the data memory. In this embodiment, when the counting time reaches the comparison period, the data to be processed in the data processor and the data memory are compared, so that the data to be processed that cannot be successfully sent to the data memory is sent again to the data store.
为实现上述目的,本发明还提供一种物联网通讯数据拓扑系统,应用如上述任一项所述的减少数据采集终端的物联网通讯数据拓扑方法,所述物联网通讯数据拓扑系统包括云端服务器和分别与所述云端服务器通讯连接的若干个数据采集终端。In order to achieve the above object, the present invention also provides a communication data topology system of the Internet of Things, which uses the communication data topology method of the Internet of Things that reduces data collection terminals as described in any one of the above, and the communication data topology system of the Internet of Things includes a cloud server and a plurality of data collection terminals respectively connected to the cloud server by communication.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是在本发明的构思下,利用本发明说明书及附图内容所作的等效结构变换,或直接/间接运用在其他相关的技术领域均包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Under the conception of the present invention, the equivalent structural transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly/indirectly used in other related All technical fields are included in the patent protection scope of the present invention.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010635240.4A CN111800503B (en) | 2020-07-03 | 2020-07-03 | Internet of things communication data topology method and system for reducing data acquisition terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010635240.4A CN111800503B (en) | 2020-07-03 | 2020-07-03 | Internet of things communication data topology method and system for reducing data acquisition terminals |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111800503A CN111800503A (en) | 2020-10-20 |
CN111800503B true CN111800503B (en) | 2023-04-18 |
Family
ID=72811061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010635240.4A Active CN111800503B (en) | 2020-07-03 | 2020-07-03 | Internet of things communication data topology method and system for reducing data acquisition terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111800503B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105682121A (en) * | 2016-01-29 | 2016-06-15 | 中国联合网络通信集团有限公司 | Data acquisition method for sensor network, gateway and data acquisition system |
WO2017067487A1 (en) * | 2015-10-22 | 2017-04-27 | 华为技术有限公司 | Electronic equipment and data processing method therefor |
CN106873676A (en) * | 2017-02-09 | 2017-06-20 | 浙江百倍云信息科技有限公司 | A kind of wisdom agricultural data acquisition method and system based on Internet of Things |
CN109525408A (en) * | 2017-09-18 | 2019-03-26 | 杭州海康威视系统技术有限公司 | A kind of unit exception processing method, device and cloud storage system |
CN109672579A (en) * | 2017-10-16 | 2019-04-23 | 蔚来汽车有限公司 | Terminal device monitoring data acquisition strategies optimization method and device |
CN111104303A (en) * | 2019-12-13 | 2020-05-05 | 苏州浪潮智能科技有限公司 | Server index data acquisition method, device and medium |
-
2020
- 2020-07-03 CN CN202010635240.4A patent/CN111800503B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017067487A1 (en) * | 2015-10-22 | 2017-04-27 | 华为技术有限公司 | Electronic equipment and data processing method therefor |
CN105682121A (en) * | 2016-01-29 | 2016-06-15 | 中国联合网络通信集团有限公司 | Data acquisition method for sensor network, gateway and data acquisition system |
CN106873676A (en) * | 2017-02-09 | 2017-06-20 | 浙江百倍云信息科技有限公司 | A kind of wisdom agricultural data acquisition method and system based on Internet of Things |
CN109525408A (en) * | 2017-09-18 | 2019-03-26 | 杭州海康威视系统技术有限公司 | A kind of unit exception processing method, device and cloud storage system |
CN109672579A (en) * | 2017-10-16 | 2019-04-23 | 蔚来汽车有限公司 | Terminal device monitoring data acquisition strategies optimization method and device |
CN111104303A (en) * | 2019-12-13 | 2020-05-05 | 苏州浪潮智能科技有限公司 | Server index data acquisition method, device and medium |
Also Published As
Publication number | Publication date |
---|---|
CN111800503A (en) | 2020-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20220058606A (en) | Method and system for task distribution based on resource management platform | |
CN111586195B (en) | A communication topology method and system for the Internet of Things | |
CN109981744B (en) | Data distribution method and device, storage medium and electronic equipment | |
CN105808661A (en) | Data query method and device | |
CN105451260A (en) | Network request method, and method and device for measuring network fluctuation | |
CN109614555A (en) | The method and apparatus for generating ranking list | |
EP3829118A1 (en) | Network path selection method and network node device using the same | |
CN112020098A (en) | Load balancing method and device, computing equipment and computer storage medium | |
CN111800503B (en) | Internet of things communication data topology method and system for reducing data acquisition terminals | |
CN105760284A (en) | Website performance monitoring method and device | |
CN110365799A (en) | A kind of cluster multinode dispatching method, device and computer readable storage medium | |
CN117793807A (en) | Transmission relay system for ecological monitoring | |
CN105099826A (en) | Network service operation status monitoring method and device | |
CN106156210A (en) | A kind of method and apparatus determining application identities list of matches | |
CN110113089A (en) | WiFi device, the control method of WiFi wireless product, device and storage medium | |
CN113344738B (en) | Access management method and system suitable for data intensive monitoring | |
CN106879027A (en) | A kind of load-balancing method and system based on wireless routing device response speed | |
EP4138447A1 (en) | Parameter adjustment method, server, and storage medium | |
CN104468337A (en) | Message transmission method and device, message management center device and data centers | |
CN106686082A (en) | Storage resource adjusting method and management node | |
CN106792531A (en) | The node positioning method and its device of a kind of sensor network | |
CN112433846A (en) | Resource scheduling method and system for edge computing | |
CN108388473A (en) | A kind of computing system of big data | |
CN106888237A (en) | A kind of data dispatching method and system | |
CN113572857B (en) | Resource management system applied to Internet of things edge cloud collaborative computing environment |
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 |