A method and system for controlling temperature and humidity in a lentinus edodes cultivation greenhouse

By installing ventilation and humidification equipment in the shiitake mushroom cultivation greenhouse and using a control terminal to analyze the changing trends of equipment operation time and dynamically adjust equipment parameters, the problem of temperature and humidity control in existing technologies not adapting to changes in the physiological state of shiitake mushrooms has been solved, thus improving the commercial quality of shiitake mushrooms.

CN122346221APending Publication Date: 2026-07-07GUYUAN IND TECH INNOVATION RES INST

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUYUAN IND TECH INNOVATION RES INST
Filing Date
2026-04-20
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

The existing temperature and humidity control systems in shiitake mushroom cultivation greenhouses cannot adaptively adjust to the dynamic changes in the physiological state of shiitake mushroom fruiting bodies, resulting in excessive regulation in the early stage of growth or insufficient regulation in the later stage of growth, which affects the commercial quality of the fruiting bodies.

Method used

By installing ventilation and humidification equipment in the shiitake mushroom cultivation greenhouse, and using a control terminal to monitor and analyze the running time trends of the ventilation and humidification equipment in real time, the duration of each single start-up of the equipment is dynamically adjusted to adapt to changes in the physiological state of the shiitake mushrooms.

Benefits of technology

It achieves dynamic adjustment of temperature and humidity control without increasing hardware costs, avoiding the risks of high temperature and humidity and disease, and improving commercial indicators such as cap roundness, color uniformity and stem thickness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122346221A_ABST
    Figure CN122346221A_ABST
Patent Text Reader

Abstract

The application discloses a kind of lentinus edodes cultivation greenhouse temperature and humidity control method and system, belong to control technical field.In the growth stage of lentinus edodes fruit body, send starting instruction to ventilation equipment and humidification equipment;First time length is added to historical first time length set and is carried out time series comparison, when the first time length value recorded successively multiple times is gradually decreasing distribution, it is determined that first change tendency is gradually shortened;Second time length is added to historical second time length set and is carried out time series comparison, when the second time length value recorded successively multiple times is gradually increasing distribution, it is determined that second change tendency is gradually lengthened;When first change tendency is gradually shortened and second change tendency is gradually lengthened, the single starting duration of ventilation equipment is adjusted to increasing direction, and the single starting duration of humidification equipment is adjusted to decreasing direction.The application is by monitoring change tendency of regulation and control time length, realizes the self-adapting optimization of control parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of control technology, and in particular to a method and system for controlling temperature and humidity in a mushroom cultivation greenhouse. Background Technology

[0002] Shiitake mushrooms are a typical poikilothermic fruiting fungus. Their growth and development process can be divided into three stages: mycelial growth, color change and fruiting induction, and fruiting body growth. The requirements for environmental temperature and humidity differ significantly at different growth stages, and within the same stage, the intensity of temperature and humidity regulation required also changes dynamically with the changes in the physiological state of the fruiting body.

[0003] In existing technologies, temperature and humidity sensors are typically installed inside greenhouses. The control terminal compares the real-time data collected by the sensors with a preset suitable temperature and humidity range. When the real-time data deviates from the preset range, the corresponding environmental adjustment equipment is triggered to adjust the temperature and humidity inside the greenhouse back to the preset range.

[0004] However, the operating parameters of equipment such as ventilation and humidification are usually fixed, or only temporarily adjusted based on real-time temperature and humidity deviations, making it impossible to adaptively control parameters according to changes in the physiological state of the fruiting bodies. This can lead to over-regulation in the early stages of fruiting body growth and under-regulation in the later stages, affecting the commercial quality of the fruiting bodies. Summary of the Invention

[0005] This application provides a method and system for controlling temperature and humidity in a shiitake mushroom cultivation greenhouse to improve the above-mentioned problems.

[0006] To achieve the above objectives, this application adopts the following technical solution: Firstly, this application proposes a method for controlling the temperature and humidity of a shiitake mushroom cultivation greenhouse, applied to a temperature and humidity control system for a shiitake mushroom cultivation greenhouse. The system includes a first shiitake mushroom greenhouse, ventilation equipment, humidification equipment, and a control terminal. The method is executed by the control terminal and includes: During the fruiting body growth stage of shiitake mushrooms, a start command is sent to the ventilation equipment and humidification equipment sequentially at preset time intervals. The system acquires the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and acquires the temperature inside the greenhouse at the first moment as the first temperature value and the humidity inside the greenhouse at the second moment as the first humidity value. The system acquires the first time elapsed during which the first temperature value drops to a preset second temperature value, and the second time elapsed during which the first humidity value rises to a preset second humidity value. The first duration is added to the historical first duration set, and the duration values ​​in the historical first duration set are compared. When the comparison results show that the first duration values ​​recorded in the historical first duration set are successively decreasing, the first trend is determined to be gradually shortening. The second duration is added to the historical second duration set, and the duration values ​​in the historical second duration set are compared. When the comparison results show that the second duration values ​​recorded in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension. When the first trend is gradually shortening and the second trend is gradually lengthening, the duration of a single start-up of the ventilation equipment is adjusted from the current setting to increase, and the duration of a single start-up of the humidification equipment is adjusted from the current setting to decrease.

[0007] In conjunction with the first aspect, optionally, the first duration is added to the historical first duration set, and the duration values ​​in the historical first duration set are compared. When the comparison results show that the first duration values ​​recorded consecutively in the historical first duration set exhibit a gradually decreasing distribution, the first trend is determined to be gradually shortening, including: Store the first duration in the historical first duration set according to the chronological order of the recorded time; Obtain the first duration value of N consecutive records from the historical first duration set, where N is a preset comparison number threshold; Compare the first duration value recorded N times consecutively with the value of the adjacent first duration value according to the recording time; If the first duration value corresponding to each subsequent recording time is less than the first duration value corresponding to the previous recording time, it is determined that the first duration values ​​of consecutive records in the historical first duration set show a decreasing distribution, and the first trend of change is determined to be gradually shortening.

[0008] In conjunction with the first aspect, optionally, when the first trend is gradually shortening and the second trend is gradually lengthening, the single-start duration of the ventilation equipment is adjusted from the current set value to increase, and the single-start duration of the humidification equipment is adjusted from the current set value to decrease, including: The current single-start duration of the ventilation equipment is obtained as the first current duration, and the current single-start duration of the humidification equipment is obtained as the second current duration. The first current duration is added to the preset first adjustment step size to obtain the first adjusted duration, and the second current duration is subtracted from the preset second adjustment step size to obtain the second adjusted duration. Send a start command carrying the first adjusted duration to the ventilation equipment to update the continuous running time of the ventilation equipment in a single start-up operation; Send a start command carrying a second adjusted duration to the humidifier to update the continuous running time of the humidifier in a single start-up operation.

[0009] In conjunction with the first aspect, the method may optionally also include: When the first trend is gradually shortening and the second trend is not gradually lengthening, keep the single start duration of the ventilation equipment unchanged at the current setting value, and adjust the single start duration of the humidification equipment from the current setting value in the direction of increasing; When the first trend of change is that it does not show a gradual shortening and the second trend of change is that it gradually lengthens, the single start duration of the ventilation equipment is adjusted from the current setting value to a decreasing direction, while keeping the single start duration of the humidification equipment unchanged at the current setting value. When the first trend of change does not show a gradual shortening and the second trend of change does not show a gradual lengthening, the single start duration of the ventilation equipment remains unchanged at the current setting value, and the single start duration of the humidification equipment remains unchanged at the current setting value.

[0010] In conjunction with the first aspect, the method may optionally also include: During the mycelial growth stage of shiitake mushrooms, a shutdown command is sent to the ventilation equipment, and a continuous operation command is sent to the humidification equipment. The humidity data inside the greenhouse during continuous operation of the humidification equipment is obtained, including the recovery time from the preset third humidity value to the preset fourth humidity value. The temperature data inside the greenhouse is also obtained, including the self-heating time from the preset third temperature value to the preset fourth temperature value while the ventilation equipment is kept off. The recovery duration is added to the historical recovery duration set. The duration values ​​in the historical recovery duration set are compared. When the comparison results show that the recovery duration values ​​recorded consecutively in the historical recovery duration set show a decreasing distribution, the third trend is determined to be gradually shortening. The self-heating duration is added to the historical self-heating duration set. The duration values ​​in the historical self-heating duration set are compared. When the comparison results show that the self-heating duration values ​​recorded in the historical self-heating duration set are successively decreasing, the fourth trend is determined to be gradually shortening. When the third trend is determined to be gradually shortening and the fourth trend is determined to be gradually shortening, an indication command is generated to indicate the end of the mycelial growth stage.

[0011] In conjunction with the first aspect, the method may optionally also include: When the third trend is gradually shortening and the fourth trend is not gradually shortening, the humidification equipment is kept running continuously and a first indication command is generated. The first indication command is used to indicate that the humidity recovery efficiency inside the greenhouse is normal but the temperature self-heating efficiency is abnormal. When it is determined that the third trend is not gradually shortening and the fourth trend is gradually shortening, the humidification equipment is kept running continuously and a second instruction is generated. The second instruction is used to indicate that the self-heating efficiency of the greenhouse temperature is normal but the humidity recovery efficiency is abnormal. When it is determined that the third trend of change does not show a gradual shortening and the fourth trend of change does not show a gradual shortening, the humidification equipment is kept running continuously, and a third indication command is generated. The third indication command is used to indicate that the self-heating efficiency of the greenhouse temperature and the humidity recovery efficiency do not show the expected trend of change.

[0012] In conjunction with the first aspect, optionally, the system includes at least one second shiitake mushroom cultivation greenhouse, and the method includes: Obtain the second warming time and the second self-warming time during the mycelial growth stage of the second shiitake mushroom cultivation greenhouse; The second recovery duration is added to the second historical recovery duration set, and the duration values ​​in the second historical recovery duration set are compared. When the comparison results show that the second recovery duration values ​​recorded consecutively in the second historical recovery duration set are distributed in a decreasing manner, the fifth trend is determined to be gradually shortening. The second self-heating duration is added to the second historical self-heating duration set, and the duration values ​​in the second historical self-heating duration set are compared. When the comparison results show that the second self-heating duration values ​​recorded consecutively in the second historical self-heating duration set are distributed in a decreasing manner, the sixth trend is determined to be gradually shortening. When the fifth trend is determined to be gradually shortening and the sixth trend is determined to be gradually shortening, a cross-shed indication instruction is generated. The cross-shed indication instruction is used to indicate that the mycelial growth stage of the first shiitake mushroom cultivation shed is about to enter the end stage.

[0013] In conjunction with the first aspect, the method may optionally also include: When the fifth trend is gradually shortening and the sixth trend is not gradually shortening, a fourth instruction is generated. The fourth instruction is used to indicate that the humidity recovery efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the temperature self-heating efficiency is abnormal. When the fifth trend does not show a gradual shortening and the sixth trend shows a gradual shortening, a fifth instruction is generated. The fifth instruction is used to indicate that the temperature self-heating efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the humidity recovery efficiency is abnormal. When the fifth trend does not show a gradual shortening and the sixth trend does not show a gradual shortening, obtain the judgment results of the third and fourth trends of the first shiitake mushroom cultivation greenhouse, and compare the judgment results of the first shiitake mushroom cultivation greenhouse with the judgment results of the second shiitake mushroom cultivation greenhouse. When the comparison results show that the judgment results of the third and fourth trends of change in the first shiitake mushroom cultivation greenhouse are consistent with the judgment results of the fifth and sixth trends of change in the second shiitake mushroom cultivation greenhouse, a sixth indication instruction is generated. The sixth indication instruction is used to indicate that the mycelial growth status of the first and second shiitake mushroom cultivation greenhouses is in a synchronous immature stage. When the comparison results show that the determination results of the third and fourth trends of change in the first shiitake mushroom cultivation greenhouse are inconsistent with the determination results of the fifth and sixth trends of change in the second shiitake mushroom cultivation greenhouse, a seventh instruction is generated. The seventh instruction is used to indicate that there are differences between the mycelial growth processes of the first and second shiitake mushroom cultivation greenhouses.

[0014] Secondly, this application proposes a temperature and humidity control system for a shiitake mushroom cultivation greenhouse, including a first shiitake mushroom greenhouse, ventilation equipment, humidification equipment, and a control terminal, the control terminal including: The start-up module is used to send a start-up command to the ventilation equipment and the humidification equipment sequentially at preset time intervals during the growth stage of shiitake mushroom fruiting bodies. The first acquisition module is used to acquire the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and to acquire the temperature inside the greenhouse at the first moment as the first temperature value and the humidity inside the greenhouse at the second moment as the first humidity value. The second acquisition module is used to acquire the first time taken for the first temperature value to drop to a preset second temperature value, and the second time taken for the first humidity value to rise to a preset second humidity value. The first comparison module is used to add the first duration to the historical first duration set and compare the duration values ​​in the historical first duration set. When the comparison result shows that the first duration values ​​recorded in the historical first duration set are distributed in a decreasing manner, the first trend is determined to be gradually shortening. The second comparison module is used to add the second duration to the historical second duration set and compare the duration values ​​in the historical second duration set. When the comparison results show that the second duration values ​​recorded in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension. The adjustment module is used to adjust the single start duration of the ventilation equipment from the current set value to increase when the first trend is gradually shortening and the second trend is gradually lengthening, and to adjust the single start duration of the humidification equipment from the current set value to decrease.

[0015] A third aspect of this invention provides an electronic device, which includes: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method proposed in the first aspect of the present invention.

[0016] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method as described in the first aspect of the present invention.

[0017] In summary, the above method and apparatus have the following technical effects: This application utilizes the regular influence of respiration and transpiration of shiitake mushroom fruiting bodies on cooling and humidification efficiency to extract indirect indicators reflecting the physiological state of the fruiting bodies. Without increasing any hardware costs, it achieves the measurement of the fruiting body growth process and determines changes in the physiological state of the fruiting bodies through the trend of time variations, dynamically adjusting the single-cycle operation time of ventilation and humidification equipment accordingly. When the fruiting bodies enter the vigorous respiration and transpiration period, ventilation is automatically increased and humidification is reduced, effectively avoiding the risk of high temperature and humidity and disease in the greenhouse caused by insufficient control intensity. When the fruiting bodies are in the early growth stage, a lower ventilation intensity and a higher humidification intensity are maintained to avoid environmental stress caused by excessive control. In this way, the fruiting bodies are always in an optimal microenvironment, and commercial indicators such as cap roundness, color uniformity, and stipe thickness are significantly improved. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating a method for controlling temperature and humidity in a mushroom cultivation greenhouse as proposed in this application.

[0019] Figure 2 This is a schematic diagram of the control terminal in a temperature and humidity control system for a shiitake mushroom cultivation greenhouse proposed in this application. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] During the growth stage of shiitake mushroom fruiting bodies, the respiration and transpiration rates of the fruiting bodies dynamically change with the development process. This physiological change can lead to different regulatory effects from the same ventilation or humidification operations. For example, ventilation and cooling become more difficult when respiration is vigorous, and the humidification effect diminishes more quickly when transpiration is enhanced.

[0022] Based on the above reasons, this application proposes a method for controlling temperature and humidity in a shiitake mushroom cultivation greenhouse. The method uses a standard shiitake mushroom cultivation greenhouse as the controlled object, and the greenhouse is equipped with ventilation equipment, humidification equipment, temperature and humidity sensors, and a control terminal. The control terminal is communicatively connected to the ventilation equipment, humidification equipment, and sensors, and can read sensor data and send control commands to the equipment.

[0023] Please see Figure 1 The method includes the following steps: S101: During the fruiting body growth stage of shiitake mushrooms, a start command is sent to the ventilation equipment and humidification equipment sequentially based on a preset time interval.

[0024] For example, the preset time interval is set to 45 minutes. That is, every 45 minutes, the control terminal executes a round of control sequence. Specifically, first, a start command is sent to the ventilation equipment to make the fan run for a preset initial duration; after the ventilation equipment completes its operation and stops, a start command is sent to the humidification equipment to make the micro-nozzle run for a preset initial duration.

[0025] S102: Obtain the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and obtain the temperature inside the greenhouse at the first moment as the first temperature value, and obtain the humidity inside the greenhouse at the second moment as the first humidity value.

[0026] Specifically, the control terminal records the moment when the ventilation equipment starts and the air inside the shed begins to circulate effectively as the first moment, and reads the temperature value collected by the temperature and humidity sensor at that moment as the first temperature value T1. Similarly, it records the moment when the humidification equipment starts and the water mist begins to spray effectively as the second moment, and reads the humidity value collected by the temperature and humidity sensor at that moment as the first humidity value H1.

[0027] S103: Obtain the first time it takes for the first temperature value to drop to a preset second temperature value, and the second time it takes for the first humidity value to rise to a preset second humidity value.

[0028] For example, in this embodiment, the second temperature value is preset to the first temperature value minus 0.8°C, and the second humidity value is preset to the first humidity value plus 5.0%RH. The above preset ranges can be adjusted according to the greenhouse volume and equipment power, but remain constant for a period of time.

[0029] When the monitored temperature data is first equal to or lower than T2, the time elapsed from the first moment to the current moment is recorded as the first duration Δt1. Similarly, humidity data is continuously monitored after the humidification equipment is started. When the monitored humidity data is first equal to or higher than H2, the time elapsed from the second moment to the current moment is recorded as the second duration Δt2. The shorter the first duration, the easier it is to ventilate and cool down under the current greenhouse conditions; the longer the second duration, the more difficult it is to humidify and increase humidity under the current greenhouse conditions.

[0030] S104: Add the first duration to the historical first duration set, and compare the duration values ​​in the historical first duration set. When the comparison results show that the first duration values ​​recorded consecutively in the historical first duration set show a decreasing distribution, determine that the first trend is gradually shortening.

[0031] In order to identify trends reflecting changes in the respiration intensity of the fruiting body, specifically, step S104 may include the following steps: S1041: Store the first duration in the historical first duration set according to the chronological order of the recorded times.

[0032] Specifically, the set can store the most recent M records, for example, M=20.

[0033] S1042: Obtain the first duration value of N consecutive records from the historical first duration set, where N is a preset comparison number threshold.

[0034] In this embodiment, the preset comparison count threshold N=5.

[0035] S1043: Compare the first duration value recorded N times consecutively with the value of the adjacent first duration value according to the recording time.

[0036] For example, if the five records are 168 seconds, 160 seconds, 155 seconds, 148 seconds, and 142 seconds respectively, then in each comparison, the later value is less than the previous value, which is determined to be a successively decreasing distribution.

[0037] S1044: If the first duration value corresponding to each subsequent recording time is less than the first duration value corresponding to the previous recording time, it is determined that the first duration values ​​of consecutive records in the historical first duration set show a decreasing distribution, and the first trend of change is determined to be gradually shortening.

[0038] Understandably, as the fruiting bodies develop, their respiration gradually increases, leading to a rise in metabolic heat. Under the same ventilation intensity, cooling the greenhouse becomes increasingly difficult.

[0039] S105: Add the second duration to the historical second duration set, and compare the duration values ​​in the historical second duration set. When the comparison results show that the second duration values ​​recorded consecutively in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension.

[0040] The specific process can be found in step S104, and will not be elaborated here. Understandably, as the fruiting body develops, its transpiration increases, and water consumption accelerates. Under the same humidification intensity, increasing the humidity in the greenhouse becomes increasingly difficult. Reflected in the data, for example, when the second duration value recorded five consecutive times shows a progressively increasing distribution, the second trend is determined to be a gradual extension.

[0041] S106: When the first trend is gradually shortening and the second trend is gradually lengthening, the single start duration of the ventilation equipment is adjusted from the current set value to increase, and the single start duration of the humidification equipment is adjusted from the current set value to decrease.

[0042] Understandably, when the first trend is a gradual shortening and the second trend is a gradual lengthening, it indicates that the fruiting body has entered a rapid expansion phase with vigorous respiration and transpiration. At this time, insufficient ventilation leads to inadequate heat and moisture removal, while excessive humidification leads to excessively high local humidity and an increased risk of condensation.

[0043] Specifically, step S106 may include the following steps: S1061: Obtain the current single-start duration of the ventilation equipment as the first current duration, and obtain the current single-start duration of the humidification equipment as the second current duration; S1062: The first current duration is added to the preset first adjustment step size to obtain the first adjusted duration, and the second current duration is subtracted from the preset second adjustment step size to obtain the second adjusted duration; S1063: Send a start command carrying a first adjusted duration to the ventilation equipment to update the continuous running time of the ventilation equipment in a single start-up operation; S1064: Send a start command carrying a second adjusted duration to the humidifier to update the continuous running time of the humidifier in a single start-up operation.

[0044] Understandably, gradually increasing ventilation time effectively removes the moisture and heat generated by the vigorous respiration of the fruiting bodies, reducing CO2 concentration and disease risk inside the greenhouse. Simultaneously, gradually decreasing humidification time avoids excessive humidification under conditions of increased transpiration from the fruiting bodies themselves, conserving water resources and preventing bacterial diseases caused by prolonged moisture on the fruiting body surface. This combination results in a more rational rhythm of alternating dry and wet conditions on the fruiting body cap surface, leading to a deeper color, improved roundness, and increased commercial value.

[0045] Furthermore, when the first trend shows a gradual shortening, while the second trend does not show a gradual lengthening, it indicates that the respiration of the fruiting body has increased, but transpiration has not increased synchronously. This may be due to the early stage of fruiting body growth or low ambient temperature limiting transpiration. In this case, the control terminal keeps the single-start duration of the ventilation equipment unchanged at the current setting, and adjusts the single-start duration of the humidification equipment from the current setting towards an increasing direction. At this time, priority is given to ensuring the water supply to the fruiting body, promoting the maintenance of stipe cell turgor pressure and the initial unfolding of the cap, and preventing the cap edges from cracking due to insufficient moisture.

[0046] Furthermore, when the first trend does not show a gradual shortening, while the second trend shows a gradual lengthening, it indicates that the transpiration of the fruiting bodies has increased, but the heat production from respiration has not increased synchronously. This may be due to the already high ambient temperature or differences in the respiratory characteristics of the strains. At this time, the control terminal adjusts the single-start duration of the ventilation equipment from the current set value to a decreasing direction, while keeping the single-start duration of the humidification equipment unchanged at the current set value. Understandably, appropriately reducing the ventilation intensity avoids drastic temperature fluctuations or excessively low humidity inside the greenhouse due to excessive ventilation, while maintaining the humidification intensity to meet the additional moisture requirements of the increased transpiration of the fruiting bodies.

[0047] Furthermore, if the first trend does not show a gradual shortening and the second trend does not show a gradual lengthening, it indicates that the physiological state of the sub-entity is in a relatively stable period, and the existing control parameters are well matched. The control terminal keeps the single-start duration of all devices unchanged at the current set value. At this time, environmental stability is maintained to avoid unnecessary parameter fluctuations causing stress to the sub-entity.

[0048] In this embodiment, the growth stage of shiitake mushroom mycelium can be controlled through the following steps: S201: During the mycelial growth stage of shiitake mushrooms, a shutdown command is sent to the ventilation equipment, and a continuous operation command is sent to the humidification equipment.

[0049] Understandably, mycelial growth requires a low-light, high-humidity, constant-temperature, and low-ventilation environment. Therefore, the control terminal should turn off the ventilation equipment or maintain only very low-frequency, short-term ventilation to prevent oxygen deficiency, and keep the humidification equipment in continuous operation to maintain the humidity inside the greenhouse within a suitable range.

[0050] S202: Acquire the humidity data in the greenhouse during continuous operation of the humidification equipment, including the time it takes for the humidity to rise from the preset third humidity value to the preset fourth humidity value, and acquire the temperature data in the greenhouse, including the time it takes for the temperature to rise from the preset third temperature value to the preset fourth temperature value while the ventilation equipment is kept off.

[0051] Because the humidification equipment operates continuously, when the humidity inside the greenhouse drops to a preset third humidity value (e.g., the lower limit of the humidity range) due to the evaporation and consumption of mycelium and culture medium, the humidification equipment will gradually raise the humidity. The control terminal records the time it takes for the humidity to rise from the third humidity value to a preset fourth humidity value (e.g., the upper limit of the humidity range). This recovery time reflects the efficiency of the humidification equipment in replenishing humidity under the current intensity of mycelial moisture consumption.

[0052] Meanwhile, with the ventilation equipment off, the temperature inside the greenhouse will naturally rise due to the heat generated by mycelial respiration. The control terminal records the time it takes for the temperature to rise from a preset third temperature value, such as the lower limit of the temperature range (22℃), to a preset fourth temperature value, such as the upper limit of the temperature range (25℃). This self-heating time reflects the heat storage efficiency of the greenhouse temperature under the current mycelial respiration intensity.

[0053] For example, in the early stages of mycelial growth, the mycelial biomass is small and the activity is weak, so the time for humidity to recover may be 30 minutes and the time for self-heating may be 60 minutes. As the mycelium rapidly colonizes and expands in the culture medium, its water consumption accelerates, and the time for humidity to recover gradually shortens to 15 minutes; at the same time, respiration heat production increases, and the time for self-heating gradually shortens to 30 minutes.

[0054] S203: Add the recovery duration to the historical recovery duration set, compare the duration values ​​in the historical recovery duration set, and when the comparison results show that the recovery duration values ​​recorded consecutively in the historical recovery duration set show a decreasing distribution, determine that the third trend is gradually shortening.

[0055] The logic is the same as that of step S104 in Example 1, and will not be repeated here. When the recovery duration of N consecutive records shows a progressively decreasing distribution, the third trend is determined to be a gradual shortening.

[0056] S204: Add the self-heating duration to the historical self-heating duration set, compare the duration values ​​in the historical self-heating duration set, and when the comparison results show that the self-heating duration values ​​recorded consecutively in the historical self-heating duration set show a decreasing distribution, determine that the fourth trend is gradually shortening.

[0057] S205: When the third trend of change is determined to be gradually shortening and the fourth trend of change is determined to be gradually shortening, an indication command is generated to indicate the end of the mycelial growth stage.

[0058] For example, when both the third and fourth trends show a gradual shortening, it indicates that the mycelium's water consumption rate and respiration heat production rate have significantly increased, reaching typical characteristics of physiological maturity. The control terminal generates an indication command indicating the end of the mycelium growth stage, which can trigger an audible and visual alarm, send a message to the management platform, or automatically record a stage transition log, prompting managers to perform color-changing and mushroom-inducing operations such as uncovering the covering and increasing ventilation and lighting.

[0059] When the third trend shows a gradual shortening while the fourth trend does not, the control terminal generates a first indication command to indicate that the humidity recovery efficiency is normal but the temperature self-heating efficiency is abnormal. Possible causes include excessively low outside temperatures leading to rapid heat loss inside the greenhouse, or insufficient heat production by the mycelium itself (e.g., aging of the inoculum, loss of carbon-nitrogen ratio in the substrate). Managers can check insulation measures or mycelial vitality based on the prompts.

[0060] When the third trend does not show a gradual shortening while the fourth trend does, the control terminal generates a second indication command to indicate that the temperature self-heating efficiency is normal but the humidity recovery efficiency is abnormal. Possible causes include a malfunction in the humidification equipment, abnormal water retention in the culture medium, or a decrease in the greenhouse's sealing. Managers can check the equipment's operating status or the greenhouse structure based on the prompts.

[0061] When neither the third nor the fourth trend shows a gradual shortening, the control terminal generates a third indication command to indicate that neither the temperature self-heating efficiency nor the humidity recovery efficiency shows the expected trend. The possible cause is that overall mycelial growth is inhibited, requiring comprehensive investigation.

[0062] Understandably, in this embodiment, the judgment of mycelial maturity, which originally relied on manual observation, is transformed into an automatically executable duration analysis. Managers no longer need to enter the greenhouses to check the mycelial morphology of each structure; they can remotely monitor the growth process of the mycelium in each greenhouse, thus improving the management efficiency of large-scale production.

[0063] When there are multiple greenhouses of the same batch and with the same cultivation conditions in a shiitake mushroom cultivation base, for ease of description, we will take the first shiitake mushroom cultivation greenhouse and the second shiitake mushroom cultivation greenhouse as examples. The second greenhouse can be any greenhouse of the same batch that is adjacent to the first greenhouse.

[0064] This embodiment, based on embodiment two, further includes the following steps: S301: Obtain the second rise time and the second self-heating time of the second shiitake mushroom cultivation greenhouse during the mycelial growth stage.

[0065] Specifically, the control terminal obtains the recovery time and self-heating time data recorded in the second greenhouse in the same way as in step S202 through communication connection with the sensors and controllers in the second greenhouse.

[0066] S302: Add the second recovery duration to the second historical recovery duration set, and determine the fifth trend of change by comparing the time series.

[0067] The processing logic is the same as step S203. When the second recovery duration values ​​recorded consecutively in the second historical recovery duration set show a successively decreasing distribution, the fifth trend is determined to be gradually shortening.

[0068] S303: Add the second self-heating duration to the second historical self-heating duration set, and determine the sixth trend of change by time series comparison.

[0069] The processing logic is the same as step S204. When the second self-heating duration values ​​recorded consecutively in the second historical self-heating duration set show a successively decreasing distribution, the sixth trend is determined to be gradually shortening.

[0070] S304: Perform cross-shed collaborative operation based on the combined results of the fifth and sixth trend changes.

[0071] Understandably, when both the fifth and sixth trends show a gradual shortening, it indicates that the mycelium in the second greenhouse has reached physiological maturity first. Since the mycelial growth process in the same batch of greenhouses is highly synchronized, the maturity of the second greenhouse means that the first greenhouse will also reach maturity in a relatively short period. The control terminal generates a cross-greenhouse indication command to signal that the mycelial growth stage in the first shiitake mushroom cultivation greenhouse is about to end.

[0072] At this time, managers can prepare the materials needed for color change and mushroom induction in advance to ensure that the next stage of operation can be started immediately when the first greenhouse actually reaches maturity, so as to avoid missing the best color change time due to preparation delays, thereby ensuring the uniformity and yield of mushrooms.

[0073] When the fifth trend shows a gradual shortening while the sixth trend does not, the control terminal generates a fourth instruction to indicate that the humidity recovery efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the temperature self-heating efficiency is abnormal. Managers can then use this information to conduct targeted inspections of the second greenhouse.

[0074] When the fifth trend does not show a gradual shortening while the sixth trend does, the control terminal generates a fifth indication command to indicate that the temperature self-heating efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the humidity recovery efficiency is abnormal. Managers can then use this information to conduct targeted inspections of the second greenhouse.

[0075] When neither the fifth nor the sixth trend shows a gradual shortening, the second greenhouse has not yet reached maturity. At this point, the results of the third and fourth trends for the first shiitake mushroom cultivation greenhouse can be obtained, and then the results for the first greenhouse can be compared with those for the second greenhouse.

[0076] Understandably, if the results for both greenhouses are consistent, it indicates that the growth status of both greenhouses is in a synchronous immature stage and may face the same type of problem. The control terminal generates a sixth instruction, indicating that the mycelial growth status of both greenhouses is in a synchronous immature stage, and the managers can know that the overall growth progress is normal and no intervention is required.

[0077] If the assessment results for the two greenhouses are inconsistent, it indicates that although neither greenhouse is mature, there are differences in their growth process or the types of problems they face. These differences may be caused by subtle variations in local microclimate, mycelial activity, or equipment operating conditions. The control terminal generates a seventh instruction, indicating that there are differences in the mycelial growth process between the two greenhouses.

[0078] Understandably, in large-scale production, differences in growth between greenhouses are a significant cause of uneven fruiting, dispersed harvesting batches, and increased management costs. Under traditional management methods, these differences are often only detected during the color-changing or fruiting stages, by which time the optimal intervention window has passed. By comparing the results of inter-greenhouse trend analysis, differences can be identified during the mycelial growth stage, allowing managers to take corrective measures at the nascent stage of problems. This maximizes the consistency of growth progress within the same batch of greenhouses, laying the foundation for unified color-changing, unified fruiting, and unified harvesting.

[0079] This application utilizes the regular influence of respiration and transpiration of shiitake mushroom fruiting bodies on cooling and humidification efficiency to extract indirect indicators reflecting the physiological state of the fruiting bodies. Without increasing any hardware costs, it achieves the measurement of the fruiting body growth process and determines changes in the physiological state of the fruiting bodies through the trend of time variations, dynamically adjusting the single-cycle operation time of ventilation and humidification equipment accordingly. When the fruiting bodies enter the vigorous respiration and transpiration period, ventilation is automatically increased and humidification is reduced, effectively avoiding the risk of high temperature and humidity and disease in the greenhouse caused by insufficient control intensity. When the fruiting bodies are in the early growth stage, a lower ventilation intensity and a higher humidification intensity are maintained to avoid environmental stress caused by excessive control. In this way, the fruiting bodies are always in an optimal microenvironment, and commercial indicators such as cap roundness, color uniformity, and stipe thickness are significantly improved.

[0080] Based on the same inventive concept, this application also proposes a temperature and humidity control system for a shiitake mushroom cultivation greenhouse, including a first shiitake mushroom greenhouse, ventilation equipment, humidification equipment, and a control terminal. Please refer to [link / reference]. Figure 2The control terminal includes: The start-up module is used to send a start-up command to the ventilation equipment and the humidification equipment sequentially at preset time intervals during the growth stage of shiitake mushroom fruiting bodies. The first acquisition module is used to acquire the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and to acquire the temperature inside the greenhouse at the first moment as the first temperature value and the humidity inside the greenhouse at the second moment as the first humidity value. The second acquisition module is used to acquire the first time taken for the first temperature value to drop to a preset second temperature value, and the second time taken for the first humidity value to rise to a preset second humidity value. The first comparison module is used to add the first duration to the historical first duration set and compare the duration values ​​in the historical first duration set. When the comparison result shows that the first duration values ​​recorded in the historical first duration set are distributed in a decreasing manner, the first trend is determined to be gradually shortening. The second comparison module is used to add the second duration to the historical second duration set and compare the duration values ​​in the historical second duration set. When the comparison results show that the second duration values ​​recorded in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension. The adjustment module is used to adjust the single start duration of the ventilation equipment from the current set value to increase when the first trend is gradually shortening and the second trend is gradually lengthening, and to adjust the single start duration of the humidification equipment from the current set value to decrease.

[0081] Based on the same inventive concept, embodiments of this application also propose an electronic device, which includes: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the temperature and humidity control method for shiitake mushroom cultivation greenhouse according to the embodiments of this application.

[0082] In addition, to achieve the above objectives, embodiments of this application also propose a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the temperature and humidity control method for shiitake mushroom cultivation greenhouses according to embodiments of this application.

[0083] The following is a detailed introduction to the various components of the electronic device: In this context, the processor is the control center of the electronic device. It can be a single processor or a collective term for multiple processing elements. For example, a processor can be one or more central processing units (CPUs), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).

[0084] Alternatively, the processor can perform various functions of the electronic device by running or executing software programs stored in memory and by calling data stored in memory.

[0085] The memory is used to store the software program that executes the solution of the present invention, and the execution is controlled by the processor. The specific implementation method can be referred to the above method embodiment, which will not be repeated here.

