A method and system for monitoring agricultural product price fluctuations

By generating weekly average price histograms and historical price fluctuation ranges of agricultural products, it solves the problems of subjectivity and insufficient single mean indicators in agricultural product price monitoring in the existing technology, achieves more reliable and accurate price fluctuation monitoring, and improves agricultural production. Decision reliability.

CN112446722BActive Publication Date: 2024-09-13NANJING GREEN TECH INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910813623.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-30
Publication Date
2024-09-13
Estimated Expiration
2039-08-30

AI Technical Summary

Technical Problem

Existing agricultural product price monitoring methods rely on qualitative analysis and a single average indicator, which lacks reliability and accuracy and cannot effectively monitor the regularity and periodicity of price fluctuations, affecting agricultural production decisions.

Method used

By obtaining the daily average prices of the same type of agricultural products in the same province over the years, generate a weekly average price data set and construct a histogram, calculate the frequency and frequency, determine the historical price fluctuation range of agricultural products, and conduct price fluctuation monitoring based on these intervals to avoid subjective arbitrariness and singleness. Limitations of the mean indicator.

Benefits of technology

It improves the reliability and accuracy of monitoring price fluctuations of agricultural products, provides a more reasonable basis for agricultural production decision-making, and enhances the understanding of the regularity of price fluctuations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112446722B
    Figure CN112446722B
Patent Text Reader

Abstract

The present invention discloses a method and system for monitoring agricultural product price fluctuations. The method comprises: obtaining the daily average prices of the same type of agricultural products in the same province over the years, and determining a weekly average price data set based on the daily average prices; generating a weekly average price histogram based on the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of weekly average prices with labels within the agricultural product price range; calculating the frequency and frequency of the weekly average prices in the same month within each agricultural product price range; determining the historical price fluctuation range of agricultural products in each month based on the frequency and frequency; and monitoring the price fluctuation of agricultural products based on the historical price fluctuation range of agricultural products. The method and system of the present invention have the advantage of being able to improve the reliability of monitoring agricultural product price fluctuations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method and system for monitoring price fluctuations of agricultural products. Background Art

[0002] The price of agricultural products can affect the input of agricultural producers in agricultural production, and thus have an important impact on agricultural development. Data mining and analysis of agricultural product prices can extract valuable information from them and provide effective decision-making basis for agricultural production. Affected by many factors such as supply and demand of agricultural products, production and transportation costs, international trade strategies, and weather, agricultural product prices are prone to significant volatility, which affects the vital interests of agricultural producers and consumers. At the same time, agricultural product prices will show significant regularity in different months of the year. For example, the prices of most vegetables are generally low in the months of the listing season, and will rise to varying degrees during holidays. In addition, agricultural product prices also have significant cyclicality, and they will fluctuate up and down within a relatively fixed range in the same month of previous years.

[0003] In summary, by comparing the recent price of a certain type of agricultural product with the price of the same type of agricultural product in the same historical period, it is possible to monitor whether the current agricultural product price has fluctuated significantly, so as to facilitate timely investigation and analysis of various factors affecting the current agricultural product price. At present, existing studies on monitoring and early warning of agricultural product prices mostly use qualitative analysis methods, which are subjective and arbitrary, and the rationality of monitoring and analysis often relies too much on expert experience. Other studies have adopted quantitative analysis methods, comparing the current price with the mean price of the same historical period to determine the significance of fluctuations, considering only a single mean indicator without considering the interval attribute, so that the reliability of decision-making for agricultural production on this basis cannot be guaranteed. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for monitoring agricultural product price fluctuations, which have the advantage of being able to improve the reliability of agricultural product price fluctuation monitoring.

[0005] To achieve the above object, the present invention provides the following solutions:

[0006] A method for monitoring agricultural product price fluctuations, comprising:

[0007] Obtain the daily average prices of the same type of agricultural products in the same province over the years, and determine a weekly average price data set based on the daily average prices; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province, and agricultural product type of the weekly average price;

[0008] Generate a weekly average price histogram according to the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of labeled weekly average prices within the agricultural product price range;

[0009] Calculate the frequency and frequency of weekly average prices in the same month in each of the agricultural product price ranges;

