Intelligent station building integrated automation control method and system based on swan monk system

By adopting the comprehensive automation control method of smart station buildings based on the Hongmeng system in the water quality monitoring system, the problem of inaccurate water quality data caused by abnormal equipment operation is solved, and higher accuracy of water quality data and timely sewage purification treatment is achieved.

CN119739054APending Publication Date: 2025-04-01NANJING SHENDA ENG TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411710018.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In the existing water quality monitoring plan, the equipment may operate abnormally during long-term work, resulting in the inability to obtain accurate water quality data, which affects the analysis of water quality pollution and the timeliness of sewage purification and treatment.

Method used

The comprehensive automation control method and system of smart station buildings based on the Hongmeng system is adopted, and the control unit conducts regular self-inspection, transmits status data to the alarm module, and analyzes the status data and water quality data through the alarm module to promptly discover whether there are abnormalities in the equipment status or water quality pollution.

Benefits of technology

It effectively avoids the inaccurate water quality data caused by equipment abnormalities, greatly improves the accuracy of water quality data detection, improves the accuracy of analysis of water quality pollution and the timeliness of sewage purification and treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119739054A_ABST
    Figure CN119739054A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent station building integrated automation control method and system based on a swan-gap system, and belongs to the technical field of Internet of Things. The system comprises a control unit, a water quality sensor, a data acquisition terminal, an alarm module and a server, wherein the control unit is used for data transmission based on a distributed soft bus protocol of the swan mongolian system. The control unit is used for controlling the working state of the water quality sensor and the sampling depth of the water quality sensor in water, performing regular self-inspection through a built-in self-inspection program, and sending state data obtained through self-inspection to the alarm module and the server; the water quality sensor is used for detecting water quality data of water samples at different sampling depths and sending the water quality data to the data acquisition terminal, so that the data acquisition terminal sends the water quality data to the alarm module and the server. The alarm module is used for triggering an alarm according to the state data and / or the water quality data. And the server is used for storing the state data, the water quality data and the alarm information. Therefore, the real-time monitoring of the working state is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to Internet of Things technology, and in particular to a comprehensive automation control method and system for a smart station building based on the Hongmeng system. Background Art

[0002] At present, water quality testing is one of the main means of water resource protection and pollution control. In conventional water quality monitoring programs, it is usually necessary to regularly take fixed-point samples in the water and analyze the water pollution situation based on the water quality data obtained by sampling, so as to carry out water purification and other treatments according to the water pollution situation.

[0003] However, the various devices involved in the existing water quality monitoring schemes may experience abnormal operation during long-term working cycles, which will make it impossible to obtain accurate water quality data, thereby affecting the accuracy of the analysis of water pollution and the timeliness of water purification treatment. Summary of the invention

[0004] The present invention provides a comprehensive automation control method and system for a smart station building based on the Hongmeng system, which is used to enable the control unit to perform regular self-inspection and transmit status data to an alarm module. The alarm module analyzes the status data and water quality data to promptly detect whether there is any abnormality in the equipment status or water pollution situation, thereby avoiding the situation where accurate water quality data cannot be obtained due to equipment abnormality, greatly improving the accuracy of water quality data detection, and further improving the accuracy of water pollution analysis and the timeliness of sewage purification treatment.

[0005] In the first aspect, the present invention provides a smart station integrated automation control system based on the Hongmeng system, which is applied to water quality detection, characterized in that the system includes: a control unit, a water quality sensor, a data acquisition terminal, an alarm module and a server; Among them, the control unit, water quality sensor, data acquisition terminal, alarm module and server all support the distributed soft bus protocol of the Hongmeng system and transmit data through the distributed soft bus protocol; A control unit, used to control the working state of the water quality sensor and the sampling depth of the water quality sensor in the water, and to perform regular self-tests through a built-in self-test program, and to send the status data obtained from the self-tests to the alarm module and the server; A water quality sensor is used to detect water quality data of water samples at different sampling depths according to the control of the control unit, and send the detected water quality data to the data acquisition terminal; A data acquisition terminal is used to receive water quality data sent by the water quality sensor and send the water quality data to the alarm module and the server; An alarm module is used to receive status data sent by the control unit and water quality data sent by the data acquisition terminal; and trigger an alarm according to the status data and / or water quality data; Server, used to store status data, water quality data and alarm information.

[0006] In a possible design of the first aspect, the control unit performs a periodic self-test through a built-in self-test program, including: The execution of the self-test program built into the control unit is triggered regularly through the timer task; The self-test content of the self-test program includes hardware status check, software status check and communication status check of the control unit.

[0007] In a possible design of the first aspect, the water quality sensor is further used to: The execution of the built-in self-test program of the water quality sensor is triggered regularly through the scheduled task; The self-test contents of the built-in self-test program of the water quality sensor include: sensor function check and communication status check.

[0008] In a possible design of the first aspect, the control unit includes a microcontroller and an elevator; the elevator is connected to the water quality sensor; A microcontroller for sending a control signal to the elevator according to a set sampling depth; The elevator is used to control the water quality sensor to detect water quality data of water samples at different sampling depths according to the control signal.

[0009] In a possible design of the first aspect, the data acquisition terminal is also used to: pre-process the water quality data.

[0010] In a possible design of the first aspect, the alarm module is specifically used to: When it is determined that the status data exceeds the status threshold, issuing a status abnormality alarm; and / or, When it is determined that the water quality data exceeds the water quality threshold, an abnormal water quality alarm is issued.

