A smart garden data management method and system

By using image grayscale correction and pruning record analysis in garden data management, the problems of low efficiency and inaccurate early warnings in traditional garden data management are solved, and efficient and accurate garden maintenance plan arrangements and resource utilization are achieved.

CN118469535BActive Publication Date: 2024-10-15DALIAN WANLAI CONSTR ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410938969.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-15
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

Traditional garden data management methods are inefficient and error-prone, making it difficult to meet the needs of modern garden management. In particular, abnormal early warnings due to seasonal changes and light factors during plant growth status and image collection are inaccurate, resulting in a waste of resources.

Method used

Determine the four-season standard threshold through historical image grayscale, and use image grayscale correction coefficients to correct garden images. Combined with garden pruning records, calculate and predict flower pruning dates, accurately identify abnormal areas and plant types, issue targeted early warnings, and arrange maintenance plans reasonably. .

Benefits of technology

It improves the efficiency of garden maintenance, accurately identifies abnormal areas and plants, reduces the waste of human and material resources, and ensures the pertinence and accuracy of maintenance work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118469535B_ABST
    Figure CN118469535B_ABST
Patent Text Reader

Abstract

The present invention discloses a smart garden data management method and system, which relates to the field of garden data management technology, including obtaining the pruning cycle of various flowers and plants in each season according to the garden pruning record, combining the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj; Collect images of each garden area, calculate the grayscale anomaly index #imgabs1# of each garden area, and issue the first anomaly warning of the corresponding garden area; determine the plant types of the image difference parts, and issue an anomaly warning of the corresponding plants. It can eliminate the influence of seasonal changes, lighting conditions and other factors on garden image analysis, making anomaly identification more accurate and reliable, and reasonably arrange the predicted date of flower and grass pruning. Tj Garden maintenance program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of garden data management, and in particular to a smart garden data management method and system. Background Art

[0002] With the acceleration of urbanization and the improvement of people's living environment quality, garden construction and management have gradually attracted widespread attention. Traditional garden data management methods often rely on manual recording and sorting, which is not only inefficient but also prone to errors and difficult to meet the needs of modern garden management. Therefore, it is particularly urgent to develop an efficient and intelligent garden data management system.

[0003] The rapid development of cloud computing technology has provided a new solution for smart garden data management. With its powerful computing power, flexible resource allocation and efficient data processing capabilities, cloud computing provides strong support for the storage, analysis and application of garden data. Through the cloud computing platform, centralized storage and sharing of garden data can be achieved, improving the efficiency of data management; at the same time, cloud computing can also provide powerful data analysis functions to help managers better understand the growth status of the garden, discover potential problems, and formulate corresponding management strategies.

[0004] In the Chinese invention application with application publication number CN117319447A, a smart garden management system and method is disclosed. It is clear that through the mutual cooperation between various modules, the environmental information inside the garden is collected and the specific values ​​of each information are determined, and the abnormal values ​​are reported. The garden manager selects the specific adjustment method, controls the garden environment control module for specific implementation, controls the environmental adjustment device inside the garden, and controls the number of people inside the garden through the user interaction module, and provides real-time explanations for visitors entering the garden.

[0005] In the above invention application, the plant information inside the garden is counted through the plant information statistics management module, and the growth status of the plants is specifically analyzed. However, the growth of plants is not static. Many flowers and plants will show different growth states and characteristics in the four seasons, such as flowering in spring, green leaves in summer, yellow leaves in autumn, and withering in winter. The use of a fixed analysis threshold cannot judge the actual growth status of the plants well. In addition, during the image acquisition process, factors such as weather and light will also cause the grayscale value of the acquired image to be low, triggering an abnormal warning, and thus causing a waste of manpower and material resources.

[0006] To this end, the present invention provides a smart garden data management method and system. Summary of the invention

[0007] In view of the shortcomings of the prior art, the present invention provides a smart garden data management method and system. The present invention determines the four-season standard threshold through the grayscale of historical images, and jointly determines the image grayscale correction coefficient through the grayscale of other regional images collected in the same period. , after grayscale correction of the image of the garden area to be analyzed, abnormal analysis can be performed, which can eliminate the influence of seasonal changes, lighting conditions and other factors on garden image analysis, making abnormal identification more accurate and reliable, and can reasonably arrange the predicted date of flower and grass pruning based on the abnormal warning of the corresponding plants. Tj The garden maintenance scheme solves the technical problems recorded in the background technology.

[0008] To achieve the above objectives, the present invention is implemented through the following technical solutions: a smart garden data management method, comprising the following steps:

[0009] Obtain the pruning cycle of various flowers and plants in each season based on the garden pruning records , combined with the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj;

[0010] Collect images of each garden area and analyze to obtain the grayscale mean of each garden area image , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area;

[0011] Compare the current image of the abnormal garden area with the image of the same period last year, determine the plant types in the different parts of the image, and issue abnormal warnings for the corresponding plants.

[0012] Furthermore, the number of times flowers and plants are pruned in each season is obtained based on the garden pruning records. After linear normalization, the pruning cycle of various flowers and plants in each season is calculated. :

[0013] ;

[0014] in, i Indicates the year time sequence number. , a is a positive integer, j Indicates the seasonal time sequence number. , 1 is spring, 2 is summer, 3 is autumn, and 4 is winter.

[0015] Further, get the real-time date Rq , based on the real-time date Rq The month determines the current pruning cycle of flowers and plants , combined with the last pruning date of the flowers and plants recorded in the garden pruning record Sj , calculate the predicted date for pruning flowers and plants Tj :

[0016] ;

[0017] There are 365 days in a year, which are divided into four seasons. After rounding, each season has 91 days. Spring is from March to May, summer is from June to August, autumn is from September to November, and winter is from December to February.

[0018] Furthermore, the entire garden is divided into N The image acquisition device is used to periodically collect images of each garden area, and the image processing software is used to obtain the total number of pixels in each image. x And the gray value corresponding to each pixel , calculate the grayscale mean of each image Jh:

[0019] ;

[0020] The corresponding grayscale mean of each image Jh The calculation formula is as above.

[0021] Furthermore, the grayscale mean of all images is obtained After linear normalization, the grayscale standard value of each region and season is calculated. :

[0022] ;

[0023] in, k Indicates the time sequence number of image acquisition, , superscript b Indicates the region number of the image, .

[0024] Furthermore, the grayscale standard value of each garden area in the current season is obtained And the grayscale mean of each garden area image , after linear normalization, the image grayscale correction coefficient is calculated :

[0025] ;

[0026] Among them, the image grayscale correction coefficient It is a dynamically changing value. It needs to be re-analyzed and calculated each time an image is acquired, and the subscript number should be consistent with the image subscript number.

[0027] Furthermore, the grayscale standard value of each garden area in the current season is obtained , the grayscale mean of each garden area image And image grayscale correction coefficient After linear normalization, the grayscale anomaly index of each garden area is calculated. :

[0028] ;

[0029] When the grayscale anomaly index of the garden area Greater than 1.2 When the first abnormal warning of the corresponding garden area is issued, the following warnings are issued:

[0030] ;

[0031] A smart garden data management system, comprising:

[0032] Date analysis module, obtains the pruning cycle of various flowers and plants in each season based on garden pruning records , combined with the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj ;

[0033] The regional anomaly analysis module collects images of each garden area and analyzes and obtains the grayscale mean of each garden area image. , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area;

[0034] The plant anomaly analysis module compares the current image of the abnormal garden area with the image of the same period last year, determines the plant types in the different parts of the image, and issues abnormal warnings for the corresponding plants.

[0035] The present invention provides a smart garden data management method and system, which has the following beneficial effects:

[0036] 1. Obtain the pruning cycle of various flowers and plants in each season based on the garden pruning records , combined with the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plantsTj , can help plan the required personnel, tools and equipment in advance, avoid resource shortage or waste during the peak pruning period, and maximize the efficiency of garden maintenance by properly arranging pruning work;

[0037] 2. Collect images of each garden area and analyze to obtain the grayscale mean of each garden area image , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area, which can accurately locate the specific area where the problem occurs. This allows managers to handle it in a targeted manner, avoiding blind inspections or large-scale maintenance of the entire garden area, and improving work efficiency;

[0038] 3. Compare the current image of the abnormal garden area with the image of the same period last year, determine the plant types of the different parts of the image, and issue an abnormal warning of the corresponding plants. This can accurately identify which plants have abnormalities. This comparison method can eliminate the impact of seasonal changes, lighting conditions and other factors on image analysis, making abnormality identification more accurate and reliable. In addition, it can arrange the predicted date of flower and grass pruning based on the abnormal warning of the corresponding plants. Tj Garden maintenance program. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A schematic diagram of a flow chart of a smart garden data management method of the present invention;

[0040] Figure 2 The present invention is a structural schematic diagram of a smart garden data management system. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] See also Figure 1 The present invention provides a smart garden data management method and system, comprising the following steps:

[0043] Step 1: Obtain the pruning cycle of various flowers and plants in each season based on the garden pruning records , combined with the real-time date Rq and the date the plants were last trimmedSj , calculate the predicted date for pruning flowers and plants Tj .

[0044] The step 1 includes the following contents:

[0045] Step 101: Obtain the number of times flowers and plants are pruned in each season based on the garden pruning records After linear normalization, the pruning cycle of various flowers and plants in each season is calculated. :

[0046] ;

[0047] in, i Indicates the year time sequence number. , a is a positive integer, j Indicates the seasonal time sequence number. , 1 is spring, 2 is summer, 3 is autumn, and 4 is winter.

[0048] Step 102: Get the real-time date Rq , based on the real-time date Rq The month determines the current pruning cycle of flowers and plants , combined with the last pruning date of the flowers and plants recorded in the garden pruning record Sj , calculate the predicted date for pruning flowers and plants Tj :

[0049] ;

[0050] There are 365 days in a year, which are divided into four seasons. After rounding, each season has 91 days. Spring is from March to May, summer is from June to August, autumn is from September to November, and winter is from December to February.

[0051] When using, combine the contents in steps 101 and 102:

[0052] Obtain the pruning cycle of various flowers and plants in each season based on the garden pruning records , combined with the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj , can help plan the required personnel, tools and equipment in advance, avoid resource shortage or waste during the peak pruning period, and maximize the efficiency of garden maintenance by reasonably arranging pruning work.

[0053] Step 2: Collect images of each garden area and analyze to obtain the grayscale mean of each garden area image , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area.

[0054] The step 2 includes the following contents:

[0055] Step 201: Divide the entire garden into N The image acquisition device is used to periodically collect images of each garden area, and the image processing software is used to obtain the total number of pixels in each image. x And the gray value corresponding to each pixel , calculate the grayscale mean of each image Jh:

[0056] ;

[0057] The corresponding grayscale mean of each image Jh The calculation formula is as above.

[0058] Step 202: Obtain the grayscale mean of all images After linear normalization, the grayscale standard value of each region and season is calculated. :

[0059] ;

[0060] in, k Indicates the time sequence number of image acquisition, , superscript b Indicates the region number of the image, .

[0061] Step 203: Obtain the grayscale standard value of each garden area in the current season And the grayscale mean of each garden area image , after linear normalization, the image grayscale correction coefficient is calculated :

[0062] ;

[0063] Among them, the image grayscale correction coefficient It is a dynamically changing value. It needs to be re-analyzed and calculated each time an image is acquired, and the subscript number should be consistent with the image subscript number.

[0064] Step 204: Obtain the grayscale standard value of each garden area in the current season , the grayscale mean of each garden area image And image grayscale correction coefficient After linear normalization, the grayscale anomaly index of each garden area is calculated. :

[0065] ;

[0066] When the grayscale anomaly index of the garden area Greater than 1.2 When an abnormality occurs in the garden area, the first abnormal warning is issued to the outside.

[0067] in:

[0068] ;

[0069] When using, combine the contents in steps 201 to 204:

[0070] Collect images of each garden area and analyze to obtain the grayscale mean of each garden area image , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area, which can accurately locate the specific area where the problem occurs. This allows managers to handle it in a targeted manner, avoiding blind inspections or large-scale maintenance of the entire garden area, and improving work efficiency.

[0071] Step 3: Compare the current image of the abnormal garden area with the image of the same period last year, determine the plant types in the different parts of the image, and issue an abnormal warning for the corresponding plants.

[0072] The step three includes the following contents:

[0073] Step 301: Acquire real-time images of all garden areas, use an image segmentation algorithm to segment the parts of the image where different types of plants are planted, and mark the type of plant in each segmented part on the segmented image.

[0074] Image segmentation algorithm is a key step in image processing to image analysis. Its main purpose is to divide the image into several non-intersecting regions based on grayscale, color, spatial texture, geometric shape and other features, so that these features show consistency or similarity in the same region, but show obvious differences between different regions. The following are some of the main image segmentation algorithms: threshold-based segmentation method, region-based segmentation method, region growing, region splitting and merging, watershed algorithm, edge detection-based segmentation method, segmentation method based on specific theory, and segmentation based on deep learning.

[0075] Step 302: obtain the current image of the abnormal garden area and the image of the same period last year, import the image comparison tool, output the difference between the two images, combine the image segmentation results, determine the plant type of the difference part of the image, and issue an abnormal warning of the corresponding plant.

[0076] Among them, the image index subscript number for the same period last year is ( i- 1) jk of the image.

