CN111371637A - An abnormal data analysis method based on circular multi-moving fog nodes - Google Patents
An abnormal data analysis method based on circular multi-moving fog nodes Download PDFInfo
- Publication number
- CN111371637A CN111371637A CN202010095749.4A CN202010095749A CN111371637A CN 111371637 A CN111371637 A CN 111371637A CN 202010095749 A CN202010095749 A CN 202010095749A CN 111371637 A CN111371637 A CN 111371637A
- Authority
- CN
- China
- Prior art keywords
- data
- mobile
- cloud server
- nodes
- fog nodes
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- 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
-
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/38—Services specially adapted for particular environments, situations or purposes for collecting sensor information
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Medical Informatics (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Environmental & Geological Engineering (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种基于循环式多移动雾节点的异常数据分析方法,步骤如下:云服务器采用聚类算法将区域分割成多个子区域,并将子区域的质心位置设为移动雾节点的驻留点;随后通过构建稀疏系数矩阵来获得所有子区域数据的特征值并广播;多个移动雾节点访问所有驻留点;移动雾节点在移动时将在上一次驻留点收集的数据上传至云服务器,用于更新特征值,重新广播至所有移动雾节点;移动雾节点在驻留点时,收集子区域的数据并根据云服务器提供的数据特征值对其进行异常分析,将分析结果上传至云服务器,云服务器根据分析结果采取对应措施。本发明适应于大规模物联网,能够及时收集网络数据并进行异常分析,实现对全网数据的实时收集、分析和处理。
The invention discloses a method for analyzing abnormal data based on circular multi-moving fog nodes. The steps are as follows: a cloud server adopts a clustering algorithm to divide an area into a plurality of sub-areas, and sets the centroid position of the sub-areas as the location of the mobile fog node. Then, by constructing a sparse coefficient matrix, the eigenvalues of all sub-region data are obtained and broadcast; multiple mobile fog nodes visit all resident points; when moving, the mobile fog nodes upload the data collected at the last resident point to The cloud server is used to update the characteristic value and rebroadcast it to all mobile fog nodes; when the mobile fog node is at the resident point, it collects the data of the sub-area and analyzes the abnormality according to the data characteristic value provided by the cloud server, and uploads the analysis results. To the cloud server, the cloud server takes corresponding measures according to the analysis results. The invention is suitable for the large-scale Internet of Things, can collect network data in time and perform abnormal analysis, and realize the real-time collection, analysis and processing of the whole network data.
Description
技术领域technical field
本发明涉及一种基于循环式多移动雾节点的异常数据分析方法,属于大数据与机器学习技术领域。The invention relates to an abnormal data analysis method based on cyclic multi-moving fog nodes, belonging to the technical field of big data and machine learning.
背景技术Background technique
传统边缘计算模式中,雾节点部署在传感器节点周围,就近提供计算、存储等服务。雾节点作为中间件连接传感器和云服务器,可以消除集中式基础设施的数据处理负担,也可以产生更快的网络服务响应,能够满足工业在实时性、可靠性、安全性等方面的基本需求。但是,边缘计算技术的应用在物联网环境所遇到的关键问题之一是其部署及维护成本。尤其在工业物联网环境中,高噪声、低延迟要求的通信环境需要更高的雾节点部署及维护成本。In the traditional edge computing model, fog nodes are deployed around sensor nodes to provide computing, storage and other services nearby. As middleware to connect sensors and cloud servers, fog nodes can eliminate the data processing burden of centralized infrastructure, and can also generate faster network service responses, which can meet the basic needs of the industry in terms of real-time, reliability, and security. However, one of the key problems encountered by the application of edge computing technology in the IoT environment is its deployment and maintenance costs. Especially in the industrial IoT environment, the high-noise and low-latency communication environment requires higher fog node deployment and maintenance costs.
发明内容SUMMARY OF THE INVENTION
针对现有技术的不足,本发明提供一种基于循环式多移动雾节点的异常数据分析方法,提高工业物联网数据收集、数据分析的可靠性和实时性,并同时降低边缘节点的部署及维护成本。Aiming at the deficiencies of the prior art, the present invention provides an abnormal data analysis method based on cyclic multi-mobile fog nodes, which improves the reliability and real-time performance of data collection and data analysis in the Industrial Internet of Things, and reduces the deployment and maintenance of edge nodes at the same time. cost.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical scheme of the present invention is achieved in this way:
一种基于循环式多移动雾节点的异常数据分析方法,包括如下步骤:A method for analyzing abnormal data based on circular multi-moving fog nodes, comprising the following steps:
步骤1:云服务器根据负责区域的大小、密度以及各物联网节点的所处位置,采用常规的聚类算法,将区域分割成多个子区域,并将子区域的质心位置设为移动雾节点的驻留点;Step 1: According to the size and density of the responsible area and the location of each IoT node, the cloud server uses a conventional clustering algorithm to divide the area into multiple sub-areas, and set the centroid of the sub-area as the location of the mobile fog node. stay point;
步骤2:云服务器通过构建稀疏系数矩阵来获得所有子区域数据的特征值,并广播至所有移动雾节点;Step 2: The cloud server obtains the eigenvalues of all sub-region data by constructing a sparse coefficient matrix, and broadcasts it to all mobile fog nodes;
步骤3:多个移动雾节点采用常规的遍历算法循环访问所有驻留点;Step 3: Multiple mobile fog nodes use a conventional traversal algorithm to iteratively visit all resident points;
步骤4:移动雾节点在移动时,将在上一次驻留点收集的数据上传至云服务器,云服务器根据原有数据和新收集的数据更新数据特征值,重新广播至所有移动雾节点,在此移动期间各移动雾节点之间互相交换异常分析所需要的信息;Step 4: When the mobile fog node is moving, upload the data collected at the last resident point to the cloud server. The cloud server updates the data feature value according to the original data and the newly collected data, and rebroadcasts it to all mobile fog nodes. During this movement, the information required for anomaly analysis is exchanged between the mobile fog nodes;
步骤5:移动雾节点在驻留点时,收集子区域物联网节点的数据并根据云服务器提供的数据特征值对其进行异常分析,将分析结果上传至云服务器,云服务器根据分析结果采取对应措施;Step 5: When the mobile fog node is at the resident point, collect the data of the IoT nodes in the sub-region and analyze the abnormality according to the data characteristic values provided by the cloud server, upload the analysis results to the cloud server, and the cloud server will take corresponding measures according to the analysis results. measure;
步骤6:多个移动雾节点在多个驻留点循环移动时,持续进行收集数据、异常分析、上传分析结果和上传数据任务。Step 6: When multiple mobile fog nodes move cyclically at multiple residence points, they continue to collect data, analyze abnormality, upload analysis results, and upload data.
优选地,所述移动雾节点能与它所负责区域的所有传感器节点进行通信,同时能与处在它前后位置的移动雾节点进行通信,且所有的移动雾节点都能直接与云服务器进行通信。Preferably, the mobile fog node can communicate with all sensor nodes in the area it is responsible for, and can communicate with the mobile fog nodes in the front and rear of it, and all the mobile fog nodes can directly communicate with the cloud server .
优选地,所述移动雾节点的通信、计算和存储能力承担它所需负责区域的数据收集和异常分析工作。Preferably, the communication, computing and storage capabilities of the mobile fog node are responsible for data collection and anomaly analysis in the area it needs to be responsible for.
优选地,所述步骤1中,采用的常规聚类算法包括但不限于基于位置的聚类算法、基于层次的聚类算法、基于密度的聚类算法和基于模型的聚类算法。Preferably, in the step 1, the conventional clustering algorithms used include but are not limited to location-based clustering algorithms, hierarchical-based clustering algorithms, density-based clustering algorithms and model-based clustering algorithms.
优选地,所述步骤2中,云服务器通过对收集到的数据进行稀疏变换得到数据的分类特征和私有特征。Preferably, in the step 2, the cloud server obtains the classification features and private features of the data by performing sparse transformation on the collected data.
优选地,所述步骤3中,采用的常规遍历算法包括但不限于割草机算法、A*算法、深度优先搜索算法和广度优先搜索算法。Preferably, in the step 3, the conventional traversal algorithms used include, but are not limited to, the lawnmower algorithm, the A* algorithm, the depth-first search algorithm and the breadth-first search algorithm.
优选地,所述步骤6中,多个移动雾节点的移动和停留相互协调依次进行,即数据的收集、分析、上传相互协调依次进行,其中移动雾节点进行的数据收集、分析和上传为负责子区域内的小规模数据,云服务器进行的数据特征提取为全区域的大规模数据。Preferably, in the step 6, the movement and stay of a plurality of mobile fog nodes are coordinated and performed sequentially, that is, data collection, analysis, and upload are coordinated and performed sequentially, and the data collection, analysis, and upload performed by the mobile fog nodes are responsible for For small-scale data in a sub-region, the data features extracted by the cloud server are large-scale data in the entire region.
有益效果:本发明针对大规模工业物联网环境,对基于移动雾节点的高可靠、低成本边缘计算方法进行研究,提出一种基于循环式多移动雾节点的异常数据分析方法,能够及时准确收集和处理环境中的数据信息,实现工业物联网异常的实时监控和应对,并降低雾节点设备部署和维护成本。Beneficial effects: Aiming at the large-scale industrial Internet of Things environment, the present invention studies a highly reliable and low-cost edge computing method based on mobile fog nodes, and proposes an abnormal data analysis method based on circular multi-mobile fog nodes, which can timely and accurately collect It can realize real-time monitoring and response to industrial IoT anomalies, and reduce the deployment and maintenance costs of fog node equipment.
附图说明Description of drawings
图1为本发明的实施例1方法流程图;1 is a flow chart of a method according to Embodiment 1 of the present invention;
图2为本发明的结构示意图。FIG. 2 is a schematic structural diagram of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below. Obviously, the described embodiments are only a part of the embodiments of the present application, and Not all examples. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
一种基于循环式多移动雾节点的异常数据分析方法,包括如下步骤:A method for analyzing abnormal data based on circular multi-moving fog nodes, comprising the following steps:
步骤1:云服务器根据负责区域的大小、密度以及各物联网节点的所处位置,采用常规的聚类算法,将区域分割成多个子区域,并将子区域的质心位置设为移动雾节点的驻留点;Step 1: According to the size and density of the responsible area and the location of each IoT node, the cloud server uses a conventional clustering algorithm to divide the area into multiple sub-areas, and set the centroid of the sub-area as the location of the mobile fog node. stay point;
步骤2:云服务器通过构建稀疏系数矩阵来获得所有子区域数据的特征值,并广播至所有移动雾节点;Step 2: The cloud server obtains the eigenvalues of all sub-region data by constructing a sparse coefficient matrix, and broadcasts it to all mobile fog nodes;
步骤3:多个移动雾节点采用常规的遍历算法循环访问所有驻留点;Step 3: Multiple mobile fog nodes use a conventional traversal algorithm to iteratively visit all resident points;
步骤4:移动雾节点在移动时,将在上一次驻留点收集的数据上传至云服务器,云服务器根据原有数据和新收集的数据更新数据特征值,重新广播至所有移动雾节点,在此移动期间各移动雾节点之间可以互相交换异常分析所需要的信息;Step 4: When the mobile fog node is moving, upload the data collected at the last resident point to the cloud server. The cloud server updates the data feature value according to the original data and the newly collected data, and rebroadcasts it to all mobile fog nodes. During this movement, the information required for anomaly analysis can be exchanged between the mobile fog nodes;
步骤5:移动雾节点在驻留点时,收集子区域物联网节点的数据并根据云服务器提供的数据特征值对其进行异常分析,将分析结果上传至云服务器,云服务器根据分析结果采取对应措施;Step 5: When the mobile fog node is at the resident point, collect the data of the IoT nodes in the sub-region and analyze the abnormality according to the data characteristic values provided by the cloud server, upload the analysis results to the cloud server, and the cloud server will take corresponding measures according to the analysis results. measure;
步骤6:多个移动雾节点在多个驻留点循环移动时,持续进行收集数据、异常分析、上传分析结果和上传数据任务。Step 6: When multiple mobile fog nodes move cyclically at multiple residence points, they continue to collect data, analyze abnormality, upload analysis results, and upload data.
优选地,移动雾节点可以与它所负责区域的所有传感器节点进行通信,可以与处在它前后位置的移动雾节点进行通信,且所有的移动雾节点都可以直接与云服务器进行通信。Preferably, the mobile fog node can communicate with all sensor nodes in the area it is responsible for, and can communicate with the mobile fog nodes in its front and rear positions, and all the mobile fog nodes can communicate directly with the cloud server.
优选地,所述移动雾节点的通信、计算和存储能力可以承担它所需负责区域的数据收集和异常分析工作,云服务器的通信、计算和存储能力满足一切通信、计算和存储要求。Preferably, the communication, computing and storage capabilities of the mobile fog node can undertake data collection and anomaly analysis in the area it needs to be responsible for, and the communication, computing and storage capabilities of the cloud server meet all communication, computing and storage requirements.
优选地,采用的常规聚类算法包括但不限于基于位置的聚类算法(如K-MEANS)、基于层次的聚类算法(如BRICH)、基于密度的聚类算法(如DBSCAN)和基于模型的聚类算法(如GMM)。Preferably, the conventional clustering algorithms employed include, but are not limited to, location-based clustering algorithms (such as K-MEANS), hierarchical-based clustering algorithms (such as BRICH), density-based clustering algorithms (such as DBSCAN), and model-based clustering algorithms clustering algorithms such as GMM.
优选地,所述步骤2中,云服务器通过对收集到的数据进行稀疏变换得到数据的分类特征和私有特征,其数据类型可以是大规模的高维数据。Preferably, in the step 2, the cloud server obtains the classification features and private features of the data by performing sparse transformation on the collected data, and the data type may be large-scale high-dimensional data.
优选地,所述步骤3中,采用的常规遍历算法包括但不限于割草机算法、A*算法、深度优先搜索算法和广度优先搜索算法。Preferably, in the step 3, the conventional traversal algorithms used include, but are not limited to, the lawnmower algorithm, the A* algorithm, the depth-first search algorithm and the breadth-first search algorithm.
优选地,所述步骤6中,多个移动雾节点的移动和停留不是同步的,即数据的收集、分析、上传不是同时进行,是相互协调依次进行的,可以有效提高通信资源的利用率,其中移动雾节点进行的数据收集、分析和上传为负责子区域内的数据,云服务器进行的数据特征提取为全区域的数据。Preferably, in the step 6, the movement and stay of the multiple mobile fog nodes are not synchronized, that is, the data collection, analysis, and upload are not carried out at the same time, but are carried out in sequence in coordination with each other, which can effectively improve the utilization rate of communication resources. Among them, the data collection, analysis and upload of the mobile fog node is responsible for the data in the sub-area, and the data feature extraction by the cloud server is the data of the whole area.
实施例1:Example 1:
结合大规模工业物联网中的数据分析为例,巡回运动的移动边缘服务器可以是工厂中AGV小车,工厂中的各类设备可以是一个数据收集点,AGV小车在工厂里巡回运动的过程中借助云服务器进行数据收集、异常分析和异常处理。Taking the data analysis in the large-scale industrial Internet of Things as an example, the mobile edge server of the touring movement can be an AGV car in the factory, and various equipment in the factory can be a data collection point. Cloud servers perform data collection, exception analysis, and exception handling.
本实施例中的一种基于循环式多移动雾节点的异常数据分析方法流程图如图1所示,该方法包括下述步骤:A flowchart of a method for analyzing abnormal data based on cyclic multi-mobile fog nodes in this embodiment is shown in FIG. 1 , and the method includes the following steps:
S1区域分割,设置各子区域驻留点;S1 area division, set the resident point of each sub-area;
S2获取子区域特征值,并广播;S2 obtains the characteristic value of the sub-region and broadcasts it;
S3雾节点访问所有驻留点;S3 fog nodes access all residencies;
S4移动时上传数据并更新特征值;Upload data and update eigenvalues when S4 moves;
S5停留时进行异常分析;Abnormal analysis is performed when S5 stays;
S6重复进行S3-S5步骤。S6 repeats steps S3-S5.
在步骤S1中,云服务器可以获知区域内所有传感器节点(物联网节点)的位置和所收集的数据类型,依据位置及数据类型间的相关度采用常规聚类算法对所有传感器节点进行分类。常规聚类算法包括但不限于基于位置的聚类(如K-MEANS)、基于层次的聚类(如BRICH)、基于密度的聚类(如DBSCAN)和基于模型的聚类(如GMM)算法。云服务器根据分类结果将区域Z分割成多个子区域{Z1,Z2,Z3...Zn|n∈N+},并将子区域的质心位置设为移动雾节点的驻留点{S1,S2,S3...Sn|n∈N+}。In step S1, the cloud server can learn the locations of all sensor nodes (IoT nodes) in the area and the data types collected, and use conventional clustering algorithms to classify all sensor nodes according to the correlation between the locations and data types. Conventional clustering algorithms include, but are not limited to, location-based clustering (such as K-MEANS), hierarchical-based clustering (such as BRICH), density-based clustering (such as DBSCAN), and model-based clustering (such as GMM) algorithms . The cloud server divides the area Z into multiple sub-areas {Z 1 , Z 2 , Z 3 ... Z n |n∈N + } according to the classification result, and sets the centroid position of the sub-area as the resident point of the mobile fog node {S 1 , S 2 , S 3 . . . S n |n ∈ N + }.
在步骤S2中,云服务器通过移动雾节点获得所有子区域的传感器节点的数据。云服务器通过构建稀疏系数矩阵来获得所有子区域数据的特征值,并广播至所有移动雾节点。例如,在同一个子区域Z1中,有传感器节点的数据χ=[x1,x2,x3……xM],。根据稀疏矩阵分解法,传感器节点的数据可以表示为In step S2, the cloud server obtains data of sensor nodes in all sub-areas by moving the fog nodes. The cloud server obtains the eigenvalues of all sub-region data by constructing a sparse coefficient matrix, and broadcasts it to all moving fog nodes. For example, in the same sub-region Z 1 , there are sensor nodes data χ=[x 1 , x 2 , x 3 ...... x M ], . According to the sparse matrix factorization method, the data of sensor nodes can be expressed as
x=Ψα (1);x=Ψα(1);
其中,Ψ是稀疏基,α是稀疏系数。where Ψ is the sparse basis and α is the sparse coefficient.
对于给定的稀疏基,稀疏系数是唯一的,且同一数据类的稀疏系数是相关的,可以用同一数据类的稀疏系数集线性表示。因此可以将稀疏系数作为分类的主要参数,利用稀疏变换得到的稀疏系数对传感器节点的数据进行分类。For a given sparse base, the sparse coefficients are unique, and the sparse coefficients of the same data class are related, and can be represented linearly by the sparse coefficient set of the same data class. Therefore, the sparse coefficient can be used as the main parameter of classification, and the sparse coefficient obtained by the sparse transformation can be used to classify the data of the sensor node.
在同一个子区域Z1中,传感器节点的数据具有相似的特征,属于同一类。假设有n个传感器节点的数据和c个数据类,可以表示传感器数据xi(i=1,2,…,n),且则In the same sub-region Z1, the data of sensor nodes have similar characteristics and belong to the same class. Assuming that there are n sensor node data and c data classes, sensor data x i (i=1,2,...,n) can be represented, and but
其中M为空间域的维数,yi为数据xi对应的类标签,那么任何数据类都可以用矩阵表示,如式(3)所示:Where M is the dimension of the spatial domain, y i is the class label corresponding to the data x i , then any data class can be represented by a matrix, as shown in formula (3):
其中xj,q表示第j个数据类,nj为传感器数据量, Where x j, q represents the jth data class, n j is the amount of sensor data,
根据联合稀疏模型中的数据表示方法,将公共稀疏和唯一稀疏相结合,对数据j,q进行表示,如式(4)所示:According to the data representation method in the joint sparse model, the public sparse and unique sparse are combined to represent the data j, q , as shown in formula (4):
xj,q=zcm,j+zj,q=Ψαcm,j+Ψαs,j(q=1,2,…,nj,j=1,2,…,c)(4);x j,q =z cm,j +z j,q =Ψα cm,j +Ψα s,j (q=1,2,...,n j ,j=1,2,...,c)(4);
其中,zcm,j、zj,q分别表示xj,q的公共部分和唯一部分,且zcm,j=Ψαcm,j,zj,q=Ψαs,j,Ψ稀疏基,αcm,j、αs,j是稀疏系数的公共部分和唯一部分,所有的数据类都包含公共部分,且其唯一部分互不相同。where z cm,j and z j,q represent the common and unique parts of x j ,q respectively, and z cm,j =Ψα cm,j , z j,q =Ψα s,j , Ψ sparse basis, α cm,j and α s,j are the common and unique parts of sparse coefficients, and all data classes contain common parts, and their unique parts are different from each other.
云服务器利用稀疏系数的公共部分来获得数据的分类特征,通过稀疏系数的唯一部分来获得数据的私有特征。显然,它们的组合可以唯一地表示和标识任何数据,且适用于大规模高维数据。云服务器在获得所有分类特征和私有特征后,广播给所有移动雾节点。The cloud server uses the public part of the sparse coefficient to obtain the classification feature of the data, and obtains the private feature of the data through the unique part of the sparse coefficient. Obviously, their combination can uniquely represent and identify any data, and is suitable for large-scale high-dimensional data. After obtaining all classified features and private features, the cloud server broadcasts it to all mobile fog nodes.
在步骤S3中,移动雾节点可以根据环境规模,环境类别,驻留点分布方式选择最优的遍历算法访问所有驻留点。例如环境规模较小,驻留点规则均匀分布,可以采用割草机算法进行遍历。In step S3, the mobile fog node can select the optimal traversal algorithm to visit all the resident points according to the scale of the environment, the type of the environment, and the distribution of the resident points. For example, the scale of the environment is small, and the resident points are regularly and evenly distributed, which can be traversed by the lawn mower algorithm.
在步骤S4中,移动雾节点有移动和停留两种状态。移动雾节点在移动时主要进行数据传输,任务一是负责将原始数据和异常分析结果上传至云服务器,云服务器使用原始数据而不是处理过的数据进行特征分析有利于提高检测精度,云服务器对异常分析结果进行判断采取何种措施;任务二是接收云服务器的指令,接收云服务器重新给出的特征值进行特征值的更新和接收需采取何种措施的操作指令。In step S4, the mobile fog node has two states of moving and staying. The mobile fog node mainly performs data transmission when moving. The first task is to upload the original data and abnormal analysis results to the cloud server. The cloud server uses the original data instead of the processed data for feature analysis, which is conducive to improving the detection accuracy. The abnormal analysis result is used to determine what measures to take; the second task is to receive the instructions of the cloud server, receive the characteristic values re-given by the cloud server to update the characteristic values, and receive the operation instructions of what measures to take.
在步骤S5中,移动雾节点在驻留点停留时主要根据云服务器给出的分类特征和私有特征进行异常分析。在初始阶段采用无监督学习,使用步骤S1中常规的聚类算法获得数据的初步分类,即正常和异常,在此阶段使真阳率(正常的数据被检测为正常的概率)最大;之后再对初始阶段获得的异常值进行细化分类(正常值、噪声异常、环境异常、设备异常、攻击异常等)。In step S5, when the mobile fog node stays at the resident point, anomaly analysis is mainly performed according to the classification features and private features given by the cloud server. In the initial stage, unsupervised learning is used, and the conventional clustering algorithm in step S1 is used to obtain the preliminary classification of the data, that is, normal and abnormal, and at this stage, the true positive rate (the probability that normal data is detected as normal) is maximized; The outliers obtained in the initial stage are refined and classified (normal values, noise anomalies, environmental anomalies, equipment anomalies, attack anomalies, etc.).
在步骤S6中多个移动雾节点的移动和停留不是同步的,即数据的收集、分析、上传不是同时进行,如图2所示。根据移动和停留所需要的时间相互协调依次进行的,可以有效提高通信资源的利用率,其中移动雾节点进行的数据收集、分析和上传为负责子区域内的小规模数据,云服务器进行的数据特征提取为全区域的大规模数据。In step S6, the movement and stay of the multiple mobile fog nodes are not synchronized, that is, the data collection, analysis, and upload are not performed simultaneously, as shown in FIG. 2 . According to the time required for moving and staying, it can effectively improve the utilization rate of communication resources. The data collection, analysis and upload of the mobile fog node is responsible for the small-scale data in the sub-area, and the data characteristics of the cloud server. Extracted as large-scale data for the whole region.
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的两种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Both modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010095749.4A CN111371637B (en) | 2020-02-17 | 2020-02-17 | An abnormal data analysis method based on circular multi-moving fog nodes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010095749.4A CN111371637B (en) | 2020-02-17 | 2020-02-17 | An abnormal data analysis method based on circular multi-moving fog nodes |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111371637A true CN111371637A (en) | 2020-07-03 |
| CN111371637B CN111371637B (en) | 2023-08-08 |
Family
ID=71211448
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010095749.4A Active CN111371637B (en) | 2020-02-17 | 2020-02-17 | An abnormal data analysis method based on circular multi-moving fog nodes |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111371637B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115550315A (en) * | 2022-08-10 | 2022-12-30 | 北京中关村软件园发展有限责任公司 | Digital cloud service management method and system based on next generation internet |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9846887B1 (en) * | 2012-08-30 | 2017-12-19 | Carnegie Mellon University | Discovering neighborhood clusters and uses therefor |
| CN110636471A (en) * | 2019-09-23 | 2019-12-31 | 上海大学 | A monitoring system based on WSN technology |
-
2020
- 2020-02-17 CN CN202010095749.4A patent/CN111371637B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9846887B1 (en) * | 2012-08-30 | 2017-12-19 | Carnegie Mellon University | Discovering neighborhood clusters and uses therefor |
| CN110636471A (en) * | 2019-09-23 | 2019-12-31 | 上海大学 | A monitoring system based on WSN technology |
Non-Patent Citations (2)
| Title |
|---|
| CHANH NGUYEN LE TAN等: "Location-aware Load Prediction in Edge Data Centers", 《2017 SECOND INTERNATIONAL CONFERENCE ON FOG AND MOBILE EDGE COMPUTING (FMEC)》 * |
| CHANH NGUYEN LE TAN等: "Location-aware Load Prediction in Edge Data Centers", 《2017 SECOND INTERNATIONAL CONFERENCE ON FOG AND MOBILE EDGE COMPUTING (FMEC)》, 31 December 2017 (2017-12-31), pages 25 - 29 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115550315A (en) * | 2022-08-10 | 2022-12-30 | 北京中关村软件园发展有限责任公司 | Digital cloud service management method and system based on next generation internet |
| CN115550315B (en) * | 2022-08-10 | 2023-08-29 | 北京中关村软件园发展有限责任公司 | Digital cloud service management method and system based on next generation internet |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111371637B (en) | 2023-08-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113537321B (en) | Network flow anomaly detection method based on isolated forest and X mean value | |
| Xia et al. | Research on parallel adaptive canopy-k-means clustering algorithm for big data mining based on cloud platform | |
| WO2021189730A1 (en) | Method, apparatus and device for detecting abnormal dense subgraph, and storage medium | |
| CN112966714B (en) | Edge time sequence data anomaly detection and network programmable control method | |
| Ghorbel et al. | Fast and efficient outlier detection method in wireless sensor networks | |
| US20200158810A1 (en) | Partial phase vectors as network sensors | |
| EP4027584A1 (en) | Device information determination method and apparatus, and system | |
| Wang et al. | Anomaly detection in wireless sensor networks based on KNN | |
| CN104468193A (en) | Method for monitoring service system based on module finding | |
| CN106792883A (en) | Sensor network abnormal deviation data examination method and system | |
| CN118013256A (en) | Resource prediction method based on space-time data fusion | |
| Xiao et al. | A traffic classification method with spectral clustering in SDN | |
| CN116152315A (en) | Method and system for detecting abnormal heating of power equipment based on infrared image processing | |
| Zhou et al. | A survey of change point detection in dynamic graphs | |
| Gupta et al. | Outlier detection in wireless sensor networks based on neighbourhood | |
| CN109040155B (en) | Asset identification method and computer equipment | |
| CN111371637B (en) | An abnormal data analysis method based on circular multi-moving fog nodes | |
| Ghahramani et al. | Spatiotemporal analysis of mobile phone network based on self-organizing feature map | |
| El Boudani et al. | Positioning as service for 5g iot networks | |
| CN114155550A (en) | A kind of human image clustering method and device | |
| Kaur et al. | An ensemble voting classifier approach for network traffic classification in wireless sensor networks | |
| CN109255433B (en) | A Similarity-Based Approach to Community Detection | |
| Bhaduri et al. | Distributed data mining in sensor networks | |
| CN116709400B (en) | Urban geographic information public service system based on cloud technology | |
| CN118378118A (en) | A method for intelligent identification and classification of Internet of Things terminal equipment |
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 |