A method and system for treating domestic sewage in subsurface wetlands

By dividing the undercurrent wetland into multiple water areas and adjusting the inlet discharge according to the pollutant concentration, the problem that existing systems cannot achieve dynamic treatment is solved, and flexible and efficient sewage treatment is achieved.

CN118458944BActive Publication Date: 2024-12-27HUNAN YI KANG ENVIRONMENTAL PROTECTION TECHCO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410563411.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2024-12-27
Estimated Expiration
2044-05-08

AI Technical Summary

Technical Problem

The existing domestic sewage treatment system for undercurrent wetlands cannot achieve dynamic and flexible treatment and cannot meet the needs of flexible treatment.

Method used

The undercurrent wetland is divided into multiple water areas along the water flow direction. Each water area has a water inlet and a water outlet. The pollutant concentration is detected through electronic equipment, and the domestic sewage discharge of the inlet is adjusted according to the pollutant concentration range to achieve dynamic and Flexible sewage treatment.

Benefits of technology

The flexibility and efficiency of sewage treatment are adjusted, adapted to changes in different pollutant concentrations, and improved the treatment effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118458944B_ABST
    Figure CN118458944B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for treating domestic sewage in a submerged wetland, which belongs to the field of automatic control technology and is used to achieve dynamic and flexible domestic sewage treatment by controlling the submerged wetland. The submerged wetland is divided into M water areas in sequence along the direction of water flow, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area in the M water areas is provided with a water outlet, where M is an integer greater than 1, and the method includes: an electronic device detects the pollutant concentration at the outlet position of the Mth water area, wherein the pollutant concentration is within the normal pollutant concentration range, and the normal pollutant concentration range is divided into N pollutant concentration intervals, where N is an integer greater than 1; the electronic device adjusts the domestic sewage discharge of the outlet of at least some of the water areas in the M water areas according to the pollutant concentration being in the first pollutant concentration interval in the N pollutant concentration intervals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation control technology, and in particular to a method and system for treating domestic sewage in a subsurface wetland. Background Art

[0002] Subsurface flow wetland is a type of artificial wetland, which uses hydrophilic plants as surface greening and sand and soil as filler, allowing water to naturally infiltrate and filter. Alternative flow wetlands are mainly suitable for the purification of domestic sewage. According to relevant research, vertical flow artificial wetlands have shown good results in removing pollutants such as total nitrogen (TN), total phosphorus (TP), ammonia nitrogen (NH4+-N), biological oxygen demand (BOD5), and chemical oxygen demand (CODCr) in domestic sewage. In the subsurface flow wetland system, sewage flows inside the wetland bed, and the treatment effect and treatment capacity are improved by utilizing the biofilm grown on the surface of the filler, the rich root system, the topsoil, and the filler interception. Because the water flows below the surface, this process has the characteristics of good thermal insulation performance, less impact of climate on the treatment effect, and better sanitary conditions.

[0003] However, current subsurface flow wetlands usually treat domestic sewage according to pre-set inlet and outlet methods. The treatment method is relatively fixed and cannot meet flexible treatment needs. Summary of the invention

[0004] The embodiments of the present application provide a method and system for treating domestic sewage in a submerged flow wetland, which can realize dynamic and flexible domestic sewage treatment through the control of the submerged flow wetland.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a method for treating domestic sewage in a submerged wetland, wherein the submerged wetland is divided into M water areas in sequence along the direction of water flow, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area among the M water areas is provided with a water outlet, where M is an integer greater than 1. The method is applied to an electronic device, and the method includes: the electronic device detects the pollutant concentration at the outlet position of the Mth water area, wherein the pollutant concentration is within the normal pollutant concentration range, the normal pollutant concentration range is divided into N pollutant concentration intervals, and N is an integer greater than 1; the electronic device adjusts the domestic sewage discharge volume of the water inlet of at least some of the water areas in the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals.

[0007] Optionally, the method also includes: the electronic device determines that the pollutant concentration increases / decreases from the second pollutant concentration interval among N pollutant concentration intervals to the first pollutant concentration interval; accordingly, the electronic device adjusts the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, including: the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreased from the second pollutant concentration interval to the first pollutant concentration interval.

