Distributed growing system, distributed growing method, and storage medium
Through a distributed planting system and the KaihongOS operating system, the system enables environmental detection and adjustment of intelligent planting equipment when the WIFI network is disconnected, solving the problem of limited user experience in existing technologies and realizing refined management and environmental adjustment of multiple devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- 深圳开鸿数字产业发展有限公司
- Filing Date
- 2022-12-09
- Publication Date
- 2026-07-21
AI Technical Summary
Existing smart planting equipment cannot perform targeted environmental control based on plant information when the WIFI network is disconnected, resulting in a limited user experience.
A distributed planting system is adopted, which is connected through a first terminal device, a first planting device and a second planting device. Using a distributed soft bus and the KaihongOS operating system, the distributed management of the environmental detection and regulation module is realized, and fine-tuning is carried out based on plant information and environmental information.
It enables distributed and refined management of multiple planting devices, improves the user experience during the planting process, and ensures the accuracy and stability of environmental regulation for plants in different growth cycles.
Smart Images

Figure CN116225111B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home technology, and in particular to a distributed planting system, a distributed planting method, and a storage medium. Background Technology
[0002] Intelligent planting equipment aims to reduce the difficulty for users in growing plants by converting professional plant cultivation knowledge into a programmed language, thereby improving the survival rate of indoor plants and allowing users to better experience the joy of planting.
[0003] Existing smart planting equipment is developed based on the Android system and can connect to mobile phones via Wi-Fi, allowing users to set safety thresholds for each sensor in a corresponding app to achieve automated control of soil moisture, temperature, and other parameters. However, when the Wi-Fi network is disconnected during the planting process, the equipment can only automatically control soil moisture, temperature, and other parameters offline by comparing the preset safety thresholds for each smart planting device set by the user, and cannot perform targeted control based on plant information. Summary of the Invention
[0004] This application discloses a distributed planting system, a distributed planting method, and a storage medium, which solves the problem that existing intelligent planting equipment cannot perform targeted control based on plant information.
[0005] In a first aspect, this application provides a distributed planting system, which includes a first terminal device, a first planting device, and multiple second planting devices. The first terminal device is equipped with a first-level operating system, the first planting device is equipped with a second-level operating system, and the second planting devices are equipped with a third-level operating system. The first level is higher than the second level, and the second level is higher than the third level. The operating systems of the first planting device and the second planting devices store plant information. The first terminal device, the first planting device, and the second planting devices are connected through a distributed soft bus. Both the first planting device and the second planting devices include an environmental detection module and an environmental regulation module.
[0006] The environmental detection modules of the first planting equipment and the second planting equipment are used to detect environmental information. The first terminal device is used to obtain the first preset conditions corresponding to the plant information of the first planting equipment and the second planting equipment, determine whether each piece of environmental information meets the corresponding first preset conditions, and control the environmental adjustment module of the first planting equipment or the second planting equipment to adjust the environment when the environmental information does not meet the corresponding first preset conditions.
[0007] Secondly, this application provides a distributed planting method, which is applied to the distributed planting system provided in the first aspect. The distributed planting method includes: an environmental detection module of a first planting device and a second planting device detecting environmental information, and the environmental detection modules of the first planting device and the second planting device sending the environmental information to a first terminal device.
[0008] The first terminal device acquires the first preset conditions corresponding to the plant information of the first planting device and the second planting device, and the first terminal device determines whether each environmental information satisfies the corresponding first preset conditions.
[0009] When the environmental information does not meet the corresponding first preset condition, the first terminal device controls the environmental adjustment module of the first planting device or the second planting device to adjust the environment.
[0010] Thirdly, this application also provides a storage medium, a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the distributed planting method provided in the second aspect.
[0011] This application provides a distributed planting system, a distributed planting method, and a storage medium. The system uses a first terminal device to acquire environmental information from an environmental detection module, which detects first preset conditions corresponding to the environmental information of a first planting device and a second planting device. When the environmental information does not meet the corresponding first preset conditions, the system controls the environmental adjustment module of either the first or second planting device to adjust the environment. By using the distributed planting system provided in this application, which obtains the corresponding first preset conditions based on the plant information of the first and second planting devices, and controls the environmental adjustment modules of the first and second planting devices based on the environmental information and the first preset conditions, distributed and refined management of multiple planting devices can be achieved, significantly improving the user experience during the planting process. Attached Figure Description
[0012] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a schematic block diagram of the distributed soft bus provided in the embodiments of this application;
[0014] Figure 2 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0015] Figure 3 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0016] Figure 4 A schematic diagram of a distributed planting system provided in an embodiment of this application;
[0017] Figure 5 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0018] Figure 6 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0019] Figure 7 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0020] Figure 8 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0021] Figure 9 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0022] Figure 10 This is a schematic diagram of a distributed planting system provided in an embodiment of this application;
[0023] Figure 11 This is a schematic flowchart illustrating the steps of the distributed planting method provided in the embodiments of this application;
[0024] Figure 12 This is a schematic block diagram of a terminal device provided in an embodiment of this application.
[0025] Explanation of main components and symbols:
[0026] 100. Distributed planting system; 10. First terminal equipment; 20. Flowers; 30. First planting equipment; 31. Environmental monitoring module; 311. Temperature detection device; 312. Humidity detection device; 313. Concentration detection device; 32. Environmental control module; 321. Temperature control device; 322. Humidity control device; 323. Lighting device; 324. Air blowing device; 33. Control module; 40. Second planting equipment; 50. Server; 60. Second terminal equipment; 70. Water storage module; 71. Water storage device; 72. Water level detection device.
[0027] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Detailed Implementation
[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0029] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.
[0030] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0031] It should be understood that, in order to clearly describe the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, the first identification model and the second identification model are only used to distinguish different callback functions and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" do not necessarily mean they are different.
[0032] It should also be understood that the term "and / or" as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0033] To facilitate understanding of the embodiments of this application, some terms involved in the embodiments of this application will be briefly explained below.
[0034] 1. Plant Information: Plant information includes the plant category (specific name of the plant such as flowers, fruits and vegetables), the plant growth cycle (total growth time of the plant), and the plant's planting location (indoor greenhouse or outdoor).
[0035] 2. Distributed soft bus: such as Figure 1 As shown, Figure 1This is a schematic block diagram of the distributed soft bus provided in the embodiments of this application. The distributed soft bus is a virtual, "invisible" bus. It can connect all system devices developed based on the KaihongOS system within the same local area network, and has the characteristics of self-discovery, self-organizing network, high bandwidth and low latency. In addition to connecting hardware devices using the same network protocol, the soft bus technology also supports networking heterogeneous networks with different protocols.
[0036] The open-source HarmonyOS is a brand-new system designed for the era of the Internet of Everything. Building upon the capabilities of traditional single-device systems, the open-source HarmonyOS provides new distributed integrated capabilities to better adapt to next-generation application scenarios involving multiple devices, multiple tasks, and multiple data.
[0037] The distributed soft bus, based on the hardware and software collaboration of Ethernet, Wi-Fi, and Bluetooth, provides device discovery and connectivity. After devices discover and connect to each other, the distributed soft bus manages the self-organizing network and topology relationships between devices. The distributed soft bus achieves unified distributed communication management capabilities among near-field devices, providing link-independent device discovery, connection, networking, and transmission capabilities. Its main functions are as follows:
[0038] 1) Discovery and Connection: Provides device discovery and connection capabilities based on communication methods such as WIFI and Bluetooth.
[0039] 2) Device networking: Provides unified device networking and topology management capabilities, and provides information on networked devices for data transmission.
[0040] 3) Data transmission: Provides data transmission channels and supports message and byte data transmission capabilities.
[0041] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0042] Existing smart planting equipment is limited by its communication capabilities. When the WIFI network is disconnected during the planting process, the equipment can only automatically control soil moisture and temperature offline by comparing the safety thresholds preset by the user for each smart planting device. It cannot perform targeted control based on plant information, which greatly limits the user experience of using smart planting equipment.
[0043] In the embodiments of this application, the object of the distributed planting system can be any of plant planting, flower planting, or fruit and vegetable planting. The specific category is not limited by this embodiment and the accompanying drawings. The following description will take flower planting as an example.
[0044] Please see Figure 2 , Figure 2This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. In this embodiment, the distributed planting system 100 is used to cultivate flowers 20. The distributed planting system 100 includes a first terminal device 10, a first planting device 30, and multiple second planting devices 40. The first terminal device 10 is equipped with a first-level operating system, the first planting device 30 is equipped with a second-level operating system, and the second planting devices 40 are equipped with a third-level operating system. The operating systems of the first planting device 30 and the second planting devices 40 store plant information about the flowers 20. In the distributed planting system 100 provided in this embodiment, the first level is higher than the second level, and the second level is higher than the third level. The first terminal device 10, the first planting device 30, and the second planting device 40 are equipped with a first-level operating system, a first planting device 30, and multiple second planting devices 40. The first planting device 30 and the second planting device 40 are connected via a distributed soft bus. Both the first planting device 30 and the second planting device 40 include an environmental detection module 31 and an environmental adjustment module 32. The environmental detection module 31 of the first planting device 30 and the second planting device 40 is used to detect environmental information. The first terminal device 10 is used to obtain the first preset conditions corresponding to the plant information of the flowers 20 planted by the first planting device 30 and the second planting device 40, determine whether the environmental information of each flower 20 meets the corresponding first preset conditions, and control the environmental adjustment module 32 of the first planting device 30 or the second planting device 40 to adjust the environment when the environmental information does not meet the corresponding first preset conditions.
[0045] Specifically, the operating system needs to be an OS system that supports OpenHarmony. The specific type is not limited to the embodiments and figures provided in this application. KaihongOS will be used as an example for the following description.
[0046] It should be noted that KaihongOS divides devices into 6 levels, from L0 to L5, with L5 being the highest level and L0 being the lowest level, i.e., a lightweight system. The level of KaihongOS running on the first terminal device 10 is higher than that of the first planting device 30 or the second planting device 40. Through the highest-level first terminal device 10, the constructed distributed planting system 100 can make targeted adjustments to the flowers 20 planted by each of the first planting devices 30 or the second planting devices 40 based on plant information.
[0047] For example, in some embodiments, the first terminal device 10 can be a tablet computer, a mobile phone, or a computer. As long as the first terminal device 10 has a higher permission level in KaihongOS than the first planting device 30 or the second planting device 40, it can build the distributed planting system 100 provided in this application embodiment. Therefore, the type of the first terminal device 10 is not limited here.
[0048] Specifically, the first terminal device 10 first acquires the plant information of the flowers 20 stored in the operating systems of the first planting device 30 and the second planting device 40. Based on the plant information of the flowers 20, the first terminal device 10 obtains the first preset conditions corresponding to the plant information. These first preset conditions can be a series of planting parameters for the flowers 20, such as preset humidity, preset temperature, preset light duration, and preset carbon dioxide concentration. Since the planting parameters for different flowers inevitably differ, and their requirements for planting parameters vary at different growth stages, the first terminal device 10 then acquires the environmental information measured by the environmental detection modules 31 of the first and second planting devices 30. When the environmental information of the flowers 20 does not meet the corresponding first preset conditions, the first terminal device 10 controls the environmental adjustment module 32 of the first or second planting device 40 to adjust the environment. Using the distributed planting system 100 provided in this application embodiment, distributed and refined management of multiple planting devices can be achieved. Furthermore, it only requires the first terminal device 10, the first planting device 30, and the second planting device 40 to support the connection protocol adapted to KaihongOS, reducing the impact of network anomalies on the functionality of the intelligent planting devices.
[0049] For example, in some embodiments, the connection protocols supported by the first terminal device 10, the first planting device 30, and the second planting device 40 can be COAP, MQTT, WIFI, or Bluetooth. As long as the connection protocol is compatible with KaihongOS, information can be transmitted to the operating system of another device. Therefore, the embodiments provided in this application do not limit the connection protocols supported by the first terminal device 10, the first planting device 30, and the second planting device 40.
[0050] The distributed planting system 100 proposed in this application based on KaihongOS, compared with the intelligent planting equipment developed based on the Android system, can support multiple protocols in addition to the WIFI protocol. KaihongOS has lower hardware requirements for lightweight systems, i.e. L0 level devices than Android, which can also reduce the hardware cost of the distributed planting system 100.
[0051] In some embodiments, when the first terminal device 10 confirms that the plant information of the flower 20 planted by the first planting device 30 or the second planting device 40 does not meet the corresponding first preset condition, it generates control information based on the difference between the parameters measured in the environmental information and the corresponding parameters in the first preset condition. For example, when the flower 20 is a peony, its plant information shows a temperature of 20°C, and the optimal planting temperature in the first preset condition is 28°C. Then, the first terminal device generates control information of +8°C and sends it to the corresponding environmental adjustment device 32, which will raise the temperature by 8°C. Using the above method, the environmental information of the flower 20 can be accurately controlled, keeping it within the first preset condition in real time.
[0052] In some embodiments, such as Figure 3 As shown, Figure 3 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 3 In the process, the operating system of the first planting device 30 stores a second preset condition. When the first terminal device 10 is disconnected from the first planting device 30 and the second planting device 40, the first planting device 30 is used to determine whether each environmental information meets the second preset condition. When the environmental information does not meet the second preset condition, the environmental adjustment module 31 of the first planting device 30 or the second planting device 40 is controlled to adjust the environment.
[0053] Exemplary, in some embodiments, such as Figure 3 As shown, the first planting device 30 is equipped with a control module 33. Since the environmental acquisition module 31 and the environmental adjustment module 32 are only low-level modules for data acquisition or instruction execution, the KaihongOS carried by the environmental acquisition module 31 and the environmental adjustment module 32 is generally at level L0. The control module 33 is any module that is higher than level L0 but lower than the level of the KaihongOS carried by the first terminal device 10. It can realize that when the first terminal device 10 is disconnected, the first planting device 10 becomes a new terminal device in the distributed planting system 200, and the control module 33 processes the environmental information collected by the environmental acquisition module 31 of the first planting device 30 and the second planting device 40.
[0054] It should be noted that in some embodiments, the control module 33 can be a display screen with KaihongOS at level L2, the control module 33 can be a controller with KaihongOS at level L1, or the control module 33 can be a development board with KaihongOS at level L3. The selection of the control module 33 needs to be combined with the appearance of the first planting device 30. By setting the corresponding control module 33 in the first planting device 30, the first planting device 10 can become a new terminal device in the distributed planting system 200 when the first terminal device 10 is disconnected.
[0055] Specifically, the control module 33 of the first planting device 30 stores a second preset condition, which is a combination of general planting parameters applicable to all flower planting. When the first terminal device 10 is disconnected, the control module 33 of the first planting device 30 can adjust the flowers 20 planted by the first planting device 30 and the second planting device 40 through the second preset condition to ensure that the flowers 20 can grow normally during the period when the first terminal device 10 is disconnected.
[0056] In some embodiments, such as Figure 4 As shown, Figure 4 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 4 In this embodiment, the first planting device 30 and the second planting device 40 are used to upload the environmental information detected by the environmental detection module 31 to the server 50. The distributed planting system 100 provided in this application includes a second terminal device 60, which is equipped with an operating system. The second terminal device 60 is used to obtain the environmental information stored in the server 50, generate control information based on the environmental information, and send it to the server 50 to control the environmental adjustment module 32 of the first planting device 30 or the second planting device 40 to adjust the environment of the flowers 20.
[0057] Specifically, the second terminal device 60 aims to remotely acquire environmental information detected by the environmental detection modules 31 of the first planting device 30 and the second planting device 40 stored in the server. This allows the user to remotely generate corresponding control information based on the environmental information, thereby controlling the environmental adjustment modules 32 of the first planting device 30 or the second planting device 40 to adjust the environment of the flowers 20. The distributed planting system 100 provided in this application embodiment enables users to remotely and distributedly control the environmental adjustment modules 32 of the first planting device 30 or the second planting device 40, further enhancing the user experience.
[0058] It should be noted that in some embodiments, the second terminal device 60 can be a mobile phone equipped with KaihongOS at level L3, a tablet equipped with KaihongOS at level L4, a laptop equipped with KaihongOS at level L4, or any device carried by the user equipped with KaihongOS at any level other than L0.
[0059] In some embodiments, such as Figure 5 As shown, Figure 5 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 5 In the process, the environmental information includes temperature information and humidity information; the environmental detection module 31 includes: a temperature detection device 311 and a humidity detection device 312, the temperature detection device 311 is used to detect temperature information, and the humidity detection device 312 is used to detect humidity information.
[0060] Specifically, the temperature detection device 311 is used to detect the temperature information of the growing environment of the flowers 20 in the first planting equipment 30 and the second planting equipment 40, and the humidity detection device 312 is used to detect the humidity information of the growing environment of the flowers 20 in the first planting equipment 30 and the second planting equipment 40. By obtaining the temperature and humidity information of the flowers 20 in the first planting equipment 30 and the second planting equipment 40, the plant information of the flowers 20 can be accurately obtained.
[0061] It should be noted that in some embodiments, the temperature detection device 311 and the humidity detection device 312 may be located inside the soil of the first planting device 30 and the second planting device 40, or outside the soil of the first planting device 30 and the second planting device 40. The temperature detection device 311 and the humidity detection device 312 may be located both outside and inside the soil of the first planting device 30 and the second planting device 40. The positions of the temperature detection device 311 and the humidity detection device 312 may correspond to the specific parameters of the first preset conditions and the second preset conditions provided in the embodiments of this application. Therefore, the embodiments of this application do not limit the positions of the temperature detection device 311 and the humidity detection device 312.
[0062] Exemplary, in some embodiments, such as Figure 6 As shown, Figure 6 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 6In this embodiment, the first preset conditions include a preset temperature and a preset humidity. The first terminal device 10 is used to determine whether each temperature information meets the preset temperature and whether each humidity information meets the preset humidity. The environmental adjustment module 32 provided in this application embodiment includes a temperature adjustment device 321 and a humidity adjustment device 322. When the temperature information does not meet the preset temperature, the temperature adjustment device 321 of the first planting device 30 or the second planting device 40 is controlled to adjust the temperature of the flower 20. When the humidity information does not meet the preset humidity, the humidity adjustment device 322 of the first planting device 30 or the second planting device 40 is controlled to adjust the humidity of the flower 20.
[0063] Specifically, when the first terminal device 10 determines that the temperature information of the flower 20 in the first planting device 30 or the second planting device 40 does not meet the preset temperature, it controls the temperature regulating device 321 corresponding to the flower 20 to adjust the temperature of the flower 20; when the first terminal device 10 determines that the humidity information of the flower 20 in the first planting device 30 or the second planting device 40 does not meet the preset humidity, it controls the humidity regulating device 322 corresponding to the flower 20 to adjust the humidity of the flower 20. By controlling the temperature regulating device 321 and the humidity regulating device 322 in the first planting device 30 or the second planting device 40 through the first terminal device 10, the temperature and humidity of the flower 20 can be adjusted in a timely and targeted manner.
[0064] In some embodiments, such as Figure 7 As shown, Figure 7 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 7 In the process, the first planting equipment 30 and the second planting equipment 40 also include a water storage module 70. The water storage module 70 includes a water storage device 71 and a water level detection device 72. The water level detection device 72 is used to detect the water level information of the water storage device 71. The water storage device 71 is connected to the environmental regulation module 32 and is used to supply water to the environmental regulation module 32. The first terminal device 10 is used to determine whether each water level information meets the preset water level. When the water level information does not meet the preset water level, the first terminal device 10 generates an alarm message to warn that the water level of the water storage device 71 of the first planting equipment 30 or the second planting equipment 40 needs to be adjusted.
[0065] By setting a water storage module 70 in the first planting device 30 and the second planting device 40, when the environmental adjustment module 32 of the first planting device 30 and the second planting device 40 needs to adjust the humidity of the flowers 20, water is supplied to the environmental adjustment module 32 through the water storage device 71, which can quickly adjust the humidity information of the flowers 20 planted in the first planting device 30 and the second planting device 40.
[0066] In some embodiments, such as Figure 8As shown, Figure 8 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 8 In the process, the environmental control module 32 includes a light-emitting device 323, which is used to receive light information sent by the first terminal device 10. The light information is used to control the light-emitting device 323 to work within a preset time to promote the photosynthesis of the flowers 20 planted in the first planting device 30 and the second planting device 40.
[0067] By setting up a light-emitting device 323 in the first planting device 30 and the second planting device 40, the first terminal device can determine the light information required by the flower 20 every day based on the plant information of the flower 20, and control the light-emitting device 232 of the flower 20 to work according to the light information corresponding to the flower 20, so as to promote the photosynthesis of the flower 20.
[0068] It should be noted that in some embodiments, both the first planting device 30 and the second planting device 40 are equipped with a lighting device 323. In some embodiments, the lighting device 323 is placed according to the area where the first planting device 30 or the second planting device 40 is located; that is, one lighting device 323 is responsible for illuminating multiple flowers 20 in one area. The specific location of the lighting device 323 is set according to the user's actual planting needs. When the user plants the same type of plant in one area, one lighting device 323 can also meet the needs. Therefore, the installation location of the lighting device 323 is not limited in this application embodiment.
[0069] In some embodiments, such as Figure 9 As shown, Figure 9 This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 9 In this embodiment, the environmental information includes carbon dioxide concentration information; the environmental detection module 31 provided in this application includes: a concentration detection device 313, which is used to detect carbon dioxide concentration information.
[0070] The flowers 20 require carbon dioxide for photosynthesis and release oxygen, and require oxygen for respiration and release carbon dioxide. However, indoor-grown flowers 20 may accumulate too much or too little carbon dioxide due to poor air circulation. The concentration detection device 313 monitors the carbon dioxide concentration of the flowers 20 in the first planting device 30 and the second planting device 40. When the carbon dioxide concentration around the flowers 20 is outside the preset range, the first terminal device 10 can quickly provide corresponding control information.
[0071] Exemplary, in some embodiments, such as Figure 10 As shown, Figure 10This is a schematic diagram of a distributed planting system 100 provided in an embodiment of this application. Figure 10 In the first preset condition, there is a preset concentration. The first terminal device 10 is used to determine whether each carbon dioxide concentration information meets the preset concentration. The environmental adjustment module 32 provided in this application embodiment includes a blower 324. When the carbon dioxide concentration information of the flowers 20 of the first planting device 30 and the second planting device 40 does not meet the preset concentration, the blower 324 of the first planting device 30 or the second planting device 40 is controlled to adjust the concentration of the flowers 20.
[0072] When the carbon dioxide concentration information of the flowers 20 in the first planting device 30 and the second planting device 40 does not meet the preset concentration, the first terminal device 10 controls the air blowing device 324 of the first planting device 30 or the second planting device 40 to improve the local air quality. During the air blowing process, the air blowing device 324 can also accelerate the transpiration of the flowers 20, increase the speed of root nutrient absorption, and make the flowers 20 grow stronger.
[0073] It should be noted that in some embodiments, both the first planting device 30 and the second planting device 40 are equipped with a concentration detection device 313 and a blowing device 324. In some embodiments, the concentration detection device 313 and the blowing device 324 are placed according to the area where the first planting device 30 or the second planting device 40 is located. That is, one concentration detection device 313 and one blowing device 324 are responsible for detecting and blowing carbon dioxide concentration on multiple flowers 20 in one area. The specific location of the concentration detection device 313 and the blowing device 324 is set according to the user's actual planting needs. Therefore, this application embodiment does not limit the installation location of the concentration detection device 313 and the blowing device 324.
[0074] In some embodiments, the first planting device 30 and the second planting device 40 provided in this application further include a monitoring module. The monitoring module is used to monitor the environment around the first planting device 30 and the second planting device 40. When the monitoring module detects that the flowers 20 planted by the first planting device 30 and the second planting device 40 are in an abnormal state, it generates a warning message and uploads the real-time video recording information to the first terminal device 10. When the first planting device 30 and the second planting device 40 are planting relatively valuable flowers, the distributed planting system provided in this application can help users quickly determine the cause of damage or theft of the flowers 20. Furthermore, since the devices support multiple communication protocols, there is no need to worry about the recording being unable to be stored due to network interruption.
[0075] It should be noted that in some embodiments, the monitoring module is placed according to the area where the first planting device 30 or the second planting device 40 is located, that is, one monitoring module is responsible for monitoring multiple flowers 20 in one area. Since the first terminal device 10 can process the image information of multiple flowers 20 simultaneously, when it determines that a flower 20 is in an abnormal state, it can generate a warning message for that flower 20 and upload the corresponding real-time video information, which can also reduce the cost of the distributed planting system 100 provided in this application embodiment.
[0076] This application provides a distributed planting system 200. A first terminal device 10 acquires environmental information from an environmental detection module 31, which detects environmental information from a first planting device 30 and a second planting device 40, corresponding to first preset conditions. When the environmental information does not meet the corresponding first preset conditions, the system controls the environmental adjustment module 32 of either the first or second planting device 40 to adjust the environment. By acquiring the corresponding first preset conditions based on plant information, the distributed planting system 200 provided in this application enables distributed and refined management of multiple planting devices, significantly improving the user experience during the planting process.
[0077] Please see Figure 11 , Figure 11 This is a schematic flowchart of the steps of the distributed planting method provided in the embodiments of this application. The distributed planting method provided is applied to the distributed planting system 200 provided in any embodiment of this application.
[0078] In the embodiments of this application, the distributed planting method can be applied to any of the following: a distributed planting system 200 based on plant planting, a distributed planting system 200 based on flower planting, and a distributed planting system 200 based on fruit and vegetable planting. The specific category is not limited by this embodiment and the accompanying drawings. The following description will take a distributed planting system 200 based on flower planting as an example.
[0079] like Figure 11 As shown, the distributed planting method specifically includes steps S101 to S103.
[0080] S101. The environmental detection modules of the first planting equipment and the second planting equipment detect environmental information and send the environmental information to the first terminal equipment.
[0081] Specifically, the environmental information of the planted flowers is monitored by the environmental detection modules of the first and second planting devices. The first terminal device can determine in real time whether the environmental information of the flowers is suitable for their growth based on the environmental information of the flowers sent by the first and second planting devices.
[0082] S102. The first terminal device acquires the first preset conditions corresponding to the plant information of the flowers planted by the first planting device and the second planting device, and the first terminal device determines whether each environmental information meets the corresponding first preset conditions.
[0083] Specifically, the first terminal device obtains the corresponding first preset conditions in real time based on the plant information of the flowers planted by the first planting device and the second planting device. The first preset conditions may be composed of the optimal planting parameters of each stage of the plant obtained in KaihongOS based on various authoritative data and plant planting literature. By determining whether the plant information of the flower meets the corresponding first preset conditions, the growth of the flower can be precisely controlled in real time.
[0084] S103. When the environmental information does not meet the corresponding first preset condition, the first terminal device controls the environmental adjustment module of the first planting device or the second planting device to adjust the environment.
[0085] Specifically, when the first terminal device determines that the plant information of the flowers planted by the first planting device or the second planting device does not meet the corresponding first preset conditions, it calculates the corresponding control information in real time based on the deviation value of the plant information from the corresponding parameters in the first preset conditions, and controls the environmental adjustment module of the first planting device or the second planting device to adjust the growth environment of the flowers.
[0086] This application provides a distributed planting method. A first terminal device first obtains corresponding first preset conditions based on the plant information of the flowers planted in the first and second planting devices. When the environmental detection module detects that the environmental information of the flower does not meet the corresponding first preset conditions, it promptly controls the environmental adjustment module corresponding to that flower. The distributed planting method provided by this application can adjust the growth environment of flowers in real time, ensuring that the flowers are in an optimal growth environment at all times, and also greatly simplifies the planting process for users.
[0087] This application provides a distributed planting system 100, which includes a first terminal device 10, wherein a schematic block diagram of the first terminal device 10 is shown below. Figure 12 As shown, Figure 12 This is a schematic block diagram of a terminal device provided in an embodiment of this application.
[0088] The first terminal device may include a processor, memory, and a network interface. The processor, memory, and network interface are connected via a system bus, such as an I2C (Inter-integrated Circuit) bus.
[0089] Specifically, the processor can be a microcontroller unit (MCU), a central processing unit (CPU), or a digital signal processor (DSP), etc.
[0090] Specifically, the storage device can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc.
[0091] This network interface is used for network communication, such as sending assigned tasks. Those skilled in the art will understand that... Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the solution of this application and does not constitute a limitation on the terminal device to which the solution of this application is applied. A specific terminal device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0092] The processor is used to run a computer program stored in a memory, and when executing the computer program, implements the corresponding steps in any of the distributed robot construction methods provided in the embodiments of this application.
[0093] The exemplary functional modules are used in conjunction with the following steps:
[0094] The environmental detection modules of the first and second planting devices detect environmental information and send the environmental information to the first terminal device. The first terminal device obtains the first preset conditions corresponding to the plant information of the first and second planting devices and determines whether each piece of environmental information meets the corresponding first preset conditions. When the environmental information does not meet the corresponding first preset conditions, the first terminal device controls the environmental adjustment module of the first or second planting device to adjust the environment.
[0095] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the computer equipment described above can be referred to the corresponding process in the aforementioned distributed planting method embodiment, and will not be repeated here.
[0096] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, and the processor executing the program instructions to implement the steps of the distributed planting method provided in the above embodiments. For example, when the computer program is loaded by the processor, it can perform the following steps:
[0097] The environmental detection modules of the first and second planting equipment detect environmental information, and the environmental detection modules of the first and second planting equipment send the environmental information to the first terminal device.
[0098] The environmental detection modules of the first and second planting devices detect environmental information and send the environmental information to the first terminal device. The first terminal device obtains the first preset conditions corresponding to the plant information of the first and second planting devices and determines whether each piece of environmental information meets the corresponding first preset conditions. When the environmental information does not meet the corresponding first preset conditions, the first terminal device controls the environmental adjustment module of the first or second planting device to adjust the environment.
[0099] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0100] The computer-readable storage medium can be an internal storage unit of the computer device described in the foregoing embodiments, such as a hard disk or memory of the computer device. Alternatively, it can be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., provided on the computer device.
[0101] Since the computer program stored in the computer-readable storage medium can execute any of the distributed planting methods provided in the embodiments of this application, it can achieve the beneficial effects that any of the distributed planting methods provided in the embodiments of this application can achieve, as detailed in the preceding embodiments, and will not be repeated here.
[0102] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The above descriptions are merely specific implementations of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A distributed planting system, characterized in that, include: The system comprises a first terminal device, a first planting device, and multiple second planting devices. The first terminal device is equipped with a first-level operating system, the first planting device is equipped with a second-level operating system, and the second planting devices are equipped with a third-level operating system. The first level is higher than the second level, and the second level is higher than the third level. The operating systems of the first and second planting devices store plant information. The first terminal device, the first planting device, and the second planting devices are connected via a distributed soft bus. Both the first and second planting devices include an environmental detection module and an environmental control module. The first and second planting devices have environmental detection modules for detecting environmental information. The first terminal device acquires the plant information corresponding to the first and second planting devices under first preset conditions, determines whether each piece of environmental information meets the corresponding first preset conditions, and controls the environmental adjustment module of the first or second planting device to adjust the environment when the environmental information does not meet the corresponding first preset conditions. The operating system of the first planting device stores second preset conditions. When the first terminal device is disconnected from the first and second planting devices, the first planting device determines whether each piece of environmental information meets the second preset conditions, and controls the environmental adjustment module of the first or second planting device to adjust the environment when the environmental information does not meet the second preset conditions. The second preset conditions are a combination of universal planting parameters applicable to all flower planting. The first and second planting devices upload the environmental information detected by the environmental detection modules to the server. The distributed planting system includes a second terminal device equipped with the operating system. The second terminal device acquires the environmental information stored in the server, generates control information based on the environmental information, and sends it to the server to control the first or second planting device. The environmental adjustment module of the equipment adjusts the environment; the environmental information includes temperature information and humidity information; the environmental detection module includes a temperature detection device and a humidity detection device, the temperature detection device being used to detect the temperature information and the humidity detection device being used to detect the humidity information; the first preset condition includes a preset temperature and a preset humidity, the first terminal device being used to determine whether each of the temperature information meets the preset temperature and whether each of the humidity information meets the preset humidity; the environmental adjustment module includes a temperature adjustment device and a humidity adjustment device, and when the temperature information does not meet the preset temperature, it controls the temperature adjustment device of the first planting equipment or the second planting equipment to adjust the temperature. When the humidity information does not meet the preset humidity, the humidity adjustment device of the first planting equipment or the second planting equipment is controlled to adjust the humidity; the first planting equipment and the second planting equipment also include a water storage module, the water storage module includes a water storage device and a water level detection device, the water level detection device is used to detect the water level information of the water storage device, the water storage device is connected to the environmental adjustment module, and is used to supply water to the environmental adjustment module; the first terminal device is used to determine whether each of the water level information meets the preset water level, and when the water level information does not meet the preset water level, an alarm message is generated to warn that the water level of the water storage device of the first planting equipment or the second planting equipment needs to be adjusted;The environmental control module includes a lighting device. This device receives lighting information sent by the first terminal device, and the lighting information controls the device to operate for a preset time to promote photosynthesis in the plants grown in the first and second planting devices.
2. The distributed planting system according to claim 1, characterized in that, The environmental information includes carbon dioxide concentration information; the environmental detection module includes: A concentration detection device, wherein the concentration detection device is used to detect the carbon dioxide concentration information.
3. The distributed planting system according to claim 2, characterized in that, The first preset condition includes a preset concentration, and the first terminal device is used to determine whether each of the carbon dioxide concentration information meets the preset concentration. The environmental control module includes: When the carbon dioxide concentration information does not meet the preset concentration, the blowing device controls the blowing device of the first planting equipment or the second planting equipment to adjust the concentration.
4. A distributed planting method, characterized in that, Applied to a distributed planting system, wherein the distributed planting system is the distributed planting system according to any one of claims 1-3, the method includes: The environmental detection modules of the first and second planting equipment detect environmental information, and the environmental detection modules of the first and second planting equipment send the environmental information to the first terminal device. The first terminal device acquires the first preset conditions corresponding to the plant information of the first planting device and the second planting device, and the first terminal device determines whether each environmental information satisfies the corresponding first preset conditions. When the environmental information does not meet the corresponding first preset condition, the first terminal device controls the environmental adjustment module of the first planting device or the second planting device to adjust the environment.
5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the distributed planting method as described in claim 4.