[0011] In a possible design of the first aspect, the system further includes: Remote monitoring terminal, the remote monitoring terminal supports the distributed soft bus protocol of the Hongmeng system, and can transmit data with the server through the distributed soft bus protocol.

[0012] In a possible design of the first aspect, the remote monitoring terminal is specifically used for: Send a data read request to the server; Receive status data, water quality data and alarm information sent by the server.

[0013] In a possible design of the first aspect, data is transmitted between the control unit and the server via a low-power wide area network; data is transmitted between the water quality sensor and the data acquisition terminal via short-range wireless communication technology; and data is transmitted between the data acquisition terminal and the server via a low-power wide area network.

[0014] In a second aspect, the present invention provides a smart station integrated automation control method based on the Hongmeng system, which is applied to the smart station integrated automation control system based on the Hongmeng system as in any one of the first aspects, and the system includes a control unit for data transmission based on the distributed soft bus protocol of the Hongmeng system, a water quality sensor, a data acquisition terminal, an alarm module and a server, and the method includes: The control unit controls the water quality sensor to reach a set sampling depth and controls the water quality sensor to be in a working state; The control unit also performs regular self-tests through a built-in self-test program and sends the status data obtained from the self-tests to the alarm module and the server; The water quality sensor detects the water quality data of the water sample at the sampling depth, and sends the detected water quality data to the data acquisition terminal; The data acquisition terminal sends the water quality data to the alarm module and the server respectively; The alarm module triggers an alarm based on the status data and / or the water quality data; The server receives status data, water quality data, and alarm information.

[0015] In the above scheme, a control unit, a water quality sensor, a data acquisition terminal, an alarm module and a server are set up for data transmission based on the distributed soft bus protocol of the Hongmeng system. The control unit is used to control the working state of the water quality sensor and the sampling depth of the water quality sensor in the water, and performs regular self-inspection through the built-in self-inspection program, and sends the status data obtained by the self-inspection to the alarm module and the server; the water quality sensor is used to detect the water quality data of water samples at different sampling depths and send it to the data acquisition terminal, so that the data acquisition terminal sends the water quality data to the alarm module and the server. The alarm module is used to trigger an alarm based on the status data and / or water quality data. The server is used to store status data, water quality data and alarm information. It can effectively solve the operational abnormalities that may occur in each module during long-term work in water quality detection, ensure that the system can work continuously and stably, and provide accurate water quality data. In addition, the distributed characteristics of the Hongmeng system enable these devices in the system to work seamlessly, improving the overall efficiency and reliability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the embodiments of the present invention.

[0017] Figure 1 It is a structural schematic diagram of a smart station integrated automation control system based on the Hongmeng system provided by an embodiment of the present invention; Figure 2 It is a structural schematic diagram of another smart station integrated automation control system based on the Hongmeng system provided by an embodiment of the present invention; Figure 3 It is a schematic diagram of the communication path between modules in the smart station integrated automation control system based on the Hongmeng system provided by an embodiment of the present invention; Figure 4 A flow chart of a comprehensive automation control method for a smart station building based on the Hongmeng system provided in an embodiment of the present invention.

[0018] The above drawings have shown specific embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the embodiments of the present invention in any way, but to illustrate the concepts of the embodiments of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present invention are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0021] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the case where there is no conflict between the embodiments, the following embodiments and the features in the embodiments can be combined with each other. In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0022] First, some terms involved in the embodiments of the present invention are explained.

[0023] Hongmeng system: is a distributed operating system for all scenarios, designed to provide a unified operating system platform for multiple devices and achieve seamless collaborative experience among devices.

[0024] Smart station building: refers to a facility that realizes intelligent management of equipment and environment in a specific place by integrating modern information technology, automation technology, and Internet of Things technology.

[0025] Distributed Soft Bus (DSBus) is a communication technology that aims to achieve seamless interconnection between multiple devices. It provides a unified distributed communication capability for communication between devices and supports non-sense discovery and zero-wait transmission of devices.

[0026] Low Power Wide Area Network (LPWAN) is a wireless communication network specially designed for the Internet of Things (IoT) to meet the communication needs of long distance and low power consumption.

[0027] Long Range (LoRa) is a wireless communication technology that uses spread spectrum modulation technology to increase transmission distance and anti-interference capabilities by expanding the bandwidth of the signal. It can achieve long-distance data transmission with low power consumption and is widely used in fields such as water quality monitoring.

[0028] Narrow Band Internet of Things (NB-IoT) is a narrowband Internet of Things technology based on cellular networks, which supports efficient connection of devices with long standby time and high network connection requirements.

[0029] Among the many types of pollution, water pollution is particularly urgent. On the one hand, industrial wastewater is discharged into natural water bodies without proper treatment, causing rivers and lakes to be polluted by harmful substances such as heavy metals and organic matter; on the other hand, urban domestic sewage and agricultural irrigation return water also have a significant impact on the water environment. These pollutants not only affect human health, but also destroy the ecological balance and lead to a decline in biodiversity.

[0030] Faced with such a severe situation, sewage treatment and water quality monitoring have become key links in water resource protection. In particular, industrial sewage treatment is particularly important because of its wide variety of pollutants and difficulty in treatment. Wastewater generated during industrial production contains a large amount of chemical substances. If it is discharged without strict treatment, it will cause great harm to the environment.

