Method and device for supervising side-end equipment, electronic equipment and storage medium
By conducting unified supervision and risk assessment on edge devices and generating risk level data, it solves the problems of high complexity and poor scalability of edge device monitoring in the existing technology, and realizes efficient supervision and persistent data storage of edge devices. Improved the intelligent capabilities of industrial digital processing.
Patent Information
- Application Number
- CN202311386392.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2024-10-22
AI Technical Summary
Existing distributed monitoring systems have architectural redundancy, large data flows, and high computational complexity in edge equipment monitoring, resulting in unstable loads and difficulty in adapting to the monitoring needs of large-scale equipment, especially in industrial scenarios.
Through unified supervision of multiple edge devices, monitoring averages and risk assessment data are generated, classified and processed to generate risk level data, risk levels are determined using distance calculation and sample statistics, and persistent storage management is performed to simplify monitoring components. Deployment and data reporting.
It achieves unified supervision of edge devices and persistent data storage, reduces operation and maintenance costs, improves system stability and scalability, enhances monitoring and safe deployment of prone fault points, and improves industrial digital processing. Intelligent effectiveness.
Smart Images

Figure CN118822239A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of monitoring technology, and in particular to a method, device, electronic device and storage medium for monitoring edge devices. Background Art
[0002] With the continuous advancement of industrial digitalization, the number of monitoring points of artificial intelligence systems in the security field has increased. The scale of monitoring points has increased from thousands of roads to tens of thousands of roads, and even to hundreds of thousands of roads now. The videos generated by each monitoring point generate massive amounts of data. At the same time, with the development of related technologies such as high-definition video, intelligent analysis, cloud computing and big data, security work is developing from traditional passive defense to active judgment and early warning. The application of artificial intelligence systems has also developed from a single security field to multi-industry applications, improving production efficiency, and improving the degree of intelligence in the industrial industry, providing visualization and intelligent solutions for more industries and people.
[0003] In response to the urgent issue of edge equipment monitoring in industrial digital construction, the industrial industry has built security monitoring system applications and monitoring system facilities in edge monitoring areas, which has put forward high requirements for the operation and maintenance management of edge equipment monitoring system applications, and has brought great difficulties to the updating, deployment and data acquisition of monitoring system applications.
[0004] The existing distributed monitoring solutions mainly include: (1) a multi-level architecture monitoring solution for databases, which adopts a multi-level / multi-layer architecture monitoring method to achieve remote monitoring; (2) a monitoring solution based on real-time prediction algorithms, which predicts the operating risks of remote devices / databases in real time based on historical data and prediction algorithms.
[0005] In the existing technical solutions, on the one hand, when building a distributed system, the architecture has many levels, which is not an optimized management method, there is structural redundancy, and there is a lot of data flow; on the other hand, the monitoring algorithm is relatively complex and has a high computational complexity, which makes it difficult to stably control the load during the operation of the monitoring program. In particular, as the number of monitoring nodes increases, the disadvantage of its computational complexity will increase sharply, which is not conducive to system expansion and is not suitable for the background requirements of industrial scenarios where the equipment may be very large (such as power equipment). Summary of the invention
[0006] The present disclosure is proposed in view of the above problems. The present disclosure provides a supervision method, device, electronic device and storage medium for edge devices.
[0007] According to one aspect of the present disclosure, a method for supervising edge devices is provided, including: generating a monitoring mean corresponding to each edge device based on serialized monitoring data of each edge device in a unit time among multiple edge devices; generating risk assessment data for each edge device based on the monitoring mean and the regional hazard coefficient of the area where each edge device is located; and classifying the risk assessment data to generate risk level data for each edge device.
[0008] In addition, according to an aspect of the present disclosure, a method for supervising edge devices, in which risk assessment data are classified and processed to generate risk level data for each edge device, includes: performing distance calculation on each of the risk assessment data based on sample data to generate a distance data set corresponding to each edge device, wherein each distance data set includes multiple distance data, and the sample data includes sample risk level data; based on a preset sample distance, selecting sample data corresponding to distance data less than the preset sample distance in each distance data set as a reference sample set corresponding to each edge device; counting the number of sample data in the reference sample set according to the sample risk level data to obtain statistical results for each reference sample set; and taking the sample risk level data with the largest number in each statistical result as the risk level data for each edge device.
[0009] In addition, according to one aspect of the present disclosure, the method for supervising edge devices also includes: before obtaining serialized monitoring data, configuring multiple edge devices for unified supervision so as to obtain monitoring data of multiple edge devices; and performing persistent storage management on monitoring data and risk level data.
[0010] In addition, according to an aspect of the present disclosure, a method for supervising edge devices, wherein configuring multiple edge devices for unified supervision includes: a main device configures and deploys multiple edge devices; wherein the deployment includes: deploying status data monitoring components on multiple edge devices, and obtaining monitoring data based on the status data; and deploying reporting components on multiple edge devices for reporting monitoring data.
[0011] According to another aspect of the present disclosure, a monitoring device for edge devices is provided, including: a data management module, including: a calculation unit, used to generate a monitoring mean corresponding to each edge device based on the serialized monitoring data of each edge device in a unit time among multiple edge devices; an evaluation unit, used to generate risk assessment data for each edge device based on the monitoring mean and the regional hazard coefficient of the area where each edge device is located; a classification unit, used to classify the risk assessment data and generate risk level data for each edge device.
[0012] In addition, according to an aspect of the present disclosure, a monitoring device for edge devices, wherein the classification unit includes: a calculation subunit, which is used to perform distance calculation on each of the risk assessment data based on the sample data, and generate a distance data set corresponding to each edge device, wherein each distance data set includes multiple distance data, and the sample data includes sample risk level data; a screening subunit, which is used to select, based on a preset sample distance, sample data corresponding to distance data less than a preset sample distance in each distance data set as a reference sample set corresponding to each edge device; a classification subunit, which is used to count the number of sample data in the reference sample set according to the sample risk level data, and obtain the statistical results of each reference sample set; a grading subunit, which is used to use the sample risk level data with the largest number in each statistical result as the risk level data of each edge device.
[0013] In addition, the edge device supervision method according to one aspect of the present disclosure also includes: an edge management module, which is used to configure multiple edge devices for unified supervision before obtaining serialized monitoring data, so as to obtain monitoring data of multiple edge devices; a data management module, which also includes: a storage unit, which is used to perform persistent storage and management of monitoring data and risk level data.
[0014] In addition, according to an aspect of the present disclosure, a method for supervising edge devices, wherein the edge management module includes: a configuration unit, used by the main device to configure multiple edge devices; a monitoring component deployment unit, used to deploy status data monitoring components on multiple edge devices, and obtain monitoring data based on the status data; a reporting component deployment unit, used to deploy reporting components on multiple edge devices, for reporting monitoring data.
[0015] According to another aspect of the present disclosure, an electronic device is provided, including: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the electronic device executes the edge device supervision method as described above.
[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium is provided for storing computer-readable instructions. When the computer-readable instructions are executed by a processor, the processor executes the edge device supervision method as described above.
[0017] As will be described in detail below, according to the edge device supervision method of the embodiment of the present invention, compared with the existing technology, the present invention realizes unified supervision of edge devices, and solves the problem that edge devices are difficult to manage and maintain in the existing industrial industry; at the same time, it proposes a persistent storage solution for edge device monitoring data, and by analyzing whether each edge device is in a prone state, strengthens human-machine monitoring and security deployment of fault points in a prone state, thereby improving the intelligent effectiveness of industrial digital data processing capabilities.
[0018] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0020] Figure 1 is a diagram illustrating an application scenario of the edge device supervision method according to an embodiment of the present disclosure;
[0021] Figure 2 is a flowchart illustrating a configuration method in a configuration phase in an edge device supervision method according to an embodiment of the present disclosure;
[0022] Figure 3 is a flowchart further illustrating a configuration method of an edge management module according to an embodiment of the present disclosure;
[0023] Figure 4 is a flow chart further illustrating a method for generating risk level data according to an embodiment of the present disclosure;
[0024] Figure 5 is a flow chart further illustrating a risk level classification method according to an embodiment of the present disclosure;
[0025] Figure 6 is a diagram illustrating an edge device monitoring apparatus according to an embodiment of the present disclosure;
[0026] Figure 7 is a diagram further illustrating a classification unit device according to an embodiment of the present disclosure;
[0027] Figure 8 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure; and
[0028] Fig. 9is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0030] First, refer to Figure 1 The application scenarios according to the embodiments of the present disclosure are summarized.
[0031] Figure 1 2 is a diagram illustrating an application scenario of the edge device supervision method according to an embodiment of the present disclosure. Figure 1 As shown, the application scenario includes at least: a main device 101 , at least one edge device (eg 102 - 104 ), and an industrial environment 105 .
[0032] The present disclosure aims to solve the current problems in the industrial industry that it is difficult to control edge devices and difficult to maintain edge monitoring applications. Among them, the industrial environment can be as shown in 105; the edge devices can be as shown in 102-104, and the edge devices refer to smart devices deployed near the data source, such as sensors, cameras, industrial control equipment, etc. Edge devices usually have a small size and power consumption, but can collect environmental data, control equipment, and communicate with edge computing and the cloud. It is easy to understand that the functions of edge devices are wide-ranging, and the specific number and specific type of edge devices (such as 102-104) are not limited in the embodiments of the present disclosure.
[0033] The main device 101 can be an independent physical server, or a server cluster or distributed system composed of at least two physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. It is also easy to understand that the specific number and specific type of the main device 101 are not limited in the embodiments of the present disclosure. Figure 2-Figure 5 Further describe the edge device supervision method.
[0034] The edge device supervision method of the embodiment of the present disclosure can be divided into two stages: a configuration stage and an application stage. The configuration stage includes configuring an edge management module and a data management module. The configuration stage will be described below.
[0035] Figure 2FIG. 1 is a flow chart illustrating a configuration method in the configuration phase of the edge device supervision method according to an embodiment of the present disclosure. Figure 2 As shown, the configuration method in the configuration phase may at least include the following steps.
[0036] In step S201, before obtaining serialized monitoring data, multiple edge devices are configured for unified supervision so as to obtain monitoring data of multiple edge devices. As described above, in the configuration phase, the master device 101 is configured to uniformly supervise at least one edge device (e.g., 102-104) by configuring the edge management module. The specific configuration steps of the edge management module are as follows: Figure 3 shown.
[0037] Figure 3 is a flowchart further illustrating a configuration method of an edge management module according to an embodiment of the present disclosure. Figure 3 As shown, the configuration method of the edge management module may include at least the following steps.
[0038] In step S301, the master device configures and deploys the edge device. As described above, the master node (master device 101) and the edge node (edge device (e.g., 102-104)) are set up to ensure that all node environments can access the network, and the master device 101 configures the node IP address and host name of the edge device (e.g., 102-104) to realize network communication, network management, node identification and other functions.
[0039] In one embodiment of the present disclosure, a cluster environment including one main device 101 and at least one edge device (eg, 102-104) is deployed, an initialization command is run on the main device 101, and a command to join the cluster environment is executed on the edge device (eg, 102-104).
[0040] In step S302, status data monitoring components are deployed on multiple edge devices to obtain monitoring data based on the status data. As described above, the main device 101 deploys monitoring components on edge devices (eg, 102-104) to monitor the status data of the edge devices and obtain monitoring data.
[0041] Furthermore, in order to achieve better monitoring results, you can also configure alarm indicator rules for the monitoring component to obtain monitoring data, automatically monitor the edge devices according to the indicator rules, and actively report the monitoring data. The data configuration rules can monitor the operating status data of the edge devices in real time and determine whether it affects the operating efficiency of the actual business system application of the device point, thereby reducing the operation and maintenance costs of edge service equipment in industrial areas and improving supervision efficiency.
[0042] In one embodiment of the present disclosure, the specific method may be: in the industrial environment 105, the indicator rule may be set to {central processing unit (CPU) usage rate, memory usage rate of the equipment indicator}.
[0043] In step S303 , a reporting component is deployed on multiple edge devices to report monitoring data. As described above, the main device 101 installs a reporting component deployed on edge devices (eg 102 - 104 ) to report the monitoring data obtained in step S302 to the main device 101 .
[0044] After the edge management module is configured, the data management module will be configured.
[0045] In step S202, the monitoring data and risk level data are persistently stored and managed. As described above, the monitoring data reported to the main device 101 acquired in step S303 is persistently stored by the data management module.
[0046] Furthermore, the data management module disclosed in the present invention, on the one hand, performs persistent storage management of edge device monitoring data, and on the other hand, analyzes and processes the monitoring data to generate risk level data of the edge device and also performs persistent storage management of the risk level data.
[0047] At this point, the configuration phase is over, and the application phase will be introduced below. The most important thing in application settlement is the method of generating risk level data, which will be described in detail in Figure 4 Further description.
[0048] Figure 4 FIG. 1 is a flow chart further illustrating a method for generating risk level data according to an embodiment of the present disclosure. As shown in the figure, the method for generating risk level data may include at least the following steps.
[0049] In step S401, based on the serialized monitoring data of each edge device in a unit time, a monitoring mean corresponding to each edge device is generated. As described above, the master device 101 obtains the monitoring data reported by the edge device in step S303. These monitoring data can be set to obtain the duration of the unit time and the frequency of data acquisition, forming, for example, X N ={x1; x2; ...; x n}, where X and N represent the edge device status set and edge device number per unit time, respectively, and n is the quotient of the acquisition unit time and the data acquisition frequency, that is, the number of monitoring data acquired per unit time.
[0050] Then, the threshold value is configured for the alarm indicator rule in step S302. When the CPU usage or memory usage of the device indicator in the indicator rule exceeds the preset threshold, the state is abnormal, recorded as 1; when the CPU usage and memory usage of the device indicator in the indicator rule do not exceed the preset threshold, the state is normal, recorded as 0. Next, the data stream X N ={x1; x2; ...; x n} to mark the state, marked as X′ N ={x1:0; x2:1; ...; x n :1} format.
[0051] Finally, calculate the monitoring mean μ of the edge device N , μ N =(0+1+…+1) / n (where 0 and 1 in the formula refer to X′ N x1; x2; ...; x n The corresponding marked value). Monitor the mean value μ N It can be understood as the probability of abnormal status of the edge device in unit time, and the value is between 0 and 1.
[0052] In one embodiment of the present disclosure, 8 hours is used as the acquisition unit data for data analysis, and 5 minutes is used as the data acquisition frequency for data status capture, so n = 8*60 / 5 = 96, X N ={x1; x2; ...; x 96 The alarm indicator threshold is configured as {CPU usage of device indicators>80%, memory usage>90%}, that is, when CPU usage>80% or memory usage>90%, it is marked as 1; when CPU usage≤80% and memory usage≤90%, it is marked as 0. N ={x1; x2; ...; x 96 It should be noted that the alarm indicator thresholds here are only exemplary, and the present disclosure does not impose any specific restrictions on the alarm indicator thresholds.
[0053] In step S402, risk assessment data for each edge device is generated based on the monitoring mean and the regional risk factor of the area where each edge device is located. N and regional risk factor l N , calculate the risk assessment data q N Among them, the regional risk factor l N The regional risk factor is calculated by industry experts based on the attributes of the industrial industry and various risk factors in the area, where N represents the number of the edge equipment, l NIt is the regional risk factor of the area where the Nth edge device is located, l N The value range includes: 0.1, 0.2, …, 1.
[0054] Then, based on the monitoring mean μ N and regional risk factor l N , calculate the risk assessment data q N , the calculation logic is, q N = N × N That is, the greater the probability of abnormal state of edge devices, the higher the risk factor of the area where the edge devices are located, and the greater the risk assessment data. The risk assessment data of multiple edge devices constitute the risk assessment data set Q N , Q N ={q1, q2, q3, ..., q N}, where q1 represents the risk assessment data of the first edge device, q N Represents the risk assessment data of the Nth edge device.
[0055] In step S403, the risk assessment data is classified and processed to generate risk level data for each edge device. N Perform grade classification and generate Q N ={q1, q2, q3, ..., q N}Corresponding risk level dataset T N ={t1, t2, t3, ..., t N}.
[0056] Among them, t1 represents the risk level data of the first edge device, t N Represents the risk level data of the Nth edge device; t is one of the four risk levels set by industry experts based on various risk factors in the industrial area.
[0057] The logic of classification processing is to find the K known samples (K neighbors) closest to the unknown sample by calculating the distance between the unknown sample and the known sample based on the sample data of known categories, and then vote according to the categories of these K known samples, using the "majority voting" method to take the category that appears most frequently among the K neighbors as the category to which the unknown sample belongs. The following will further describe how to classify the risk assessment dataset Q N Match the appropriate risk level data. The specific process will refer to Figure 5 The matching process is further described.
[0058] Figure 5FIG. 1 is a flow chart further illustrating a risk level classification method according to an embodiment of the present disclosure. As shown in the figure, the risk level classification method may include at least the following steps.
[0059] In step S501, a distance calculation is performed on each of the risk assessment data based on the sample data to generate a distance data set corresponding to each edge device; wherein each distance data set includes multiple distance data; and the sample data includes sample risk level data. As described above, the logic of the classification process is to infer unknown samples based on known samples. The sample data in this step is the known sample data. For example, there are M known sample data in total, and each sample data includes sample risk level data, then these M sample risk level data can constitute a sample risk level data set T M , T M ={t1′,t2′,t3′,…,t′ M}. Among them, t1′ represents the sample risk level data in the first sample data, t′ M Represents the sample risk level data in the Mth sample data.
[0060] In one embodiment of the present disclosure, the sample risk level data t can be divided into four categories: A (high security risk), B (higher security risk), C (general security risk), D (lower security risk), and the corresponding thresholds are {0.8, 0.6, 0.4, 0.2}, so the sample risk level data set of known sample data can be T M ={t1′,t2′,t3′,…,t′ M}={0.8, 0.6, 0.4, 0.2,…, 0.4, 0.8, 0.4, 0.6}.
[0061] Next, the M known sample data and the risk assessment data q1, q2, q3, ..., q obtained in step S402 are calculated respectively. N The distance between them. Among them, common distance measurement methods include Euclidean distance, Manhattan distance, Minkowski distance, etc.
[0062] In one embodiment of the present disclosure, Euclidean calculation can be used, that is, Euclidean calculation is performed on q1 and each of the M known sample data to generate M distance data. These M distance data form a group and are recorded as q1 distance data set. Similarly, q2, q3, ..., q N The Euclidean calculation is also performed according to this method to generate the q2 distance data set, q3 distance data set, ..., q N Distance data set, finally a total of N groups of distance data sets are obtained, each distance data set includes M distance data.
[0063] Specifically, Euclidean calculation can be understood as calculating the straight-line distance between two samples. The calculation method is: for two samples x and y, assume that their feature values are x1, x2, ..., xn and y1, y2, ..., yn, where n is the number of features. Then the calculation formula of Euclidean distance is: d(x, y) = sqrt((x1-y1)^2+(x2-y2)^2+...+(xn-yn)^2), where sqrt represents the square root operation.
[0064] In step S502, based on the preset sample distance, sample data corresponding to distance data less than the preset sample distance in each distance data set is selected as a reference sample set corresponding to each edge device. As described above, the N groups of distance data sets obtained in step S501 represent unknown samples (q1, q2, 13, ..., q N ) and the distance between them and the known samples.
[0065] Next, the above distance is judged, and the known samples that are closer to the unknown sample (which can be understood as more similar) are selected as neighbors of the unknown sample.
[0066] Specifically, the M distance data in each group can be compared with the preset sample distance. If the distance data is less than the preset sample distance, it is considered to be relatively similar, and the corresponding known sample data is identified as the neighbor of the unknown sample. These neighbors constitute the above reference sample set, and finally a total of N reference sample sets are generated. The number of sample data in each reference sample set is not necessarily the same. These selected neighbors will participate in the subsequent voting work of their group.
[0067] In step S503, the sample data in the reference sample data set are counted according to the sample risk level data to obtain the statistical results of each reference sample set. As mentioned above, N reference sample sets are obtained in step S502, each of which includes a number of neighbors, and each neighbor has its corresponding sample risk level data (t1′, t2′, t3′, ..., t′ M ). In this step, the risk level data of each sample involved (may be t1′, t2′, t3′, …, t′ M One or several of them are classified and counted to obtain the number of occurrences of each sample risk level data (i.e., voting actions). Each of the N reference sample sets needs to perform its own voting action.
[0068] In step S504, the risk level data of the samples with the largest number of votes in each statistical result is used as the risk level data of each edge device. As described above, the statistical results of the N reference sample sets obtained in step S503 are used, and the risk level data of the samples with the largest number of votes in each reference sample set is selected as the voting result of the reference sample set, that is, the "majority voting" method is adopted, and the risk level data of the samples with the largest number of votes is used as the risk level data of the risk assessment data, that is, Q is generated. N ={q1, q2, q3, ..., q N}Corresponding risk level dataset T N ={t1, t2, t3, ..., t N}.
[0069] In one embodiment of the present disclosure, the risk assessment data Q finally obtained is N ={q1, q2, q3, ..., q N} corresponding to T N ={t1, t2, t3, ..., t N} is one of Class A (high security risk), Class B (relatively high security risk), Class C (average security risk), and Class D (relatively low security risk). For example, t1 belongs to Class B, t2 belongs to Class A, and so on. N Belongs to Class D.
[0070] Figure 6 600 is a diagram illustrating an edge device supervision device according to an embodiment of the present disclosure. As shown in the figure, the supervision device 600 may include at least:
[0071] The edge management module 601 is used to configure multiple edge devices for unified supervision before obtaining serialized monitoring data, so as to obtain the monitoring data of multiple edge devices, including:
[0072] Configuration unit 6011, used for the master device to configure multiple edge devices;
[0073] A monitoring component deployment unit 6012 is used to deploy status data monitoring components on multiple edge devices and obtain monitoring data based on the status data;
[0074] The reporting component deployment unit 6013 is used to deploy reporting components on multiple edge devices for reporting monitoring data.
[0075] The data management module 602 includes:
[0076] A calculation unit 6021, configured to generate a monitoring mean corresponding to each edge device based on serialized monitoring data of each edge device in a unit time among the multiple edge devices;
[0077] An evaluation unit 6022, configured to generate risk evaluation data for each edge device based on the monitoring mean and the regional risk factor of the area where each edge device is located;
[0078] The classification unit 6023 is used to classify the risk assessment data and generate risk level data for each edge device;
[0079] Storage unit 6024, used for persistent storage management of monitoring data and risk level data
[0080] Figure 7 6023 is a diagram further illustrating a classification unit device according to an embodiment of the present disclosure. As shown in the figure, the classification unit 6023 may include:
[0081] The calculation subunit 60231 is used to perform distance calculation on each of the risk assessment data based on the sample data to generate a distance data set corresponding to each edge device; wherein each distance data set includes multiple distance data; and the sample data includes sample risk level data;
[0082] The screening subunit 60232 is used to select sample data corresponding to distance data less than the preset sample distance in each distance data set based on the preset sample distance, and the smallest N distance data are used as the reference data sample set corresponding to each edge device;
[0083] The classification subunit 60233 is used to calculate the number of each of the corresponding risk level data based on the statistical result of each reference sample set by counting the number of sample data in the reference sample data set according to the sample risk level data;
[0084] The grading subunit 60234 is used to use the risk level data of the samples with the largest number in each statistical result as the risk level data of each edge device.
[0085] Figure 8 1 is a hardware block diagram of an electronic device 800 according to an embodiment of the present disclosure. The electronic device according to an embodiment of the present disclosure includes at least a processor; and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor executes the supervision method for the edge device as described above.
[0086] Figure 8The electronic device 800 shown specifically includes: a central processing unit (CPU) 801, a graphics processing unit (GPU) 802 and a memory 803. These units are interconnected via a bus 804. The central processing unit (CPU) 801 and / or the graphics processing unit (GPU) 802 can be used as the above-mentioned processor, and the main memory 803 can be used as the above-mentioned memory for storing computer-readable instructions. In addition, the electronic device 800 may also include a communication unit 805, a storage unit 806, an output unit 807, an input unit 808 and an external device 809, which are also connected to the bus 804.
[0087] Fig. 9 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. Fig. 9 As shown, a computer-readable storage medium 900 according to an embodiment of the present disclosure has computer-readable instructions 901 stored thereon. When the computer-readable instructions 901 are executed by the processor, the supervision method for edge devices according to an embodiment of the present disclosure described with reference to the above figures is executed. Computer-readable storage media include, but are not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.
[0088] In the above, the supervision method, device and electronic device of the edge device according to the embodiment of the present disclosure are described with reference to the accompanying drawings. According to the supervision method of the edge device according to the embodiment of the present disclosure, compared with the prior art, the present disclosure realizes unified supervision of the edge devices, and solves the problem that the edge devices in the existing industrial industry are difficult to control and maintain; at the same time, a persistent storage solution for edge device monitoring data is proposed, and by analyzing whether each edge device is in a prone state, human-machine monitoring and safety deployment of fault points in a prone state are strengthened, thereby improving the intelligent effectiveness of industrial digital data processing capabilities.
[0089] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0090] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0091] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0092] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0093] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0094] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0095] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0096] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A supervision method for edge devices. It is characterized in that The method comprises: Based on the serialized monitoring data of each edge device in a unit time, generate a monitoring mean corresponding to each edge device; generating risk assessment data for each edge device based on the monitoring mean and the regional risk factor of the area where each edge device is located; and The risk assessment data is classified and processed to generate risk level data for each edge device.
2. The method for supervising edge devices according to claim 1, It is characterized in that The classifying and processing the risk assessment data to generate risk level data of each edge device includes: Performing distance calculation on each of the risk assessment data based on the sample data to generate a distance data set corresponding to each edge device, wherein each of the distance data sets includes a plurality of distance data, and the sample data includes sample risk level data; Based on a preset sample distance, the sample data corresponding to the distance data less than the preset sample distance in each distance data set is selected as a reference sample set corresponding to each edge device; Performing statistics on the sample data in the reference sample set according to the sample risk level data to obtain statistical results for each reference sample set; The sample risk level data with the largest number in each of the statistical results is used as the risk level data of each edge device.
3. The supervision method according to claim 1, It is characterized in that Also includes: Before obtaining the serialized monitoring data, configuring the plurality of edge devices to perform unified supervision so as to obtain the monitoring data of the plurality of edge devices; The monitoring data and the risk level data are persistently stored and managed.
4. The supervision method according to claim 3, It is characterized in that The configuring the multiple edge devices to perform unified supervision includes: The master device configures and deploys the multiple edge devices; wherein the deployment includes: Deploy a status data monitoring component on the plurality of edge devices, and obtain the monitoring data based on the status data; and A reporting component is deployed on the multiple edge devices to report the monitoring data.
5. A monitoring device for edge equipment, It is characterized in that The device comprises: Data management module, including: A calculation unit, configured to generate a monitoring mean corresponding to each edge device based on serialized monitoring data of each edge device in a unit time among the plurality of edge devices; An evaluation unit, configured to generate risk evaluation data for each edge device based on the monitoring mean and a regional risk factor of an area where each edge device is located; The classification unit is used to classify the risk assessment data and generate risk level data for each edge device.
6. The monitoring device according to claim 5, It is characterized in that The classification unit includes: A calculation subunit, configured to perform distance calculation on each of the risk assessment data based on the sample data, and generate a distance data set corresponding to each edge device, wherein each of the distance data sets includes a plurality of distance data, and the sample data includes sample risk level data; A screening subunit, configured to select, based on a preset sample distance, the sample data corresponding to the distance data less than the preset sample distance in each distance data set as a reference sample set corresponding to each edge device; A classification subunit, used to count the number of sample data in the reference sample set according to the sample risk level data, to obtain a statistical result of each reference sample set; The grading subunit is used to use the sample risk level data with the largest number in each of the statistical results as the risk level data of each edge device.
7. The monitoring device according to claim 5, It is characterized in that Also includes: An edge management module, used for configuring the plurality of edge devices for unified supervision before obtaining the serialized monitoring data, so as to obtain the monitoring data of the plurality of edge devices; Data management module, which also includes: A storage unit is used for persistent storage management of the monitoring data and the risk level data.
8. The monitoring device according to claim 7, It is characterized in that The edge management module includes: A configuration unit, used for the master device to configure the multiple edge devices; A monitoring component deployment unit, configured to deploy a status data monitoring component on the plurality of edge devices, and obtain the monitoring data based on the status data; A reporting component deployment unit is used to deploy reporting components on the multiple edge devices to report the monitoring data.
9. An electronic device, It is characterized in that include: a memory for storing computer readable instructions; as well as A processor is used to run the computer-readable instructions so that the electronic device executes the edge device supervision method as described in any one of claims 1 to 4.
10. A non-transitory computer-readable storage medium for storing computer-readable instructions, It is characterized in that When the computer-readable instructions are executed by a processor, the processor executes the edge device supervision method as described in any one of claims 1 to 4.