[0010] Determine the historical price fluctuation range of agricultural products for each month based on the frequency and the frequency;

[0011] Monitor agricultural product price fluctuations based on their historical price fluctuation ranges.

[0012] Optionally, generating a weekly average price histogram according to the weekly average price data set specifically includes:

[0013] Obtaining the total number of weekly average prices in the weekly average price data set; calculating the standard deviation of the weekly average prices in the weekly average price data set; calculating the width of the agricultural product price range according to the total number of weekly average prices in the weekly average price data set and the standard deviation;

[0014] Obtaining the maximum and minimum values ​​of the weekly average price in the weekly average price data set; calculating the number of the agricultural product price intervals according to the maximum and minimum values ​​of the weekly average price in the weekly average price data set and the width of the agricultural product price interval;

[0015] A weekly average price histogram is generated according to the minimum value of the weekly average price in the weekly average price data set, the width of the agricultural product price range, and the number of the agricultural product price ranges.

[0016] Optionally, determining the historical price fluctuation range of agricultural products in each month according to the frequency and the frequency specifically includes:

[0017] Compare the frequency of occurrence of each agricultural product price range in the same month to obtain the maximum frequency and the number of maximum frequencies;

[0018] Determine the number of maximum frequencies; if the number of maximum frequencies is 1, determine the agricultural product price range corresponding to the maximum frequency as the first price range, and determine the number of the second largest frequency; if the number of the second largest frequency is 1, determine the agricultural product price range corresponding to the second largest frequency as the second price range; if the number of the second largest frequency is greater than or equal to 2, compare the frequencies corresponding to the second largest frequency, and determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, determine the agricultural product price range corresponding to one maximum frequency as the first price range, and the agricultural product price range corresponding to the other maximum frequency as the second price range; if the number of maximum frequencies is greater than or equal to 3, select the agricultural product price range corresponding to any one maximum frequency as the first price range, compare the frequencies corresponding to the remaining maximum frequencies, and determine the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies as the second price range;

[0019] The first price range is compared with the second price range according to the size of the frequency and the frequency to obtain the historical price fluctuation range of the agricultural product.

[0020] Optionally, the monitoring of price fluctuations of agricultural products according to historical price fluctuation ranges of agricultural products specifically includes:

[0021] Based on the historical price fluctuation range of agricultural products, the daily price, average price of each month throughout the year and average monthly price of each province of the same type of agricultural products are monitored respectively.

[0022] The present invention also provides a system for monitoring agricultural product price fluctuations, comprising:

[0023] The weekly average price data set acquisition module is used to obtain the daily average price of the same type of agricultural products in the same province over the years, and determine the weekly average price data set based on the daily average price; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province and agricultural product type of the weekly average price;

[0024] A weekly average price histogram generation module, used to generate a weekly average price histogram according to the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of weekly average prices with labels within the agricultural product price range;

[0025] A frequency and frequency calculation module, used to calculate the frequency and frequency of the weekly average price in the same month within each of the agricultural product price ranges;

[0026] A module for determining the historical price fluctuation range of agricultural products, used to determine the historical price fluctuation range of agricultural products in each month according to the frequency and the frequency;

[0027] The agricultural product price fluctuation monitoring module is used to monitor the price fluctuation of agricultural products based on the historical price fluctuation range of agricultural products.

[0028] Optionally, the weekly average price histogram generation module specifically includes:

[0029] The width calculation unit of the agricultural product price range is used to obtain the total number of weekly average prices in the weekly average price data set; calculate the standard deviation of the weekly average prices in the weekly average price data set; and calculate the width of the agricultural product price range according to the total number of weekly average prices in the weekly average price data set and the standard deviation;

[0030] The agricultural product price range number calculation unit is used to obtain the maximum and minimum values ​​of the weekly average price in the weekly average price data set; calculate the number of the agricultural product price range according to the maximum and minimum values ​​of the weekly average price in the weekly average price data set and the width of the agricultural product price range;

[0031] The weekly average price histogram generating unit is used to generate a weekly average price histogram according to the minimum value of the weekly average price in the weekly average price data set, the width of the agricultural product price interval and the number of the agricultural product price intervals.