[0031] As one of the main means of water resource protection and pollution control, water quality testing bears an important responsibility. Traditional water quality monitoring solutions usually rely on manual sampling at specific locations on a regular basis, and then taking the samples back to the laboratory for analysis. Although this method can provide relatively accurate data, it has disadvantages such as poor timeliness, high cost, and high labor intensity. More importantly, during the long-term monitoring process, due to various reasons, such as equipment aging, sensor failure, etc., the accuracy of the monitoring data may be affected, which in turn affects the subsequent water quality analysis and treatment decisions.

[0032] To overcome these problems, modern water quality monitoring systems are moving towards automation. Using advanced sensor technology and Internet of Things (IoT) technology, real-time monitoring of water quality can be achieved. For example, water quality can be monitored by deploying smart stations in rivers, lakes and other water bodies.

[0033] However, the various devices involved in existing water quality monitoring solutions may experience abnormal operation during long-term working cycles, which will make it impossible to obtain accurate water quality data, thereby affecting the accuracy of water pollution analysis and the timeliness of water purification treatment.

[0034] Based on this, the embodiment of the present invention proposes a smart station house integrated automation control system based on the Hongmeng system for water quality detection, which can be used to set up a control unit, a water quality sensor, a data acquisition terminal, an alarm module and a server for data transmission by setting a distributed soft bus protocol based on the Hongmeng system. The control unit is used to control the working state of the water quality sensor and the sampling depth of the water quality sensor in the water, and performs regular self-tests through the built-in self-test program, and sends the status data obtained by the self-test to the alarm module and the server; the water quality sensor is used to detect the water quality data of water samples at different sampling depths and send it to the data acquisition terminal, so that the data acquisition terminal sends the water quality data to the alarm module and the server. The alarm module is used to trigger an alarm based on the status data and / or water quality data. The server is used to store status data, water quality data and alarm information. It can effectively solve the operational abnormalities that may occur in each module during long-term work in water quality detection, ensure that the system can work continuously and stably, and provide accurate water quality data. In addition, the distributed characteristics of the Hongmeng system enable these devices in the system to work seamlessly, improving the overall efficiency and reliability of the system.

[0035] The technical solution provided in the implementation mode of the present application can be implemented by a server and / or a terminal device. It should be noted that the server involved in the embodiment of the present application can be an independent physical server 150, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, big data and artificial intelligence platforms.

[0036] The terminal device involved in the embodiments of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. For example, a mobile phone (or "cellular" phone) and a computer with a mobile terminal, for example, a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges voice and / or data with a wireless access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs) and other devices.

[0037] It should be understood herein that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction rather than having any limiting meaning.

[0038] The following is an introduction to the comprehensive automation control system and method of the smart station building based on the Hongmeng system provided in an embodiment of the present invention.

[0039] Figure 1 This is a schematic diagram of the structure of a smart station integrated automation control system based on the Hongmeng system provided by an embodiment of the present invention. Figure 1 As shown, the system includes: a control unit 110, a water quality sensor 120, a data acquisition terminal 130, an alarm module 140 and a server 150. Among them, the control unit 110, the water quality sensor 120, the data acquisition terminal 130, the alarm module 140 and the server 150 all support the distributed soft bus protocol of the Hongmeng system and transmit data through the distributed soft bus protocol.

[0040] That is to say, the DSBus protocol is used for data transmission between the control unit 110 and the alarm module 140 to ensure that the status data of the control unit 110 can be transmitted to the alarm module 140 in real time. For example, a set of specific message formats and communication rules can be defined between the control unit 110 and the alarm module 140 to ensure that both parties can correctly parse the data sent by the other party. The DSBUs protocol is also used for data transmission between the water quality sensor 120 and the data acquisition terminal 130. For example, a simple and effective data format, such as JSON or XML, can be defined between the water quality sensor 120 and the data acquisition terminal 130 to facilitate the parsing and processing of data. The DSBUs protocol is also used for data transmission between the data acquisition terminal 130 and the alarm module 140. For example, some specific service interfaces, such as alarm service interface, status query interface, etc., can be defined between the data acquisition terminal 130 and the alarm module 140, so that the alarm module 140 can trigger the corresponding alarm mechanism according to the received data. Similarly, the DSBUs protocol is also used for data transmission between the alarm module 140 and the server 150.

[0041] Specifically, in the embodiment of the present invention, the control unit 110 is used to control the working state of the water quality sensor 120 and the sampling depth of the water quality sensor 120 in the water. The water quality sensor 120 is used to detect the water quality data of water samples at different sampling depths according to the control of the control unit 110, and send the detected water quality data to the data acquisition terminal 130.

[0042] Among them, the water quality sensor 120 can monitor various parameters of water quality in real time, such as pH value, dissolved oxygen, conductivity, turbidity and temperature. The water quality data detected by the water quality sensor 120 may include data such as pH value, dissolved oxygen, conductivity, turbidity and temperature of the water sample.

[0043] The working state of the water quality sensor 120 includes a start working state and a stop working state. The control unit 110 can control the working state of the water quality sensor 120 to start working, or the control unit 110 can control the water quality sensor 120 to stop working. At the same time, the control unit 110 can also control the sampling depth of the water quality sensor 120 in the target water area, so that the water quality sensor 120 detects the water sample at the set sampling depth to obtain water quality data.

[0044] In a feasible implementation, the control unit 110 may include a microcontroller and an elevator; the elevator is connected to the water quality sensor 120. The microcontroller is used to send a control signal to the elevator according to the set sampling depth; the elevator is used to control the water quality sensor 120 to detect water quality data of water samples at different sampling depths according to the control signal.

[0045] For example, assuming that the sampling depth is set to 10m, the microcontroller sends a control signal to the elevator to descend to 10m. According to the control signal, the elevator controls the water quality sensor 120 to descend to 10m underwater in the target water area, and sets the working state of the water quality sensor 120 to start working. After that, the water quality sensor 120 starts to detect the water sample and obtain water quality data.

[0046] In the embodiment of the present invention, a plurality of water quality sensors 120 may be provided as backup in each target water area. If one of the water quality sensors 120 fails, the backup water quality sensor 120 may be seamlessly started to detect the water sample.

[0047] On the other hand, the control unit 110 can also perform regular self-tests through a built-in self-test program, and send the status data obtained by the self-test to the alarm module 140 and the server 150. Specifically, the control unit 110 can periodically trigger the execution of the self-test program built into the control unit 110 through a scheduled task; wherein the self-test content of the self-test program includes a hardware status check, a software status check, and a communication status check of the control unit 110.

[0048] In an embodiment of the present invention, the control unit 110 triggers the execution of the self-check program regularly by using a timer task (Timer) in the Hongmeng system. For example, it is set to perform a comprehensive self-check of the control unit 110 once every day at 2 a.m. Among them, the main self-check contents may include hardware status check, software status check and communication status check of the control unit 110.

[0049] Specifically, the hardware status check may include, for example, the CPU working status check, the elevator and other mechanical parts working status check, and the power supply working status check. The software status check may include, for example, the operating system status check, the application status check, etc. The communication status check is usually used to confirm whether the connection of the communication module is normal and whether the signal strength meets the requirements.

[0050] After the self-test is completed, the status data obtained from the self-test is sent to the alarm module 140, so that the alarm module 140 determines whether the working status of the control unit 110 is normal based on the status data. If it is not normal, an alarm message indicating that the working status of the control unit 110 is abnormal is issued. After completing the self-test, the control unit 110 can also use the logging function of the Hongmeng system to record the self-test results.

[0051] For example, if the status data obtained by the self-check of the control unit 110 shows that the working state of the elevator is abnormal, this may cause the control unit 110 to be unable to accurately control the sampling depth of the water quality sensor 120 in the water, thereby causing inaccurate water samples. At this time, when the alarm module 140 determines that the working state of the elevator of the control unit 110 is abnormal according to the status data, it issues an alarm message, and the alarm message includes a prompt of the abnormal working state of the elevator.

[0052] In the embodiment of the present invention, the data acquisition terminal 130 may be specifically configured to receive water quality data sent by the water quality sensor 120 , and send the water quality data to the alarm module 140 and the server 150 .

[0053] After receiving the water quality data from the water quality sensor 120, the data acquisition terminal 130 can also pre-process the water quality data. For example, the pre-processing can be data cleaning processing, data conversion processing, data aggregation processing, etc. Data cleaning refers to the process of removing invalid, incomplete or erroneous data records to improve data quality. For example, eliminate random errors or outliers in the data collected by the water quality sensor 120, process missing parts in the data, such as using the mean, median or other statistical methods to fill missing values, and ensure data consistency, such as checking whether the data exceeds a reasonable range or contradicts other data. Data conversion processing refers to converting raw data into a form suitable for analysis, such as converting data of different units into a unified unit to facilitate comparison and analysis, scaling the data so that it falls within a specific interval (such as 0-1), which is helpful for subsequent data processing and analysis, or converting continuous data into discrete categories for classification analysis. Data aggregation processing refers to merging multiple data points into a comprehensive value to reduce the amount of data and extract useful information. For example, calculate the average value over a period of time, find the highest or lowest value over a period of time, accumulate water quality data over a period of time, etc. In this way, by performing data preprocessing close to the data source, the data transmission burden can be reduced and the response speed can be improved.

[0054] In the embodiment of the present invention, the alarm module 140 may be specifically configured to receive status data sent by the control unit 110 and water quality data sent by the data acquisition terminal 130 ; and trigger an alarm according to the status data and / or water quality data.

[0055] Among them, the alarm module 140 issues a state abnormality alarm when determining that the state data exceeds the state threshold; and / or issues a water quality abnormality alarm when determining that the water quality data exceeds the water quality threshold. The state abnormality alarm is used to remind the operation and maintenance personnel of the unit that is currently abnormal. For example, if the control unit 110 is abnormal, the alarm module 140 will issue a state abnormality alarm of the abnormal control unit 110. If the water quality data exceeds the water quality threshold, the alarm module 140 will issue a water quality abnormality alarm to remind the operation and maintenance personnel that the detection data of the sewage sample obtained in a certain water section is abnormal, which helps the operation and maintenance personnel to carry out subsequent processing.

[0056] The alarm information of the alarm module 140 can be specifically sent out through a signal transmitting device, and the signal transmitting device can simultaneously transmit a camera video signal, a vibration signal, temperature data and other data.

[0057] The server 150 is used to store status data, water quality data and alarm information.