[0086] Optionally, the memory can be read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, random access memory (RAM) or other types of dynamic storage devices capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory can be integrated with the processor or exist independently and coupled to the processor through an interface circuit of an electronic device; the embodiments of the present invention do not specifically limit this.

[0087] A transceiver is used to communicate with network devices or with terminal devices.

[0088] Optionally, the transceiver may include a receiver and a transmitter. The receiver is used to implement the receiving function, and the transmitter is used to implement the sending function.

[0089] Optionally, the transceiver can be integrated with the processor or exist independently and coupled to the processor through the router's interface circuit. This embodiment of the invention does not specifically limit this.

[0090] Furthermore, the technical effects of the electronic device can be referred to the technical effects of the data transmission method in the above method embodiments, and will not be repeated here.

[0091] It should be understood that the processor in the embodiments of the present invention can be a central processing unit (CPU), or it can be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

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

[0093] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the flow or function according to the embodiments of the present invention is generated. 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. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. A 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 includes one or more sets of available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. Semiconductor media can be solid-state drives.

[0094] It should be understood that the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. A and B can be singular or plural. Additionally, the character " / " in this article generally indicates an "or" relationship between the preceding and following related objects, but it can also represent an "and / or" relationship. Please refer to the context for a more accurate understanding.

[0095] In this invention, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of a single item or a plurality of items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be a single item or multiple items.

[0096] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply 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 invention.

[0097] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

Claims

1. A method for controlling temperature and humidity in a mushroom cultivation greenhouse, characterized in that, A temperature and humidity control system for a shiitake mushroom cultivation greenhouse is provided. The system includes a first shiitake mushroom greenhouse, ventilation equipment, humidification equipment, and a control terminal. The method is executed by the control terminal and includes: During the fruiting body growth stage of shiitake mushrooms, a start command is sent sequentially to the ventilation equipment and the humidification equipment based on a preset time interval. The system obtains the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and obtains the temperature inside the greenhouse at the first moment as the first temperature value and the humidity inside the greenhouse at the second moment as the first humidity value. The first time it takes for the first temperature value to drop to a preset second temperature value, and the second time it takes for the first humidity value to rise to a preset second humidity value are obtained. The first duration is added to the historical first duration set, and the duration values ​​in the historical first duration set are compared. When the comparison result shows that the first duration values ​​recorded consecutively in the historical first duration set show a decreasing distribution, the first trend is determined to be gradually shortening. The second duration is added to the historical second duration set, and the duration values ​​in the historical second duration set are compared. When the comparison results show that the second duration values ​​recorded multiple times in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension. When the first trend of change is gradually shortening and the second trend of change is gradually lengthening, the duration of a single start-up of the ventilation device is adjusted from the current set value to increase, and the duration of a single start-up of the humidification device is adjusted from the current set value to decrease.

2. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 1, characterized in that, The first duration is added to the historical first duration set, and the duration values ​​in the historical first duration set are compared. When the comparison result shows that the first duration values ​​recorded consecutively in the historical first duration set show a gradually decreasing distribution, the first trend is determined to be gradually shortening, including: The first duration is stored in the historical first duration set in chronological order of the recorded times; Obtain the first duration value of N consecutive records from the historical first duration set, where N is a preset comparison number threshold; The first duration value recorded N times consecutively is compared with the value of the first duration in adjacent records according to the recording time. If the first duration value corresponding to each subsequent recording time is less than the first duration value corresponding to the previous recording time, it is determined that the first duration values ​​of consecutive records in the historical first duration set show a decreasing distribution, and the first trend of change is determined to be gradually shortening.

3. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 1, characterized in that, When the first trend is gradually shortening and the second trend is gradually lengthening, the single-start duration of the ventilation equipment is adjusted from the current set value to increase, and the single-start duration of the humidification equipment is adjusted from the current set value to decrease, including: The current single-start duration of the ventilation equipment is obtained as the first current duration, and the current single-start duration of the humidification equipment is obtained as the second current duration. The first current duration is added to the preset first adjustment step size to obtain the first adjusted duration, and the second current duration is subtracted from the preset second adjustment step size to obtain the second adjusted duration. Send a start command carrying the first adjusted duration to the ventilation equipment to update the continuous running time of the ventilation equipment in a single start-up operation; Send a start command carrying the second adjusted duration to the humidifier to update the continuous running time of the humidifier in a single start-up operation.

4. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 1, characterized in that, The method further includes: When the first trend of change is gradually shortening and the second trend of change is not gradually lengthening, the duration of a single start-up of the ventilation device is kept unchanged at the current set value, and the duration of a single start-up of the humidification device is adjusted from the current set value in the direction of increasing; When the first trend of change is not showing a gradual shortening and the second trend of change is a gradual lengthening, the duration of a single start-up of the ventilation device is adjusted from the current set value in a decreasing direction, while keeping the duration of a single start-up of the humidification device unchanged at the current set value. When the first trend of change does not show a gradual shortening and the second trend of change does not show a gradual lengthening, the duration of a single start-up of the ventilation device remains unchanged at the current set value, and the duration of a single start-up of the humidification device remains unchanged at the current set value.

5. A method for controlling temperature and humidity in a mushroom cultivation greenhouse according to any one of claims 1-4, characterized in that, The method further includes: During the mycelial growth stage of shiitake mushrooms, a shutdown command is sent to the ventilation equipment, and a continuous operation command is sent to the humidification equipment. The humidity data inside the greenhouse during continuous operation of the humidification equipment is obtained, including the recovery time from a preset third humidity value to a preset fourth humidity value. The temperature data inside the greenhouse is also obtained, including the self-heating time from a preset third temperature value to a preset fourth temperature value while the ventilation equipment is kept off. The recovery duration is added to the historical recovery duration set, and the duration values ​​in the historical recovery duration set are compared. When the comparison result shows that the recovery duration values ​​recorded consecutively in the historical recovery duration set are distributed in a gradually decreasing manner, the third trend is determined to be gradually shortening. The self-heating duration is added to the historical self-heating duration set. The duration values ​​in the historical self-heating duration set are compared. When the comparison result shows that the self-heating duration values ​​recorded multiple times in the historical self-heating duration set are distributed in a gradually decreasing manner, the fourth trend is determined to be gradually shortening. When it is determined that the third trend of change is gradually shortening and the fourth trend of change is gradually shortening, an indication command is generated to indicate the end of the mycelial growth stage.

6. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 5, characterized in that, The method further includes: When the third trend of change is gradually shortening and the fourth trend of change is not gradually shortening, the humidification device is kept running continuously and a first instruction is generated. The first instruction is used to indicate that the humidity recovery efficiency inside the greenhouse is normal but the temperature self-heating efficiency is abnormal. When it is determined that the third trend of change is not gradually shortening and the fourth trend of change is gradually shortening, the continuous operation of the humidification equipment is maintained, and a second indication instruction is generated. The second indication instruction is used to indicate that the self-heating efficiency of the greenhouse temperature is normal but the humidity recovery efficiency is abnormal. When it is determined that the third trend of change does not show a gradual shortening and the fourth trend of change does not show a gradual shortening, the continuous operation of the humidification equipment remains unchanged, and a third indication instruction is generated. The third indication instruction is used to indicate that the self-heating efficiency of the greenhouse temperature and the humidity recovery efficiency do not show the expected trend of change.

7. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 5, characterized in that, The system includes at least one second shiitake mushroom cultivation greenhouse, and the method includes: The second warming time and the second self-warming time of the second shiitake mushroom cultivation greenhouse during the shiitake mushroom mycelium growth stage were obtained. The second recovery duration is added to the second historical recovery duration set, and the duration values ​​in the second historical recovery duration set are compared. When the comparison result shows that the second recovery duration values ​​recorded consecutively in the second historical recovery duration set are distributed in a decreasing manner, the fifth trend is determined to be gradually shortening. The second self-heating duration is added to the second historical self-heating duration set, and the duration values ​​in the second historical self-heating duration set are compared. When the comparison result shows that the second self-heating duration values ​​recorded consecutively in the second historical self-heating duration set are distributed in a gradually decreasing manner, the sixth trend is determined to be gradually shortening. When it is determined that the fifth trend of change is gradually shortening and the sixth trend of change is gradually shortening, a cross-shed indication instruction is generated. The cross-shed indication instruction is used to indicate that the mycelial growth stage of the first shiitake mushroom cultivation shed is about to enter the end stage.

8. The method for controlling temperature and humidity in a mushroom cultivation greenhouse according to claim 7, characterized in that, The method further includes: When the fifth trend of change is gradually shortening and the sixth trend of change is not gradually shortening, a fourth instruction is generated. The fourth instruction is used to indicate that the humidity recovery efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the temperature self-heating efficiency is abnormal. When the fifth trend of change does not show a gradual shortening and the sixth trend of change is a gradual shortening, a fifth indication instruction is generated. The fifth indication instruction is used to indicate that the temperature self-heating efficiency of the second shiitake mushroom cultivation greenhouse is normal, but the humidity recovery efficiency is abnormal. When the fifth trend of change does not show a gradual shortening and the sixth trend of change does not show a gradual shortening, the determination results of the third trend of change and the fourth trend of change of the first shiitake mushroom cultivation greenhouse are obtained, and the determination results of the first shiitake mushroom cultivation greenhouse are compared with the determination results of the second shiitake mushroom cultivation greenhouse. When the comparison results show that the determination results of the third and fourth change trends of the first shiitake mushroom cultivation greenhouse are consistent with the determination results of the fifth and sixth change trends of the second shiitake mushroom cultivation greenhouse, a sixth indication instruction is generated. The sixth indication instruction is used to indicate that the mycelial growth status of the first shiitake mushroom cultivation greenhouse and the second shiitake mushroom cultivation greenhouse is in a synchronous immature stage. When the comparison results show that the determination results of the third and fourth trends of change in the first shiitake mushroom cultivation greenhouse are inconsistent with the determination results of the fifth and sixth trends of change in the second shiitake mushroom cultivation greenhouse, a seventh instruction is generated. The seventh instruction is used to indicate that there are differences in the mycelial growth process between the first and second shiitake mushroom cultivation greenhouses.

9. A temperature and humidity control system for a shiitake mushroom cultivation greenhouse, characterized in that, It includes a first shiitake mushroom greenhouse, ventilation equipment, humidification equipment, and a control terminal, wherein the control terminal includes: The start-up module is used to send a start-up command to the ventilation device and the humidification device sequentially at a preset time interval during the fruiting body growth stage of shiitake mushrooms. The first acquisition module is used to acquire the first moment when the ventilation equipment starts up and the second moment when the humidification equipment starts up, and to acquire the temperature inside the greenhouse at the first moment as a first temperature value and the humidity inside the greenhouse at the second moment as a first humidity value. The second acquisition module is used to acquire the first time that the first temperature value drops to a preset second temperature value, and the second time that the first humidity value rises to a preset second humidity value; The first comparison module is used to add the first duration to the historical first duration set and compare the duration values ​​in the historical first duration set. When the comparison result shows that the first duration values ​​recorded in the historical first duration set are distributed in a decreasing manner, the first trend is determined to be gradually shortening. The second comparison module is used to add the second duration to the historical second duration set and compare the duration values ​​in the historical second duration set. When the comparison result shows that the second duration values ​​recorded multiple times in the historical second duration set are distributed in a progressively increasing manner, the second trend is determined to be a gradual extension. The adjustment module is used to adjust the single start duration of the ventilation device from the current set value to increase, and the single start duration of the humidification device from the current set value to decrease, when the first trend of change is gradually shortening and the second trend of change is gradually lengthening.

10. An electronic device, characterized in that, include: At least one processor; And, a memory communicatively connected to at least one of the processors; The memory stores instructions that can be executed by at least one of the processors, and the instructions are executed by at least one of the processors to enable at least one of the processors to perform a method for controlling temperature and humidity in a mushroom cultivation greenhouse as described in any one of claims 1-8.