[0008] Optionally, the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreasing from the second pollutant concentration interval to the first pollutant concentration interval, including: if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the lowest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas.

[0009] Optionally, the second pollutant concentration is the i-1th pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the i-th pollutant concentration interval among N pollutant concentration intervals, and i is an integer traversing from 2 to N-1; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge volume at the water inlet is Mmo based on the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval. dN+floor(M / N-2)=K water areas, and control the domestic sewage discharge volume of each of the K water areas, such as the water outlet, to increase by a first preset value; wherein, floor() represents rounding down, and when i=2, the K water areas are the 1st water area to the Kth water area, and when i=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge volume of the water inlet in the M water areas needs to be increased according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the Nth pollutant concentration interval, and controls the domestic sewage discharge volume of each of the M water areas, such as the water outlet, to increase by a first preset value.

[0010] Optionally, the second pollutant concentration is the N-1th pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the Nth pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be reduced based on the pollutant concentration increasing from the N-1th pollutant concentration interval to the Nth pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be reduced by a second preset value.

[0011] Optionally, the second pollutant concentration is the jth pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the j-1th pollutant concentration interval among N pollutant concentration intervals, and j-1 is an integer traversing from 2 to N-1; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, then the electronic device reduces the domestic sewage discharge at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge at the water inlet is Mmod according to the pollutant concentration decreasing from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval. N+floor(M / N-2)=K water areas, and control the domestic sewage discharge of each of the K water areas, such as the water outlet, to be reduced by a first preset value; wherein, floor() represents rounding down, and when j-1=2, the K water areas are the 1st water area to the Kth water area, and when j-1=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge of the water inlet in the M water areas needs to be reduced according to the pollutant concentration being reduced from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval, and controls the domestic sewage discharge of each of the M water areas, such as the water outlet, to be reduced by a first preset value.

[0012] Optionally, the second pollutant concentration is the second pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the first pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval of lowest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be increased based on the pollutant concentration decreasing from the second pollutant concentration interval to the first pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be increased by a second preset value.

[0013] Optionally, the sequence numbers of the M water areas increase sequentially along the water flow direction of the subsurface wetland.

[0014] Optionally, the pollutant concentration includes the concentration of at least one of the following: total nitrogen (TN), total phosphorus (TP), ammonia nitrogen (NH4+-N), biological oxygen demand (BOD5), or chemical oxygen demand (CODCr).

[0015] In a second aspect, an embodiment of the present application provides a submerged wetland domestic sewage treatment system, wherein the submerged wetland is divided into M water areas in sequence along the direction of water flow, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area among the M water areas is provided with a water outlet, where M is an integer greater than 1, and the system is applied to an electronic device, and the system is configured as follows: the electronic device detects the pollutant concentration at the outlet position of the Mth water area, wherein the pollutant concentration is within the normal pollutant concentration range, the normal pollutant concentration range is divided into N pollutant concentration intervals, and N is an integer greater than 1; the electronic device adjusts the domestic sewage discharge volume of the water inlet of at least some of the water areas in the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals.

[0016] Optionally, the system is further configured as: the electronic device determines that the pollutant concentration increases / decreases from the second pollutant concentration interval among N pollutant concentration intervals to the first pollutant concentration interval; accordingly, the electronic device adjusts the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, including: the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreased from the second pollutant concentration interval to the first pollutant concentration interval.

[0017] Optionally, the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreasing from the second pollutant concentration interval to the first pollutant concentration interval, including: if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the lowest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas.

[0018] Optionally, the second pollutant concentration is the i-1th pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the i-th pollutant concentration interval among N pollutant concentration intervals, and i is an integer traversing from 2 to N-1; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge volume at the water inlet is Mmo based on the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval. dN+floor(M / N-2)=K water areas, and control the domestic sewage discharge volume of each of the K water areas, such as the water outlet, to increase by a first preset value; wherein, floor() represents rounding down, and when i=2, the K water areas are the 1st water area to the Kth water area, and when i=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge volume of the water inlet in the M water areas needs to be increased according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the Nth pollutant concentration interval, and controls the domestic sewage discharge volume of each of the M water areas, such as the water outlet, to increase by a first preset value.

[0019] Optionally, the second pollutant concentration is the N-1th pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the Nth pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be reduced based on the pollutant concentration increasing from the N-1th pollutant concentration interval to the Nth pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be reduced by a second preset value.

[0020] Optionally, the second pollutant concentration is the jth pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the j-1th pollutant concentration interval among N pollutant concentration intervals, and j-1 is an integer traversing from 2 to N-1; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, then the electronic device reduces the domestic sewage discharge at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge at the water inlet is Mmod according to the pollutant concentration decreasing from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval. N+floor(M / N-2)=K water areas, and control the domestic sewage discharge of each of the K water areas, such as the water outlet, to be reduced by a first preset value; wherein, floor() represents rounding down, and when j-1=2, the K water areas are the 1st water area to the Kth water area, and when j-1=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge of the water inlet in the M water areas needs to be reduced according to the pollutant concentration being reduced from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval, and controls the domestic sewage discharge of each of the M water areas, such as the water outlet, to be reduced by a first preset value.

[0021] Optionally, the second pollutant concentration is the second pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the first pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval of lowest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be increased based on the pollutant concentration decreasing from the second pollutant concentration interval to the first pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be increased by a second preset value.

[0022] Optionally, the sequence numbers of the M water areas increase sequentially along the water flow direction of the subsurface wetland.

[0023] Optionally, the pollutant concentration includes the concentration of at least one of the following: total nitrogen (TN), total phosphorus (TP), ammonia nitrogen (NH4+-N), biological oxygen demand (BOD5), or chemical oxygen demand (CODCr).

[0024] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having program code stored thereon. When the program code is executed by the computer, the method described in the first aspect is executed.

[0025] In summary, the above method and device have the following technical effects:

[0026] The subsurface wetland is divided into M water areas in sequence along the direction of water flow, and each water area is provided with an inlet for discharging domestic sewage, and an outlet is provided in the last water area. In this way, the electronic equipment can detect the pollutant concentration at the outlet position of the Mth water area, and adjust the domestic sewage discharge of the water inlet of at least some of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, so as to realize dynamic and flexible domestic sewage treatment and ensure that its treatment efficiency is flexible and adjustable. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A flow chart of a method for treating domestic sewage in a subsurface wetland provided in an embodiment of the present application;

[0028] Figure 2 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the embodiment of the present invention, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated. The information to be indicated can also be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved by means of the arrangement order of each information agreed in advance (for example, specified by the protocol), thereby reducing the indication overhead to a certain extent. At the same time, the common parts of each information can also be identified and indicated uniformly to reduce the indication overhead caused by indicating the same information separately.

[0030] In addition, the specific indication method may also be various existing indication methods, such as but not limited to the above-mentioned indication methods and various combinations thereof. The specific details of the various indication methods can refer to the prior art and will not be repeated herein. As can be seen from the above, for example, when it is necessary to indicate multiple information of the same type, different indication methods may be used for different information. In the specific implementation process, the desired indication method can be selected according to specific needs. The embodiment of the present invention does not limit the selected indication method. In this way, the indication method involved in the embodiment of the present invention should be understood to cover various methods that can enable the party to be indicated to obtain the information to be indicated.

[0031] It should be understood that the information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in the embodiment of the present invention. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the sending end device by sending configuration information to the receiving end device.

[0032] "Pre-definition" or "pre-configuration" can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device, and the embodiments of the present invention do not limit the specific implementation method. Among them, "saving" can mean saving in one or more memories. The one or more memories can be set separately or integrated in an encoder or decoder, a processor, or an electronic device. The one or more memories can also be partially set separately and partially integrated in a decoder, a processor, or an electronic device. The type of memory can be any form of storage medium, which is not limited by the embodiments of the present invention.

[0033] The "protocol" involved in the embodiments of the present invention may refer to a protocol family in the communication field, a standard protocol with a similar protocol family frame structure, or a related protocol in a reliable access method system for future Internet of Things devices, and the embodiments of the present invention do not specifically limit this.

[0034] In the embodiments of the present invention, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the device will perform corresponding processing under certain objective circumstances, but do not limit the time, nor do they require the device to perform judgment actions when implementing, nor do they mean the existence of other limitations.

[0035] In the description of the embodiments of the present invention, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship, for example, A / B can represent A or B; "and / or" in the embodiments of the present invention is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the embodiments of the present invention, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. Those skilled in the art will appreciate that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference. At the same time, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0036] The network architecture and business scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

[0037] The technical solution in this application will be described below in conjunction with the accompanying drawings.

[0038] See also Figure 1 , the embodiment of the present application provides a method for treating domestic sewage in a submerged wetland. The method is executed by an electronic device, and the process of the method includes:

[0039] S101, the electronic device detects the pollutant concentration at the water outlet of the Mth water area.

[0040] The subsurface wetland is divided into M water areas in sequence along the direction of water flow, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area in the M water areas is provided with a water outlet, where M is an integer greater than 1. According to the direction of water flow of the subsurface wetland, the sequence numbers of the M water areas increase in sequence, such as the first water area, the second water area, the third water area, and the Mth water area. The sizes of the M water areas can be the same, for example, the subsurface wetland is a rectangular area, and the M water areas can be rectangular areas of the same size. Alternatively, the sizes of the M water areas can also be different. For example, if the subsurface wetland is a rectangular area, then the M water areas are all rectangular areas, and along the direction of water flow of the subsurface wetland, the area of ​​the rectangular area increases in sequence. This is because the subsequent regulation is to adjust the discharge of each water area in sequence along the direction of water flow of the subsurface wetland, and the concentration of pollutants will be superimposed along the direction of water flow of the subsurface wetland, so the area of ​​the subsequent area gradually increases, which can improve the sewage treatment effect.

[0041] An electronic device can be understood as a terminal, and a terminal can be a terminal with a communication function, or can be a chip or chip system arranged at the terminal. The terminal device can also be referred to as a user equipment (UE), an access terminal, a user unit, a user station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent or a user device. The terminal device in the embodiment of the present application can be a mobile phone, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a vehicle-mounted terminal, an RSU with terminal function, etc.

[0042] Among them, no matter how the discharge of the water inlet is adjusted, the pollutant concentration at the outlet position of the Mth water area is within the normal pollutant concentration range. However, the normal pollutant concentration range is divided into N pollutant concentration intervals, N is an integer greater than 1, so by adjusting the discharge of the water inlet, the normal pollutant concentration range can be changed in N pollutant concentration intervals to achieve dynamic and flexible domestic sewage treatment and ensure that its treatment efficiency is flexible and adjustable. Optionally, the pollutant concentration includes at least one of the following concentrations: total nitrogen (TN), total phosphorus (TP), ammonia nitrogen (NH4+-N), biological oxygen demand (BOD5), or chemical oxygen demand (CODCr). The electronic device can obtain the pollutant concentration at the position of the water inlet of the Mth water area from the sensor set at the water inlet position. Optionally, when the pollutant concentration detected by the sensor is the above multiple items, the electronic device can weighted sum them and use the result of the weighted sum as the pollutant concentration at the outlet position of the Mth water area.

[0043] S102, the electronic device adjusts the discharge volume of domestic sewage at the water inlet of at least part of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals.

[0044] Among them, the electronic device can determine that the pollutant concentration increases from the second pollutant concentration interval in the N pollutant concentration intervals to / decreases to the first pollutant concentration interval. On this basis, the electronic device can increase or decrease the domestic sewage discharge at the water inlet of at least some of the M water areas according to the pollutant concentration increasing from the second pollutant concentration interval to / decreases to the first pollutant concentration interval, which is described in detail below.

[0045] Case 1:

[0046] If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, the electronic device increases the discharge volume of domestic sewage at the water inlet of at least some of the M water areas.

[0047] For example, the second pollutant concentration is the i-1th pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the i-th pollutant concentration interval among N pollutant concentration intervals, and i is an integer traversing from 2 to N-1. Correspondingly, the above: if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, then the electronic device increases the domestic sewage discharge at the water inlet of at least some of the water areas in the M water areas, including:

[0048] When N=4, and M is greater than or equal to N, the electronic device can determine that the water area in the M water areas that need to increase the domestic sewage discharge volume of the water inlet is MmodN+floor(M / N-2)=K water areas according to the pollutant concentration from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the Nth pollutant concentration interval, that is, not the last pollutant concentration interval; wherein, floor() means rounding down, when i=2, the K water areas are the 1st water area to the Kth water area, and when i=3, the K water areas are the 1st+K-MmodN water areas to the 2ndK-MmodN water areas. For example, M=5, N=4, when i=2, the K water areas are the 1st water area to the 3rd water area, and when i=3, the K water areas are the 3rd water area to the 5th water area. In this way, the electronic device can control the increase of the domestic sewage discharge volume of each of the K water areas, such as the water inlet, by the first preset value.

[0049] When N=4, and M is less than N, the electronic device can determine that the discharge volume of domestic sewage at the water inlet in the M water areas needs to be increased according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval. In this way, the electronic device can control the discharge volume of domestic sewage at the water inlet of each of the M water areas to increase by a first preset value.

[0050] It can be understood that the size of the first preset value can be set according to actual conditions, and the embodiment of the present application does not limit it.

[0051] Case 2:

[0052] If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the discharge volume of domestic sewage at the water inlet of at least some of the M water areas.

[0053] For example, the second pollutant concentration may be the N-1th pollutant concentration interval among the N pollutant concentration intervals, and the first pollutant concentration may be the Nth pollutant concentration interval among the N pollutant concentration intervals. Accordingly, if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge at the water inlet of at least some of the M water areas, including: the electronic device may determine that the domestic sewage discharge at the water inlet in the M water areas needs to be reduced according to the pollutant concentration increasing from the N-1th pollutant concentration interval to the Nth pollutant concentration interval, and control the domestic sewage discharge at the water inlet of each of the M water areas to be reduced by a second preset value.

[0054] It can be understood that the size of the second preset value can be set according to actual conditions, and can be the same as or different from the first preset value, and the embodiment of the present application is not limited thereto.

[0055] Case 3:

[0056] If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval of the lowest pollutant concentration, the electronic device reduces the discharge volume of domestic sewage at the water inlet of at least some of the M water areas.

[0057] For example, the second pollutant concentration may be the jth pollutant concentration interval among the N pollutant concentration intervals, and the first pollutant concentration may be the j-1th pollutant concentration interval among the N pollutant concentration intervals, where j-1 is an integer traversing from 2 to N-1. Accordingly, if the pollutant concentration is reduced from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, the electronic device reduces the discharge of domestic sewage at the water inlet of at least some of the M water areas, including:

[0058] When N=4 and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the discharge volume of domestic sewage at the water inlet is MmodN+floor(M / N-2)=K water areas according to the pollutant concentration from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the first pollutant concentration interval, that is, it is not the first pollutant concentration interval; wherein, floor() means rounding down, when j-1=2, the K water areas are the 1st water area to the Kth water area, and when j-1=3, the K water areas are the 1st+K-MmodN water areas to the 2ndK-MmodN water areas. For example, M=5, N=4, when j-1=2, the K water areas are the 1st water area to the 3rd water area, and when j-1=3, the K water areas are the 3rd water area to the 5th water area. In this way, the electronic device can control the discharge volume of domestic sewage at the outlets of the K water areas to increase by the first preset value. In this way, the electronic device can control the discharge volume of domestic sewage at the outlets of the K water areas to decrease by the first preset value.

[0059] When N=4 and M is less than N, the electronic device can determine that the domestic sewage discharge at the water inlet of the M water areas needs to be reduced based on the pollutant concentration decreasing from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval, and control the domestic sewage discharge at the water inlet of each of the M water areas to be reduced by a first preset value.

[0060] It can be seen that the amount of reduction here is the same as the amount of increase mentioned above, that is, the first preset value, which ensures the consistency of the forward and reverse adjustments.

[0061] Case 4:

[0062] If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval of the lowest pollutant concentration, the electronic device increases the discharge volume of domestic sewage at the water inlet of at least some of the M water areas.

[0063] For example, the second pollutant concentration may be the second pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration may be the first pollutant concentration interval among N pollutant concentration intervals. Accordingly, if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the lowest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device may determine that the domestic sewage discharge volume at the water inlet of the M water areas needs to be increased according to the pollutant concentration decreasing from the second pollutant concentration interval to the first pollutant concentration interval, and control the domestic sewage discharge volume at the water inlet of each of the M water areas to be increased by a second preset value.

[0064] It can be seen that the amount of reduction here is the same as the amount of increase mentioned above, that is, the second preset value, which ensures the consistency of the forward and reverse adjustments.

[0065] It can also be seen that for M less than N, in the above adjustment method, the domestic sewage discharge of the M water areas is first increased overall, and then the domestic sewage discharge of each water area is increased in turn, and then the domestic sewage discharge of the M water areas is reduced overall, and then the domestic sewage discharge of each water area is reduced in turn, and then the cycle is repeated. The advantage of this is that by continuously and dynamically increasing and reducing the domestic sewage discharge, the pollutant content in the subsurface wetland changes dynamically, so as to improve the domestic sewage treatment efficiency through dynamic changes. For example, in the process of pollutant content changing from small to large, its treatment efficiency will gradually increase, and in the process of pollutant content changing from large to small, its treatment efficiency will gradually decrease, but the overall average efficiency is higher than the treatment efficiency when the pollutant content remains roughly unchanged.

[0066] In summary, the subsurface wetland is divided into M water areas in sequence along the direction of water flow, and each water area is provided with an inlet for discharging domestic sewage, and an outlet is provided in the last water area. In this way, the electronic device can detect the pollutant concentration at the outlet position of the Mth water area, and adjust the domestic sewage discharge volume of the water inlet of at least some of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, so as to realize dynamic and flexible domestic sewage treatment and ensure that its treatment efficiency is flexible and adjustable.

[0067] Combination of the above Figure 2The method provided by the embodiment of the present application is described in detail. The following introduces a submerged wetland domestic sewage treatment system for executing the method provided by the embodiment of the present application, the submerged wetland is divided into M water areas in sequence along the water flow direction, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area in the M water areas is provided with a water outlet, M is an integer greater than 1, and the system is applied to electronic devices, and the system is configured as follows: the electronic device detects the pollutant concentration at the outlet position of the Mth water area, wherein the pollutant concentration is within the normal pollutant concentration range, and the normal pollutant concentration range is divided into N pollutant concentration intervals, N is an integer greater than 1; the electronic device adjusts the domestic sewage discharge of the water inlet of at least part of the water areas in the M water areas according to the pollutant concentration being in the first pollutant concentration interval in the N pollutant concentration intervals.

[0068] Optionally, the system is further configured as: the electronic device determines that the pollutant concentration increases / decreases from the second pollutant concentration interval among N pollutant concentration intervals to the first pollutant concentration interval; accordingly, the electronic device adjusts the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, including: the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreased from the second pollutant concentration interval to the first pollutant concentration interval.

[0069] Optionally, the electronic device increases or decreases the domestic sewage discharge volume at the water inlet of at least some of the M water areas according to the pollutant concentration increasing / decreasing from the second pollutant concentration interval to the first pollutant concentration interval, including: if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the lowest pollutant concentration, the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas.

[0070] Optionally, the second pollutant concentration is the i-1th pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the i-th pollutant concentration interval among N pollutant concentration intervals, and i is an integer traversing from 2 to N-1; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the highest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge volume at the water inlet is Mmo based on the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval. dN+floor(M / N-2)=K water areas, and control the domestic sewage discharge volume of each of the K water areas, such as the water outlet, to increase by a first preset value; wherein, floor() represents rounding down, and when i=2, the K water areas are the 1st water area to the Kth water area, and when i=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge volume of the water inlet in the M water areas needs to be increased according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the Nth pollutant concentration interval, and controls the domestic sewage discharge volume of each of the M water areas, such as the water outlet, to increase by a first preset value.

[0071] Optionally, the second pollutant concentration is the N-1th pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the Nth pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be reduced based on the pollutant concentration increasing from the N-1th pollutant concentration interval to the Nth pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be reduced by a second preset value.

[0072] Optionally, the second pollutant concentration is the jth pollutant concentration interval among N pollutant concentration intervals, the first pollutant concentration is the j-1th pollutant concentration interval among N pollutant concentration intervals, and j-1 is an integer traversing from 2 to N-1; if the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not the interval with the lowest pollutant concentration, then the electronic device reduces the domestic sewage discharge at the water inlet of at least some of the M water areas, including: when N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge at the water inlet is Mmod according to the pollutant concentration decreasing from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval. N+floor(M / N-2)=K water areas, and control the domestic sewage discharge of each of the K water areas, such as the water outlet, to be reduced by a first preset value; wherein, floor() represents rounding down, and when j-1=2, the K water areas are the 1st water area to the Kth water area, and when j-1=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; when N=4, and M is less than N, the electronic device determines that the domestic sewage discharge of the water inlet in the M water areas needs to be reduced according to the pollutant concentration being reduced from the jth pollutant concentration interval to the j-1th pollutant concentration interval, and the j-1th pollutant concentration interval is not the 1st pollutant concentration interval, and controls the domestic sewage discharge of each of the M water areas, such as the water outlet, to be reduced by a first preset value.

[0073] Optionally, the second pollutant concentration is the second pollutant concentration interval among N pollutant concentration intervals, and the first pollutant concentration is the first pollutant concentration interval among N pollutant concentration intervals. If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval of lowest pollutant concentration, then the electronic device increases the domestic sewage discharge volume at the water inlet of at least some of the M water areas, including: the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be increased based on the pollutant concentration decreasing from the second pollutant concentration interval to the first pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to be increased by a second preset value.

[0074] Optionally, the sequence numbers of the M water areas increase sequentially along the water flow direction of the subsurface wetland.

[0075] Optionally, the pollutant concentration includes the concentration of at least one of the following: total nitrogen (TN), total phosphorus (TP), ammonia nitrogen (NH4+-N), biological oxygen demand (BOD5), or chemical oxygen demand (CODCr).

[0076] Combine the following Figure 2 The components of the electronic device 500 are described in detail:

[0077] The processor 501 is the control center of the electronic device 500, and may be a processor or a general term for multiple processing elements. For example, the processor 501 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0078] Optionally, the processor 501 can execute various functions of the electronic device 500 by running or executing the software program stored in the memory 502 and calling the data stored in the memory 502, as described above. Figure 1 Functionality in the method shown.

[0079] In a specific implementation, as an embodiment, the processor 501 may include one or more CPUs, such as Figure 2 CPU0 and CPU1 are shown in FIG.