[0058] Based on the solution provided by the above embodiment of the present invention, a control unit 110, a water quality sensor 120, a data acquisition terminal 130, an alarm module 140 and a server 150 are set up for data transmission based on the distributed soft bus protocol of the Hongmeng system. The control unit 110 is used to control the working state of the water quality sensor 120 and the sampling depth of the water quality sensor 120 in the water, and performs regular self-inspection through the built-in self-inspection program, and sends the state data obtained by the self-inspection to the alarm module 140 and the server 150; the water quality sensor 120 is used to detect the water quality data of water samples at different sampling depths and send it to the data acquisition terminal 130, so that the data acquisition terminal 130 sends the water quality data to the alarm module 140 and the server 150. The alarm module 140 is used to trigger an alarm according to the state data and / or water quality data. The server 150 is used to store the state data, water quality data and alarm information. It can effectively solve the operation abnormality problems that may occur in each module in long-term work in water quality detection, ensure that the system can work continuously and stably, and provide accurate water quality data. In addition, the distributed nature of the Hongmeng system enables these devices in the system to work together seamlessly, improving the overall efficiency and reliability of the system.

[0059] In an embodiment of the present invention, in order to ensure the accuracy of the detection data of the water quality sensor 120, the water quality sensor 120 can also be used to: regularly trigger the execution of the self-test program built into the water quality sensor 120 through a scheduled task; wherein the self-test content of the self-test program built into the water quality sensor 120 includes: sensor function check and communication status check.

[0060] Specifically, the water quality sensor 120 uses the timer task in the Hongmeng system to periodically trigger the execution of the self-test program. For example, it is set to perform a comprehensive self-test of the water quality sensor 120 at 2 a.m. every day. Among them, the main self-test content may include the function test and communication status test of the water quality sensor 120.

[0061] The function detection of the water quality sensor 120 can use the SDK or API provided by the sensor manufacturer to write a self-test program to calibrate the zero point and full scale of the water quality sensor 120 to ensure the measurement accuracy. The communication status check of the water quality sensor 120 can verify whether the communication link is normal by sending a test command and receiving a response.

[0062] After the self-test is completed, the water quality sensor 120 can use the logging function of the Hongmeng system to record the self-test results. In addition, the water quality sensor 120 can also send the self-test results to the alarm module 140 and the server 150.

[0063] Based on the solution provided by the above embodiment of the present invention, by setting a self-check program for the water quality sensor 120, the function and communication status of the water quality sensor 120 can be checked regularly, so as to facilitate timely detection of abnormalities in the water quality sensor 120.

[0064] Figure 2 This is a schematic diagram of the structure of another smart station integrated automation control system based on the Hongmeng system provided by an embodiment of the present invention. Figure 2 As shown, the system may also include: Remote monitoring terminal 160, remote monitoring terminal 160 supports the distributed soft bus protocol of Hongmeng system, and can transmit data with server 150 through the distributed soft bus protocol. Among them, remote monitoring terminal 160 can be an electronic device with a display screen such as a mobile phone, a tablet computer, or a personal computer.

[0065] The remote monitoring terminal 160 is specifically used to: send a data reading request to the server 150 ; and receive status data, water quality data, and alarm information sent by the server 150 .

[0066] When the user needs to view the operating status, water quality data or alarm information of the device, the corresponding function button on the remote monitoring terminal 160 can be used to trigger an instruction to send a data reading request to the server 150. In response to the instruction, the remote monitoring terminal 160 sends a data reading request to the server 150. The data reading request can be any one or more of a request to obtain status data corresponding to the operating status of the device, to obtain water quality data of a water sample, or to obtain alarm information.

[0067] The server 150 finds corresponding data from the stored data according to the received data reading request and sends the data to the remote monitoring terminal 160 via a data reading response.

[0068] After receiving the data reading response, the remote monitoring terminal 160 parses the data reading response to obtain status data, water quality data and / or alarm information, and displays the obtained status data, water quality data and / or alarm information on the display screen in the form of text, charts, etc.

[0069] By setting up the remote monitoring terminal 160, the user can obtain the data he wants to view from the server 150 as needed. For example, if the user wants to view the water quality data of a certain water section in the past week, he can send a data reading request for obtaining the water quality data of the water section in the past week to the server 150 through the function button for viewing water quality data on the remote monitoring terminal 160. After receiving the data reading request, the server 150 obtains the water quality data of the water section in the past week, and sends the water quality data to the remote monitoring terminal 160 through a data reading response. After receiving the data reading response, the remote monitoring terminal 160 parses the water quality data of the water section in the past week, and displays it on the real screen of the remote monitoring terminal 160 in a combination of charts and data for the user to view.

[0070] Based on the solution provided by the above embodiment of the present invention, by setting up a remote monitoring terminal 160, the user can view the status data of each device in the system, the water quality data in the water area, and the alarm information in real time through the remote monitoring terminal 160, so that the user can understand the operating status of the system in a timely manner.

[0071] Figure 3 Schematic diagram of the communication path between modules in the smart station integrated automation control system based on the Hongmeng system provided by the embodiment of the present invention. Figure 3 As shown, in an embodiment of the present invention, in addition to data transmission based on the distributed soft bus protocol of the Hongmeng system, data transmission can also be carried out through a pre-designed redundant communication path between the control unit 110, the water quality sensor 120, the data acquisition terminal 130, the alarm module 140 and the server 150.