[0032] Optionally, the module for determining the historical price fluctuation range of agricultural products specifically includes:

[0033] A comparison unit is used to compare the frequency of occurrence of the agricultural product in each price range in the same month, and obtain the maximum frequency and the number of the maximum frequency;

[0034] A judgment unit is used to judge the number of maximum frequencies; if the number of maximum frequencies is 1, the agricultural product price range corresponding to the maximum frequency is determined to be the first price range, and the number of the second largest frequency is determined; if the number of the second largest frequency is 1, the agricultural product price range corresponding to the second largest frequency is determined to be the second price range; if the number of the second largest frequency is greater than or equal to 2, the frequencies corresponding to the second largest frequency are compared to determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, the agricultural product price range corresponding to one maximum frequency is determined to be the first price range, and the agricultural product price range corresponding to another maximum frequency is determined to be the second price range; if the number of maximum frequencies is greater than or equal to 3, the agricultural product price range corresponding to any one maximum frequency is selected as the first price range, the frequencies corresponding to the remaining maximum frequencies are compared, and the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies is determined to be the second price range;

[0035] The agricultural product historical price fluctuation range determination unit is used to compare the first price range with the second price range according to the frequency and the magnitude of the frequency to obtain the agricultural product historical price fluctuation range.

[0036] Optionally, the agricultural product price fluctuation monitoring module specifically includes:

[0037] The agricultural product price fluctuation monitoring unit is used to monitor the daily price, the average price of each month throughout the year, and the average monthly price of each province of the same type of agricultural products according to the historical price fluctuation range of the agricultural products.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] The present invention proposes a method and system for monitoring agricultural product price fluctuations, which obtain daily average prices of agricultural products of the same type in the same province over the years, and determine a weekly average price data set based on the daily average prices; generate a weekly average price histogram based on the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of weekly average prices with labels in the agricultural product price range; calculate the frequency and frequency of weekly average prices in the same month in each agricultural product price range; determine the historical price fluctuation range of agricultural products in each month based on the frequency and frequency; monitor agricultural product price fluctuations based on the historical price fluctuation range of agricultural products, thereby avoiding the disadvantages of large subjective arbitrariness of traditional price monitoring methods, the rationality of monitoring and analysis often over-relying on expert experience, and only considering a single mean index without considering interval attributes, and having the advantage of being able to improve the reliability of agricultural product price fluctuation monitoring.

[0040] In addition, by comparing the frequency of occurrence in various agricultural product price ranges in the same month, the agricultural product price range corresponding to the maximum frequency is determined as the first price range and the agricultural product price range corresponding to the second largest frequency is determined as the second price range. The first price range and the second price range are compared again based on the frequency and frequency to obtain the historical price fluctuation range of agricultural products, thereby improving the accuracy of agricultural product price fluctuation monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0042] Figure 1 This is a flow chart of a method for monitoring agricultural product price fluctuations in an embodiment of the present invention;

[0043] Figure 2 The histogram of the weekly average price of tomatoes in the country over the years in the embodiment of the present invention;

[0044] Figure 3 It is a national daily tomato price monitoring graph in an embodiment of the present invention;

[0045] Figure 4 This is a monitoring graph of the average monthly price of tomatoes throughout the year in the embodiment of the present invention;

[0046] Figure 5 The average monthly price monitoring graph of tomatoes in each province across the country in the embodiment of the present invention;

[0047] Figure 6 This is a schematic diagram of 365-day monitoring of the national tomato farm price in an embodiment of the present invention;

[0048] Figure 7 It is a structural diagram of the agricultural product price fluctuation monitoring system in an embodiment of the present invention. DETAILED DESCRIPTION

[0049] 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.

[0050] The purpose of the present invention is to provide a method and system for monitoring agricultural product price fluctuations, which have the advantage of being able to improve the reliability of agricultural product price fluctuation monitoring.

[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0052] Example

[0053] Figure 1 FIG. 1 is a flow chart of a method for monitoring agricultural product price fluctuations in an embodiment of the present invention. Figure 1 As shown, the present invention provides a method for monitoring agricultural product price fluctuations, comprising:

[0054] Step 101: Get the average daily price of the same type of agricultural products in the same province over the years, and determine the weekly average price data set based on the daily average price; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province and agricultural product type where the weekly average price is located. The weekly average price is obtained by summing up the daily average prices of seven days in a week and taking the average. For example, if the weekly average price of the previous 8 years is selected, there are 416 weekly average price samples in the weekly average price data set. The types of agricultural products include nearly 500 types under the major categories such as vegetables, fruits, livestock products, aquatic products, grains and oils.

[0055] Step 102: Generate a weekly average price histogram based on the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of labeled weekly average prices within the agricultural product price range. This step specifically includes:

[0056] Get the total number of weekly average prices in the weekly average price dataset n s ; Calculate the standard deviation σ of the weekly average price in the weekly average price data set s ; According to the total number of weekly average prices in the weekly average price data set n s and standard deviation σ s Calculate the width h of the agricultural product price range. The formula for calculating the width of the agricultural product price range is:

[0057] Get the maximum value S of the average weekly price in the average weekly price data set max and the minimum value S min ; According to the maximum value S of the average weekly price in the average weekly price data set max and the minimum value S min And the width of the agricultural product price range is used to calculate the number of agricultural product price ranges k; the formula for calculating the number of agricultural product price ranges is: in, Indicates rounding up.

[0058] Calculate and extract the agricultural product price range list {I1, I2, ..., I k}, I1 represents the first agricultural product price range, I2 represents the second agricultural product price range, I k Represents the kth agricultural product price range:

[0059] I1=[S min , S min +h)

[0060] I2=[S min +h,S min +2h)

[0061] I k =[S min +(k-1)h,S min +kh]

[0062] The weekly average price histogram is generated based on the minimum weekly average price in the weekly average price data set, the width of the agricultural product price range, and the number of agricultural product price ranges. Take the national tomato price index as an example (the national tomato price index is obtained by averaging the tomato indexes of 34 provinces). Figure 2 is the national average weekly price histogram of tomatoes over the years, which is a histogram obtained by collecting the average weekly prices for N years. Figure 2It can be seen that the national average weekly price of tomatoes over the years is mainly concentrated in the two ranges of 2.36-2.84 yuan / kg and 2.84-3.32 yuan / kg, followed by 3.32-3.8 yuan / kg.

[0063] Step 103: Calculate the frequency and frequency of the weekly average price in each agricultural product price range being in the same month.

[0064] Based on the extracted price range list {I1, I2, …, I k}, respectively filter and construct the price data sample sets falling into each interval, denoted as S1, S2, ..., S k , the price data sample set has the average weekly price of different months, and the number of these sample sets is counted and recorded as For each month, calculate the frequency and frequency of samples in each interval sample set that fall into that month. Take January as an example, let S1, S2, ..., S k The frequencies of samples falling into January are The sample frequency p is calculated as:

[0065]

[0066] Step 104: Determine the historical price fluctuation range of agricultural products in each month based on the frequency and frequency. This step specifically includes:

[0067] Compare the frequency of occurrence of agricultural products in various price ranges in the same month to obtain the maximum frequency and the number of maximum frequencies.

[0068] Determine the number of maximum frequencies; if the number of maximum frequencies is 1, determine the agricultural product price range corresponding to the maximum frequency as the first price range, and determine the number of the second largest frequency; if the number of the second largest frequency is 1, determine the agricultural product price range corresponding to the second largest frequency as the second price range; if the number of the second largest frequency is greater than or equal to 2, compare the frequencies corresponding to the second largest frequency, and determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, determine the agricultural product price range corresponding to one maximum frequency as the first price range, and the agricultural product price range corresponding to the other maximum frequency as the second price range; if the number of maximum frequencies is greater than or equal to 3, select any agricultural product price range corresponding to the maximum frequency as the first price range, compare the frequencies corresponding to the remaining maximum frequencies, and determine the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies as the second price range.

[0069] According to the frequency and magnitude, the first price range and the second price range are compared to obtain the historical price fluctuation range of agricultural products. The specific formula is:

[0070]