[0077] Specialized image comparison tools, such as the "difference" or "compare" function in image editing software such as Pixelmator and GIMP, can intuitively show the differences between two images.

[0078] When using, combine the contents in steps 301 and 302:

[0079] By comparing the current image of the abnormal garden area with the image of the same period last year, the plant types of the different parts of the image are determined, and abnormal warnings of the corresponding plants are issued to the outside, which can accurately identify which plants have abnormalities. This comparison method can eliminate the influence of seasonal changes, lighting conditions and other factors on image analysis, making abnormality identification more accurate and reliable, and can arrange the predicted date of flower and grass pruning based on the abnormal warnings of the corresponding plants. Tj Garden maintenance program.

[0080] See also Figure 2 The present invention provides a smart garden data management system, comprising:

[0081] Date analysis module, obtains the pruning cycle of various flowers and plants in each season based on garden pruning records , combined with the real-time date Rq and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj .

[0082] The regional anomaly analysis module collects images of each garden area and analyzes and obtains the grayscale mean of each garden area image. , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area.

[0083] The plant anomaly analysis module compares the current image of the abnormal garden area with the image of the same period last year, determines the plant types in the different parts of the image, and issues abnormal warnings for the corresponding plants.

[0084] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may be implemented in whole or in part in the form of a computer program product. A person of ordinary skill in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution.

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

[0086] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A smart garden data management method, characterized by: The steps include: Obtain the pruning cycle of various flowers and plants in each season based on the garden pruning records , combined with the real-time date R and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj; Collect images of each garden area and analyze to obtain the grayscale mean of each garden area image , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area; Compare the current image of the abnormal garden area with the image of the same period last year, determine the plant types in the different parts of the image, and issue an abnormal warning for the corresponding plants; The entire garden is divided into N The image acquisition device is used to periodically collect images of each garden area, and the image processing software is used to obtain the total number of pixels in each image. x And the gray value corresponding to each pixel , calculate the grayscale mean of each image Jh : ; The corresponding grayscale mean of each image Jh The calculation formula is as above; Get the grayscale mean of all images After linear normalization, the grayscale standard value of each region and season is calculated. : ; in, k Indicates the time sequence number of image acquisition, , is a positive integer, with a superscript b Indicates the region number of the image, , is a positive integer; Get the grayscale standard value of each garden area in the current season And the grayscale mean of each garden area image , after linear normalization, the image grayscale correction coefficient is calculated : ; Among them, the image grayscale correction coefficient It is a dynamically changing value, and each time an image is acquired, it must be re-analyzed and calculated, and the subscript number is consistent with the image subscript number; Get the grayscale standard value of each garden area in the current season , the grayscale mean of each garden area image And image grayscale correction coefficient After linear normalization, the grayscale anomaly index of each garden area is calculated. : ; When the grayscale anomaly index of the garden area Greater than 1.2 When the first abnormal warning of the corresponding garden area is issued, the following warnings are issued: 。 2. A smart garden data management method according to claim 1, characterized in that: Get the number of times flowers and plants are pruned in each season based on garden pruning records After linear normalization, the pruning cycle of various flowers and plants in each season is calculated. : ; in, i Indicates the year time sequence number. , a is a positive integer, j Indicates the seasonal time sequence number. , 1 is spring, 2 is summer, 3 is autumn, and 4 is winter.

3. A smart garden data management method according to claim 2, characterized in that: Get real-time date R , based on the real-time date R The month determines the current pruning cycle of flowers and plants , combined with the last pruning date of the flowers and plants recorded in the garden pruning record Sj , calculate the predicted date for pruning flowers and plants Tj : ; There are 365 days in a year, which are divided into four seasons. After rounding, each season has 91 days. Spring is from March to May, summer is from June to August, autumn is from September to November, and winter is from December to February.

4. A smart garden data management system using a smart garden data management method according to any one of claims 1 to 3, characterized in that: include: Date analysis module, obtains the pruning cycle of various flowers and plants in each season based on garden pruning records , combined with the real-time date R and the date the plants were last trimmed Sj , calculate the predicted date for pruning flowers and plants Tj ; The regional anomaly analysis module collects images of each garden area and analyzes and obtains the grayscale mean of each garden area image. , combined with the grayscale standard value of each garden area in the current season And image grayscale correction coefficient , calculate the grayscale anomaly index of each garden area , and issue the first abnormal warning of the corresponding garden area; The plant anomaly analysis module compares the current image of the abnormal garden area with the image of the same period last year, determines the plant types in the different parts of the image, and issues abnormal warnings for the corresponding plants.