[0072] Specifically, data is transmitted between the control unit 110 and the server 150 via a low-power wide area network; data is transmitted between the water quality sensor 120 and the data acquisition terminal 130 via short-range wireless communication technology; and data is transmitted between the data acquisition terminal 130 and the server 150 via a low-power wide area network.

[0073] In actual use, if a communication path fails, data will be unable to be transmitted. Therefore, in order to improve the reliability of the system, in an embodiment of the present invention, a redundant communication path is designed to ensure that even if a problem occurs in a communication path, data can be transmitted through the redundant communication path, thereby improving the reliability of the system.

[0074] Specifically, the control unit 110 and the server 150 can also transmit data via a low-power wide area network. The water quality sensor 120 and the data acquisition terminal 130 can also transmit data via short-range wireless communication technology. The data acquisition terminal 130 and the server 150 can also transmit data via a low-power wide area network.

[0075] For example, when the control unit 110 and the alarm module 140 cannot transmit data through the distributed soft bus, the control unit 110 and the server 150 can also transmit data through the LoRa technology or the NBIoT technology. When the water quality sensor 120 and the data acquisition terminal 130 cannot transmit data through the distributed soft bus, the water quality sensor 120 can also transmit data to the data acquisition terminal 130 through USB or NFC. Similarly, the data acquisition terminal 130 and the server 150 can also transmit data through the LoRa technology or the NBIoT technology.

[0076] In this way, by designing redundant communication paths for the system, when one of the communication paths fails, data can also be transmitted through other communication paths, thereby ensuring the timeliness of data transmission and improving the reliability of the system.

[0077] The working process of the above-mentioned smart station integrated automation control system based on the Hongmeng system is described in detail below in conjunction with the accompanying drawings and the following embodiments.

[0078] Figure 4 The flowchart of a method for comprehensive automation control of a smart station based on the Hongmeng system is provided in an embodiment of the present invention. Figure 4 As shown, the method is applied to the smart station integrated automation control system based on the Hongmeng system in the above embodiment, and the system includes the above Figure 1 The control unit, water quality sensor, data acquisition terminal, alarm module and server for data transmission based on the distributed soft bus protocol of the Hongmeng system are shown in the figure. Specifically, the method may include the following steps: 401. The control unit controls the water quality sensor to reach a set sampling depth and controls the water quality sensor to be in a working state.

[0079] 402. The control unit also performs regular self-inspection through a built-in self-inspection program, and sends the status data obtained from the self-inspection to the alarm module and the server.

[0080] 403. The water quality sensor detects water quality data of the water sample at the sampling depth, and sends the detected water quality data to the data collection terminal.

[0081] 404. The data acquisition terminal sends the water quality data to the alarm module and the server respectively.

[0082] 405. The alarm module triggers an alarm according to the status data and / or the water quality data.

[0083] 406. The server receives status data, water quality data, and alarm information.

[0084] Specifically, the control unit can be connected to the water quality sensor, and control the sampling depth of the water quality sensor in the target water area through the elevator in the control unit. At the same time, the control unit can control the working state of the water quality sensor to start working, or the control unit can control the water quality sensor to stop working.

[0085] Water quality sensors can monitor various water quality parameters in real time, such as pH value, dissolved oxygen, conductivity, turbidity and temperature. The water quality data detected by the water quality sensor may include pH value, dissolved oxygen, conductivity, turbidity and temperature of the water sample.

[0086] For example, if the sampling depth is set to 10m, the microcontroller sends a control signal to the elevator to descend to 10m. According to the control signal, the elevator controls the water quality sensor to descend to 10m underwater in the target water area and sets the working state of the water quality sensor to start working. After that, the water quality sensor starts to detect the water sample and obtain water quality data.

[0087] In the embodiment of the present invention, a plurality of water quality sensors may be provided as backup in each target water area. If one of the water quality sensors fails, the backup water quality sensor may be seamlessly started to detect the water sample.

[0088] After the water quality sensor detects and obtains the water quality data, it sends the water quality data to the data acquisition terminal. Correspondingly, after receiving the water quality data from the water quality sensor, the data acquisition terminal can also pre-process the water quality data before sending it to the alarm module and the server.

[0089] Among them, the preprocessing can be data cleaning processing, data conversion processing, data aggregation processing, etc. Data cleaning refers to the process of removing invalid, incomplete or erroneous data records to improve data quality. For example, eliminate random errors or outliers in the data collected by water quality sensors, process missing parts in the data, such as using the mean, median or other statistical methods to fill missing values, and ensure data consistency, such as checking whether the data exceeds a reasonable range or contradicts other data. Data conversion processing refers to converting raw data into a form suitable for analysis, such as converting data of different units into a unified unit to facilitate comparison and analysis, scaling the data so that it falls within a specific interval (such as 0-1), which is helpful for subsequent data processing and analysis, or converting continuous data into discrete categories for classification analysis. Data aggregation processing refers to merging multiple data points into a comprehensive value to reduce the amount of data and extract useful information. For example, calculate the average value over a period of time, find the highest or lowest value over a period of time, and accumulate water quality data over a period of time. In this way, by performing data preprocessing at a location close to the source of the data, the burden of data transmission can be reduced and the response speed can be improved.