[0071] In the formula, Indicates the historical price fluctuation range of agricultural products corresponding to January, Indicates the second price range corresponding to January, Indicates the first price range corresponding to January, represents the frequency of the first price interval in January, represents the frequency of January in the second price interval, represents the frequency of January in the second price interval, represents the frequency of January in the first price interval, and otherwise represents other conditions.

[0072] Step 105: monitor the price fluctuation of agricultural products according to the historical price fluctuation range of agricultural products, including: monitoring the daily price, the average price of each month of the year, and the average monthly price of each province of the same type of agricultural products according to the historical price fluctuation range of agricultural products.

[0073] Figure 3 This is a national tomato daily price monitoring chart. Figure 3 It can be seen that the reasonable price range of tomatoes monitored over the years is 3.3 to 3.8 yuan per kilogram, and the national average daily price of tomatoes from April 15, 2019 to May 15, 2019 exceeded this price range, which means that the price of tomatoes in April 2019 is significantly higher than the price of tomatoes in April in previous years. Therefore, there has been a significant fluctuation, which requires vigilance.

[0074] Figure 4 This is a monitoring chart of the average monthly price of tomatoes across the country throughout the year. Figure 4 It can be seen that the displayed variables involve the lower limit of the price range, the upper limit of the price range and the average of the price range. The price ranges of each month can reflect strong regularity. For example, January and February contain or are close to the important holiday of the Spring Festival, and the price range of tomatoes is the highest in the year; March is affected by the holidays, and the market transactions of tomatoes are still mainly supplied by greenhouses, so the relatively high price range continues; the price range in April and May has declined; the price has dropped to the lowest in June to August, which is related to the large number of tomatoes on the market during this period; starting from September, the price has rebounded; it has dropped again in October; and finally it has rebounded again in November and December. Overall, these price ranges reflect the regularity of agricultural product price fluctuations, which can be used to monitor abnormal price data.

[0075] Figure 5 This is a monitoring chart of the average monthly price of tomatoes in each province across the country. Figure 5It can be seen that each bar chart in the figure corresponds to a price range, showing the lower limit of the price range, the average price range and the upper limit of the price range; the circular lines correspond to different price values; the outermost corresponds to the 34 provinces in the country. It can be seen from the figure that the price range of tomatoes in Yunnan, Hainan and Jiangsu provinces is the highest in a given month, followed by Shanghai and Guangdong, and other cities are relatively low.

[0076] Figure 6 This is a schematic diagram of the 365-day monitoring of the national tomato farm price. Figure 6 It can be seen that the circle indicates that the price is lower than the historical price fluctuation range of agricultural products, the triangle indicates that the price is within the historical price fluctuation range of agricultural products, and the rectangle indicates that the price is higher than the historical price fluctuation range of agricultural products. If most of the price data points in a certain month are circles or rectangles, then the price of agricultural products in that month needs to be vigilant.

[0077] Figure 7 The structure diagram of the agricultural product price fluctuation monitoring system in the embodiment of the present invention is as follows: Figure 7 The present invention provides a system for monitoring agricultural product price fluctuations, comprising:

[0078] The weekly average price data set acquisition module 701 is used to obtain the daily average prices of the same type of agricultural products in the same province over the years, and determine the weekly average price data set based on the daily average prices; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province and agricultural product type of the weekly average price.

[0079] The weekly average price histogram generation module 702 is used to generate a weekly average price histogram according to the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of labeled weekly average prices within the agricultural product price range.

[0080] The weekly average price histogram generation module 702 specifically includes:

[0081] The width calculation unit of the agricultural product price range is used to obtain the total number of weekly average prices in the weekly average price data set; calculate the standard deviation of the weekly average prices in the weekly average price data set; and calculate the width of the agricultural product price range based on the total number and standard deviation of the weekly average prices in the weekly average price data set.

[0082] The agricultural product price range number calculation unit is used to obtain the maximum and minimum values ​​of the weekly average price in the weekly average price data set; and calculate the number of agricultural product price ranges according to the maximum and minimum values ​​of the weekly average price in the weekly average price data set and the width of the agricultural product price range.

[0083] The weekly average price histogram generating unit is used to generate a weekly average price histogram according to the minimum value of the weekly average price in the weekly average price data set, the width of the agricultural product price range and the number of the agricultural product price range.

[0084] The frequency and frequency calculation module 703 is used to calculate the frequency and frequency of the weekly average price in the same month in each agricultural product price range.

[0085] The agricultural product historical price fluctuation range determination module 704 is used to determine the agricultural product historical price fluctuation range of each month according to the frequency and frequency.

[0086] The agricultural product historical price fluctuation range determination module 704 specifically includes:

[0087] The comparison unit is used to compare the frequency of occurrence of agricultural products in various price ranges in the same month, and obtain the maximum frequency and the number of maximum frequencies.

[0088] The judgment unit is used to judge the number of maximum frequencies; if the number of maximum frequencies is 1, the agricultural product price range corresponding to the maximum frequency is determined to be the first price range, and the number of the second largest frequency is determined; if the number of the second largest frequency is 1, the agricultural product price range corresponding to the second largest frequency is determined to be the second price range; if the number of the second largest frequency is greater than or equal to 2, the frequencies corresponding to the second largest frequency are compared to determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, the agricultural product price range corresponding to one maximum frequency is determined to be the first price range, and the agricultural product price range corresponding to another maximum frequency is determined to be the second price range; if the number of maximum frequencies is greater than or equal to 3, any agricultural product price range corresponding to the maximum frequency is selected as the first price range, the frequencies corresponding to other maximum frequencies are compared, and the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies is determined to be the second price range.

[0089] The unit for determining the historical price fluctuation range of agricultural products is used to compare the first price range with the second price range according to the magnitude of the frequency and the frequency to obtain the historical price fluctuation range of agricultural products.

[0090] The agricultural product price fluctuation monitoring module 705 is used to monitor the price fluctuation of agricultural products according to the historical price fluctuation range of agricultural products.

[0091] The agricultural product price fluctuation monitoring module 705 specifically includes:

[0092] The agricultural product price fluctuation monitoring unit is used to monitor the daily price, average price of each month throughout the year, and average monthly price of each province of the same type of agricultural products according to the historical price fluctuation range of agricultural products.

[0093] Control unit, used to control the aircraft to return and land, so as to replace the hydraulic pump or perform fault repairs.

[0094] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for monitoring agricultural product price fluctuations, characterized in that: include: Obtain the daily average prices of the same type of agricultural products in the same province over the years, and determine a weekly average price data set based on the daily average prices; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province, and agricultural product type of the weekly average price; A weekly average price histogram is generated according to the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of labeled weekly average prices within the agricultural product price range, specifically including: Get the total number n of weekly average prices in the weekly average price dataset s ; Calculate the standard deviation σ of the weekly average price in the weekly average price data set s ; According to the total number n of weekly average prices in the weekly average price data set s and the standard deviation σ s Calculate the width h of the agricultural product price range; the formula for calculating the width of the agricultural product price range is: Obtaining the maximum and minimum values ​​of the weekly average price in the weekly average price data set; calculating the number of the agricultural product price intervals according to the maximum and minimum values ​​of the weekly average price in the weekly average price data set and the width of the agricultural product price interval; Generate a weekly average price histogram according to the minimum value of the weekly average price in the weekly average price data set, the width of the agricultural product price range, and the number of the agricultural product price ranges; Calculate the frequency and frequency of weekly average prices in the same month in each of the agricultural product price ranges; The historical price fluctuation range of agricultural products for each month is determined based on the frequency and the frequency, including: Compare the frequency of occurrence of each agricultural product price range in the same month to obtain the maximum frequency and the number of maximum frequencies; Determine the number of maximum frequencies; if the number of maximum frequencies is 1, determine the agricultural product price range corresponding to the maximum frequency as the first price range, and determine the number of the second largest frequency; if the number of the second largest frequency is 1, determine the agricultural product price range corresponding to the second largest frequency as the second price range; if the number of the second largest frequency is greater than or equal to 2, compare the frequencies corresponding to the second largest frequency, and determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, determine the agricultural product price range corresponding to one maximum frequency as the first price range, and the agricultural product price range corresponding to the other maximum frequency as the second price range; if the number of maximum frequencies is greater than or equal to 3, select the agricultural product price range corresponding to any one maximum frequency as the first price range, compare the frequencies corresponding to the remaining maximum frequencies, and determine the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies as the second price range; Compare the first price range with the second price range according to the magnitude of the frequency and obtain the historical price fluctuation range of the agricultural product; Monitor agricultural product price fluctuations based on their historical price fluctuation ranges.