[0080] In a specific implementation, as an embodiment, the electronic device 500 may also include multiple processors. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0081] Among them, the memory 502 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 501. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0082] Optionally, the memory 502 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 502 may be integrated with the processor 501, or may exist independently, and the interface circuit ( Figure 2 (not shown) is coupled to the processor 501, which is not specifically limited in the embodiment of the present application.

[0083] The transceiver 503 is used for communication with other devices. For example, if the multi-beam based positioning device is a terminal, the transceiver 503 can be used for communication with a network device or another terminal.

[0084] Optionally, the transceiver 503 may include a receiver and a transmitter ( Figure 2 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0085] Optionally, the transceiver 503 may be integrated with the processor 501, or may exist independently and communicate with the electronic device 500 through an interface circuit ( Figure 2 (not shown) is coupled to the processor 501, which is not specifically limited in the embodiment of the present application.

[0086] It should be noted that Figure 2 The structure of the electronic device 500 shown in the figure does not constitute a limitation on the device, and the actual electronic device 500 may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0087] In addition, the technical effects based on the electronic device 500 can refer to the technical effects of the method in the above method embodiment, which will not be repeated here.

[0088] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0089] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0090] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0091] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0092] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0093] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0094] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0095] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0096] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some feature fields can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0097] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0098] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0099] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0100] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for treating domestic sewage in a subsurface wetland, characterized in that: The subsurface wetland is divided into M water areas in sequence along the water flow direction, each of the M water areas is provided with a water inlet for discharging domestic sewage, and the Mth water area of ​​the M water areas is provided with a water outlet, where M is an integer greater than 1. The method is applied to an electronic device, and the method comprises: The electronic device detects the pollutant concentration at the water outlet of the Mth water area, wherein the pollutant concentration is within a normal pollutant concentration range, and the normal pollutant concentration range is divided into N pollutant concentration intervals, where N is an integer greater than 1; The electronic device adjusts the discharge volume of domestic sewage at the water inlet of at least part of the M water areas according to the pollutant concentration being in a first pollutant concentration interval among the N pollutant concentration intervals; The method further comprises: The electronic device determines that the pollutant concentration increases / decreases from a second pollutant concentration interval among the N pollutant concentration intervals to the first pollutant concentration interval; Accordingly, the electronic device adjusts the discharge volume of domestic sewage at the water inlet of at least part of the M water areas according to the pollutant concentration being in the first pollutant concentration interval among the N pollutant concentration intervals, including: The electronic device increases or decreases the discharge volume of domestic sewage at the water inlet of at least some of the M water areas according to the pollutant concentration increasing from the second pollutant concentration interval to / decreasing to the first pollutant concentration interval; The electronic device increases or decreases the discharge of domestic sewage at the water inlet of at least some of the M water areas according to the pollutant concentration increasing from the second pollutant concentration interval to / decreasing to the first pollutant concentration interval, including: If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not an interval with the highest pollutant concentration, the electronic device increases the discharge volume of domestic sewage at the water inlet of at least some of the M water areas; If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is the interval with the highest pollutant concentration, the electronic device reduces the discharge of domestic sewage at the water inlet of at least some of the M water areas; If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not an interval with the lowest pollutant concentration, the electronic device reduces the discharge of domestic sewage at the water inlet of at least some of the M water areas; If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is an interval with the lowest pollutant concentration, the electronic device increases the discharge volume of domestic sewage at the water inlet of at least some of the M water areas; The second pollutant concentration is the i-1th pollutant concentration interval among the N pollutant concentration intervals, the first pollutant concentration is the i-th pollutant concentration interval among the N pollutant concentration intervals, and i is an integer ranging from 2 to N-1; if the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is not an interval with the highest pollutant concentration, then the electronic device increases the domestic sewage discharge at the water inlet of at least some of the M water areas, including: When N=4, and M is greater than or equal to N, the electronic device determines that the water area in the M water areas that needs to increase the domestic sewage discharge volume at the water inlet is MmodN+floor(M / (N-2))=K water areas according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the K water areas to be increased by a first preset value; wherein floor() represents rounding down, when i=2, the K water areas are the 1st water area to the Kth water area, and when i=3, the K water areas are the 1st+K-MmodNth water area to the 2ndK-MmodNth water area; When N=4, and M is less than N, the electronic device determines that the domestic sewage discharge volume at the water inlet of the M water areas needs to be increased according to the pollutant concentration increasing from the i-1th pollutant concentration interval to the i-th pollutant concentration interval, and the i-th pollutant concentration interval is not the N-th pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlet of each of the M water areas to increase by the first preset value.

2. The method according to claim 1, characterized in that The second pollutant concentration is the N-1th pollutant concentration interval among the N pollutant concentration intervals, and the first pollutant concentration is the Nth pollutant concentration interval among the N pollutant concentration intervals. If the pollutant concentration increases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is an interval with the highest pollutant concentration, then the electronic device reduces the discharge of domestic sewage at the water inlet of at least some of the M water areas, including: The electronic device determines that the discharge volume of domestic sewage at the water inlets of the M water areas needs to be reduced based on the increase of the pollutant concentration from the N-1th pollutant concentration interval to the Nth pollutant concentration interval, and controls the discharge volume of domestic sewage at the water inlets of each of the M water areas to be reduced by a second preset value.

3. The method according to claim 2, characterized in that The second pollutant concentration is the second pollutant concentration interval among the N pollutant concentration intervals, and the first pollutant concentration is the first pollutant concentration interval among the N pollutant concentration intervals. If the pollutant concentration decreases from the second pollutant concentration interval to the first pollutant concentration interval, and the first pollutant concentration interval is an interval with the lowest pollutant concentration, then the electronic device increases the domestic sewage discharge at the water inlet of at least some of the M water areas, including: The electronic device determines that the domestic sewage discharge volume at the water inlets of the M water areas needs to be increased based on the pollutant concentration decreasing from the second pollutant concentration interval to the first pollutant concentration interval, and controls the domestic sewage discharge volume at the water inlets of each of the M water areas to be increased by a second preset value.

4. The method according to any one of claims 1 to 3, characterized in that According to the water flow direction of the subsurface wetland, the serial numbers of the M water areas increase sequentially.

5. The method according to claim 1, characterized in that The pollutant concentration includes at least one of the following concentrations: total nitrogen, total phosphorus, ammoniacal nitrogen, biological oxygen demand, or chemical oxygen demand.