[0090] After receiving the status data and water quality data, the alarm module analyzes the status data and water quality data to determine whether there is an abnormality. Specifically, the alarm module can compare the status data with the status threshold. If the status data does not exceed the status threshold, it means that there is no abnormality at this time, and there is no need to issue an alarm message. If the status data exceeds the status threshold, it means that the control unit is abnormal, and the alarm module issues a status abnormality alarm to remind the operation and maintenance personnel of the unit with the current abnormality.

[0091] Similarly, the alarm module compares the water quality data with the water quality threshold. If the water quality data does not exceed the water quality threshold, it means that there is no abnormality at this time, and there is no need to issue an alarm message. If the water quality data exceeds the water quality threshold, it means that the water area corresponding to the water quality data is polluted, and the alarm module issues a water quality abnormality alarm to remind the operation and maintenance personnel that the test data of the sewage sample obtained in a certain water section is abnormal.

[0092] In addition, the control unit can also perform regular self-checks through a built-in self-check program, and send the status data obtained from the self-check to the alarm module and the server. Specifically, the control unit can periodically trigger the execution of the self-check program built into the control unit through a scheduled task; wherein the self-check content of the self-check program includes a hardware status check, a software status check, and a communication status check of the control unit.

[0093] In an embodiment of the present invention, the control unit triggers the execution of the self-check program regularly by using a timer task (Timer) in the Hongmeng system. For example, it is set to perform a comprehensive self-check of the control unit once at 2 a.m. every day. Among them, the main self-check contents may include hardware status check, software status check and communication status check of the control unit.

[0094] Specifically, the hardware status check may include, for example, the CPU working status check, the elevator and other mechanical parts working status check, and the power supply working status check. The software status check may include, for example, the operating system status check, the application status check, etc. The communication status check is usually used to confirm whether the connection of the communication module is normal and whether the signal strength meets the requirements.

[0095] After the self-test is completed, the status data obtained from the self-test is sent to the alarm module, so that the alarm module can determine whether the working status of the control unit is normal based on the status data. If it is not normal, an alarm message indicating that the working status of the control unit is abnormal is issued. After completing the self-test, the control unit can also use the logging function of the Hongmeng system to record the self-test results.

[0096] For example, if the status data obtained by the control unit self-check shows that the working state of the elevator is abnormal, this may cause the control unit to be unable to accurately control the sampling depth of the water quality sensor in the water, thereby causing inaccurate water samples. At this time, when the alarm module determines that the working state of the elevator of the control unit is abnormal according to the status data, it issues an alarm message, and the alarm message includes a prompt of the abnormal working state of the elevator.

[0097] Similarly, the water quality sensor can also periodically trigger the execution of the self-test program built into the water quality sensor through a scheduled task; wherein the self-test content of the self-test program built into the water quality sensor includes: sensor function check and communication status check.

[0098] Specifically, the water quality sensor uses the timer in the Hongmeng system to periodically trigger the execution of the self-test program. For example, it is set to perform a comprehensive self-test of the water quality sensor at 2 a.m. every day. The main self-test content may include the function test and communication status test of the water quality sensor.

[0099] The function detection of water quality sensors can use the SDK or API provided by the sensor manufacturer to write a self-test program to calibrate the zero point and full scale of the water quality sensor to ensure measurement accuracy. The communication status check of the water quality sensor can verify whether the communication link is normal by sending a test command and receiving a response.

[0100] After the self-test is completed, the water quality sensor can use the logging function of the Hongmeng system to record the self-test results. In addition, the water quality sensor can also send the self-test results to the alarm module and server.

[0101] In this way, by setting the self-check program of the water quality sensor, the function and communication status of the water quality sensor can be checked regularly, so as to facilitate timely detection of abnormalities of the water quality sensor.

[0102] Furthermore, in an embodiment of the present invention, the user can also send a data reading request to the server through a remote monitoring terminal that supports the distributed soft bus protocol of the Hongmeng system; and receive status data, water quality data and alarm information sent by the server.

[0103] Specifically, when the user needs to view the operating status, water quality data or alarm information of the device, the corresponding function button on the remote monitoring terminal can be used to trigger an instruction to send a data read request to the server. In response to the instruction, the remote monitoring terminal sends a data read request to the server. The data read request can be any one or more of a request to obtain status data corresponding to the operating status of the device, to obtain water quality data of a water sample, or to obtain alarm information.

[0104] The server finds corresponding data from the stored data according to the received data reading request and sends the data to the remote monitoring terminal through a data reading response.

[0105] After receiving the data reading response, the remote monitoring terminal parses the data reading response to obtain status data, water quality data and / or alarm information, and displays the obtained status data, water quality data and / or alarm information on the display screen in the form of text, charts, etc.

[0106] By setting up a remote monitoring terminal, users can obtain the data they want to view from the server as needed. For example, if a user wants to view the water quality data of a certain water section in the past week, he or she can use the function button for viewing water quality data on the remote monitoring terminal to send a data read request to the server to obtain the water quality data of the water section in the past week. After receiving the data read request, the server obtains the water quality data of the water section in the past week, and sends the water quality data to the remote monitoring terminal through a data read response. After receiving the data read response, the remote monitoring terminal parses the water quality data of the water section in the past week, and displays it on the real screen of the remote monitoring terminal in the form of a combination of charts and data for the user to view.