2. The method for monitoring agricultural product price fluctuations according to claim 1, characterized in that: The monitoring of agricultural product price fluctuations based on the historical price fluctuation range of agricultural products specifically includes: Based on the historical price fluctuation range of agricultural products, the daily price, average price of each month throughout the year and average monthly price of each province of the same type of agricultural products are monitored respectively.

3. A system for monitoring agricultural product price fluctuations, characterized in that: include: The weekly average price data set acquisition module is used to obtain the daily average price of the same type of agricultural products in the same province over the years, and determine the weekly average price data set based on the daily average price; the weekly average price data set includes multiple weekly average prices with labels, and the labels include the year, month, province and agricultural product type of the weekly average price; A weekly average price histogram generation module, used to generate a weekly average price histogram according to the weekly average price data set; the horizontal axis of the weekly average price histogram represents the agricultural product price range, and the vertical axis represents the number of weekly average prices with labels within the agricultural product price range; The width calculation unit of the agricultural product price range is used to obtain the total number of weekly average prices in the weekly average price data set n s ; Calculate the standard deviation σ of the weekly average price in the weekly average price data set s ; According to the total number of weekly average prices in the weekly average price data set n s and standard deviation σ s Calculate the width h of the agricultural product price range; the formula for calculating the width of the agricultural product price range is: The agricultural product price range number calculation unit is used to obtain the maximum and minimum values ​​of the weekly average price in the weekly average price data set; calculate the number of the agricultural product price range according to the maximum and minimum values ​​of the weekly average price in the weekly average price data set and the width of the agricultural product price range; A weekly average price histogram generating unit, used for generating a weekly average price histogram according to the minimum value of the weekly average price in the weekly average price data set, the width of the agricultural product price interval and the number of the agricultural product price interval; A frequency and frequency calculation module, used to calculate the frequency and frequency of the weekly average price in the same month within each of the agricultural product price ranges; The module for determining the historical price fluctuation range of agricultural products is used to determine the historical price fluctuation range of agricultural products in each month according to the frequency and the frequency, and specifically includes: A comparison unit is used to compare the frequency of occurrence of the agricultural product in each price range in the same month, and obtain the maximum frequency and the number of the maximum frequency; A judgment unit is used to judge the number of maximum frequencies; if the number of maximum frequencies is 1, the agricultural product price range corresponding to the maximum frequency is determined to be the first price range, and the number of the second largest frequency is determined; if the number of the second largest frequency is 1, the agricultural product price range corresponding to the second largest frequency is determined to be the second price range; if the number of the second largest frequency is greater than or equal to 2, the frequencies corresponding to the second largest frequency are compared to determine the agricultural product price range corresponding to the maximum frequency as the second price range; if the number of maximum frequencies is 2, the agricultural product price range corresponding to one maximum frequency is determined to be the first price range, and the agricultural product price range corresponding to another maximum frequency is determined to be the second price range; if the number of maximum frequencies is greater than or equal to 3, the agricultural product price range corresponding to any one maximum frequency is selected as the first price range, the frequencies corresponding to the remaining maximum frequencies are compared, and the agricultural product price range corresponding to the maximum frequency among the frequencies corresponding to the remaining maximum frequencies is determined to be the second price range; The agricultural product historical price fluctuation range determination unit is used to compare the first price range with the second price range according to the magnitude of the frequency and the frequency to obtain the agricultural product historical price fluctuation range; The agricultural product price fluctuation monitoring module is used to monitor the price fluctuation of agricultural products based on the historical price fluctuation range of agricultural products.

4. The agricultural product price fluctuation monitoring system according to claim 3 is characterized in that: The agricultural product price fluctuation monitoring module specifically includes: The agricultural product price fluctuation monitoring unit is used to monitor the daily price, the average price of each month throughout the year, and the average monthly price of each province of the same type of agricultural products according to the historical price fluctuation range of the agricultural products.