CN118467630A - A sewage treatment site edge computing system and method under cloud-edge fusion architecture - Google Patents
A sewage treatment site edge computing system and method under cloud-edge fusion architecture Download PDFInfo
- Publication number
- CN118467630A CN118467630A CN202410514026.1A CN202410514026A CN118467630A CN 118467630 A CN118467630 A CN 118467630A CN 202410514026 A CN202410514026 A CN 202410514026A CN 118467630 A CN118467630 A CN 118467630A
- Authority
- CN
- China
- Prior art keywords
- data
- sewage treatment
- equipment
- module
- edge
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2379—Updates performed during online database operations; commit processing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及污水处理技术领域,特别涉及一种云边融合架构下的污水处理站点边缘计算系统及方法。The present invention relates to the technical field of sewage treatment, and in particular to an edge computing system and method for a sewage treatment site under a cloud-edge fusion architecture.
背景技术Background Art
近年来,云计算、边缘计算、物联网、5G、大数据等信息技术快速发展,各种物联网云平台层出不穷。众所周知,云计算通常由大型数据中心提供,这些数据中心拥有大量的计算和存储资源,可以满足更高规模的应用需求。然而由于数据需要向较远的数据中心传输,云计算存在延迟较高的问题,会对实时性要求高的应用造成一定影响,并且云计算由于高度依赖网络,在大规模物联网设备和传感器场景下,其网络阻塞、高延时、低服务质量等问题可能会凸显。In recent years, information technologies such as cloud computing, edge computing, the Internet of Things, 5G, and big data have developed rapidly, and various Internet of Things cloud platforms have emerged one after another. As we all know, cloud computing is usually provided by large data centers, which have a large amount of computing and storage resources to meet the needs of higher-scale applications. However, since data needs to be transmitted to a distant data center, cloud computing has a high latency problem, which will have a certain impact on applications with high real-time requirements. In addition, since cloud computing is highly dependent on the network, its network congestion, high latency, and low service quality may be prominent in large-scale Internet of Things devices and sensor scenarios.
污水处理站内终端设备种类繁多,数量颇多,处理工艺极其复杂,往往需要多个终端设备相互配合,多个设备协同完成各个环节,才能完整地实现污水处理的工艺流程。在污水处理过程中,各种终端设备产生大量的过程数据,终端设备的下一步动作依赖于当前的过程数据所反应的状态,因此对数据的传输效率和实时处理能力有强烈的需求,常规的云计算处理的数据存在延时,影响污水处理站点的工作效率。There are many types of terminal equipment in sewage treatment stations, and the number is quite large. The treatment process is extremely complex, and it often requires multiple terminal equipment to cooperate with each other and multiple equipment to complete each link in order to fully realize the process flow of sewage treatment. In the sewage treatment process, various terminal equipment generates a large amount of process data. The next action of the terminal equipment depends on the state reflected by the current process data. Therefore, there is a strong demand for data transmission efficiency and real-time processing capabilities. Conventional cloud computing processes data with delays, which affects the work efficiency of sewage treatment sites.
发明内容Summary of the invention
为了解决上述问题,本发明提供了一种云边融合架构下的污水处理站点边缘计算系统及方法,引入边缘计算来减低云计算的传输压力,提高实时处理能力。In order to solve the above problems, the present invention provides an edge computing system and method for sewage treatment sites under a cloud-edge fusion architecture, which introduces edge computing to reduce the transmission pressure of cloud computing and improve real-time processing capabilities.
为此,本发明的技术方案是:一种云边融合架构下的污水处理站点边缘计算系统,包括:To this end, the technical solution of the present invention is: a sewage treatment site edge computing system under a cloud-edge fusion architecture, comprising:
设备管理模块,用于管理污水处理设备、数据采集设备和辅助设备;Equipment management module, used to manage sewage treatment equipment, data acquisition equipment and auxiliary equipment;
数据采集模块,可通过Modbus协议采集各设备的原始数据,解析数据包内容,与设备管理模块配合,将解析出来的设备地址对应到具体的设备;The data acquisition module can collect the original data of each device through the Modbus protocol, parse the data packet content, and cooperate with the device management module to correspond the parsed device address to the specific device;
数据预处理模块,对采集到的源数据进一步处理;Data preprocessing module, further processing the collected source data;
数据存储模块,负责将上一个节点传递过来的数据存储到数据库;The data storage module is responsible for storing the data passed from the previous node into the database;
流程管理模块,负责污水处理整个工艺流程的配置、修改;The process management module is responsible for the configuration and modification of the entire process of sewage treatment;
流程控制模块,根据流程管理模块配置的信息,控制污水处理工艺按规则执行;The process control module controls the sewage treatment process to be executed according to the rules based on the information configured by the process management module;
设备控制模块,发送Modbus指令到指定设备,使设备执行相应的动作;The device control module sends Modbus commands to the specified device to make the device perform corresponding actions;
数据上报模块,根据配置信息,将暂存的数据上报到云平台。The data reporting module reports the temporarily stored data to the cloud platform according to the configuration information.
在上述方案的基础上并作为上述方案的优选方案:所述设备管理模块可配置从各种设备采集的各种数据类型、数据计量单位、采集频率、数值转换方式,同时还具有增加、删除、修改、查看功能。On the basis of the above scheme and as a preferred scheme of the above scheme: the device management module can be configured with various data types, data measurement units, collection frequencies, and numerical conversion methods collected from various devices, and also has the functions of adding, deleting, modifying, and viewing.
在上述方案的基础上并作为上述方案的优选方案:所述数据预处理模块对源数据的进一步处理包括:无效信息丢弃、冗余信息删除、计量单位转换、数据类型转换、组合处理和分解处理。On the basis of the above scheme and as a preferred scheme of the above scheme: the further processing of the source data by the data preprocessing module includes: discarding invalid information, deleting redundant information, converting measurement units, converting data types, combining processing and decomposing processing.
在上述方案的基础上并作为上述方案的优选方案:所述数据库为时序数据库InfluxDB。On the basis of the above solution and as a preferred solution of the above solution: the database is a time series database InfluxDB.
在上述方案的基础上并作为上述方案的优选方案:所述设备控制模块发送的动作指令包括开设备、关设备、获取运行状态、获取故障状态和获取监控数值。On the basis of the above scheme and as a preferred scheme of the above scheme: the action instructions sent by the device control module include turning on the device, turning off the device, obtaining the operating status, obtaining the fault status and obtaining the monitoring value.
在上述方案的基础上并作为上述方案的优选方案:所述数据上报模块上报的数据包括采集到的部分原始数据、预处理后的数据、各种设备的运行状态和故障状态。On the basis of the above scheme and as a preferred scheme of the above scheme: the data reported by the data reporting module includes part of the collected original data, pre-processed data, and the operating status and fault status of various devices.
本发明的另一个技术方案是:一种云边融合架构下的污水处理站点边缘计算方法,包括以下步骤:Another technical solution of the present invention is: an edge computing method for a sewage treatment site under a cloud-edge fusion architecture, comprising the following steps:
1)通过Modbus协议,从污水处理设备、数据采集设备和辅助设备持续采集数据;1) Continuously collect data from sewage treatment equipment, data acquisition equipment and auxiliary equipment through Modbus protocol;
2)将源数据进一步处理,包括无效信息丢弃、冗余信息删除、计量单位转换、数据类型转换、组合处理、分解处理,预处理之后产生的新数据传递到数据存储节点、流程控制节点和数据上报节点;2) Further processing of source data, including discarding invalid information, deleting redundant information, converting measurement units, converting data types, combining and decomposing. The new data generated after preprocessing is transmitted to the data storage node, process control node and data reporting node;
3)数据存储节点接收数据后,将数据存储到时序数据库InfluxDB;3) After receiving the data, the data storage node stores the data in the time series database InfluxDB;
4)流程控制节点接收到预处理数据后,进行以下处理:4) After receiving the pre-processed data, the process control node performs the following processing:
4.1)判断数据是否超过阈值,若超过阈值,则立即产生相关的下一步指令并流转至设备控制节点,同时生成预警信息并流转到数据上报节点;4.1) Determine whether the data exceeds the threshold. If so, immediately generate the relevant next step instructions and transfer them to the device control node. At the same time, generate warning information and transfer it to the data reporting node;
4.2)根据接收到一个或多个数据的数值判断是否触发下一步动作,若触发下一步动作,则产生相关的下一步指令,指令流转至设备控制节点;4.2) Determine whether to trigger the next action based on the value of one or more data received. If the next action is triggered, generate the relevant next instruction, and the instruction is transferred to the device control node;
4.3)保存所有设备当前的所有状态值;4.3) Save all current status values of all devices;
4.4)流程控制节点根据已配置的时间触发条件,结合当前相应的状态值,判断是否触发下一步动作;4.4) The process control node determines whether to trigger the next action based on the configured time trigger condition and the current corresponding state value;
5)设备控制节点接收到指令后将指令翻译成Modbus指令,之后将Modbus指令发送至设备连接所在的端口;5) After receiving the command, the device control node translates the command into a Modbus command, and then sends the Modbus command to the port where the device is connected;
6)数据上报节点接收到流转过来的数据后,将数据推送至云平台。6) After receiving the transferred data, the data reporting node pushes the data to the cloud platform.
在上述方案的基础上并作为上述方案的优选方案:所述步骤1)中,从各种设备中采集的数据为二进制数值,将其解析成十进制数值,并且对应到设备库里各具体设备后传递到下一节点。On the basis of the above scheme and as a preferred scheme of the above scheme: in the step 1), the data collected from various devices are binary values, which are parsed into decimal values, and then corresponding to each specific device in the device library and passed to the next node.
在上述方案的基础上并作为上述方案的优选方案:所述步骤3)中,数据存储使用可逆加密,分别在存储前对数据进行加密、在数据获取后进行解密;并且设计了数据的定时备份机制,以确保数据的完整性和可用性。On the basis of the above scheme and as a preferred scheme of the above scheme: in the step 3), reversible encryption is used for data storage, and the data is encrypted before storage and decrypted after data acquisition; and a scheduled data backup mechanism is designed to ensure the integrity and availability of the data.
在上述方案的基础上并作为上述方案的优选方案:所述步骤6)中,数据传输过程中采用可逆数据加密,在数据发送前加密,传输过程使用加密数据传输,在云平台接收到数据后进行解密。On the basis of the above scheme and as a preferred scheme of the above scheme: in the step 6), reversible data encryption is used in the data transmission process, the data is encrypted before sending, the transmission process uses encrypted data transmission, and the cloud platform decrypts the data after receiving it.
本发明的污水处理站点边缘计算系统南向连接污水处理设备,通过该连接,边缘计算节点负责向设备发送指令以及采集污水处理过程中的各种状态数据和过程数据;北向与云平台连接,通过该连接,边缘计算节点负责将预处理数据传输到云平台。The sewage treatment site edge computing system of the present invention is connected to the sewage treatment equipment in the south direction. Through this connection, the edge computing node is responsible for sending instructions to the equipment and collecting various status data and process data in the sewage treatment process; it is connected to the cloud platform in the north direction. Through this connection, the edge computing node is responsible for transmitting the pre-processed data to the cloud platform.
南向连接通过Modbus协议,采集并解析得到到数据属于原始的污水处理状态数据和过程数据,这些原始数据的数量庞大,直接将这些传输至云平台,不但占用大量网络资源,并且没有多大价值。数据预处理模块,可进行数据清洗、数据集成、数据变换、数据归一化和数据降维度,将原始数据去除缺失值、处理异常值、处理重复值等操作,合并为一个大数据集,再通过特征变换、变量变换、数值变换等将大数据集内的数据变换成更好的形式,以减少数据集的噪声、纠正非结构化数据和增强数据属性的价值性,保证数据的质量和准确性。预处理后的数据其体积已经大为减小,其价值也更加显而易见,为接下来数据的传输和暂存奠定了坚实的基础。The southbound connection uses the Modbus protocol to collect and parse the data, which are the original sewage treatment status data and process data. The amount of these original data is huge. Directly transmitting them to the cloud platform not only takes up a lot of network resources, but also has little value. The data preprocessing module can perform data cleaning, data integration, data transformation, data normalization and data dimension reduction, remove missing values from the original data, process outliers, process duplicate values, and merge them into a large data set. Then, through feature transformation, variable transformation, and numerical transformation, the data in the large data set is transformed into a better form to reduce the noise of the data set, correct unstructured data, and enhance the value of data attributes, so as to ensure the quality and accuracy of the data. The volume of the preprocessed data has been greatly reduced, and its value is more obvious, laying a solid foundation for the subsequent data transmission and temporary storage.
与现有技术相比,本发明的有益效果是:Compared with the prior art, the present invention has the following beneficial effects:
1.大量污水处理设备与边缘计算节点相连,不再直接与云平台相连,大大减少了云平台的连接压力,提高了云平台的可扩展能力;1. A large number of sewage treatment equipment are connected to edge computing nodes instead of directly connected to the cloud platform, which greatly reduces the connection pressure of the cloud platform and improves the scalability of the cloud platform;
2.边缘计算节点将采集到的包括状态数据、过程数据和预警数据在内的大量原始数据,首先经过预处理再发送至云平台,大大减少了数据传输量,减少带宽资源的占用;2. The edge computing node collects a large amount of raw data, including status data, process data, and warning data, and first pre-processes it before sending it to the cloud platform, which greatly reduces the amount of data transmission and reduces the occupation of bandwidth resources;
3.在断线情况,边缘计算节点可将数据先缓存,待恢复与云平台的连接时再将数据传输至云平台,可保证数据的完整性;3. In the event of a disconnection, the edge computing node can cache the data first, and then transmit the data to the cloud platform when the connection with the cloud platform is restored, which can ensure the integrity of the data;
4.由于云端配置的污水处理过程业务逻辑已经被下发到边缘计算节点,并且边缘节点具备数据预处理和暂存的能力,在与云平台断线的情况下边缘子系统可实现离线运行,保证了污水处理站点24小时不间断运行,增强了站点内污水自动化处理的鲁棒性;4. Since the business logic of the sewage treatment process configured in the cloud has been sent to the edge computing node, and the edge node has the ability to pre-process and temporarily store data, the edge subsystem can be operated offline when disconnected from the cloud platform, ensuring the 24-hour uninterrupted operation of the sewage treatment site and enhancing the robustness of the automated sewage treatment in the site;
5.大量原本由云平台计算的任务被卸载到边缘端,减少云平台计算压力;且边缘端实现就近计算,更加能保证计算的实时性。5. A large number of tasks originally calculated by the cloud platform are offloaded to the edge, reducing the computing pressure of the cloud platform; and the edge realizes local computing, which can better ensure the real-time computing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
以下结合附图和本发明的实施方式来作进一步详细说明The following is a further detailed description of the embodiments of the present invention in conjunction with the accompanying drawings.
图1为本发明的系统框图;Fig. 1 is a system block diagram of the present invention;
图2为本发明边缘网络关系模型图;FIG2 is a diagram of an edge network relationship model of the present invention;
图3为云、边缘计算、终端设备和用户的关系图。Figure 3 is a relationship diagram of cloud, edge computing, terminal devices, and users.
具体实施方式DETAILED DESCRIPTION
在本发明的描述中,需要说明的是,对于方位词,如有术语“中心”,“横向(X)”、“纵向(Y)”、“竖向(Z)”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“项”、“底”、“内”、“外”、“顺时针”、“逆时针”等指示方位和位置关系为基于附图所示的方位或位置关系,仅是为了便于叙述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定方位构造和操作,不能理解为限制本发明的具体保护范围。In the description of the present invention, it should be noted that directional words, such as the terms "center", "lateral (X)", "longitudinal (Y)", "vertical (Z)", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present invention.
此外,如有术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或隐含指明技术特征的数量。由此,限定有“第一”、“第二”特征可以明示或者隐含包括一个或者多个该特征,在本发明描述中,“数个”、“若干”的含义是两个或两个以上,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "several" and "a number" mean two or more, unless otherwise clearly and specifically defined.
参见附图。本实施例所述云边融合架构下的污水处理站点边缘计算系统,包括:设备管理模块、数据采集模块、数据预处理模块、数据存储模块、流程管理模块、流程控制模块、设备控制模块和数据上报模块。The sewage treatment site edge computing system under the cloud-edge fusion architecture described in this embodiment includes: a device management module, a data acquisition module, a data preprocessing module, a data storage module, a process management module, a process control module, a device control module and a data reporting module.
其中:in:
·设备管理模块Device management module
负责管理污水处理设备、数据采集设备和各种辅助设备等,同时可配置从各种设备采集的各种数据类型、数据计量单位、采集频率、数值转换方式等,包括增加、删除、修改、查看功能。Responsible for managing sewage treatment equipment, data collection equipment and various auxiliary equipment, etc. At the same time, it can configure various data types, data measurement units, collection frequencies, numerical conversion methods, etc. collected from various devices, including adding, deleting, modifying and viewing functions.
·数据采集模块Data acquisition module
通过Modbus协议采集各设备的原始数据,解析数据包内容,与设备管理模块配合,将解析出来的设备地址对应到具体的设备。The original data of each device is collected through the Modbus protocol, the data packet content is parsed, and the parsed device address is matched to the specific device in cooperation with the device management module.
·数据预处理模块Data preprocessing module
将采集到的源数据进一步处理,包括无效信息丢弃、冗余信息删除、计量单位转换、数据类型转换、组合处理、分解处理等,预处理之后产生新数据传递到下一个节点。The collected source data is further processed, including discarding invalid information, deleting redundant information, converting measurement units, converting data types, combining processing, decomposing processing, etc. After preprocessing, new data is generated and passed to the next node.
·数据存储模块Data storage module
负责将上一个节点传递过来的数据存储到数据库;考虑到污水处理过程所产生的数据均跟时间相关,且具有很强的时效性,因此选择时序数据库InfluxDB。Responsible for storing the data passed from the previous node into the database; considering that the data generated by the sewage treatment process is time-related and has a strong timeliness, the time series database InfluxDB is selected.
·流程管理模块Process management module
负责污水处理整个工艺流程的配置、修改等,但不负责执行。Responsible for the configuration, modification, etc. of the entire sewage treatment process, but not responsible for its execution.
·流程控制模块Process control module
根据流程管理模块配置的信息,控制污水处理工艺按规则执行。According to the information configured in the process management module, the sewage treatment process is controlled to be executed according to the rules.
·设备控制模块Equipment control module
发送Modbus指令到指定设备,使设备执行相应的动作,动作包括开设备、关设备、获取运行状态、获取故障状态、获取监控数值等等。Send Modbus commands to the specified device to make the device perform corresponding actions, including turning on the device, turning off the device, obtaining the operating status, obtaining the fault status, obtaining the monitoring value, etc.
·数据上报模块Data reporting module
根据配置信息,将暂存的数据上报到云平台,上报数据可能包括采集到的部分原始数据、预处理后的数据、各种设备的运行状态和故障状态等。According to the configuration information, the temporarily stored data is reported to the cloud platform. The reported data may include part of the collected original data, pre-processed data, the operating status and fault status of various devices, etc.
边缘计算方法包括以下步骤:The edge computing approach includes the following steps:
1)通过Modbus协议,从污水处理设备、数据采集设备和辅助设备持续采集数据;从各种设备中采集的数据为二进制数值,将其解析成十进制数值,并且对应到设备库里各具体设备后传递到下一节点。1) Through the Modbus protocol, data is continuously collected from sewage treatment equipment, data acquisition equipment and auxiliary equipment; the data collected from various devices are binary values, which are parsed into decimal values and corresponded to each specific device in the device library before being passed to the next node.
2)将源数据进一步处理,包括无效信息丢弃、冗余信息删除、计量单位转换、数据类型转换、组合处理、分解处理,预处理之后产生的新数据传递到数据存储节点、流程控制节点和数据上报节点。2) Further process the source data, including discarding invalid information, deleting redundant information, converting measurement units, converting data types, combining processing, and decomposing processing. The new data generated after preprocessing is passed to the data storage node, process control node, and data reporting node.
3)数据存储节点接收数据后,将数据存储到时序数据库InfluxDB。3) After receiving the data, the data storage node stores the data in the time series database InfluxDB.
4)流程控制节点接收到预处理数据后,进行以下处理:4) After receiving the pre-processed data, the process control node performs the following processing:
4.1)判断数据是否超过阈值,若超过阈值,则立即产生相关的下一步指令并流转至设备控制节点,同时生成预警信息并流转到数据上报节点;4.1) Determine whether the data exceeds the threshold. If so, immediately generate the relevant next step instructions and transfer them to the device control node. At the same time, generate warning information and transfer it to the data reporting node;
4.2)根据接收到一个或多个数据的数值判断是否触发下一步动作,若触发下一步动作,则产生相关的下一步指令,指令流转至设备控制节点;4.2) Determine whether to trigger the next action based on the value of one or more data received. If the next action is triggered, generate the relevant next instruction, and the instruction is transferred to the device control node;
4.3)保存所有设备当前的所有状态值;4.3) Save all current status values of all devices;
4.4)流程控制节点根据已配置的时间触发条件,结合当前相应的状态值,判断是否触发下一步动作。4.4) The process control node determines whether to trigger the next action based on the configured time trigger condition and the current corresponding state value.
5)设备控制节点接收到指令后将指令翻译成Modbus指令,之后将Modbus指令发送至设备连接所在的端口。5) After receiving the command, the device control node translates the command into a Modbus command, and then sends the Modbus command to the port where the device is connected.
6)数据上报节点接收到流转过来的数据后,将数据推送至云平台。6) After receiving the transferred data, the data reporting node pushes the data to the cloud platform.
边缘计算系统具有以下作用:Edge computing systems have the following functions:
1、可进行数据采集、预处理、传输:1. Data collection, preprocessing and transmission can be performed:
污水处理站点边缘计算系统南向连接污水处理设备,通过该连接,边缘计算节点负责向设备发送指令以及采集污水处理过程中的各种状态数据和过程数据。南向连接通过Modbus协议,采集并解析得到到数据属于原始的污水处理状态数据和过程数据,再可进行数据清洗、数据集成、数据变换、数据归一化和数据降维度,将原始数据去除缺失值、处理异常值、处理重复值等操作,合并为一个大数据集,再通过特征变换、变量变换、数值变换等将大数据集内的数据变换成更好的形式,以减少数据集的噪声、纠正非结构化数据和增强数据属性的价值性,保证数据的质量和准确性。预处理后的数据其体积已经大为减小,其价值也更加显而易见,为接下来数据的传输和暂存奠定了坚实的基础。The edge computing system of the sewage treatment site is connected to the sewage treatment equipment in the south. Through this connection, the edge computing node is responsible for sending instructions to the equipment and collecting various status data and process data in the sewage treatment process. The southbound connection uses the Modbus protocol to collect and parse the original sewage treatment status data and process data, and then perform data cleaning, data integration, data transformation, data normalization and data dimension reduction. The original data can remove missing values, process outliers, and process duplicate values, and merge them into a large data set. Then, the data in the large data set is transformed into a better form through feature transformation, variable transformation, and numerical transformation, so as to reduce the noise of the data set, correct unstructured data, and enhance the value of data attributes, so as to ensure the quality and accuracy of the data. The volume of the preprocessed data has been greatly reduced, and its value is more obvious, laying a solid foundation for the subsequent data transmission and temporary storage.
2、配置同步:2. Configuration synchronization:
污水处理站点边缘计算系统北向通过MQTT(Message Queuing TelemetryTransport)协议来传输数据。污水处理工艺流程复杂,站点内设备种类繁多、数量颇多。但因为平台对污水处理站点的设备和工作流程已经做了深度抽象,通过可视化的方式在云平台web界面即可对站点内的设备、拓扑、工作流程等完成配置,再将配置通过MQTT指令通知边缘站点,边缘站点接收到通知之后通过HTTP协议从云平台获取最新的配置信息。The edge computing system of the sewage treatment site transmits data northward through the MQTT (Message Queuing Telemetry Transport) protocol. The sewage treatment process is complex, and there are many types and quantities of equipment in the site. However, because the platform has deeply abstracted the equipment and workflow of the sewage treatment site, the equipment, topology, workflow, etc. in the site can be configured in a visual way on the cloud platform web interface, and then the configuration is notified to the edge site through MQTT instructions. After receiving the notification, the edge site obtains the latest configuration information from the cloud platform through the HTTP protocol.
通过MQTT协议通知边缘站点,可以保证通知的及时性。配置信息包含站点内数十个甚至数百个设备的信息和站点内污水处理工艺的每一步工艺流程,以及各种告警信息的阈值等,配置的体量较大,边缘站点在接收到通知之后,可以按需选择合适的时机通过http协议获取配置信息。两种协议相互配合的方式既可保证获取配置信息的可靠性,又能让新的配置信息在获取之后即时生效。Notifying edge sites through the MQTT protocol can ensure the timeliness of notifications. The configuration information contains information about dozens or even hundreds of devices in the site, each process flow of the sewage treatment process in the site, and the thresholds of various alarm information. The configuration volume is large. After receiving the notification, the edge site can choose the appropriate time to obtain the configuration information through the http protocol as needed. The two protocols work together to ensure the reliability of obtaining configuration information and make the new configuration information take effect immediately after obtaining it.
3、可离线运行3. Can run offline
污水处理站点的配置信息包含设备信息、拓扑结构或拓扑结构信息、工作流程、告警阈值配置等,且最终下发到污水处理站点的边缘计算节点。即便是断开了与云平台的联系,也能保证污水处理工艺流程的有序运行,从而保证污水处理站点的24小时不间断稳定运行。The configuration information of the sewage treatment site includes equipment information, topology or topology information, workflow, alarm threshold configuration, etc., and is ultimately sent to the edge computing node of the sewage treatment site. Even if the connection with the cloud platform is disconnected, the orderly operation of the sewage treatment process can be guaranteed, thereby ensuring the 24-hour uninterrupted and stable operation of the sewage treatment site.
4、数据暂存4. Data Temporary Storage
在污水处理站点与云平台断开连接的情况下,污水处理站点可离线运行,但是离线运行期间产生的状态数据、过程数据和告警数据均无法送达云平台。因此在边缘计算节点设计了一个临时保存数据的数据库,可以在一定时间内保存数据,待与云平台的连接恢复之后再传输到云平台保存,或者在临时保存的数据到达保存期限后自动删除。该设计既能保证有效数据的完整性,又能保证边缘站点存储空间和性能及时释放。When the sewage treatment site is disconnected from the cloud platform, it can run offline, but the status data, process data, and alarm data generated during offline operation cannot be delivered to the cloud platform. Therefore, a database for temporarily storing data is designed at the edge computing node, which can save data for a certain period of time, and then transfer it to the cloud platform for storage after the connection with the cloud platform is restored, or automatically delete the temporarily stored data after the storage period expires. This design can not only ensure the integrity of valid data, but also ensure that the storage space and performance of the edge site are released in a timely manner.
5、数据安全5. Data security
在数据传输过程中采用可逆数据加密,生产者在数据发送前加密,传输过程使用加密数据传输,消费者在接收到数据后进行解密。此外,无论是MQTT协议还是HTTP协议,均附加TLS/SSL实现安全传输。Reversible data encryption is used during data transmission. The producer encrypts the data before sending it, and the transmission process uses encrypted data transmission. The consumer decrypts the data after receiving it. In addition, both the MQTT protocol and the HTTP protocol are attached with TLS/SSL to achieve secure transmission.
数据本地存储也使用可逆加密,分别在存储前对数据进行加密、在数据获取后进行解密。并且设计了数据的定时备份机制,以确保数据的完整性和可用性。The local data storage also uses reversible encryption, encrypting the data before storage and decrypting it after retrieval. A scheduled data backup mechanism is also designed to ensure the integrity and availability of the data.
数据的权限控制则主要通过身份认证来实现。Data permission control is mainly achieved through identity authentication.
云边融合架构下的污水处理站点,其边缘计算形态起到承上启下的作用,且也是污水处理站点内的核心。即便没有云平台的远程指挥,也可以不间断地完成整套处理流程;站点内污水自动化处理变得更加实时、有效、准确、可靠。The edge computing form of the sewage treatment site under the cloud-edge fusion architecture plays a connecting role and is also the core of the sewage treatment site. Even without the remote command of the cloud platform, the entire treatment process can be completed uninterruptedly; the automated sewage treatment in the site becomes more real-time, effective, accurate and reliable.
以上所述仅是本发明的优选实施方式,本发明的保护范围并不仅局限于上述实施例,凡属于本发明思路下的技术方案均属于本发明的保护范围。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理前提下的若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410514026.1A CN118467630A (en) | 2024-04-26 | 2024-04-26 | A sewage treatment site edge computing system and method under cloud-edge fusion architecture |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410514026.1A CN118467630A (en) | 2024-04-26 | 2024-04-26 | A sewage treatment site edge computing system and method under cloud-edge fusion architecture |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118467630A true CN118467630A (en) | 2024-08-09 |
Family
ID=92150860
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410514026.1A Pending CN118467630A (en) | 2024-04-26 | 2024-04-26 | A sewage treatment site edge computing system and method under cloud-edge fusion architecture |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118467630A (en) |
-
2024
- 2024-04-26 CN CN202410514026.1A patent/CN118467630A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111142487A (en) | Equipment data acquisition system based on OPC UA unified architecture protocol | |
| CN115037600A (en) | A low-power IoT platform supporting long-term connection and its device and management method | |
| CN113507691B (en) | Information pushing system and method based on power distribution network cross-region service | |
| CN115643312A (en) | A multi-protocol data acquisition and protocol conversion device based on cloud gateway | |
| CN117082102A (en) | Vehicle data processing methods, devices and equipment based on service-oriented architecture | |
| CN119065918A (en) | One-key inspection method and system for computer monitoring system | |
| CN104618341B (en) | System and method for secure remote access | |
| US9306915B2 (en) | Systems and methods for secure file transfers | |
| CN111385237B (en) | Rail transit data transmission method, device and system based on wide area network | |
| CN114679472A (en) | Communication system, method, apparatus, storage medium, and electronic device | |
| CN118467630A (en) | A sewage treatment site edge computing system and method under cloud-edge fusion architecture | |
| CN118739574A (en) | A fully compatible smart grid blockchain communication and data integration system | |
| CN118612056A (en) | Multi-level device log collection and analysis system and method based on machine nest gateway | |
| CN118101412A (en) | Cloud-edge collaboration-based Internet of things equipment management system and method | |
| CN108989456B (en) | A network implementation method based on big data | |
| CN117793082A (en) | A cloud-edge interaction method and system for the power Internet of Things based on short connection protocol | |
| CN115118449B (en) | Energy internet-oriented safe and efficient interactive edge proxy server | |
| CN113873033A (en) | A fault-tolerant intelligent edge computing gateway platform | |
| US20120072545A1 (en) | Remote maintenance and monitoring service framework for heterogeneous device and system | |
| CN114243910B (en) | Power distribution network monitoring system and method based on 5G VPDN private network | |
| Yan et al. | Research on Cloud Edge Interaction Technology for Power IoT Based on HTTP and CoAP Protocol | |
| CN115361262B (en) | Method and system for realizing FTP (File transfer protocol) reporting of transmission equipment performance file | |
| CN120281806B (en) | Financial information reporting method, device, computer equipment and readable storage medium | |
| CN119484228A (en) | A network equipment hardware information collection system and method | |
| Liu | Application Research of Edge Computing in Condition Monitoring of Construction Equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |