Monitoring system and monitoring method of Internet of Things equipment, electronic equipment and storage medium
By designing the monitoring system of IoT devices, including the front-end, back-end service layer and device access layer, combined with message middleware, the problem of insufficient real-time analysis capabilities of monitoring systems in the existing technology is solved, and real-time performance of IoT devices is realized Data analysis and monitoring improve the real-time and scalability of the system.
Patent Information
- Application Number
- CN202410998635.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-11-26
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The monitoring system of existing IoT devices lacks real-time analysis capabilities and cannot meet real-time requirements, resulting in lagging monitoring results and difficulty in discovering equipment operation problems in a timely manner.
A monitoring system for IoT devices is designed, including the front-end service layer, the back-end service layer and the device access layer. The device data is collected through the device access layer and uploaded to the back-end service layer. The back-end service layer is based on data consumption logic Process and generate equipment data curves, front-end service layer displays curves and operation deviations, and use message middleware to achieve real-time data transmission and analysis.
Real-time data analysis of IoT devices is realized, the real-time nature of the system is improved, and technicians can timely understand the operating status of the equipment, and the real-time and scalability of monitoring is enhanced.
Smart Images

Figure CN119031001A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Internet of Things, and in particular to a monitoring system, a monitoring method, an electronic device and a storage medium for Internet of Things devices. Background Art
[0002] In recent years, with the rapid development of IoT technology, more and more IoT devices have been deployed in various fields, such as industrial manufacturing, smart transportation, smart home, etc. These IoT devices provide people with rich real-time information by continuously collecting and transmitting data, making it possible to monitor and analyze the operating status of IoT devices. However, with the rapid increase in the number of devices and the explosive growth in data volume, traditional data storage and analysis methods have been unable to meet the needs.
[0003] In the existing technology, the real-time analysis capability of the monitoring system of IoT devices is insufficient and cannot meet the real-time requirements, resulting in delayed monitoring results and making it difficult for regulators to detect IoT device operation problems in a timely manner. Summary of the invention
[0004] The present application provides a monitoring system, a monitoring method, an electronic device and a storage medium for an Internet of Things device to solve the technical problem that the existing monitoring system for an Internet of Things device has insufficient real-time analysis capabilities and cannot meet real-time requirements.
[0005] In a first aspect, the present application provides a monitoring system for an Internet of Things device, the system comprising a front-end service layer, a back-end service layer, and a device access layer;
[0006] The device access layer is connected to the backend service layer and a plurality of IoT devices; the device access layer is used to collect device data of the IoT devices through device measurement points pre-set on each IoT device, and upload the device data to the backend service layer; wherein the device data is associated with the collection time of the device data;
[0007] The backend service layer is connected to the device access layer and the frontend service layer; the backend service layer is used to determine the corresponding device data curve according to the device data, and upload the device data curve to the frontend service layer;
[0008] The front-end service layer is connected to the back-end service layer; the front-end service layer is used to receive the device data curve and display the device data curve.
[0009] In a feasible embodiment of the present application, the backend service layer includes:
[0010] A first processing module, used to obtain the device data, and process the device data according to a data consumption logic to obtain a processing result of the device data;
[0011] A first database, used to store the device data and the processing results of the device data; the first database is an IOTDB database;
[0012] A second processing module, used for determining the device data curve corresponding to the device data according to the device data and the processing result of the device data;
[0013] The second database is used to store the device data curve; the second database is a MySQL database.
[0014] In a feasible embodiment of the present application, the device data includes device standard data and device real-time data, the device standard data is the device data of the Internet of Things device in a standard operating state, and the device real-time data is the device data of the Internet of Things device in an actual operating state.
[0015] In a feasible embodiment of the present application, the first processing module includes:
[0016] A first processing unit, configured to obtain the device standard data, and process the device standard data according to a data consumption logic to obtain a processing result of the device standard data;
[0017] The second processing unit is used to obtain the real-time data of the device, and process the real-time data of the device according to the data consumption logic to obtain the processing result of the real-time data of the device.
[0018] In a feasible embodiment of the present application, the second processing module includes:
[0019] a third processing unit, configured to determine the standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and a processing result of the equipment standard data;
[0020] A fourth processing unit, configured to determine the real-time device data curve corresponding to the device real-time data according to the device real-time data and a processing result of the device real-time data;
[0021] The fifth processing unit is used to compare and analyze the standard device data curve with the real-time device data curve to determine the operation deviation of the Internet of Things device.
[0022] In a feasible embodiment of the present application, the system further includes a message middleware;
[0023] The message middleware is arranged between the backend service layer and the device access layer, and the backend service layer obtains the device data from the device access layer through the message middleware; the message middleware runs in a publish / subscribe mode, and the message middleware adopts AMQP or MQTT communication protocol.
[0024] In a second aspect, the present application provides a monitoring method for an IoT device, the method being applied to a backend service layer, the method comprising:
[0025] Obtaining device data collected by the device access layer through the message middleware; wherein the device data includes device standard data and device real-time data;
[0026] Processing the device standard data and the device real-time data according to the data consumption logic to obtain processing results of the device standard data and the device real-time data;
[0027] Determine the standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and the processing result of the equipment standard data, and determine the real-time equipment data curve corresponding to the equipment real-time data according to the equipment real-time data and the processing result of the equipment real-time data;
[0028] The standard device data curve and the real-time device data curve are uploaded to the front-end service layer, so as to display the standard device data curve and the real-time device data curve on the front-end service layer.
[0029] In a feasible embodiment of the present application, after determining the standard device data curve corresponding to the device standard data according to the device standard data and the processing result of the device standard data, and determining the real-time device data curve corresponding to the device real-time data according to the device real-time data and the processing result of the device real-time data, the method further includes:
[0030] Comparing and analyzing the standard device data curve with the real-time device data curve to determine the operation deviation of the IoT device;
[0031] The operation deviation of the IoT device is uploaded to the front-end service layer to display the operation deviation of the IoT device on the front-end service layer.
[0032] In a third aspect, the present application provides an electronic device comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the monitoring method for an Internet of Things device as described in any one of the embodiments of the second aspect of the present application.
[0033] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the monitoring method for an Internet of Things device described in any one of the embodiments in the above second aspect of the present application.
[0034] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0035] The monitoring system for Internet of Things devices provided in the present application includes a front-end service layer, a back-end service layer and a device access layer; the device access layer is connected to the back-end service layer and multiple Internet of Things devices; the device access layer is used to collect device data of Internet of Things devices through device measurement points pre-set on each Internet of Things device, and upload the device data to the back-end service layer; wherein the device data is associated with the collection time of the device data; the back-end service layer is connected to the device access layer and the front-end service layer; the back-end service layer is used to determine the corresponding device data curve according to the device data, and upload the device data curve to the front-end service layer; the front-end service layer is connected to the back-end service layer; the front-end service layer is used to receive the device data curve and display the device data curve.
[0036] Through the technical solution provided by this application, the back-end service layer obtains the device data associated with the collection time, and analyzes the device data to obtain the device data curve. Since the device data has a strong correlation with time, a device data curve with good real-time performance can be obtained based on the analysis of the device data, so that the technicians can know the real-time operating status of the IoT device in real time at the front-end service layer based on the device data curve, and realize the monitoring of the IoT device. The technical solution provided by this application has good real-time analysis capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0039] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0040] Figure 1 A schematic diagram of the structure of a monitoring system for an Internet of Things device provided in an embodiment of the present application;
[0041] Figure 2 A flowchart of a monitoring method for an Internet of Things device provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0044] The disclosure below provides many different embodiments or examples to implement different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0045] In order to solve the technical problem that the real-time analysis capability of the monitoring system of the Internet of Things devices in the prior art is insufficient and cannot meet the real-time requirements, the present application provides a monitoring system, monitoring method, electronic device and storage medium for the Internet of Things devices, which can perform real-time analysis on the device data of the Internet of Things devices and improve the real-time performance of the system.
[0046] Figure 1 A schematic diagram of a monitoring system for an Internet of Things device provided in an embodiment of the present application, referring to Figure 1 The monitoring system of an Internet of Things device provided in an embodiment of the present application includes a front-end service layer, a back-end service layer and a device access layer, wherein:
[0047] The device access layer is connected to the backend service layer and multiple IoT devices; the device access layer is used to collect device data of IoT devices through device measurement points pre-set on each IoT device, and upload the device data to the backend service layer; wherein the device data is associated with the collection time of the device data;
[0048] The back-end service layer is connected to the device access layer and the front-end service layer; the back-end service layer is used to determine the corresponding device data curve according to the device data, and upload the device data curve to the front-end service layer;
[0049] The front-end service layer is connected to the back-end service layer; the front-end service layer is used to receive the device data curve and display the device data curve.
[0050] Specifically, multiple device measurement points are set on the IoT device, and the device access layer collects device data corresponding to the device measurement points from the device measurement points of the IoT device. The device measurement points can be sensor devices set on the IoT device, or data transmission interfaces in the IoT device.
[0051] The backend service layer is used to analyze, verify and process the collected device data, and process the device data into a device data curve. In a feasible embodiment of the present application, the backend service layer can be set on the backend server, and the backend server deploys the backend service layer based on the jre8 operating environment.
[0052] The front-end service layer is used to interact with users. The front-end service layer can be deployed on a user-oriented host computer. The front-end service layer displays device data curves to users through the display device of the host computer. At the same time, users can issue instructions to the monitoring system of the IoT device through the host computer.
[0053] In a feasible embodiment of the present application, refer to Figure 1 , the device access layer may include multiple data acquisition devices, each of which is connected to the device contacts of multiple IoT devices, and the device data of IoT devices are uploaded to the back-end service layer using the data acquisition device as an intermediate device. In this embodiment, the data acquisition device can be used to aggregate the device data of IoT devices within a certain range. For example, IoT device cluster A is distributed in local area network A, and IoT device cluster B is distributed in local area network B. Different data acquisition devices can be set for local area network A and local area network B respectively, and the device data of IoT device cluster A and the device data of IoT device cluster B are uploaded to the back-end service layer through different data acquisition devices.
[0054] Through the above embodiments, when the monitoring system of the Internet of Things device of the present application accesses Internet of Things devices in other geographical ranges or other network environments at the device access layer, it is only necessary to set up new data access devices for the newly connected Internet of Things devices, thereby effectively enhancing the scalability of the monitoring system of the Internet of Things devices.
[0055] In a feasible embodiment of the present application, the backend service layer includes:
[0056] The first processing module is used to obtain device data and process the device data according to the data consumption logic to obtain the processing result of the device data;
[0057] A first database is used to store device data and processing results of the device data; the first database is an IOTDB database;
[0058] A second processing module, used to determine a device data curve corresponding to the device data according to the device data and a processing result of the device data;
[0059] The second database is used to store the device data curve; the second database is a MySQL database.
[0060] Specifically, the device data of the IoT device collected by the device access layer is correlated with the collection time of the device data, that is, the data type of the device data is time series data, and for each device data, the collection time of the device data can be known.
[0061] When the backend service layer obtains the device data from the device access layer, based on the correlation between the device data and the collection time, a corresponding device data curve can be determined from multiple device data, and the device data curve is used to reflect the changing trend of the device data over time.
[0062] The backend service layer processes the device data through the first processing module, in which a data consumption logic is provided. The data consumption logic is used to specify the method for processing the device data. For example, it can specify the maximum value, minimum value, average value, variance, etc. of the device data.
[0063] The first processing module is connected to the first database. When the first processing module completes the processing of the device data, the device data and the processing results of the device data are stored in the first database. Since the device data is time series data with a strong correlation with the collection time, the first database uses the IOTDB database to support the storage of time series data.
[0064] The backend service layer processes the device data and the processing results of the device data through the second processing module, and generates a corresponding device data curve based on the device data and the processing results of the device data. The second processing module is connected to the first database, calls the device data and the processing results of the device data in the first database, and generates a corresponding device data curve.
[0065] The second processing module is also connected to the second database to store the generated device data curve in the second database. The second database is a Mysql database.
[0066] Through the above embodiments, a device data curve of the IoT device is generated. However, when a user monitors the IoT device through the front-end service layer, he can only know how the IoT device is currently running, but cannot determine whether the IoT device has an operating failure.
[0067] In a feasible embodiment of the present application, the device data includes device standard data and device real-time data. The device standard data is the device data of the Internet of Things device in a standard operating state, and the device real-time data is the device data of the Internet of Things device in an actual operating state.
[0068] In a feasible embodiment of the present application, the first processing module includes:
[0069] A first processing unit is used to obtain device standard data, and process the device standard data according to data consumption logic to obtain a processing result of the device standard data;
[0070] The second processing unit is used to obtain the real-time data of the device and process the real-time data of the device according to the data consumption logic to obtain the processing result of the real-time data of the device.
[0071] In a feasible embodiment of the present application, the second processing module includes:
[0072] A third processing unit, configured to determine a standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and a processing result of the equipment standard data;
[0073] A fourth processing unit, configured to determine a real-time device data curve corresponding to the device real-time data according to the device real-time data and a processing result of the device real-time data;
[0074] The fifth processing unit is used to compare and analyze the standard device data curve with the real-time device data curve to determine the operation deviation of the Internet of Things device.
[0075] Specifically, the device access layer can obtain the real-time data and standard data of the IoT devices. The standard data refers to the device data of the IoT devices under the standard operating state, and the real-time data refers to the device data of the IoT devices under the actual operating state.
[0076] In a feasible embodiment of the present application, the device standard data of the IoT device can be determined based on historical device real-time data. The first processing unit can obtain the device real-time data of the IoT device during historical operation from the first database, and determine the device standard data of the IoT device based on multiple historical device real-time data.
[0077] In a feasible embodiment of the present application, the first processing unit performs data screening on multiple historical device real-time data, eliminates historical device real-time data with obvious errors, and determines the average value of the remaining historical device real-time data as the device standard data after data screening.
[0078] After passing through the data consumption logic of the first processing unit and the second processing unit, the device standard data is converted into a standard device data curve in the third processing unit, and the device real-time data is converted into a real-time device data curve in the fourth processing unit.
[0079] In a feasible embodiment of the present application, the third processing unit can also determine the standard device data curve based on the historical real-time device data curve. In this embodiment, the third processing unit obtains multiple historical real-time device data curves from the second database and fits the multiple historical real-time device data curves into the standard device data curve.
[0080] In a feasible embodiment of the present application, after fitting multiple historical real-time device data curves into a standard device data curve, the third processing unit can also calibrate the standard device data curve based on the user's configuration instruction. In this embodiment, the backend service layer obtains the user's configuration instruction from the frontend service layer, and the third processing unit modifies the standard device data curve after receiving the user's configuration instruction.
[0081] After the standard device data curve and the real-time device data curve are determined, the fifth processing unit compares and analyzes the standard device data curve and the real-time device data curve to determine the operation deviation of the Internet of Things device.
[0082] In a feasible embodiment of the present application, the comparison and analysis of the standard device data curve and the real-time device data curve by the fifth processing unit may include determining the degree of deviation, the maximum difference, the minimum difference, etc. between the standard device data curve and the real-time device data curve. At the same time, the fifth processing unit may also obtain the user's threshold setting from the front-end service layer, provide a set threshold for the comparison and analysis of the standard device data curve and the real-time device data curve, and determine whether any indicator exceeds the set threshold.
[0083] In a feasible embodiment of the present application, the system also includes a message middleware, which is arranged between the back-end service layer and the device access layer. The back-end service layer obtains device data from the device access layer through the message middleware; the message middleware runs in a publish / subscribe mode, and the message middleware adopts AMQP or MQTT communication protocol.
[0084] Specifically, the backend service layer obtains device data from the device access layer through the message middleware. The message middleware can be a rabbitmq cluster, running in publish / subscribe mode, and using the AMQP or MQTT communication protocol.
[0085] Based on the above embodiment, for device data sent by different data acquisition devices, the data acquisition device acts as a publisher, registers in the message middleware, and sets different topics for different device data; the first processing module in the back-end service layer acts as a subscriber, subscribes to device data of different subjects from the message middleware, thereby realizing the transmission of device data between the back-end service layer and the device access layer.
[0086] The technical solution provided by this embodiment adopts message middleware for decoupling, so in the technical solution provided by this application, the Internet of Things devices can be expanded to a farther distance. For Internet of Things devices that are far away from the back-end server, the device data can be aggregated by the data acquisition device and forwarded through the message middleware, and can also be transmitted to the back-end service layer faster.
[0087] In a feasible embodiment of the present application, the second database can also subscribe to data from the device access layer based on the message middleware. For non-time series data in the IoT device, the second database directly subscribes to the device access layer based on the message middleware to collect non-time series data in the IoT device.
[0088] Through the technical solution provided by this application, the back-end service layer obtains the device data associated with the collection time, and analyzes the device data to obtain the device data curve. Since the device data has a strong correlation with time, a device data curve with good real-time performance can be obtained based on the analysis of the device data, so that the technicians can know the real-time operating status of the IoT device in real time at the front-end service layer based on the device data curve, and realize the monitoring of the IoT device. The technical solution provided by this application has good real-time analysis capabilities.
[0089] Figure 2 A flow chart of a monitoring method for an IoT device provided in an embodiment of the present application, referring to Figure 2 A monitoring method for an Internet of Things device provided in an embodiment of the present application is applied to a backend service layer, and the method includes:
[0090] S1: Obtain device data collected by the device access layer through the message middleware; wherein the device data includes device standard data and device real-time data;
[0091] S2: Process the device standard data and the device real-time data according to the data consumption logic to obtain the processing results of the device standard data and the device real-time data;
[0092] S3: determining a standard device data curve corresponding to the device standard data according to the device standard data and the processing result of the device standard data, and determining a real-time device data curve corresponding to the device real-time data according to the device real-time data and the processing result of the device real-time data;
[0093] S4: Upload the standard device data curve and the real-time device data curve to the front-end service layer to display the standard device data curve and the real-time device data curve on the front-end service layer.
[0094] In a feasible embodiment of the present application, after determining the standard device data curve corresponding to the device standard data according to the device standard data and the processing result of the device standard data, and determining the real-time device data curve corresponding to the device real-time data according to the device real-time data and the processing result of the device real-time data, the method further includes:
[0095] Compare and analyze the standard equipment data curve with the real-time equipment data curve to determine the operation deviation of the IoT equipment;
[0096] The operation deviation of the IoT device is uploaded to the front-end service layer to display the operation deviation of the IoT device at the front-end service layer.
[0097] Through the technical solution provided by this application, the processing of device data is realized in the back-end service layer, and the device data curve corresponding to the IoT device is determined based on the strong correlation between the device data and the collection time, and the device data curve is displayed to the user in the front-end service layer, which improves the real-time monitoring of IoT devices and enables users to intuitively know the operation status of IoT devices. At the same time, the back-end service layer also provides a comparative analysis function, determines the operation deviation of IoT devices based on the standard device data curve of IoT devices, and provides prompts, warnings, errors and other information feedback to users, so that users can intuitively perceive the operation status of IoT devices in the process of IoT, so as to make corresponding equipment debugging, adjustment, and monitoring activities.
[0098] like Figure 3 As shown, an embodiment of the present application provides an electronic device, including a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304.
[0099] Memory 303, used for storing computer programs;
[0100] In one embodiment of the present application, the processor 301 is used to execute the program stored in the memory 303 to implement a monitoring method for an Internet of Things device provided by any of the aforementioned method embodiments, including:
[0101] Obtain device data collected by the device access layer through the message middleware; wherein the device data includes device standard data and device real-time data;
[0102] The device standard data and the device real-time data are processed according to the data consumption logic to obtain the processing results of the device standard data and the device real-time data;
[0103] Determine a standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and the processing result of the equipment standard data, and determine a real-time equipment data curve corresponding to the equipment real-time data according to the equipment real-time data and the processing result of the equipment real-time data;
[0104] The standard device data curve and the real-time device data curve are uploaded to the front-end service layer to display the standard device data curve and the real-time device data curve on the front-end service layer.
[0105] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of a monitoring method for an Internet of Things device provided in any of the aforementioned method embodiments are implemented.
[0106] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0108] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0109] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A monitoring system for an Internet of Things device, characterized in that: The system includes a front-end service layer, a back-end service layer and a device access layer; The device access layer is connected to the backend service layer and a plurality of IoT devices; the device access layer is used to collect device data of the IoT devices through device measurement points pre-set on each IoT device, and upload the device data to the backend service layer; wherein the device data is associated with the collection time of the device data; The backend service layer is connected to the device access layer and the frontend service layer; the backend service layer is used to determine the corresponding device data curve according to the device data, and upload the device data curve to the frontend service layer; The front-end service layer is connected to the back-end service layer; the front-end service layer is used to receive the device data curve and display the device data curve.
2. The system according to claim 1, characterized in that The backend service layer includes: A first processing module, used to obtain the device data, and process the device data according to a data consumption logic to obtain a processing result of the device data; A first database, used to store the device data and the processing results of the device data; the first database is an IOTDB database; A second processing module, used for determining the device data curve corresponding to the device data according to the device data and the processing result of the device data; The second database is used to store the device data curve; the second database is a MySQL database.
3. The system according to claim 1, characterized in that The device data includes device standard data and device real-time data. The device standard data is the device data of the Internet of Things device in a standard operating state, and the device real-time data is the device data of the Internet of Things device in an actual operating state.
4. The system according to any one of claims 2 or 3, characterized in that: The first processing module comprises: A first processing unit, configured to obtain the device standard data, and process the device standard data according to a data consumption logic to obtain a processing result of the device standard data; The second processing unit is used to obtain the real-time data of the device, and process the real-time data of the device according to the data consumption logic to obtain the processing result of the real-time data of the device.
5. The system according to any one of claims 2 or 3, characterized in that: The second processing module comprises: a third processing unit, configured to determine the standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and a processing result of the equipment standard data; A fourth processing unit, configured to determine the real-time device data curve corresponding to the device real-time data according to the device real-time data and a processing result of the device real-time data; The fifth processing unit is used to compare and analyze the standard device data curve with the real-time device data curve to determine the operation deviation of the Internet of Things device.
6. The system according to claim 1, characterized in that The system also includes a message middleware; The message middleware is arranged between the backend service layer and the device access layer, and the backend service layer obtains the device data from the device access layer through the message middleware; the message middleware runs in a publish / subscribe mode, and the message middleware adopts AMQP or MQTT communication protocol.
7. A monitoring method for an Internet of Things device, characterized in that: The method is applied to the backend service layer, and the method includes: Obtaining device data collected by the device access layer through the message middleware; wherein the device data includes device standard data and device real-time data; Processing the device standard data and the device real-time data according to the data consumption logic to obtain processing results of the device standard data and the device real-time data; Determine the standard equipment data curve corresponding to the equipment standard data according to the equipment standard data and the processing result of the equipment standard data, and determine the real-time equipment data curve corresponding to the equipment real-time data according to the equipment real-time data and the processing result of the equipment real-time data; The standard device data curve and the real-time device data curve are uploaded to the front-end service layer, so as to display the standard device data curve and the real-time device data curve on the front-end service layer.
8. The method according to claim 7, characterized in that After determining the standard device data curve corresponding to the device standard data according to the device standard data and the processing result of the device standard data, and determining the real-time device data curve corresponding to the device real-time data according to the device real-time data and the processing result of the device real-time data, the method further includes: Comparing and analyzing the standard device data curve with the real-time device data curve to determine the operation deviation of the IoT device; The operation deviation of the IoT device is uploaded to the front-end service layer to display the operation deviation of the IoT device on the front-end service layer.
9. An electronic device, characterized in that: include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to implement the method according to any one of claims 7-8.
10. A computer storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the method according to any one of claims 7-8.
Citation Information
Patent Citations
Oil depot Internet of Things equipment state monitoring and automatic switching method
CN114095519A
Equipment state intelligent monitoring method based on Internet of Things and related device
CN115001947A
Method and system for monitoring running state of Internet of Things equipment
CN116776273A
Internet of Things equipment safety monitoring system based on big data
CN117834256A
Alarm method for internet of things device, and related apparatus
WO2021008414A1