[0107] Based on the above scheme of the embodiment of the present invention, the working state of the water quality sensor and the sampling depth of the water quality sensor in the water are controlled by the control unit, and regular self-tests are performed through the built-in self-test program, and the status data obtained by the self-test is sent to the alarm module and the server; the water quality sensor detects the water quality data of water samples at different sampling depths and sends it to the data acquisition terminal, so that the data acquisition terminal sends the water quality data to the alarm module and the server. The alarm module triggers an alarm based on the status data and / or water quality data. The server stores the status data, water quality data and alarm information. It can effectively solve the operational abnormalities that may occur in each module during long-term work in water quality detection, ensure that the system can work continuously and stably, and provide accurate water quality data. In addition, the distributed characteristics of the Hongmeng system enable these devices in the system to work seamlessly, improving the overall efficiency and reliability of the system.

[0108] Those skilled in the art will readily appreciate other implementations of the embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The embodiments of the present invention are intended to cover any variations, uses, or adaptations of the embodiments of the present invention that follow the general principles of the embodiments of the present invention and include common knowledge or customary technical means in the art that are not disclosed in the embodiments of the present invention. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the embodiments of the present invention are indicated by the claims.

[0109] It should be understood that the embodiments of the present invention are not limited to the precise structures described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the embodiments of the present invention is limited only by the appended claims.

Claims

1. A smart station integrated automation control system based on Hongmeng system, applied to water quality detection, characterized in that: The system comprises: a control unit, a water quality sensor, a data acquisition terminal, an alarm module and a server; Wherein, the control unit, the water quality sensor, the data acquisition terminal, the alarm module and the server all support the distributed soft bus protocol of the Hongmeng system, and perform data transmission through the distributed soft bus protocol; The control unit is used to control the working state of the water quality sensor and the sampling depth of the water quality sensor in the water, and to perform regular self-tests through a built-in self-test program, and to send the status data obtained from the self-tests to the alarm module and the server; The water quality sensor is used to detect water quality data of water samples at different sampling depths according to the control of the control unit, and send the detected water quality data to the data acquisition terminal; The data acquisition terminal is used to receive the water quality data sent by the water quality sensor, and send the water quality data to the alarm module and the server; The alarm module is used to receive the status data sent by the control unit and the water quality data sent by the data acquisition terminal; and trigger an alarm according to the status data and / or the water quality data; The server is used to store the status data, the water quality data and the alarm information.

2. The system according to claim 1, characterized in that The control unit performs regular self-tests through a built-in self-test procedure, including: Regularly triggering the execution of the self-test program built into the control unit through a timed task; The self-check content of the self-check program includes a hardware status check, a software status check and a communication status check of the control unit.

3. The system according to claim 1, characterized in that The water quality sensor is also used for: Regularly triggering the execution of the self-check program built into the water quality sensor through a scheduled task; The self-test contents of the self-test program built into the water quality sensor include: sensor function check and communication status check.

4. The system according to claim 1, characterized in that The control unit includes a microcontroller and an elevator; the elevator is connected to the water quality sensor; The microcontroller is used to send a control signal to the elevator according to the set sampling depth; The elevator is used to control the water quality sensor to detect the water quality data of water samples at different sampling depths according to the control signal.

5. The system according to claim 1, characterized in that The data acquisition terminal is also used to pre-process the water quality data.

6. The system according to claim 1, characterized in that The alarm module is specifically used for: When it is determined that the state data exceeds the state threshold, issuing a state abnormality alarm; and / or, When it is determined that the water quality data exceeds a water quality threshold, an abnormal water quality alarm is issued.

7. The system according to claim 1, characterized in that The system further comprises: A remote monitoring terminal, which supports the distributed soft bus protocol of the Hongmeng system and can transmit data with the server through the distributed soft bus protocol.

8. The system according to claim 7, characterized in that The remote monitoring terminal is specifically used for: Sending a data read request to the server; The status data, the water quality data and the alarm information sent by the server are received.

9. The system according to claim 1, characterized in that The control unit and the server also transmit data via a low-power wide area network; the water quality sensor and the data acquisition terminal also transmit data via short-range wireless communication technology; and the data acquisition terminal and the server also transmit data via the low-power wide area network.

10. A method for integrated automation control of a smart station based on Hongmeng system, applied to the integrated automation control system of a smart station based on Hongmeng system as described in any one of claims 1-9, the system comprising a control unit for data transmission based on the distributed soft bus protocol of Hongmeng system, a water quality sensor, a data acquisition terminal, an alarm module and a server, characterized in that: The method comprises: The control unit controls the water quality sensor to reach a set sampling depth, and controls the water quality sensor to be in a working state; The control unit also performs regular self-checks through a built-in self-check program, and sends status data obtained from the self-checks to the alarm module and the server; The water quality sensor detects water quality data of the water sample at the sampling depth, and sends the detected water quality data to the data acquisition terminal; The data acquisition terminal sends the water quality data to the alarm module and the server respectively; The alarm module triggers an alarm according to the status data and / or the water quality data; The server receives the status data, the water quality data, and the alarm information.

Citation Information

Patent Citations

  • Water quality remote on-line monitoring method

    CN104535735A

  • Distributed storage based condition monitoring system and monitoring method for wind turbines

    CN104863798A

  • GPRS-based filling water quality remote monitoring device and system

    CN105991777A

  • Data acquisition method, system and terminal of soft bus industrial Internet of Things

    CN118945004A

  • Ocean water quality monitoring data acquisition system

    CN203502404U