Equipment monitoring system based on Internet of Things
By using indicators such as time intervals, historical response times, and variances in the IoT device monitoring system, we can accurately determine the device connection status, solve the problem of misjudgment caused by long single operation time of the device, reduce maintenance costs, and improve the operating status of the device. control accuracy.
Patent Information
- Application Number
- CN202410738828.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-08-23
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing IoT equipment monitoring system misjudges equipment failure due to the long single operation time of the equipment, which increases maintenance costs.
An equipment monitoring system based on the Internet of Things is designed, including the perception layer, transmission layer, analysis layer and application layer. By monitoring the time interval of instructions and response information, historical response time, variance and proportion and other indicators, it can accurately determine the relationship between equipment and The connection status of the Internet of Things to avoid misjudgments and adjust operating parameters.
It improves the control accuracy of equipment connection status, reduces misjudgments, reduces maintenance costs, and enhances the stability and control accuracy of equipment operating status.
Smart Images

Figure CN118540205A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to an equipment monitoring system based on Internet of Things. Background Art
[0002] Equipment monitoring can monitor the equipment operation status, understand whether the equipment is abnormal, track equipment activities, record various equipment operation logs, statistically analyze the data change trend of equipment performance, find bottlenecks and optimize configuration. The existing technology determines whether the functional module is qualified by analyzing the response information of the equipment. If the equipment runs too long, the equipment response time will be temporarily slowed down. The equipment failure is misjudged due to the single operation time of the equipment, which increases the maintenance cost.
[0003] Chinese Patent Application No.: CN202110915608.7 discloses an Internet of Things monitoring device and an Internet of Things monitoring method, which belongs to the field of Internet of Things. After the monitoring device sends a first monitoring request for a first functional module in the control device to the control device, it can determine whether the first functional module is abnormal based on the response information output by the first functional module sent by the control device. In this way, the monitoring of the first functional module in the control device is achieved, and the reliability of the operation of the control device in the Internet of Things is effectively ensured. It can be seen that the Internet of Things monitoring device and the Internet of Things monitoring method have the following problems: the equipment failure is misjudged due to the single operation time of the equipment, which increases the maintenance cost. Summary of the invention
[0004] To this end, the present invention provides an equipment monitoring system based on the Internet of Things to overcome the problem in the prior art of misjudging equipment failures due to a single operation time of the equipment, thereby increasing maintenance costs.
[0005] To achieve the above purpose, the present invention provides an equipment monitoring system based on the Internet of Things. It includes:
[0006] The perception layer, which includes several IoT devices;
[0007] The transmission layer is connected to the perception layer for data exchange and transmission of monitoring instructions and corresponding data;
[0008] An analysis layer, which is connected to the perception layer and the transmission layer, and is used to receive and count the returned data, and determine the operating status of the corresponding device in the perception layer based on the output data;
[0009] An application layer, which is connected to the analysis layer and is used to send corresponding instructions according to the analysis results of the analysis layer;
[0010] The application layer periodically sends monitoring instructions. For a single time node, the application layer sends monitoring instructions to the perception layer through the transport layer, so as to send the monitoring instructions to each device in the perception layer respectively. When each device receives the monitoring instruction, it sends response information to the transport layer. The analysis layer receives the response information output by the perception layer through the transport layer, and determines the operating status of each device in turn according to the statistical response information.
[0011] Furthermore, for a single device in the perception layer, the analysis layer records the time node at which the response information corresponding to the device is received and records it as the response time node, and records the time interval between the monitoring time node and the response time node as the interval duration. The analysis layer determines whether the connection status of the device and the Internet of Things is qualified based on the interval duration, and,
[0012] When the analysis layer determines that the connection status of a single device with the Internet of Things is qualified, the device is recorded as a first-level device;
[0013] The analysis layer determines whether the connection status between the device and the Internet of Things is qualified based on the historical response time of the device.
[0014] The analysis layer determines that the connection status of a single device with the Internet of Things is unqualified, and determines the reason for the unqualified connection based on the interval duration.
[0015] Further, the analysis layer determines that the device is offline when no response information is received after a preset critical time from the monitoring time node, and detects whether the device stores an offline request transmitted by the device in the historical records, and determines whether the device meets the accidental offline standard according to the detection result. When the analysis layer determines that the device does not meet the accidental offline standard, it determines that the device is in an offline state;
[0016] The analysis layer establishes a link with the device when determining that the device meets the unexpected offline criteria.
[0017] Further, the analysis layer obtains the historical response time of the device when making a secondary determination on whether the connection status of the device and the Internet of Things is qualified based on the historical response time of the device, calculates the variance of each historical response time, and determines whether the connection status of the device and the Internet of Things is qualified based on the variance, and,
[0018] When the analysis layer determines that the connection status between the device and the Internet of Things is qualified, it determines that the long operation time of the device leads to a long response time, and the analysis layer records the device as a secondary device;
[0019] When the analysis layer determines that the connection status between the device and the Internet of Things is unqualified, it determines the reason for the unqualified connection based on the interval duration, and the analysis layer records the device as a third-level device.
[0020] Further, when determining the reason for the failure based on the interval duration, the analysis layer records the ratio of the interval duration to the first preset interval duration preset in the analysis layer as a primary ratio, and determines the reason for the failure of the connection status between the device and the Internet of Things based on the primary ratio, and,
[0021] When the analysis layer determines that the reason for the unqualified connection status between the device and the IoT is that the device is unqualified, the device is recorded as a secondary device;
[0022] The analysis layer updates the network transmission protocol when determining that the reason why the connection status between the device and the Internet of Things is unqualified is that the transmission layer is unqualified.
[0023] Furthermore, after completing the marking of each device, the analysis layer counts the number of devices at each level, and determines a processing method for the device operating status based on the proportion of devices at each level. The processing method includes: correcting the calculated interval duration to a corresponding value based on the current cumulative operating time of a single device, adjusting the first preset interval duration preset in the analysis layer to a corresponding value according to the proportion of secondary devices, and adjusting the bytes of a single response data packet returned by the server according to the proportion of tertiary devices.
[0024] Furthermore, the analysis layer is provided with a plurality of duration correction methods for the calculated interval duration of the device based on the current accumulated operation duration of the single device, and the correction range of the interval duration by each correction method is different.
[0025] Furthermore, the analysis layer is provided with a plurality of adjustment methods for the first preset interval duration based on the proportion of the secondary devices, and the adjustment range of each adjustment method for the first preset interval duration is different.
[0026] Furthermore, the analysis layer records the difference between the proportion of the third-level device and the preset third-level proportion preset in the analysis layer as the third-level proportion difference, and according to the third-level proportion difference, provides several adjustment methods for the bytes of a single response data packet returned by the server, and each adjustment method has a different adjustment range for the bytes.
[0027] Compared with the prior art, the beneficial effect of the present invention lies in that the analysis layer in the present invention determines whether the connection status of the device and the Internet of Things is qualified according to the time interval between the monitoring time node and the response time node, and makes a secondary judgment based on the historical response time of the device, thereby improving the control accuracy of the connection status of the device and the Internet of Things, improving the analysis accuracy, and when it is determined that the connection status of the device and the Internet of Things is unqualified, the reason for the unqualified connection is determined according to the interval duration, thereby improving the control accuracy of the device operation status.
[0028] Furthermore, the analysis layer in the present invention determines the operating state of the device according to whether the device issues an offline request in the historical records, thereby improving the control precision of the device and further improving the accuracy of the analysis.
[0029] Furthermore, the analysis layer in the present invention determines the operating status of the device based on the variance of the historical response time of the device, thereby improving the control accuracy of the stability of the device operating status, avoiding misjudgment of device failure due to long single use time of the device, further improving the control accuracy of the connection status between the device and the Internet of Things, and reducing maintenance costs.
[0030] Furthermore, the analysis layer in the present invention determines the reason why the connection status between the device and the Internet of Things is unqualified based on the interval duration, and marks the device, thereby further improving the control accuracy of the device operation status.
[0031] Furthermore, the analysis layer in the present invention determines the corresponding processing method according to the proportion of each level of equipment, thereby reducing maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a structural block diagram of the device monitoring system based on the Internet of Things of the present invention;
[0033] Figure 2 This is a flowchart of the present invention for preliminarily determining whether the connection status between a device and the Internet of Things is qualified;
[0034] Figure 3 A flow chart of the present invention for determining whether a device meets the unexpected offline standard;
[0035] Figure 4 The present invention is a flow chart of determining the reason why the connection status between a device and the Internet of Things is unqualified. DETAILED DESCRIPTION
[0036] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0037] It should be pointed out that the data in this embodiment are obtained by comprehensive analysis and evaluation of the historical data of the system of the present invention in the six months before this determination and the corresponding historical determination results. Before this detection, the system of the present invention comprehensively determines the values of the preset parameter standards for this determination based on the evaluation values of the 37,383 retrieval results detected cumulatively in the first three months. It can be understood by those skilled in the art that the system of the present invention can determine the single parameter mentioned above by selecting the value with the highest proportion as the preset standard parameter according to the data distribution, using weighted summation to use the obtained value as the preset standard parameter, substituting each historical data into a specific formula and using the value obtained by the formula as the preset standard parameter or other selection methods, as long as the system of the present invention can clearly define the different specific situations in the single determination process through the obtained values.
[0038] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0039] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0040] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0041] See also Figure 1 As shown, it is a structural block diagram of the device monitoring system based on the Internet of Things of the present invention.
[0042] An embodiment of the present invention provides a device monitoring system based on the Internet of Things, including:
[0043] The perception layer, which includes several IoT devices;
[0044] The transmission layer is connected to the perception layer for data exchange and transmission of monitoring instructions and corresponding data;
[0045] An analysis layer, which is connected to the perception layer and the transmission layer, and is used to receive and count the returned data, and determine the operating status of the corresponding device in the perception layer based on the output data;
[0046] An application layer, which is connected to the analysis layer and is used to send corresponding instructions according to the analysis results of the analysis layer;
[0047] The application layer periodically sends monitoring instructions. For a single time node, the application layer sends monitoring instructions to the perception layer through the transport layer, so as to send the monitoring instructions to each device in the perception layer respectively. When each device receives the monitoring instruction, it sends response information to the transport layer. The analysis layer receives the response information output by the perception layer through the transport layer, and determines the operating status of each device in turn according to the statistical response information.
[0048] In the embodiment of the present invention, the response time is the time interval from issuing a monitoring instruction to receiving a response message.
[0049] In the present invention, the analysis layer determines whether the connection status of the device and the Internet of Things is qualified according to the time interval between the monitoring time node and the response time node, and performs a secondary judgment on it according to the historical response time of the device, thereby improving the control accuracy of the connection status of the device and the Internet of Things, improving the analysis accuracy, and when it is determined that the connection status of the device and the Internet of Things is unqualified, the reason for the unqualified connection is determined according to the interval duration, thereby improving the control accuracy of the device operation status.
[0050] See also Figure 2 As shown, it is a flowchart for preliminarily determining whether the connection status between the device and the Internet of Things is qualified.
[0051] Specifically, for a single device in the perception layer, the analysis layer records the time node at which the response information corresponding to the device is received and records it as the response time node, and records the time interval between the monitoring time node and the response time node as the interval duration. The analysis layer determines the preliminary determination method of whether the connection status of the device and the Internet of Things is qualified based on the interval duration, wherein:
[0052] The first preliminary determination method is that the analysis layer determines that the connection status of a single device with the Internet of Things is qualified, and records the device as a first-level device; the first preliminary determination method satisfies that the interval duration is less than or equal to the first preset interval duration preset in the analysis layer;
[0053] The second preliminary determination method is that the analysis layer determines whether the connection status between the device and the Internet of Things is qualified according to the historical response time of the device; the second preliminary determination method satisfies that the interval time is greater than the first preset interval time and less than or equal to the second preset interval time preset in the analysis layer;
[0054] The third preliminary determination method is that the analysis layer determines that the connection status of a single device with the Internet of Things is unqualified, and determines the reason for the unqualified connection based on the interval duration; the third preliminary determination method satisfies that the interval duration is greater than the second preset interval duration.
[0055] In the embodiment of the present invention, the first preset interval duration is 3 seconds, and the second preset interval duration is 10 seconds.
[0056] See also Figure 3 As shown, it is a flow chart for determining whether a device meets the unexpected offline standard.
[0057] Specifically, the analysis layer determines that the device is offline when no response information is received after a preset critical time from the monitoring time node, detects whether the device stores an offline request transmitted by the device in the historical records, and determines whether the device meets the unexpected offline standard according to the detection result, wherein:
[0058] The first determination method is that the analysis layer determines that the device does not meet the accidental offline standard and the device is in an offline state; the first determination method satisfies that no offline request transmitted by the device is stored in the historical record;
[0059] The second determination method is that the analysis layer determines that the device meets the unexpected offline standard and establishes a link with the device; the second determination method satisfies that the offline request transmitted by the device is stored in the historical record.
[0060] In the present invention, the analysis layer determines the running state of the device according to whether the device issues an offline request in the historical records, thereby improving the control precision of the device and further improving the analysis accuracy.
[0061] Specifically, the analysis layer obtains the historical response time of the device under the second preliminary determination method, calculates the variance of each historical response time, and determines whether the connection status of the device and the Internet of Things is qualified according to the variance, wherein:
[0062] The first determination method is that the analysis layer determines that the connection status between the device and the Internet of Things is qualified, and determines that the long operation time of the device leads to a long response time, and the analysis layer records the device as a secondary device; the first determination method satisfies that the variance is less than or equal to the preset variance preset in the analysis layer;
[0063] The second determination method is that the analysis layer determines that the connection status between the device and the Internet of Things is unqualified, and determines the reason for the unqualified connection based on the interval duration, and the analysis layer records the device as a third-level device; the second determination method satisfies that the variance is greater than the preset variance.
[0064] In the embodiment of the present invention, the preset variance is 0.835.
[0065] The analysis layer in the present invention determines the operating status of the device according to the variance of the historical response time of the device, thereby improving the control accuracy of the stability of the device operating status, avoiding misjudgment of device failure due to long single use time of the device, further improving the control accuracy of the connection status of the device and the Internet of Things, and reducing maintenance costs.
[0066] See also Figure 4 As shown, it is a flowchart for determining the reasons why the connection status between the device and the Internet of Things is unqualified.
[0067] Specifically, the analysis layer records the ratio of the interval duration to the first preset interval duration as a primary ratio under the first preset condition, and determines the reason determination method for the unqualified connection status between the device and the Internet of Things according to the primary ratio, wherein:
[0068] The first reason determination method is that the analysis layer determines that the reason for the unqualified connection status between the device and the Internet of Things is that the device is unqualified, and the device is recorded as a secondary device; the first reason determination method satisfies that the first-level ratio is greater than or equal to the preset first-level ratio preset in the analysis layer;
[0069] The second reason determination method is that the analysis layer determines that the reason why the connection status between the device and the Internet of Things is unqualified is that the transmission layer is unqualified, and updates the network transmission protocol, and the analysis layer records the device as a third-level device; the second reason determination method satisfies that the first-level ratio is less than the preset first-level ratio;
[0070] The first preset condition is that the analysis layer determines that the connection status between the device and the Internet of Things is unqualified, and determines the reason for the unqualified connection based on the interval duration.
[0071] In the embodiment of the present invention, the preset primary ratio is 3.2.
[0072] In the present invention, the analysis layer determines the reason why the connection status between the device and the Internet of Things is unqualified according to the interval duration, and marks the device, thereby further improving the control accuracy of the device operation status.
[0073] Specifically, after marking each device, the analysis layer counts the number of devices at each level, and determines the processing method for the device operation status according to the proportion of devices at each level, where:
[0074] The first processing method is that the analysis layer determines to correct the calculated interval duration to a corresponding value based on the current cumulative running time of a single device; the first processing method satisfies that the proportion of the first-level devices is greater than or equal to the preset first-level proportion preset by the analysis layer;
[0075] The second processing method is that the analysis layer determines to adjust the first preset interval duration to a corresponding value according to the proportion of secondary devices; the second processing method satisfies that the proportion of secondary devices is greater than or equal to the preset secondary proportion preset by the analysis layer;
[0076] The third processing method is that the analysis layer determines to adjust the bytes of a single response data packet returned by the server according to the proportion of the third-level devices; the third processing method satisfies that the proportion of the third-level devices is greater than or equal to the preset third-level proportion preset in the analysis layer.
[0077] In the embodiment of the present invention, the preset first level ratio is 0.6, the preset second level ratio is 0.55, and the preset third level ratio is 0.68.
[0078] In the present invention, the analysis layer determines the corresponding processing method according to the proportion of each level of equipment, thereby reducing maintenance costs.
[0079] Specifically, the analysis layer determines, under the first processing mode, a duration correction mode for the calculated interval duration of the device based on the current accumulated operation duration of the single device, wherein:
[0080] The first duration correction method is that the analysis layer selects the first duration correction coefficient α1 to correct the interval duration D of the device to a corresponding value, and sets the corrected interval duration D'=α1×D0, where D0 is the initial interval duration before correction; the first duration correction method satisfies that the current cumulative operation duration of the device is less than or equal to the preset cumulative operation duration preset in the analysis layer;
[0081] The second duration correction method is that the analysis layer selects the second duration correction coefficient α2 to correct the interval duration D of the device to a corresponding value, and sets the corrected interval duration D'=α2×D0; the second duration correction method satisfies that the current cumulative operating duration of the device is greater than the preset cumulative operating duration.
[0082] In the embodiment of the present invention, the first duration correction coefficient is 0.9, the second duration correction coefficient is 0.85, and the preset cumulative running time is 9.5h.
[0083] Specifically, the analysis layer records the difference between the proportion of the secondary device and the preset secondary proportion as the proportion difference under the second processing mode, and determines the adjustment mode for the first preset interval duration according to the proportion difference, wherein:
[0084] The first adjustment method is that the analysis layer selects the first adjustment coefficient β1 to adjust the first preset interval duration C to a corresponding value, and sets the adjusted first preset interval duration C'=β1×C0, where C0 is the initial first preset interval duration before adjustment; the first adjustment method satisfies that the proportion difference is less than or equal to the preset proportion difference preset in the analysis layer;
[0085] The second adjustment method is that the analysis layer selects the second adjustment coefficient β2 to adjust the first preset interval duration C to a corresponding value, and sets the adjusted first preset interval duration C'=β2×C0; the second adjustment method satisfies that the proportion difference is greater than the preset proportion difference.
[0086] In the embodiment of the present invention, the first adjustment coefficient β1 is 1.2, the second adjustment coefficient β2 is 1.3, and the preset proportion difference is 0.06.
[0087] Specifically, the analysis layer records the difference between the proportion of the third-level device and the preset third-level proportion as the third-level proportion difference under the third processing mode, and determines the byte adjustment method for the single response data packet returned by the server according to the third-level proportion difference, wherein:
[0088] The first byte adjustment method is that the analysis layer selects the first byte adjustment coefficient γ1 to adjust the byte B of the single response data packet to the corresponding value, and sets the adjusted byte B'=γ1×B0, where B0 is the initial byte before adjustment; the first byte adjustment method satisfies that the three-level proportion difference is less than or equal to the preset three-level proportion difference preset by the analysis layer;
[0089] The second byte adjustment method is that the analysis layer selects the second byte adjustment coefficient γ2 to adjust the byte B of the single response data packet to the corresponding value, and sets the adjusted byte B'=γ2×B0; the second byte adjustment method satisfies that the three-level proportion difference is greater than the preset three-level proportion difference.
[0090] In the embodiment of the present invention, the first byte adjustment coefficient γ1 is 1.25, the second byte adjustment coefficient γ2 is 1.34, the preset three-level proportion difference is 0.015, and the initial byte is 650 bytes.
[0091] Example 1
[0092] The device monitoring system of the present invention is used to monitor and analyze 10 devices, the 10 devices are numbered, response information is sent to each device, and the interval length from sending the response information to receiving the response information of each device is recorded. The interval lengths of No. 1, 5, 6, 7, 9, and 10 are all less than or equal to the first preset interval length, and they are marked as first-level devices;
[0093] The interval time of device 2 is 5s, and the interval time of device 7 is 2s. Both are greater than the first preset interval time and less than or equal to the second preset interval time. A secondary judgment is made based on the historical response time of each device. The five response times of devices 2 and 7 before this response are selected for analysis. The historical response time data are as follows:
[0094] frequency 1 2 3 4 5 Response time of No. 2 2s 3s 2s 1s 5s Response time of No. 7 3s 4s 2s 1s 6s
[0095] After calculation, the variance of the five historical response times of device No. 2 is 0.6324, and the variance of the five historical response times of device No. 7 is 0.7694, both of which are smaller than the preset variance. Devices No. 2 and No. 7 are marked as secondary devices;
[0096] The interval duration of device No. 3 is 10.5s, and the interval duration of device No. 4 is 20s, both of which are greater than the second preset interval duration. The ratio of the interval duration of device No. 3 to the first preset interval duration (i.e., the first-level ratio) is 1.05, and the ratio of the interval duration of device No. 4 to the first preset interval duration is 2. Devices No. 3 and 4 are marked as third-level devices.
[0097] The monitoring data of each device is as follows:
[0098]
[0099]
[0100] The number of devices at each level marked by statistics is as follows:
[0101] type First level equipment Secondary equipment Level 3 Equipment Quantity / unit 6 2 2
[0102] As can be seen from the above table, the proportion of primary devices is 0.6, which is in line with the first processing method. The corresponding duration correction coefficient is used to correct the interval duration of each device to eliminate the influence of the usage time on the connection status between the analysis device and the Internet of Things. The adjusted interval duration is as follows:
[0103]
[0104] From the above data, it can be concluded that the reason why this test did not meet the standards was due to the impact of usage time. After eliminating the impact, the connection between the device and the Internet of Things operated normally. According to the marking results, the secondary equipment continued to be monitored and the tertiary equipment was inspected and maintained.
[0105] Example 2
[0106] The device monitoring system of the present invention is used to monitor and analyze 10 devices, the 10 devices are numbered, response information is sent to each device, and the interval time from sending the response information to receiving the response information of each device is recorded. The interval time of No. 7, 9, and 10 is less than or equal to the first preset interval time, and they are marked as first-level devices;
[0107] The interval durations of devices 1, 2, 4, 5, 6, and 8 are all greater than the first preset interval duration and less than or equal to the second preset interval duration. A secondary determination is made based on the historical response durations of each device. The five response durations of devices 1, 2, 4, 5, 6, and 8 before this response are selected for analysis. The historical response duration data are as follows:
[0108] frequency 1 2 3 4 5 1st response time 3s 2s 1s 2s 5s Response time of No. 2 6s 2s 3s 4s 2s 4. Response time 3s 2.2s 1s 6s 4s Response time of No. 5 5s 7s 4s 3s 2.2s Response time of No. 6 4s 5.2s 6.3s 3.3s 2.1s 8th response time 4s 3s 6s 1s 2s
[0109] After calculation, the variance of the 5 historical response times of device 1 is 0.6324, the variance of the 5 historical response times of device 2 is 0.6693, the variance of the 5 historical response times of device 4 is 0.7576, the variance of the 5 historical response times of device 5 is 0.7470, the variance of the 5 historical response times of device 6 is 0.6529, and the variance of the 5 historical response times of device 8 is 0.7694, which are all less than the preset variance. Devices 2 and 7 are marked as secondary devices;
[0110] The interval duration of device 3 is 10.5s, which is greater than the second preset interval duration. The ratio of the interval duration of device 3 to the first preset interval duration (ie, the first-level ratio) is 1.05, and device 3 is marked as a third-level device.
[0111]
[0112] The number of devices at each level marked by statistics is as follows:
[0113] type First level equipment Secondary equipment Level 3 Equipment Quantity / unit 3 6 1
[0114] The proportion of secondary devices is 0.6, which is in line with the second processing method. The preset proportion difference is 0.05. The first adjustment coefficient is used to adjust the first preset interval to eliminate the misjudgment caused by the use of a unified standard for the operation status of the device in special situations. The adjusted first preset interval is 3.6. The device is marked according to the adjusted first preset interval. The marking results are as follows:
[0115]
[0116] From the above data, it can be concluded that the reason why this test did not meet the standards was that it was affected by the original judgment criteria. After eliminating the impact, the connection between the equipment and the Internet of Things operated normally. According to the marking results, the secondary equipment continued to be monitored and the tertiary equipment was inspected and maintained.
[0117] Example 3
[0118] The device monitoring system of the present invention is used to monitor and analyze 10 devices, the 10 devices are numbered, response information is sent to each device, and the interval time from sending the response information to receiving the response information of each device is recorded. The interval time of device No. 10 is less than or equal to the first preset interval time, and it is marked as a first-level device;
[0119] The interval time of device 4 is 9s, and the interval time of device 8 is 7s. Both are greater than the first preset interval time and less than or equal to the second preset interval time. A secondary judgment is made based on the historical response time of each device. The five response times of devices 4 and 8 before this response are selected for analysis. The historical response time data are as follows:
[0120] frequency 1 2 3 4 5 4. Response time 2s 3.2s 2s 1.3s 5s 8th response time 3.5s 4s 2.7s 1s 6.3s
[0121] After calculation, the variance of the five historical response times of device No. 4 is 0.5824, and the variance of the five historical response times of device No. 8 is 0.7740, both of which are smaller than the preset variance. Devices No. 4 and No. 8 are marked as secondary devices;
[0122] The interval durations of devices 1, 2, 3, 5, 6, 7, and 9 are all greater than the second preset interval duration. The ratio of the interval duration of device 1 to the first preset interval duration (i.e., the first-level ratio) is 1.05, the ratio of the interval duration of device 2 to the first preset interval duration is 1.1, the ratio of the interval duration of device 3 to the first preset interval duration is 1.23, the ratio of the interval duration of device 5 to the first preset interval duration is 1.7, the ratio of the interval duration of device 6 to the first preset interval duration is 3, the ratio of the interval duration of device 7 to the first preset interval duration is 2, and the ratio of the interval duration of device 9 to the first preset interval duration is 1.52. Devices 1, 2, 3, 5, 6, 7, and 9 are marked as third-level devices.
[0123] The monitoring data of each device is as follows:
[0124]
[0125] The number of devices at each level marked by statistics is as follows:
[0126] type First level equipment Secondary equipment Level 3 Equipment Quantity / unit 1 2 7
[0127] The proportion of level 3 devices is 0.7, which is in line with the third processing method. The difference in the three-level proportion is 0.02. The second byte adjustment coefficient is used to adjust the single response data packet returned by the server to eliminate the poor connection between the device and the Internet of Things caused by the small data packet. The bytes of the adjusted data packet are 871 bytes. From the above data, it can be concluded that the reason why this detection did not meet the standards was due to the impact of the data packet size. After eliminating the impact, the connection between the device and the Internet of Things operated normally, and the equipment at all levels continued to be monitored.
[0128] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0129] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. An equipment monitoring system based on the Internet of Things, characterized in that: include: The perception layer, which includes several IoT devices; The transmission layer is connected to the perception layer for data exchange and transmission of monitoring instructions and corresponding data; An analysis layer, which is connected to the perception layer and the transmission layer, and is used to receive and count the returned data, and determine the operating status of the corresponding device in the perception layer based on the output data; An application layer, which is connected to the analysis layer and is used to send corresponding instructions according to the analysis results of the analysis layer; The application layer periodically sends monitoring instructions. For a single time node, the application layer sends monitoring instructions to the perception layer through the transmission layer, so as to send the monitoring instructions to each device in the perception layer respectively. When each device receives the monitoring instruction, it transmits response information to the transmission layer. The analysis layer receives the response information output by the perception layer through the transmission layer, and determines the operating status of each device in turn according to the statistical response information. For a single device in the perception layer, the analysis layer records the time node of receiving the response information corresponding to the device and records it as the response time node, and records the time interval between the monitoring time node and the response time node as the interval duration. The analysis layer determines whether the connection status of the device and the Internet of Things is qualified based on the interval duration, and, When the analysis layer determines that the connection status of a single device with the Internet of Things is qualified, the device is recorded as a first-level device; The analysis layer determines whether the connection status between the device and the Internet of Things is qualified based on the historical response time of the device. The analysis layer determines that the connection status of a single device with the Internet of Things is unqualified, and determines the reason for the unqualified connection based on the interval duration.
2. The device monitoring system based on the Internet of Things according to claim 1 is characterized in that: The analysis layer determines that the device is offline when no response information is received after a preset critical time from the monitoring time node, and detects whether the device stores an offline request transmitted by the device in the historical records, and determines whether the device meets the accidental offline standard according to the detection result. When the analysis layer determines that the device does not meet the accidental offline standard, it determines that the device is in an offline state; The analysis layer establishes a link with the device when determining that the device meets the unexpected offline criteria.
3. The device monitoring system based on the Internet of Things according to claim 2 is characterized in that: The analysis layer obtains the historical response time of the device when making a secondary determination on whether the connection status of the device and the Internet of Things is qualified based on the historical response time of the device, calculates the variance of each historical response time, and determines whether the connection status of the device and the Internet of Things is qualified based on the variance, and, When the analysis layer determines that the connection status between the device and the Internet of Things is qualified, it determines that the long operation time of the device leads to a long response time, and the analysis layer records the device as a secondary device; When the analysis layer determines that the connection status between the device and the Internet of Things is unqualified, the analysis layer determines the reason for the unqualified status based on the interval duration, and the analysis layer records the device as a third-level device.
4. The device monitoring system based on the Internet of Things according to claim 3 is characterized in that: The analysis layer records the ratio of the interval duration to the first preset interval duration preset in the analysis layer as a primary ratio when determining the reason for the failure based on the interval duration, and determines the reason for the failure of the connection status between the device and the Internet of Things based on the primary ratio, and, When the analysis layer determines that the reason for the unqualified connection status between the device and the IoT is that the device is unqualified, the device is recorded as a secondary device; The analysis layer updates the network transmission protocol when determining that the reason why the connection status between the device and the Internet of Things is unqualified is that the transmission layer is unqualified.
5. The device monitoring system based on the Internet of Things according to claim 4 is characterized in that: After marking each device, the analysis layer counts the number of devices at each level, and determines a processing method for the device operating status based on the proportion of devices at each level. The processing method includes: correcting the calculated interval duration to a corresponding value based on the current cumulative operating time of a single device, adjusting the first preset interval duration preset in the analysis layer to a corresponding value according to the proportion of secondary devices, and adjusting the bytes of a single response data packet returned by the server according to the proportion of tertiary devices.
6. The device monitoring system based on the Internet of Things according to claim 5, characterized in that: The analysis layer is provided with a plurality of time correction methods for the calculated interval time of the device based on the current accumulated operation time of the single device, and the correction range of the interval time by each correction method is different.
7. The device monitoring system based on the Internet of Things according to claim 6, characterized in that: The analysis layer is provided with a plurality of adjustment methods for the first preset interval duration based on the proportion of the secondary devices, and the adjustment range of each adjustment method for the first preset interval duration is different.
8. The device monitoring system based on the Internet of Things according to claim 7, characterized in that: The analysis layer records the difference between the proportion of the third-level devices and the preset third-level proportion preset in the analysis layer as the third-level proportion difference, and according to the third-level proportion difference, provides several adjustment methods for the bytes of a single response data packet returned by the server, and each adjustment method has a different adjustment range for the bytes.
Citation Information
Cited By
Self-learning metal detection security door capable of being intelligently adjusted
CN120820986A
